[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pppoe-server segmentation fault on AMD64



Hi all,
I have some problems with debian64 testing on AMD Athlon(tm) 64 Processor 3200+ and Linux Kernel 2.6.16.

When I run pppoe-server It get crash with SIGSEGV when it receive the first PADI package.

foo#dmesg | grep segfault


pppoe-server[3416]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffffa78770 error 14
pppoe-server[3419]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007ffffff04700 error 14
pppoe-server[3422]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffffddf0d0 error 14
pppoe-server[3424]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007fffff921f30 error 14

I started it with -F option (causes pppoe-server not to fork and become a daemon)

foo#pppoe-server  -I eth0 -N 100 -T 300 -F

and get:  Segmentation fault (core dumped)

Here is strace result:

foo#strace -f -o /tmp/ppp.dump -p 3458
foo#less /tmp/ppp.dump
3458  select(5, [3 4], NULL, NULL, NULL) = 1 (in [3])
3458  recvfrom(3, "\377\377\377\377\377\377\0\vj\t\4\253\210c\21\t\0\0\0\f"..., 1520, 0, NULL, NULL) = 60
3458  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
          
Here is  gdb result:

foo#gdb pppoe-server core

Using host libthread_db library "/lib/libthread_db.so.1".

Core was generated by `pppoe-server -I eth0 -N 100 -T 300 -F'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2.. .(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
#0  0x0000000000000000 in ?? ()

Have any ideas about this crash?

10x in advance,
VM

Reply to: