Summary: | Kate crashes upon exit after opening a file with a phone number. | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Shlomi Fish <shlomif> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | A text file that exhibits the crash. Contains an imaginary phone number. |
Description
Shlomi Fish
2009-02-05 20:38:34 UTC
Created attachment 30998 [details]
A text file that exhibits the crash. Contains an imaginary phone number.
This is a text file that after being opened using /usr/bin/kate test1.txt and File -> Quit immediately causes Kate to crash. I'm using Kate 4.2.0 on Mandriva Linux Cooker from the Mandriva RPMs.
Can you reproduce the crash after editing another file ? Did you changed some Toolbars option in Kate? Thanks (In reply to comment #2) > Can you reproduce the crash after editing another file ? I can - sometimes. The crashes don't seem to be always consistent. But editing the file and doing Alt+F;Q; causes it to crash more often than not. > Did you changed some Toolbars option in Kate? I don't think I did. > Thanks > Regards, -- Shlomi Fish SVN commit 961550 by cullmann: fix crash on exit, not that beautiful, but works BUG: 185708 M +6 -0 katemainwindow.cpp M +1 -0 katemainwindow.h --- trunk/KDE/kdesdk/kate/app/katemainwindow.cpp #961549:961550 @@ -509,6 +509,12 @@ void KateMainWindow::slotFileQuit() { + // delay real shutdown outside of this, as we are inside menu action handling + QTimer::singleShot(0, this, SLOT(slotFileQuitDelayed())); +} + +void KateMainWindow::slotFileQuitDelayed() +{ KateApp::self()->shutdownKate (this); } --- trunk/KDE/kdesdk/kate/app/katemainwindow.h #961549:961550 @@ -181,6 +181,7 @@ void slotOpenWithMenuAction(QAction* a); void slotFileQuit(); + void slotFileQuitDelayed(); void slotEditToolbars(); void slotNewToolbarConfig(); void slotWindowActivated (); (In reply to comment #4) > SVN commit 961550 by cullmann: > > fix crash on exit, not that beautiful, but works > BUG: 185708 > Thanks for fixing this bug! Regards, -- Shlomi Fish > > M +6 -0 katemainwindow.cpp > M +1 -0 katemainwindow.h > |