[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#79223: debauch segfaults with optimized libc6 packages.



Package: debauch
Version: 0.5-1

Hi,

When I run debauch with the new optimized libc6 package (libc6-i586) it
segfaults like so:

/usr/bin/debauch: line 36: 15259 Segmentation fault      DebauchWarnReferenced=$fullwarn DebauchWarnUnreferenced=$fullwarn LD_PRELOAD=/usr/lib/libdebauch.so $OBJ $* 2>$OUT
Warning: program had non-zero exit status.
         It may have dumped core.

When the libc6-i586 package is removed it doesn't segfault. Another work 
around apart from removing that package seems to be to add the un-optimized 
libc6 library to LD_PRELOAD. The un-optimized library is installed too, you 
see.

So the following line in /usr/bin/debauch:

DebauchWarnReferenced=$fullwarn DebauchWarnUnreferenced=$fullwarn LD_PRELOAD=/usr/lib/libdebauch.so
$OBJ $* 2>$OUT

becomes:

DebauchWarnReferenced=$fullwarn DebauchWarnUnreferenced=$fullwarn LD_PRELOAD="/usr/lib/libdebauch.so /lib/libc.so.6" $OBJ $* 2>$OUT

I'm not sure if the output it gives this way is correct. I'm kinda trying
some memory debugging tools out at the moment and found this bug.
-- 
James.



Reply to: