Bug#435382: libc6: ld-linux.so segfault.
Daniel Jacobowitz <drow@false.org> writes:
> On Tue, Jul 31, 2007 at 05:49:30PM +0400, Sergei Organov wrote:
>> I don't believe it's OK to close this bug due to the following reasons:
>>
>> 1. It does work with /usr/lib/debug version of gtk-1.2 libraries (when
>> application is linked against gtk-1.2 instead of gtk-2.0).
>>
>> 2. It does work with /usr/lib/debug version of libc6 libraries.
>>
>> 3. Package description of libgtk2.0-0-dbg (2.8.20-7) suggests using
>> LD_LIBRARY_PATH:
>>
>> "... The libraries are installed in /usr/lib/debug and can be used by
>> placing that directory in LD_LIBRARY_PATH. ..."
>>
>> 4. Probably ld-linux.so itself should not segfault no matter what.
>
> You're both right (or both wrong if you prefer :-)
>
> You did:
> $ LD_LIBRARY_PATH=/usr/lib/debug:/usr/lib/debug/lib:/usr/lib/debug/usr/lib
>
> Don't do that. The things in /usr/lib/debug are real libraries, and
> should be used through LD_LIBRARY_PATH. The things in
> /usr/lib/debug/lib and /usr/lib/debug/usr/lib are not real libraries,
> and GDB will load them automatically during debugging.
Thank you very much for clarification. Yes, I did it wrong, and now the
program does start, but the (4) above holds, right? Therefore I still
think it's a bug in ld-linux.so, even though not an important one for me
anymore.
--
Sergei.
Reply to: