FS#3903 - ZSH freezes system input on exit

Attached to Project: Arch Linux
Opened by Jeff Mickey (codemac) - Saturday, 04 February 2006, 21:54 GMT
Last edited by Dale Blount (dale) - Monday, 06 February 2006, 22:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aurelien Foret (aurelien.foret)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When running zsh, I'll type `exit` to close the session, and it wont close. It'll freeze all key actions. I can't Ctrl+C, I can't even use my windowmanager keybindings to switch away from the window. At first I thought this had something to do with urxvt, but it happened while I was in console as well. Then maybe screen... well, it happened with and without screen. I got on the irc.freenode.net #zsh channel, and they suggested I try moving /etc/zsh/zprofile somewhere else so it wouldn't get loaded... and Voila! ZSH doesn't crash any more. I don't know what part of it is crashing zsh, but it's in /etc/zsh/zprofile from what I can tell.

This is a pretty big deal, because even though your system is still running, you can't do anything with it because all keyboard input is gone.

If you run the most current zsh and this isn't happening to you, maybe I'm missing something, leave a comment.
This task depends upon

Closed by  arjan timmerman (blaasvis)
Saturday, 22 July 2006, 08:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  well, this was asked ;)
Comment by Simon Morgan (sjmorgan) - Saturday, 11 February 2006, 13:19 GMT
Why not simply comment everything out and then uncomment it bit by bit until it freezes? That should find the source of the problem.
Comment by Jeff Mickey (codemac) - Thursday, 16 February 2006, 17:55 GMT
It's something under /etc/profile.d

My profile.d dir has the following in it:
total 32K
-rwxr-xr-x 1 root root 617 Sep 23 06:12 gnome.sh
-rwxr-xr-x 1 root root 222 Feb 11 17:58 j2re.sh
-rwxr-xr-x 1 root root 165 Jan 16 16:59 j2sdk.sh
-rwxr-xr-x 1 root root 56 Feb 16 11:35 locale.sh
-rwxr-xr-x 1 root root 158 Feb 5 11:06 mozilla-common.sh
-rwxr-xr-x 1 root root 89 Feb 3 00:44 plan9.sh
-rwxr-xr-x 1 root root 208 Oct 30 05:55 qt.sh
-rwxr-xr-x 1 root root 358 Dec 30 16:48 xorg.sh

I haven't figured out which one it is yet.
Comment by Jeff Mickey (codemac) - Wednesday, 15 March 2006, 20:15 GMT
After a long time... I've come to the conclusion it's entirely random. I can't seem to predict it at all. I just hold my breath when I type exit in a zsh session, hoping I wont have to use a hard reset.
Comment by arjan timmerman (blaasvis) - Saturday, 25 March 2006, 17:19 GMT
i have been able to reproduce, but only one in 40 times or so...

Comment by Jeff Mickey (codemac) - Friday, 30 June 2006, 02:27 GMT
OK, after the testing upgrades, I have exited over 200-300 times in a row without a freeze.

I'm going to assume this has been automagically fixed until anyone sees otherwise :P
Comment by Jeff Mickey (codemac) - Wednesday, 19 July 2006, 21:47 GMT
Can someone close this? It's no longer a problem.

Loading...