Hang on bell with emacs
By neil.con... on January 31, 2011 21:50 (imported from Google Code)
What steps will reproduce the problem?
- Enable "Bell icon in tabs" (Preferences => Bookmarks => Terminal)
- Start emacs (I'm using GNU Emacs 23.2.1 from macports)
- Open a reasonably-sized file (6 or 7 lines of text works for me)
- Move the cursor past the end of the file by pressing the "down" arrow repeatedly; this triggers the bell
What is the expected output? What do you see instead?
I expect some sort of indication of a bell. What I see is emacs hanging -- I can switch to other tabs in iTerm2, but emacs refuses to accept any more input or update the state of the screen. Attaching with gdb, the call stack looks like:
#0 0x00007fff88c81fca in __semwait_signal ()
#1 0x00007fff88c81e59 in nanosleep ()
#2 0x0000000100544fe5 in napms ()
#3 0x00000001005494fb in delay_output ()
#4 0x0000000100549738 in tputs ()
#5 0x0000000100067007 in tty_ring_bell ()
#6 0x0000000100005ae5 in Fding ()
#7 0x00000001000f3713 in Feval ()
[...]
I can actually get emacs to unhang by forcing the bottom few stack frames to return via "ret".
What version of the product are you using? On what operating system?
iTerm2 0.20.20110109, OSX 10.6.6.