[distcc] distcc-2.9-0 segmentation fault?
Martin Pool
mbp at sourcefrog.net
Sat Sep 20 06:46:45 GMT 2003
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?
Could you also please try this patch?
--- compress.c.~1.21.~ 1970-01-01 10:00:01.000000000 +1000
+++ compress.c 2003-09-20 16:38:13.000000000 +1000
@@ -271,8 +271,8 @@ int dcc_r_bulk_lzo1x(int out_fd, int in_
}
out_len = out_size;
- lzo_ret = lzo1x_decompress((lzo_byte*)in_buf, in_len,
- (lzo_byte*)out_buf, &out_len, work_mem);
+ lzo_ret = lzo1x_decompress_safe((lzo_byte*)in_buf, in_len,
+ (lzo_byte*)out_buf, &out_len, work_mem);
if (lzo_ret != LZO_E_OK) {
rs_log_error("LZO1X1 decompression failed: %d", lzo_ret);
ret = EXIT_IO_ERROR;
--
Martin
More information about the distcc
mailing list