Bug#489593: libc6: ldconfig segmentation fault

View: New views
5 Messages — Rating Filter:   Alert me  

Bug#489593: libc6: ldconfig segmentation fault

by Grey-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Package: libc6
Version: 2.7-10
Severity: critical
Justification: breaks the whole system

I have segmentation faults with ldconfig:

# ldconfig
Segmentation fault

And from /var/log/syslog:

kernel: ldconfig[2996]: segfault at d5bc6b76 ip 0806084b sp bfc097dc error 5 in ldconfig[8048000+96000]

I tried reinstall libc6 but without good results:

# dpkg -i libc6_2.7-10_i386.deb
(Reading database ... 225572 files and directories currently installed.)
Preparing to replace libc6 2.7-10 (using libc6_2.7-10_i386.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.7-10) ...
/var/lib/dpkg/info/libc6.postinst: line 379:  2940 Segmentation fault      ldconfig
dpkg: error processing libc6 (--install):
 subprocess post-installation script returned error exit status 139
Processing triggers for man-db ...
Errors were encountered while processing:
 libc6

And from /var/log/syslog:

init: Trying to re-exec init
kernel: ldconfig[3178]: segfault at d5ad5b76 ip 0806084b sp bf81836c error 5 in ldconfig[8048000+96000]

This is very critical bug because without ldconfig I can't install/update any other software.

-- System Information:
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.9-GreyPC-00
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1                       1:4.3.1-2  GCC support library

libc6 recommends no packages.

-- debconf information:
  glibc/upgrade: true
  glibc/restart-failed:
  glibc/restart-services:

----------------------------------------------------------------------
W kosciele tez zdarzaja sie wpadki!
Smieszny filmik >>> http://link.interia.pl/f1e61




--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489593: libc6: ldconfig segmentation fault

by Aurelien Jarno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

GREY a écrit :

> Package: libc6
> Version: 2.7-10
> Severity: critical
> Justification: breaks the whole system
>
> I have segmentation faults with ldconfig:
>
> # ldconfig
> Segmentation fault
>
> And from /var/log/syslog:
>
> kernel: ldconfig[2996]: segfault at d5bc6b76 ip 0806084b sp bfc097dc error 5 in ldconfig[8048000+96000]
>
> I tried reinstall libc6 but without good results:
>
> # dpkg -i libc6_2.7-10_i386.deb
> (Reading database ... 225572 files and directories currently installed.)
> Preparing to replace libc6 2.7-10 (using libc6_2.7-10_i386.deb) ...
> Unpacking replacement libc6 ...
> Setting up libc6 (2.7-10) ...
> /var/lib/dpkg/info/libc6.postinst: line 379:  2940 Segmentation fault      ldconfig
> dpkg: error processing libc6 (--install):
>  subprocess post-installation script returned error exit status 139
> Processing triggers for man-db ...
> Errors were encountered while processing:
>  libc6
>
> And from /var/log/syslog:
>
> init: Trying to re-exec init
> kernel: ldconfig[3178]: segfault at d5ad5b76 ip 0806084b sp bf81836c error 5 in ldconfig[8048000+96000]
>

Are you able to reproduce the problem calling ldconfig manually? If yes,
could you please run it using gdb and send us a backtrace?

Also, do you have any specific patch in your kernel?

--
  .''`.  Aurelien Jarno            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@...         | aurelien@...
   `-    people.debian.org/~aurel32 | www.aurel32.net



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489593: libc6: ldconfig segmentation fault

by Grey-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dnia poniedziałek 2008-07-07, napisałeś:
> Are you able to reproduce the problem calling ldconfig manually?

Yes, I always have segmentation faults.

> If yes, could you please run it using gdb and send us a backtrace?

# gdb ldconfig
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /sbin/ldconfig
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x0806084b in ?? ()
(gdb)

> Also, do you have any specific patch in your kernel?

I use vanilla kernel 2.6.25.9 with my private settings and with
gspcav1-20071224 but gspcav are modules for webcams and I don't see any
influence. On previous kernels with the same configuration I don't have
this problem. Also with my distro kernel 2.6.18-4-686 I have the same
problem.

--
#   ,-  .-.  -.   |      M y F :   P e a c e L o v e & G N U !   ^__^      |
#  ((_/` | `\_))  | email: greymail@...  |    JID: GREY@...    |
#   `-\ /|\ /-'   | Reg. GNU/LinuxUser: 308048 |     Reg. KDEUser: 201     |
#      `'-'` GREY |                 http://grey.orora.org/                 |

