DCC segmentation fault on AMD 64 Linux

Copeland, Tony copelandt@uncw.edu
Mon Dec 13 17:49:35 UTC 2004


 

Does anyone have dcc working on an AMD 64 Linux box?   I compiled with
./configure -disable-dccifd -disable-dccm

Gcc version 3.2.3

Glibc version 2.3.2

 

I'm getting a Segmentation Fault... Here's all the debug info I could
gather... any help is appreciated.  

 

gdb libexec/dccd core.8646

GNU gdb Red Hat Linux (6.1post-1.20040607.17rh)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you
are

welcome to change it and/or distribute copies of it under certain
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for
details.

This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/tls/libthread_db.so.1".

 

Core was generated by `./dccd -ddddd -b -i 1201 -n dcc.uncw.edu'.

Program terminated with signal 11, Segmentation fault.

Reading symbols from /lib64/tls/libm.so.6...done.

Loaded symbols for /lib64/tls/libm.so.6

Reading symbols from /lib64/tls/libc.so.6...done.

Loaded symbols for /lib64/tls/libc.so.6

Reading symbols from /lib64/ld-linux-x86-64.so.2...done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

#0  0x0000002a95877cd0 in strlen () from /lib64/tls/libc.so.6

(gdb) bt

#0  0x0000002a95877cd0 in strlen () from /lib64/tls/libc.so.6

#1  0x0000002a958453b0 in vfprintf () from /lib64/tls/libc.so.6

#2  0x0000002a958ce1d1 in vsyslog () from /lib64/tls/libc.so.6

#3  0x000000000041fe4e in dcc_verror_msg (p=0x427c98 "initialize flood
stream to %s%s%s", args=0x7fbfe99a80)

    at error_msg.c:141

#4  0x000000000041ff22 in dcc_error_msg (p=0x427c98 "initialize flood
stream to %s%s%s") at error_msg.c:153

#5  0x000000000040e130 in oflods_load () at oflod.c:716

#6  0x0000000000411167 in flods_ck (force=0 '\0') at oflod.c:1884

#7  0x0000000000410c60 in flods_restart (msg=0x0) at oflod.c:1771

#8  0x00000000004116bd in flods_init () at oflod.c:2034

#9  0x0000000000403b05 in main (argc=0, argv=0x7fbfe9adc0) at dccd.c:573

 

 

I commented out all the flood peers in /var/dcc/flod and received the
following segmentation fault....

 

gdb libexec/dccd core.8697

GNU gdb Red Hat Linux (6.1post-1.20040607.17rh)

Copyright 2004 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you
are

welcome to change it and/or distribute copies of it under certain
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for
details.

This GDB was configured as "x86_64-redhat-linux-gnu"...Using host
libthread_db library "/lib64/tls/libthread_db.so.1".

 

Core was generated by `libexec/dccd -dddd -b -i 1201 -n dcc.uncw.edu'.

Program terminated with signal 11, Segmentation fault.

Reading symbols from /lib64/tls/libm.so.6...done.

Loaded symbols for /lib64/tls/libm.so.6

Reading symbols from /lib64/tls/libc.so.6...done.

Loaded symbols for /lib64/tls/libc.so.6

Reading symbols from /lib64/ld-linux-x86-64.so.2...done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

#0  0x0000002a95877cd0 in strlen () from /lib64/tls/libc.so.6

(gdb) bt

#0  0x0000002a95877cd0 in strlen () from /lib64/tls/libc.so.6

#1  0x0000002a958453b0 in vfprintf () from /lib64/tls/libc.so.6

#2  0x0000002a958ce1d1 in vsyslog () from /lib64/tls/libc.so.6

#3  0x000000000041ff88 in dcc_vtrace_msg (p=0x426460 "1.2.63 listening
to port %d with %s and %s", args=0x7fbfe6ae50)

    at error_msg.c:169

#4  0x000000000042005c in dcc_trace_msg (p=0x426460 "1.2.63 listening to
port %d with %s and %s") at error_msg.c:181

#5  0x0000000000403b6e in main (argc=0, argv=0x7fbfe6b160) at dccd.c:580

 

I've attached a zipped strace if it will help.

 

Thanks,

-Tony

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rhyolite.com/pipermail/dcc/attachments/20041213/722f3142/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dccd-strace.zip
Type: application/x-zip-compressed
Size: 1772 bytes
Desc: dccd-strace.zip
URL: <http://www.rhyolite.com/pipermail/dcc/attachments/20041213/722f3142/attachment.bin>


More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.