You are not logged in.

#1 2009-11-03 20:31:30

Babets
Member
Registered: 2008-02-07
Posts: 47

[solved] ldconfig segmentation fault

Recently I notice this problem:
"cat /var/log/messages.log | grep -i ldconfig"

(...)
Nov  2 22:49:00 osaka kernel: ldconfig[12905]: segfault at 2a8f29d4 ip 08062243 sp bfb01194 error 4 in ldconfig[8048000+9f000]
Nov  3 21:11:10 osaka kernel: ldconfig[4090]: segfault at 2aa659d4 ip 08062243 sp bf806694 error 4 in ldconfig[8048000+9f000]
Nov  3 21:23:27 osaka kernel: ldconfig[2110]: segfault at 2a9719d4 ip 08062243 sp bfe124a4 error 4 in ldconfig[8048000+9f000]

ldconfig is crashing every time is launched.
I saw that this problem is present only if this command is ran as root (but obviously running ldconfig as user is not useful I think tongue).

Last edited by Babets (2009-11-07 17:54:19)

Offline

#2 2009-11-03 22:19:27

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [solved] ldconfig segmentation fault

A segfault is a bug 99.9% of the time, if no one has better advice, then find a command that reliably makes it segfault and report to the makers of ldconfig wink  In this case, glibc.

(`pacman -Qo `which ldconfig``)

Offline

#3 2009-11-04 15:41:17

Babets
Member
Registered: 2008-02-07
Posts: 47

Re: [solved] ldconfig segmentation fault

Ranguvar wrote:

A segfault is a bug 99.9% of the time, if no one has better advice, then find a command that reliably makes it segfault and report to the makers of ldconfig wink  In this case, glibc.

(`pacman -Qo `which ldconfig``)

Yeah, I was thinking about opening a bug report but before I want to know if I am the unique with this problem.
I'm using arch i686.
I also tried to reinstall glibc, and I obtained this error:

/tmp/alpm_dfsxMK/.INSTALL: line 38:  2395 Segmentation fault      ldconfig -r .
Generating locales...
  it_IT.UTF-8... done
  it_IT.ISO-8859-1... done
  it_IT.ISO-8859-15@euro... done
Generation complete.

Last edited by Babets (2009-11-04 15:41:49)

Offline

#4 2009-11-07 09:12:26

Babets
Member
Registered: 2008-02-07
Posts: 47

Re: [solved] ldconfig segmentation fault

No one else with this bug?
I'm going to open a bug report.
Edit: bug report opened.

Edit2: Bug closed. Solved removing /var/cache/ldconfig/aux-cache and re-running ldconfig (thank you JGC).

Last edited by Babets (2009-11-07 17:54:06)

Offline

#5 2009-12-07 02:36:10

tgp1994
Member
Registered: 2009-12-07
Posts: 1

Re: [solved] ldconfig segmentation fault

Oh. My. Goodness.

I can't thank you enough, Babets, for Edit #2. I have been searching the internet high and low for this problem, and thanks to you, I have my answer big_smile

I honestly don't even have Archlinux, I have Debian, but apparently ldconfig is the same between the two smile

Offline

Board footer

Powered by FluxBB