iterm hangs when you alt-click while running tmux
By rec...@yahoo.com on September 05, 2013 15:19 (imported from Google Code)
What steps will reproduce the problem?
- Open a 2nd window with tmux -CC
- Open textfile with less or vim (the window doesn't matter)
- Create a selection with option-click
What is the expected output? What do you see instead?
Sometimes, iterm stops to respond (no CPU usage) and the beach ball spins. Mostly happens, when iterm has been running a while and the scrollback buffer is full.
When I attach to the process with gdb:
(gdb) bt
#0 0x00007fff8a4bf270 in write ()
#1 0x0000000100040644 in -[TaskNotifier unblock] ()
#2 0x0000000100040ca4 in -[PTYTask writeTask:] ()
#3 0x00000001000857a4 in -[PTYSession writeTaskImpl:] ()
#4 0x0000000100029ebf in -[PTYTextView placeCursorOnCurrentLineWithEvent:] ()
#5 0x000000010002c10f in -[PTYTextView mouseUp:] ()
#6 0x00007fff86ea7431 in -[NSWindow sendEvent:] ()
#7 0x00007fff86ddcafa in -[NSApplication sendEvent:] ()
#8 0x00000001000bbcec in -[iTermApplication sendEvent:] ()
#9 0x00007fff86d736de in -[NSApplication run] ()
#10 0x00007fff86d6c3b0 in NSApplicationMain ()
#11 0x0000000100001c42 in main ()
When I return it hangs again right away:
(gdb) return
Make selected stack frame return now? (y or n) y
#0 0x0000000100040644 in -[TaskNotifier unblock] ()
(gdb) n
Single stepping until exit from function write,
which has no line number information.
0x0000000100040648 in -[TaskNotifier unblock] ()
(gdb)
Single stepping until exit from function -[TaskNotifier unblock],
which has no line number information.
0x0000000100040ca4 in -[PTYTask writeTask:] ()
(gdb)
Single stepping until exit from function -[PTYTask writeTask:],
which has no line number information.
0x00007fff87c74138 in objc_msgSend_fixedup ()
(gdb)
Single stepping until exit from function objc_msgSend_fixedup,
which has no line number information.
0x00007fff87c73ee4 in objc_msgSend ()
(gdb)
Single stepping until exit from function objc_msgSend,
which has no line number information.
0x00007fff858529ca in -[NSLock unlock] ()
(gdb)
Single stepping until exit from function -[NSLock unlock],
which has no line number information.
0x00000001000857a4 in -[PTYSession writeTaskImpl:] ()
(gdb)
Single stepping until exit from function -[PTYSession writeTaskImpl:],
which has no line number information.
0x00007fff87c74138 in objc_msgSend_fixedup ()
(gdb)
Single stepping until exit from function objc_msgSend_fixedup,
which has no line number information.
0x00007fff87c73ee4 in objc_msgSend ()
(gdb)
Single stepping until exit from function objc_msgSend,
which has no line number information.
0x0000000100021550 in -[PTYScroller setUserScroll:] ()
(gdb)
Single stepping until exit from function -[PTYScroller setUserScroll:],
which has no line number information.
0x0000000100029ebf in -[PTYTextView placeCursorOnCurrentLineWithEvent:] ()
(gdb)
Single stepping until exit from function -[PTYTextView placeCursorOnCurrentLineWithEvent:],
which has no line number information.
^C
Program received signal SIGINT, Interrupt.
0x00007fff8a4bf270 in write ()
(gdb)
What version of the product are you using? On what operating system?
1.0.0.20130622 on OSX 10.6.8