----------------------------------------------------------------------
Zobacz cala prawde o Lukaszu Podolskim!
kliknij >>> http://link.interia.pl/f1e57




--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489593: libc6: ldconfig segmentation fault

by Grey-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Before generating another backtrace, please install
> http://packages.debian.org/lenny/libc6-dbg if possible.  (Not sure if it
> will work with ldconfig broken.)  

# dpkg -i libc6-dbg_2.7-10_i386.deb
(Reading database ... 226207 files and directories currently installed.)
Preparing to replace libc6-dbg 2.7-10 (using libc6-dbg_2.7-10_i386.deb) ...
Unpacking replacement libc6-dbg ...
dpkg: dependency problems prevent configuration of libc6-dbg:
 libc6-dbg depends on libc6 (= 2.7-10); however:
  Package libc6 is not configured yet.
dpkg: error processing libc6-dbg (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dbg

In result files are installed but without properly configuration. libc6 is
broken due to broken ldconfig.

> Once you get the SIGSEGV in gdb, please use the bt command to produce a
> full backtrace.

# gdb ldconfig
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /sbin/ldconfig
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x0806084b in ?? ()
(gdb) bt
#0  0x0806084b in ?? ()
#1  0x0804b0ce in ?? ()
#2  0xd5b0db76 in ?? ()
#3  0xb7f4e7c6 in ?? ()
#4  0x0000000e in ?? ()
#5  0x00000000 in ?? ()
(gdb)

Is it OK?

> Thank you for your effort so far.

No problem :) Thx for help.

--
#   ,-  .-.  -.   |      M y F :   P e a c e L o v e & G N U !   ^__^      |
#  ((_/` | `\_))  | email: greymail@...  |    JID: GREY@...    |
#   `-\ /|\ /-'   | Reg. GNU/LinuxUser: 308048 |     Reg. KDEUser: 201     |
#      `'-'` GREY |                 http://grey.orora.org/                 |

----------------------------------------------------------------------
Rowerem po Roztoczu.
Zobacz relacje >>> http://link.interia.pl/f1e65




--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489593: libc6: ldconfig segmentation fault

by Aurelien Jarno :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

GREY a écrit :

>> Before generating another backtrace, please install
>> http://packages.debian.org/lenny/libc6-dbg if possible.  (Not sure if it
>> will work with ldconfig broken.)  
>
> # dpkg -i libc6-dbg_2.7-10_i386.deb
> (Reading database ... 226207 files and directories currently installed.)
> Preparing to replace libc6-dbg 2.7-10 (using libc6-dbg_2.7-10_i386.deb) ...
> Unpacking replacement libc6-dbg ...
> dpkg: dependency problems prevent configuration of libc6-dbg:
>  libc6-dbg depends on libc6 (= 2.7-10); however:
>   Package libc6 is not configured yet.
> dpkg: error processing libc6-dbg (--install):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  libc6-dbg
>
> In result files are installed but without properly configuration. libc6 is
> broken due to broken ldconfig.
>
>> Once you get the SIGSEGV in gdb, please use the bt command to produce a
>> full backtrace.
>
> # gdb ldconfig
> GNU gdb 6.7.1-debian
> Copyright (C) 2007 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu"...
> (no debugging symbols found)
> Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
> (gdb) run
> Starting program: /sbin/ldconfig
> (no debugging symbols found)
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0806084b in ?? ()
> (gdb) bt
> #0  0x0806084b in ?? ()
> #1  0x0804b0ce in ?? ()
> #2  0xd5b0db76 in ?? ()
> #3  0xb7f4e7c6 in ?? ()
> #4  0x0000000e in ?? ()
> #5  0x00000000 in ?? ()
> (gdb)
>
> Is it OK?
>

Unfortunately there is no useful info in this backtrace, because
debugging symbols are stripped from /sbin/ldconfig. Please try with
ldconfig from [1] (signed md5 available from [2]).

Also:

- Could you please send us the contents from /etc/ld.so.conf, and of the
files from /etc/ld.so.conf.d/ ?
- Does removing /etc/ld.so.cache helps?

Thanks,
Aurelien

[1] http://temp.aurel32.net/ldconfig
[2] http://temp.aurel32.net/ldconfig.md5sums.asc

--
  .''`.  Aurelien Jarno            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@...         | aurelien@...
   `-    people.debian.org/~aurel32 | www.aurel32.net



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...

LightInTheBox - Buy quality products at wholesale price