View previous topic :: View next topic |
Author |
Message |
v3rtigo Apprentice
Joined: 15 Jun 2004 Posts: 179
|
Posted: Thu Aug 04, 2005 8:26 am Post subject: Segmentation fault on SU |
|
|
After the last emerge i have Segfault on su, but the wierd thing is, that it only happens in X, without X i have no problems switching to root or other acounts.
In X:
Code: |
vertigo@fucked ~ $ su
Password:
Segmentation fault
vertigo@fucked ~ $
|
|
|
Back to top |
|
|
Nikmind n00b
Joined: 26 Jun 2002 Posts: 18
|
Posted: Thu Aug 04, 2005 8:39 am Post subject: |
|
|
I have the same problem. Apparently the latest update of shadow did this. Hopefully a fix will come real soon. I just reemerged an older shadow and it works fine now. _________________ /Mikael Grahn - Mindkiller Systems - |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Thu Aug 04, 2005 9:56 am Post subject: |
|
|
su - still works though (for me at least) _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
v3rtigo Apprentice
Joined: 15 Jun 2004 Posts: 179
|
Posted: Thu Aug 04, 2005 10:27 am Post subject: |
|
|
TheCoop wrote: | su - still works though (for me at least) |
yea i checked now and with su - everything ok,
well will wait till new shadow version:lol: |
|
Back to top |
|
|
no4b Bodhisattva
Joined: 18 Jan 2004 Posts: 774 Location: Tarnów, Poland
|
Posted: Thu Aug 04, 2005 12:56 pm Post subject: |
|
|
The same here:
su[16367]: segfault at 0000000000000000 rip 00002aaaaaf73713 rsp 00007fffffd5db88 error 4 |
|
Back to top |
|
|
Pergamon Tux's lil' helper
Joined: 01 Feb 2004 Posts: 117
|
Posted: Thu Aug 04, 2005 1:12 pm Post subject: work around |
|
|
Here "su" also segfaults, but
"su -" instead of just "su" still seems to work (inherits environment). |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Thu Aug 04, 2005 1:27 pm Post subject: |
|
|
the reason it fails is the new shadow doesnt install locale stuff properly.
From strace su:
Code: | open("/usr/share/locale/en_GB/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/shadow.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cb3000
write(1, "Sorry.\n", 7Sorry.
) = 7
munmap(0xb7cb3000, 4096) = 0
exit_group(1) = ? |
_________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
Pergamon Tux's lil' helper
Joined: 01 Feb 2004 Posts: 117
|
Posted: Thu Aug 04, 2005 1:47 pm Post subject: Solved - updated shadow-4.0.11.1-r2 |
|
|
There is an update in portage (at least for ~x86) that solves the problem: shadow-4.0.11.1-r2 |
|
Back to top |
|
|
|