Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8454 - [slim] login manager hangs on X crash or Ctrl+Alt+Del
Attached to Project:
Arch Linux
Opened by Anonymous Submitter - Monday, 29 October 2007, 18:27 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 26 January 2011, 15:25 GMT
Opened by Anonymous Submitter - Monday, 29 October 2007, 18:27 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 26 January 2011, 15:25 GMT
|
DetailsDescription:
For about a month now SLiM has been hanging on a Xorg crash or when Ctrl+Alt+Del is pressed, kicking back to VC/1 and staying there for up to 1 minute. Reverting packages has no effect which leads me to believe it may be due to one of its dependencies. This happens regardless of whether it was started via /etc/rc.conf or /etc/inittab. Xorg is running the lastest stable fglrx package if that helps. More info: http://bbs.archlinux.org/viewtopic.php?id=37765 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Wednesday, 26 January 2011, 15:25 GMT
Reason for closing: No response
Wednesday, 26 January 2011, 15:25 GMT
Reason for closing: No response
Note: I don't use it as a daemon but I run it from inittab and it works perfectly, at least killall -KILL slim (with the patch).
I maybe have a working patch, if someone would want to test it (works for me).
I've found that if I replace a single *vfork* call with a plain fork in app.cpp, slim starts to work ok in the case of killing X (ctrl-alt-backspace).
The vfork manpage mentions potential problems with signals so that might be the reason for the issue, and it also mentions that there's no reason whatsoever to use vfork on a modern Linux system.
I'm attaching the 1-char patch now, and if anyone can confirm it work, we could probably move it to the package?
- If slim-1.3.2-1 still doesn't work for you, please confirm whether http://arch.vesath.org/all/slim-1.3.2-2-x86_64.pkg.tar.xz does.
- Otherwise (or if I don't hear back from you) I'll close this bug in a week or so.
also the problem happens intermittently
After I press Ctrl-Alt-Del, slim seems to get stuck.
This is the output of "ps axf"
21114 ? Ss 0:00 /usr/bin/slim -d
21117 ? Zs 0:00 \_ [X] <defunct>
Can you remind me of how are you running slim? Via inittab, right?
Anyway, as this report was created three years ago, it is likely that the issues some people experience nowadays is not even the same as the one originally reported.