[distcc] Re: upgrading from 2.16 to 2.17: compiler crashes

Dimitri Papadopoulos-Orfanos papadopo at www.NOSPAM.fr
Wed Aug 25 07:02:46 GMT 2004


Daniel Kegel wrote:
 >
 > > $ gdb /usr/local/distcc/bin/distcc
 > > aimsalgo-linux-default/src/aimsalgo/core.20711
 > > [...]
 > > warning: core file may not match specified executable file.
 > > Core was generated by `g++ -c -Wall -W -D_REENTRANT
 > > -DCARTO_DEBUGMODE="default" -DAIMS -I/home/usernam'.
 > > Program terminated with signal 11, Segmentation fault.
 >
 > gdb is telling you it's from g++.  So g++ is crashing,
 > not distcc.  Try updating the g++ RPM on your build servers?

That's not what gdb is telling me.

gdb is telling me it's from a program called g++, but the name of distcc 
*is* g++. Besides the core file contains references to distcc, so it's 
actually the core file of distcc:

$ strings aimsalgo-linux-default/src/aimsalgo/core.20711 | fgrep distcc
/home/username/.distcc
/home/username/.distcc/state
/home/username/.distcc/lock
/tmp/distcc_2eb60d01.ii
Bername/.distcc/state/binstate_20729
/home/username/.distcc/state/binstate_20729
distcc[20729] ERROR: Connect timeout
CCACHE_PREFIX=distcc
$

Besides this doesn't explain why g++ would crash when using distcc 2.17 
and not when using distcc 2.16 or when using g++ alone.

--
Dimitri



More information about the distcc mailing list