Bug 279870 - Kate crashes when closing file or opening new one
Summary: Kate crashes when closing file or opening new one
Status: RESOLVED DUPLICATE of bug 261644
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Chakra Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 07:59 UTC by tromzy
Modified: 2011-08-11 08:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tromzy 2011-08-11 07:59:10 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

If a file is opened in Kate and I clic "Close" (not to close Kate but to close the file), Kate crashes. Also, if a file is opened in Kate and I want to open a new one, Kate crashes. 

Reproducible: Always

Steps to Reproduce:
Open a file with Kate. Close it using the "Close" button (not "Quit"). As simple as that. Or, open a file with KAte, and then open a new one while the first one is still open. It tries to close the first one, and crashes.

Actual Results:  
Kate crashes.

Expected Results:  
Being able to close the file, and also to open the new file if I chose to open a new file.

x86_64 Chakra Linux.
Comment 1 Dominik Haumann 2011-08-11 08:42:20 UTC
Cannot reproduce, please provide the backtrace, otherwise we cannot do anything about it.
Comment 2 Dominik Haumann 2011-08-11 08:43:11 UTC
And what would be awesome: Build Kate according to http://kate-editor.org/get-it/ and try whether you can reproduce it in the development version.
Comment 3 tromzy 2011-08-11 08:46:51 UTC
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f68019bb760 (LWP 19563))]

Thread 3 (Thread 0x7f67f0254700 (LWP 19567)):
#0  0x00007f67febe7284 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f67f0e793a4 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007f67f0e793d9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007f67febe2c80 in start_thread () from /lib/libpthread.so.0
#4  0x00007f680134c98d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f67ef00b700 (LWP 19580)):
#0  0x00007f67fe930279 in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#1  0x00007f67fe930e8b in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f67fe9314bd in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f67ff28aac6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f67ff25ed02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f67ff25ef4c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f67ff1744f4 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f67ff240708 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f67ff176d55 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f67febe2c80 in start_thread () from /lib/libpthread.so.0
#10 0x00007f680134c98d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f68019bb760 (LWP 19563)):
[KCrash Handler]
#6  0x00007f68007b6784 in QAction::menu() const () from /usr/lib/libQtGui.so.4
#7  0x00007f67fb5c41cc in DBusMenuExporterPrivate::menuForId(int) const () from /usr/lib/libdbusmenu-qt.so.2
#8  0x00007f67fb5ce9f8 in DBusMenuExporterDBus::GetChildren(int, QStringList const&) () from /usr/lib/libdbusmenu-qt.so.2
#9  0x00007f67fb5cf5b4 in DBusMenuExporterDBus::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libdbusmenu-qt.so.2
#10 0x00007f67ff5b3c2a in ?? () from /usr/lib/libQtDBus.so.4
#11 0x00007f67ff5b4dd5 in ?? () from /usr/lib/libQtDBus.so.4
#12 0x00007f67ff5b531c in ?? () from /usr/lib/libQtDBus.so.4
#13 0x00007f67ff5b57a8 in ?? () from /usr/lib/libQtDBus.so.4
#14 0x00007f67ff273cca in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007f68007bdb04 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f68007c26ca in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f67ffa6aca6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0x00007f67ff25f96c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007f67ff263195 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#20 0x00007f67ff28a8d3 in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007f67fe930a43 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007f67fe931220 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007f67fe9314bd in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007f67ff28aa6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007f680086317e in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f67ff25ed02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f67ff25ef4c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0x00007f67ff26344b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#29 0x00007f68015e1415 in kdemain () from /usr/lib/libkdeinit4_kate.so
#30 0x00007f6801297dfd in __libc_start_main () from /lib/libc.so.6
#31 0x0000000000400679 in _start ()
Comment 4 Dominik Haumann 2011-08-11 08:56:51 UTC
Not a Kate issue.

*** This bug has been marked as a duplicate of bug 261644 ***