[distcc] seg fault

Fergus Henderson fergus at google.com
Mon Sep 17 05:30:39 GMT 2007


Try examining the core file:
  $ ulimit -c unlimited
  $ distcc cc
  $ gdb `which distcc` core
  gdb> where

You might need to first build and install distcc with debugging information
enabled, e.g. "make clean; make CFLAGS=-g install".

On 9/16/07, Amos Elberg <amos.elberg at gmail.com> wrote:
>
> Hi.  I'm using distcc 2.18.3 as installed by gentoo portage, on ix86
> architecture.  Distcc gives a segmentation fault when it is launched,
> leaving the local compiler running as a zombie process that cannot be
> killed:
>
> aelber at n5200 /usr/portage/sys-devel/distcc $ distcc cc
> distcc[17149] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built
> Sep 16 2007 14:18:25
> distcc[17149] (dcc_recursion_safeguard) safeguard level=0
> distcc[17149] (main) compiler name is "distcc"
> distcc[17149] (dcc_scan_args) scanning arguments: cc
> distcc[17149] (dcc_scan_args) compiler apparently called not for compile
> distcc[17149] (dcc_lock_host) got cpu lock on localhost slot 0 as fd3
> distcc[17149] exec on localhost: cc
> distcc[17149] (dcc_note_state) note state 5, file "(NULL)", host
> "localhost"
> distcc[17149] (dcc_spawn_child) forking to execute: cc
> distcc[17150] (dcc_increment_safeguard) setting safeguard:
> _DISTCC_SAFEGUARD=1
> distcc[17149] (dcc_spawn_child) child started as pid17150
> gcc: no input files
> Segmentation fault
> aelber at n5200 /usr/portage/sys-devel/distcc $ ps -ef | grep 17150
> aelber   17150     1  0 14:32 pts/3    00:00:00 [gcc]
> aelber   17159 22984  0 14:32 pts/3    00:00:00 grep --colour=auto 17150
>
> I have not been able to find any information on this by googling or
> checking forums.  I've tried reinstalling distcc, etc., to no avail.  My gcc
> is 3.4.6.
>
> During portage-initiated compiles, with distcc active this problem causes
> the configure stage to fail at the point of checking whether cc can make
> executables.
>
> I appreciate your help in advance.
>
>
>
>
> __
> distcc mailing list            http://distcc.samba.org/
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/distcc
>



-- 
Fergus Henderson <fergus at google.com>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the distcc mailing list