Bug 265451

Summary: Kate crashes when attempting to open a previous session
Product: [Applications] kate Reporter: Tianyu Zhu <tian.tian098>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tianyu Zhu 2011-02-04 20:25:34 UTC
Application: kate (3.6.0)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Opened kate.
Selected a previous session from Sessions > Quick Open Session.
Kate crashes right after loading the document.

- Custom settings of the application:
All plugins were disabled except Tabify.
The session was split vertically.
The Window Menubar plasmoid was used to access the menu.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7846710 (LWP 2132))]

Thread 3 (Thread 0xb4d7eb70 (LWP 2136)):
#0  0x008de416 in __kernel_vsyscall ()
#1  0x008e94dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x002a0d9d in __pthread_cond_wait (cond=0x340a290, mutex=0x340a278) at forward.c:139
#3  0x03306877 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x34051a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x033068c1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x34051a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x008e4cc9 in start_thread (arg=0xb4d7eb70) at pthread_create.c:304
#6  0x0029369e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb2fb6b70 (LWP 2137)):
#0  0x008e87df in __pthread_mutex_unlock_usercnt (mutex=0x9045ca4, decr=0) at pthread_mutex_unlock.c:77
#1  0x002a0fa6 in pthread_mutex_unlock (mutex=0x9045ca4) at forward.c:184
#2  0x080b61e6 in ?? () from /lib/libglib-2.0.so.0
#3  0x080b6848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x007d459f in QEventDispatcherGlib::processEvents (this=0x8fc5bb8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x007a4609 in QEventLoop::processEvents (this=0xb2fb6290, flags=) at kernel/qeventloop.cpp:149
#6  0x007a4a8a in QEventLoop::exec (this=0xb2fb6290, flags=...) at kernel/qeventloop.cpp:201
#7  0x006a0b7e in QThread::exec (this=0x903d080) at thread/qthread.cpp:490
#8  0x0078335b in QInotifyFileSystemWatcherEngine::run (this=0x903d080) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x006a3df9 in QThreadPrivate::start (arg=0x903d080) at thread/qthread_unix.cpp:266
#10 0x008e4cc9 in start_thread (arg=0xb2fb6b70) at pthread_create.c:304
#11 0x0029369e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7846710 (LWP 2132)):
[KCrash Handler]
#7  0x00f1acea in QAction::menu (this=0x8c895c8) at kernel/qaction.cpp:748
#8  0x01685d94 in DBusMenuExporterDBus::GetChildren (this=0x8d7b758, parentId=464, names=...) at ../3rdparty/dbusmenu-qt/src/dbusmenuexporterdbus_p.cpp:47
#9  0x0169e708 in DBusMenuExporterDBus::qt_metacall (this=0x8d7b758, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc84f4c) at .moc/release-shared/moc_dbusmenuexporterdbus_p.cpp:106
#10 0x005e69dc in QDBusConnectionPrivate::deliverCall (this=0x8a9d370, object=0x8d7b758, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:919
#11 0x005e7d25 in QDBusConnectionPrivate::activateCall (this=0x8a9d370, object=0x8d7b758, flags=4080, msg=...) at qdbusintegrator.cpp:829
#12 0x005e849c in QDBusConnectionPrivate::activateObject (this=0x8a9d370, node=..., msg=..., pathStartPos=10) at qdbusintegrator.cpp:1399
#13 0x005e8a2a in QDBusActivateObjectEvent::placeMetaCall (this=0x902c318) at qdbusintegrator.cpp:1493
#14 0x007b86a2 in QObject::event (this=0x8d7b758, e=0x9068368) at kernel/qobject.cpp:1219
#15 0x00f22fdc in QApplicationPrivate::notify_helper (this=0x8aa4418, receiver=0x8d7b758, e=0x902c318) at kernel/qapplication.cpp:4396
#16 0x00f2904e in QApplication::notify (this=0xbfc859cc, receiver=0x8d7b758, e=0x902c318) at kernel/qapplication.cpp:3798
#17 0x00b4cf7a in KApplication::notify (this=0xbfc859cc, receiver=0x8d7b758, event=0x902c318) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x007a5b3b in QCoreApplication::notifyInternal (this=0xbfc859cc, receiver=0x8d7b758, event=0x902c318) at kernel/qcoreapplication.cpp:732
#19 0x007a8d8b in sendEvent (receiver=0x0, event_type=0, data=0x8a84e98) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8a84e98) at kernel/qcoreapplication.cpp:1373
#21 0x007a8f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#22 0x007d4a74 in sendPostedEvents (s=0x8aa4988) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#23 postEventSourceDispatch (s=0x8aa4988) at kernel/qeventdispatcher_glib.cpp:277
#24 0x080b2855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x080b6668 in ?? () from /lib/libglib-2.0.so.0
#26 0x080b6848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x007d4565 in QEventDispatcherGlib::processEvents (this=0x8a84b58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#28 0x00fe4be5 in QGuiEventDispatcherGlib::processEvents (this=0x8a84b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x007a4609 in QEventLoop::processEvents (this=0xbfc858c4, flags=) at kernel/qeventloop.cpp:149
#30 0x007a4a8a in QEventLoop::exec (this=0xbfc858c4, flags=...) at kernel/qeventloop.cpp:201
#31 0x007a900f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#32 0x00f21e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#33 0x0093d7b7 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#34 0x0804859b in _start ()

Possible duplicates by query: bug 263579, bug 261644, bug 253684.

Reported using DrKonqi
Comment 1 Dominik Haumann 2011-06-13 12:54:17 UTC

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