Summary: | konsole crashes while detaching/closing certain tabs | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Johannes Schaub <Schaub-Johannes> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Johannes Schaub
2005-05-29 17:04:29 UTC
*** Bug 111423 has been marked as a duplicate of this bug. *** I just re-tested this using KDE 3.4.2 and KDE 3.5. I still can't reproduce this crash... the only difference I see is that I'm using gcc 3.3.5 Note for for #111423 I don't have an ogg movie player, so I couldn't watch it. For some reason mplayer won't play it even though I have ogg/vorbis installed. which format do you wish? oughh, i didn't know that i reported this bug already. you can't play it - so i've converted the video to divx: the quality is much lower, because i double encoded the file. But good enough to see what i mean: http://www.johannes-schaub.de/desktop-recording.avi tell me if you can play it- if you can't, i probably will make a GIF :) Thanks for the avi file, it helped. The crash is only when selecting 'Detach' from the tab menu; not the top View menu. SVN commit 456831 by hindenburg: Temporary fix to handle crash when closing Konsole after detaching a session. CCBUG: 106464 M +12 -1 konsole.cpp --- branches/KDE/3.5/kdebase/konsole/konsole/konsole.cpp #456830:456831 @@ -2512,7 +2512,18 @@ if (se != s) se_previous = se; se = s; - session2action.find(se)->setChecked(true); + +// BR 106464 temporary fix... +// only 2 sessions opened, 2nd session viewable, right-click on 1st tab and +// select 'Detach', close original Konsole window... crash +// s is not set properly on original Konsole window + KRadioAction *ra = session2action.find(se); + if (!ra) { + se=sessions.first(); // Get new/correct TESession + ra = session2action.find(se); + } + ra->setChecked(true); + QTimer::singleShot(1,this,SLOT(allowPrevNext())); // hack, hack, hack tabwidget->showPage( se->widget() ); This fix is good enough for KDE 3.5.x. Make sure this is fixed correctly in KDE4. it isn't "good enough". just another crash: video can be grabbed here: http://rapidshare.de/files/8553191/desktop-recording.avi.html Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 1007573024 (LWP 25192)] [KCrash handler] #7 0x3c30342b in TESession::setConnect () from /opt/kde3/lib/libkdeinit_konsole.so #8 0x3c2e64ea in Konsole::activateSession () from /opt/kde3/lib/libkdeinit_konsole.so #9 0x3c2e8f8f in Konsole::doneSession () from /opt/kde3/lib/libkdeinit_konsole.so #10 0x3c2fbd7c in Konsole::qt_invoke () from /opt/kde3/lib/libkdeinit_konsole.so #11 0x3b724154 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #12 0x3c3042e0 in TESession::done () from /opt/kde3/lib/libkdeinit_konsole.so #13 0x3c3047de in TESession::done () from /opt/kde3/lib/libkdeinit_konsole.so #14 0x3c3079ae in TESession::qt_invoke () from /opt/kde3/lib/libkdeinit_konsole.so #15 0x3b724154 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #16 0x3b72477b in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #17 0x3c2d2420 in TEPty::done () from /opt/kde3/lib/libkdeinit_konsole.so #18 0x3c2d245e in TEPty::donePty () from /opt/kde3/lib/libkdeinit_konsole.so #19 0x3c2d3356 in TEPty::qt_invoke () from /opt/kde3/lib/libkdeinit_konsole.so #20 0x3b724154 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #21 0x3b2749cd in KProcess::processExited () from /opt/kde3/lib/libkdecore.so.4 #22 0x3b274a4c in KProcess::processHasExited () from /opt/kde3/lib/libkdecore.so.4 #23 0x3b27827c in KProcessController::slotDoHousekeeping () from /opt/kde3/lib/libkdecore.so.4 #24 0x00000001 in ?? () #25 0x00000001 in ?? () #26 0x00bcc99c in ?? () #27 0x081bf330 in ?? () #28 0x08190a80 in ?? () #29 0xafa55698 in ?? () #30 0x00000001 in ?? () #31 0xafa56040 in ?? () #32 0x081dd6c8 in ?? () #33 0xafa55820 in ?? () #34 0x3bbcc99c in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3 #35 0x081dd6c8 in ?? () #36 0x00000013 in ?? () #37 0xafa556b8 in ?? () #38 0x3b6c054c in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 crap, I thought I had fixed this.... I'll look at it again. Next time you make a video, put Help->About in it, so I know the version you are using... oups... i'm using version 1.6 This was fixed a while ago... Revision 485306 - (view) (download) (as text) - [select for diffs] Modified Sat Dec 3 18:46:38 2005 UTC (4 weeks ago) by hindenburg File length: 134888 byte(s) Diff to previous 480103 Again, fix crashes while detaching/closing certain tabs. BUG: 106464 good, i will build SVN kde3.5 to see if it's clean now :) |