Bug 316513

Summary: Crash on quick opening session
Product: [Applications] kate Reporter: Nikola Kovacs <nx.devnull>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ivan.cukic
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nikola Kovacs 2013-03-11 08:30:48 UTC
Application: kate (3.10.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.3
Operating System: Linux 3.5.0-26-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

Had a session open, then used the quick open session menu to open another one.

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

Thread 4 (Thread 0x7f9001cc7700 (LWP 32567)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9003af8cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9003af8d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f90133b2e9a in start_thread (arg=0x7f9001cc7700) at pthread_create.c:308
#4  0x00007f9015d78ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8ffe65d700 (LWP 32568)):
#0  0x00007f9015d6d313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9012ee3d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9012ee3ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9013cabc46 in QEventDispatcherGlib::processEvents (this=0x7f8ff80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9013c7c2ef in QEventLoop::processEvents (this=this@entry=0x7f8ffe65cdd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9013c7c578 in QEventLoop::exec (this=0x7f8ffe65cdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9013b7db40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9013c5c9df in QInotifyFileSystemWatcherEngine::run (this=0x1ed7690) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9013b80b1c in QThreadPrivate::start (arg=0x1ed7690) at thread/qthread_unix.cpp:338
#9  0x00007f90133b2e9a in start_thread (arg=0x7f8ffe65d700) at pthread_create.c:308
#10 0x00007f9015d78ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8ffd9b3700 (LWP 32575)):
#0  0x00007f9015d6d313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9012ee3d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9012ee3ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9013cabc46 in QEventDispatcherGlib::processEvents (this=0x7f8ff00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9013c7c2ef in QEventLoop::processEvents (this=this@entry=0x7f8ffd9b2dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9013c7c578 in QEventLoop::exec (this=0x7f8ffd9b2dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9013b7db40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9013c5c9df in QInotifyFileSystemWatcherEngine::run (this=0x2771b10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9013b80b1c in QThreadPrivate::start (arg=0x2771b10) at thread/qthread_unix.cpp:338
#9  0x00007f90133b2e9a in start_thread (arg=0x7f8ffd9b3700) at pthread_create.c:308
#10 0x00007f9015d78ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f901647e780 (LWP 32565)):
[KCrash Handler]
#6  0x00007f9013bbdc73 in QMutex::lockInline (this=0x7f90151e2030 <QWidget::leaveEvent(QEvent*)>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:187
#7  0x00007f9013c378c8 in relock (this=<optimized out>) at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:83
#8  QOrderedMutexLocker (m2=<optimized out>, m1=<optimized out>, this=<optimized out>) at ../../include/QtCore/private/../../../src/corelib/thread/qorderedmutexlocker_p.h:72
#9  QUrl::operator== (this=0x7f9015c61430 <vtable for QHeaderView+816>, url=...) at io/qurl.cpp:6134
#10 0x00007f90100848d1 in KActivities::ResourceInstance::setUri(QUrl const&) () from /usr/lib/libkactivities.so.6
#11 0x00007f90148de698 in createView (doc=<optimized out>, this=0x163a4b0) at ../../../kate/app/kateviewmanager.cpp:418
#12 KateViewManager::createView (this=0x163a4b0, doc=<optimized out>) at ../../../kate/app/kateviewmanager.cpp:387
#13 0x00007f90148e3272 in KateViewSpace::restoreConfig (this=0x19e2b00, viewMan=0x163a4b0, config=0x3d59580, groupname=...) at ../../../kate/app/kateviewspace.cpp:256
#14 0x00007f90148e0cbc in KateViewManager::restoreSplitter (this=this@entry=0x163a4b0, configBase=0x3d59580, group=..., parent=parent@entry=0x163a4b0, viewConfGrp=...) at ../../../kate/app/kateviewmanager.cpp:972
#15 0x00007f90148e15b8 in KateViewManager::restoreViewConfiguration (this=0x163a4b0, config=...) at ../../../kate/app/kateviewmanager.cpp:853
#16 0x00007f90148d193a in KateMainWindow::readProperties (this=0x1612f80, config=...) at ../../../kate/app/katemainwindow.cpp:911
#17 0x00007f90148ebcd3 in KateSessionManager::activateSession (this=0x15ceca0, session=..., closeLast=closeLast@entry=true, saveLast=saveLast@entry=true, loadNew=loadNew@entry=true) at ../../../kate/app/katesession.cpp:343
#18 0x00007f90148ee8ac in KateSessionsAction::openSession (this=<optimized out>, action=<optimized out>) at ../../../kate/app/katesession.cpp:1006
#19 0x00007f9013c9246e in QObject::event (this=0x17f5230, e=<optimized out>) at kernel/qobject.cpp:1195
#20 0x00007f901519ecf1 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#21 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1172
#22 0x00007f901439fb37 in KAction::event (this=<optimized out>, event=0x48a74f0) at ../../kdeui/actions/kaction.cpp:131
#23 0x00007f90151a4e9c in QApplicationPrivate::notify_helper (this=this@entry=0x119ffa0, receiver=receiver@entry=0x17f5230, e=e@entry=0x48a74f0) at kernel/qapplication.cpp:4562
#24 0x00007f90151a930a in QApplication::notify (this=0x7fff597b9dd0, receiver=0x17f5230, e=0x48a74f0) at kernel/qapplication.cpp:4423
#25 0x00007f9014479ad6 in KApplication::notify (this=0x7fff597b9dd0, receiver=0x17f5230, event=0x48a74f0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f9013c7d59e in QCoreApplication::notifyInternal (this=0x7fff597b9dd0, receiver=receiver@entry=0x17f5230, event=event@entry=0x48a74f0) at kernel/qcoreapplication.cpp:915
#27 0x00007f9013c81421 in sendEvent (event=0x48a74f0, receiver=0x17f5230) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1160670) at kernel/qcoreapplication.cpp:1539
#29 0x00007f9013caba93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x119a6c0) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007f9012ee3ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f9012ee3de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f9012ee3ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f9013cabc26 in QEventDispatcherGlib::processEvents (this=0x1161b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f9015249c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f9013c7c2ef in QEventLoop::processEvents (this=this@entry=0x7fff597b9970, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f9013c7c578 in QEventLoop::exec (this=0x7fff597b9970, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f9013c81738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0x00007f9016072d2d in kdemain (argc=2, argv=<optimized out>) at ../../../kate/app/katemain.cpp:380
#40 0x00007f9015ca676d in __libc_start_main (main=0x400690 <main(int, char**)>, argc=2, ubp_av=0x7fff597b9f58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff597b9f48) at libc-start.c:226
#41 0x00000000004006c1 in _start ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2013-03-11 11:11:30 UTC

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