Bug 315664

Summary: Kate crash when opening session from menu
Product: [Applications] kate Reporter: Franklin Weng <franklin>
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 Franklin Weng 2013-02-23 02:47:50 UTC
Application: kate (3.10.0)
KDE Platform Version: 4.10.00
Qt Version: 4.8.2
Operating System: Linux 3.5.0-9-generic i686
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Upgraded to KDE 4.10.
Opened Kate and opened a specified session.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4c79980 (LWP 5217))]

Thread 2 (Thread 0xb163bb40 (LWP 5220)):
#0  0xb76ed424 in __kernel_vsyscall ()
#1  0xb5e2396b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb761164c in __pthread_cond_wait (cond=0xb200d890, mutex=0xb200d878) at forward.c:139
#3  0xb1f09029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb1f0906f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb5e1fd4c in start_thread (arg=0xb163bb40) at pthread_create.c:308
#6  0xb7603d3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4c79980 (LWP 5217)):
[KCrash Handler]
#7  ref (this=0x75715301) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#8  QString (other=..., this=0xbff85450) at ../../include/QtCore/../../src/corelib/tools/qstring.h:726
#9  QUrlPrivate::QUrlPrivate (this=0xbff85440, copy=...) at io/qurl.cpp:3451
#10 0xb607ae9c in QUrlPrivate::normalized (this=0x962fdb8) at io/qurl.cpp:4054
#11 0xb607bc66 in QUrl::operator== (this=0x9a7c1a8, url=...) at io/qurl.cpp:6039
#12 0xb57ab764 in KActivities::ResourceInstance::setUri(QUrl const&) () from /usr/lib/libkactivities.so.6
#13 0xb672cd30 in createView (doc=<optimized out>, this=0x980f778) at ../../../kate/app/kateviewmanager.cpp:418
#14 KateViewManager::createView (this=0x980f778, doc=0x9cbed98) at ../../../kate/app/kateviewmanager.cpp:387
#15 0xb6732bd9 in KateViewSpace::restoreConfig (this=0x99e5890, viewMan=0x980f778, config=0x99bdb00, groupname=...) at ../../../kate/app/kateviewspace.cpp:256
#16 0xb672fafa in KateViewManager::restoreSplitter (this=0x980f778, configBase=0x99bdb00, group=..., parent=0x980f778, viewConfGrp=...) at ../../../kate/app/kateviewmanager.cpp:972
#17 0xb67305cb in KateViewManager::restoreViewConfiguration (this=0x980f778, config=...) at ../../../kate/app/kateviewmanager.cpp:853
#18 0xb671da0a in KateMainWindow::readProperties (this=0x97d1ed8, config=...) at ../../../kate/app/katemainwindow.cpp:911
#19 0xb6740323 in KateSessionManager::activateSession (this=0x97ca7d8, session=..., closeLast=true, saveLast=true, loadNew=true) at ../../../kate/app/katesession.cpp:343
#20 0xb6740a42 in KateSessionsAction::openSession (this=0x9822258, action=0x9a2d028) at ../../../kate/app/katesession.cpp:1006
#21 0xb60dc101 in QMetaCallEvent::placeMetaCall (this=0x9c3b058, object=0x9822258) at kernel/qobject.cpp:525
#22 0xb60e517b in QObject::event (this=0x9822258, e=0x9c3b058) at kernel/qobject.cpp:1195
#23 0xb6b74c81 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#24 QAction::event (this=0x962fdb8, e=0xbff85440) at kernel/qaction.cpp:1172
#25 0xb639317f in KAction::event (this=0x9822258, event=0x9c3b058) at ../../kdeui/actions/kaction.cpp:131
#26 0xb6b7bdf4 in notify_helper (e=0x9c3b058, receiver=0x9822258, this=0x9590c98) at kernel/qapplication.cpp:4556
#27 QApplicationPrivate::notify_helper (this=0x9590c98, receiver=0x9822258, e=0x9c3b058) at kernel/qapplication.cpp:4528
#28 0xb6b8115d in QApplication::notify (this=0x9c3b058, receiver=0x9822258, e=0x9c3b058) at kernel/qapplication.cpp:4285
#29 0xb64999a1 in KApplication::notify (this=0xbff86390, receiver=0x9822258, event=0x9c3b058) at ../../kdeui/kernel/kapplication.cpp:311
#30 0xb60c9e0e in QCoreApplication::notifyInternal (this=0xbff86390, receiver=0x9822258, event=0x9c3b058) at kernel/qcoreapplication.cpp:915
#31 0xb60cdf68 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x955f370) at kernel/qcoreapplication.cpp:1539
#33 0xb60ce29c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#34 0xb60fc994 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x958d580) at kernel/qeventdispatcher_glib.cpp:279
#36 0xb5d4cd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0xb5d4d125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb5d4d201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb60fcd87 in QEventDispatcherGlib::processEvents (this=0x955ff08, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0xb6c34a1a in QGuiEventDispatcherGlib::processEvents (this=0x955ff08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb60c86ad in QEventLoop::processEvents (this=0xbff862c4, flags=...) at kernel/qeventloop.cpp:149
#42 0xb60c8949 in QEventLoop::exec (this=0xbff862c4, flags=...) at kernel/qeventloop.cpp:204
#43 0xb60ce34a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#44 0xb6b799c4 in QApplication::exec () at kernel/qapplication.cpp:3817
#45 0xb76e4905 in kdemain (argc=2, argv=0xbff869f4) at ../../../kate/app/katemain.cpp:380
#46 0x080484fb in main (argc=2, argv=0xbff869f4) at kate_dummy.cpp:3

Reported using DrKonqi
Comment 1 Franklin Weng 2013-02-23 02:54:05 UTC
It would be okay if I opened kate in konsole and directly specify the same session name.

However it would crash every time I selected the session from the menu.
Comment 2 Dominik Haumann 2013-02-23 08:28:31 UTC

*** This bug has been marked as a duplicate of bug 308595 ***
Comment 3 Dominik Haumann 2013-03-20 21:01:08 UTC

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