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

Bug#435382: marked as done (libc6: ld-linux.so segfault.)



Your message dated Tue, 31 Jul 2007 14:06:09 +0200
with message-id <20070731120609.GA18208@artemis.corp>
and subject line Bug#435382: libc6: ld-linux.so segfault.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libc6
Version: 2.3.6.ds1-13
Severity: normal
File: /lib/ld-linux.so.2

When I try to debug a program using debugging version of gtk-2.0
libraries, I get segmentation fault from ld-linux.so at startup. When
using non-debugging version of the libraries, the program starts
normally.

When I set LD_DEBUG=all, I get the following:

$ LD_LIBRARY_PATH=/usr/lib/debug:/usr/lib/debug/lib:/usr/lib/debug/usr/lib LD_DEBUG=all ~/src/mma/mma
[...]
      5596:     relocation processing: /usr/lib/debug/libpthread.so.0 (lazy)
      5596:     symbol=_h_errno;  lookup in file=/home/osv/src/mma/mma
      5596:     symbol=_h_errno;  lookup in file=/usr/lib/libgtk-x11-2.0.so.0
      5596:     symbol=_h_errno;  lookup in file=/usr/lib/libgdk-x11-2.0.so.0
      5596:     symbol=_h_errno;  lookup in file=/usr/lib/libatk-1.0.so.0
      5596:     symbol=_h_errno;  lookup in file=/usr/lib/debug/usr/lib/libgdk_pixbuf-2.0.so.0
Segmentation fault (core dumped)
$ gdb ~/src/mma/mma ./core
[...]
Program terminated with signal 11, Segmentation fault.
#0  0xb7ef472c in do_lookup_x () from /lib/ld-linux.so.2
(gdb) bt
#0  0xb7ef472c in do_lookup_x () from /lib/ld-linux.so.2
#1  0xb7ef4b07 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#2  0xb7ef6042 in _dl_relocate_object () from /lib/ld-linux.so.2
#3  0xb7eefb58 in dl_main () from /lib/ld-linux.so.2
#4  0xb7efc3e8 in _dl_sysdep_start () from /lib/ld-linux.so.2
#5  0xb7eedb46 in _dl_start () from /lib/ld-linux.so.2
#6  0xb7eed7b7 in _start () from /lib/ld-linux.so.2
(gdb) quit
log$

BR,
Sergei.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  tzdata                        2007f-1    time zone and daylight-saving time

libc6 recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
On Tue, Jul 31, 2007 at 02:58:15PM +0400, Sergei Organov wrote:
> Package: libc6
> Version: 2.3.6.ds1-13
> Severity: normal
> File: /lib/ld-linux.so.2
> 
> When I try to debug a program using debugging version of gtk-2.0
> libraries, I get segmentation fault from ld-linux.so at startup. When
> using non-debugging version of the libraries, the program starts
> normally.
> 
> When I set LD_DEBUG=all, I get the following:
> 

> $ LD_LIBRARY_PATH=/usr/lib/debug:/usr/lib/debug/lib:/usr/lib/debug/usr/lib LD_DEBUG=all ~/src/mma/mma
  You don't need to change LD_LIBRARY_PATH to get debug informations.
Things in /usr/lib/debug are not real libraries, but only the debug
symbols, I'm not surprised it crashes.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpnrHF3Jg4DP.pgp
Description: PGP signature


--- End Message ---

Reply to: