[Konsole-devel] [Bug 74726] New: Konsole freezes when exiting--either "exit", "logout", ctrl-D, or hitting the close (X) button

Rex newbould at ece.arizona.edu
Mon Feb 9 16:35:54 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=74726      
           Summary: Konsole freezes when exiting--either "exit", "logout",
                    ctrl-D, or hitting the close (X) button
           Product: konsole
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: newbould at ece.arizona.edu


Version:           1.2.3 (under 3.2.0) (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
OS:          Linux

(Using SuSE 9.0, with KDE 3.2.0 from the common SuSE apt repository)

Konsole starts fine, and runs just fine....however:

Konsole "locks up" on exiting, via any exiting method I know of.  The window continues to behave nicely, though the shell inside is frozen (and won't redraw).

I can use a ctrl-alt-esc to kill the window, and it disappears.  However, the process continues in the background.

14836 ?        S      0:02 kdeinit: konsole
14621 ?        T     12:49 kdeinit: konsole -session 117f000002000107625677800000025520047_1076264250_225414
14958 ?        R      3:41 kdeinit: konsole
15039 ?        R      0:05 kdeinit: konsole

Only one of these is actually runnning (has a window, shell responds).
GDB's backtrace makes some sense though:

(gdb) bt
#0  0x412a4b48 in read () from /lib/i686/libpthread.so.0
#1  0x4171ddb0 in __JCR_LIST__ () from /opt/kde3/lib/konsole.so
#2  0x416c9333 in TEPty::DataReceived(int, int&) ()
   from /opt/kde3/lib/konsole.so
#3  0x416c7929 in TEPty::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/konsole.so
#4  0x40bf68bb in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#5  0x4077dc81 in KProcess::receivedStdout(int, int&) ()
   from /opt/kde3/lib/libkdecore.so.4
#6  0x4077c6aa in KProcess::childOutput(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#7  0x4077c299 in KProcess::slotChildOutput(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#8  0x4077d58c in KProcess::commClose() () from /opt/kde3/lib/libkdecore.so.4
#9  0x416c7e5f in TEPty::commClose() () from /opt/kde3/lib/konsole.so
#10 0x4077c62c in KProcess::processHasExited(int) ()
   from /opt/kde3/lib/libkdecore.so.4
...continues

So it is trying to close itself, but whatever JCR_LIST does, it is trying to read() and waits to do so.


Nice job on 3.2.0 btw,
Rex



More information about the konsole-devel mailing list