You are not logged in.

#1 2009-02-09 19:40:38

Laurent
Member
From: Belgium
Registered: 2009-02-07
Posts: 36

[SOLVED] Segmentation faults

Hi people!


I'm configuring Arch after I installed it, but that's not my main problem. hmm
I'm experiencing segmentation faults.
Yesterday I updated my system, just after I installed it, with pacman -Syu;
I'm installing ALSA like the wiki tells me. But when I ran alsamixer I get a segmentation fault.
So I thought, bad luck, maybe it's just ALSA and I installed something very mainstream: Lynx, but when I ran lynx I got a segmentation fault too!
How is it possible that everything I install gives segmentation faults? My RAM is not broken because I can use livecd's who are fully using my RAM with no problem;
Is it a userrightsproblem? And how to fix it?



Laurent


#Marked thread as solved

Last edited by Laurent (2009-02-10 21:21:00)

Offline

#2 2009-02-09 21:22:41

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: [SOLVED] Segmentation faults

What type of system do you have? (PII, P4, AMD, etc...)
Does dmesg show anything?
Is your cpu over clocked at all?
Maybe your hard drive is bad?


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2009-02-09 21:33:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Segmentation faults

On top of what pyther asked, you may also want to try a stace trace or gdb to see if the segfaults are happening in the same library.

Offline

#4 2009-02-09 21:39:40

Laurent
Member
From: Belgium
Registered: 2009-02-07
Posts: 36

Re: [SOLVED] Segmentation faults

I have an AMD Athlon 64 3000+, never clocked it in any way
I don't think my hard drive is bad, I have two hard drives in raid1, one is about 5 years old, the other is 1 month old....

dmesg showed indeed something but I didn't understand a thing of it. (I'll search for it, I must reboot, my livecd won't mount them)

It's also strange that only programs installed after my system was installed (and thus after pacman -Syu) show segfaults.
Should I roll back my pacman? Maybe my kernel compiled not that right. I read something on the internet about a bad glibc, is that possible? yikes

Sorry I'm a bit n00by, but I never experienced segfaults before wink

Offline

#5 2009-02-09 21:44:50

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Segmentation faults

glibc was one of the libraries that I was thinking that gdb may expose. You can still run pacman right? If so, try and force reinstall glib with pacman -Sf glibc.

Offline

#6 2009-02-09 22:02:17

Laurent
Member
From: Belgium
Registered: 2009-02-07
Posts: 36

Re: [SOLVED] Segmentation faults

Sorry, it was not in dmesg.log but in messages.log I saw an error.
When I ran lynx I got a segmentation fault which messages.log confirmed

Feb 9 22:45:03 apollo lynx[3362]: segfault at 400000 ip 7f46eb456f48 libc-2.8.so[7f46eb3f2000+14a000+]

So libc is the evil. I'll try to reinstall it tomorow, it's to late now.... *need sleep*  wink
Thanks for the help

A last question: Why can't fstab mount partitions with an ' in the name (e.g. /home/laurent/Afbeeldingen/Foto's), even when I escape them with a backslash?

EDIT: lots of typo's discovered, it's late, yes

Last edited by Laurent (2009-02-09 22:02:55)

Offline

#7 2009-02-09 23:26:01

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [SOLVED] Segmentation faults

Try using quotes instead.


neutral

Offline

#8 2009-02-10 19:01:24

Laurent
Member
From: Belgium
Registered: 2009-02-07
Posts: 36

Re: [SOLVED] Segmentation faults

The fstab solution was just using the ascii codes for a single quote (\047).

(g)libc is still the evil. Now it is version 2.9 instead of version 2.8 after a pacman update.
And pacman -Sf glibc gives no difference, I still get segmentation faults. mad
How is that possible?

Offline

#9 2009-02-10 19:13:18

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Segmentation faults

You're segfault posted above was for glibc-2.8, and as you pointed out Arch is at 2.9 now. Is your system fully up to date as of today?

Offline

#10 2009-02-10 20:05:54

Laurent
Member
From: Belgium
Registered: 2009-02-07
Posts: 36

Re: [SOLVED] Segmentation faults

Fully up to date, yesterday it was fully up to date too!
It seems strange to me roll

EDIt: Solved!
I saw that the Belgium mirror was three days out of sync, so I switched to the French mirrors and ran a pacman -Syu, now, everything is just fine big_smile

Last edited by Laurent (2009-02-10 21:18:57)

Offline

#11 2009-02-10 21:25:16

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Segmentation faults

Sweet!

Offline

#12 2009-02-12 07:42:22

clickit
Member
From: Athens, Hellas
Registered: 2007-07-18
Posts: 93

Re: [SOLVED] Segmentation faults

***I removed the spam because I agree with that it's garbage. Thank you clickit -- skottish***

garbages !!!!

Offline

#13 2009-02-12 15:23:07

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Segmentation faults

clickit wrote:

***link removed by skottish***
garbages !!!!

No worries. He/She/It is done.

Offline

#14 2009-02-12 15:33:58

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [SOLVED] Segmentation faults

hello skottish, grabage link removal is partial and still there in the clickit code box :-)

Offline

#15 2009-02-12 15:37:01

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] Segmentation faults

kgas wrote:

hello skottish, grabage link removal is partial and still there in the clickit code box :-)

Thanks. I'm suffering from pre-caffeine syndrome. I'm getting better now.

Offline

Board footer

Powered by FluxBB