[distcc] distcc-2.9-0 segmentation fault?

Bob Tanner tanner at real-time.com
Sat Sep 20 21:19:54 GMT 2003


On Saturday 20 September 2003 01:46 am, Martin Pool wrote:
> On Fri, 19 Sep 2003 20:32:56 -0500
>
> Bob Tanner <tanner at mn-linux.org> wrote:
> > Compiling arts without distcc works fine. Compiling with distcc and
> > gcc(?) segfaults.
>
> Thanks for the report.
>
> Could you please try to get a core file from the crash, if you can
> reproduce it, and then use gdb to get a backtrace?

Doh! Was looking in the wrong directory! I thought the core dump would be in 
the directory where I invoked distcc. :-(

Anyways.

$ gdb /usr/bin/distcc core.26553
(gdb) bt
#0  0x08051688 in lzo1x_decompress ()
#1  0x0804d28d in dcc_r_bulk_lzo1x ()
#2  0x0804f75b in dcc_r_file ()
#3  0x0804f83a in dcc_r_file_timed ()
#4  0x08049f77 in dcc_retrieve_results ()
#5  0x0804b06d in dcc_compile_remote ()
#6  0x0804a116 in dcc_build_somewhere ()
#7  0x0804a239 in dcc_build_somewhere_timed ()
#8  0x0804a534 in main ()
#9  0x4004453d in __libc_start_main () from /lib/libc.so.6

> Could you also please try this patch?

Seeing how your patch is for the lzo1x_decompress () is will probably fix the 
problem.

I'll try the patch, and post results here.
-- 
Bob Tanner <tanner at mn-linux.org>          | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288



More information about the distcc mailing list