Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Segmentation fault on SU
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
v3rtigo
Apprentice
Apprentice


Joined: 15 Jun 2004
Posts: 179

PostPosted: Thu Aug 04, 2005 8:26 am    Post subject: Segmentation fault on SU Reply with quote

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
View user's profile Send private message
Nikmind
n00b
n00b


Joined: 26 Jun 2002
Posts: 18

PostPosted: Thu Aug 04, 2005 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Thu Aug 04, 2005 9:56 am    Post subject: Reply with quote

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
View user's profile Send private message
v3rtigo
Apprentice
Apprentice


Joined: 15 Jun 2004
Posts: 179

PostPosted: Thu Aug 04, 2005 10:27 am    Post subject: Reply with quote

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
View user's profile Send private message
no4b
Bodhisattva
Bodhisattva


Joined: 18 Jan 2004
Posts: 774
Location: Tarnów, Poland

PostPosted: Thu Aug 04, 2005 12:56 pm    Post subject: Reply with quote

The same here:
su[16367]: segfault at 0000000000000000 rip 00002aaaaaf73713 rsp 00007fffffd5db88 error 4
Back to top
View user's profile Send private message
Pergamon
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 117

PostPosted: Thu Aug 04, 2005 1:12 pm    Post subject: work around Reply with quote

Here "su" also segfaults, but
"su -" instead of just "su" still seems to work (inherits environment).
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Thu Aug 04, 2005 1:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pergamon
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 117

PostPosted: Thu Aug 04, 2005 1:47 pm    Post subject: Solved - updated shadow-4.0.11.1-r2 Reply with quote

There is an update in portage (at least for ~x86) that solves the problem: shadow-4.0.11.1-r2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum