Bug 330207

Summary: Kile crashed while closing tabs
Product: [Applications] kile Reporter: Svenn-Arne Dragly <s>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 2.1.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Svenn-Arne Dragly 2014-01-20 15:21:09 UTC
Application: kile (2.1.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Closed 3 out of 4 tabs with open tex files.

- Unusual behavior I noticed:
Had trouble with the unity-panel-service crashing when changing tabs in Kile and was trying to find a workaround to this when Kile crashed. The workaround is described below.

- Custom settings of the application:
Started Kile with the following change in .kilerc:

MenuBar=Enabled

Also started with 

env QT_X11_NO_NATIVE_MENUBAR=1 kile

to disable the global menu bar.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kile (kile), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f916cc3f7c0 (LWP 27329))]

Thread 6 (Thread 0x7f9154223700 (LWP 27332)):
#0  0x00007f9168b98f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f91641136a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9164113b0a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f915bed4b66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f91641380f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f91647dcf6e in start_thread (arg=0x7f9154223700) at pthread_create.c:311
#6  0x00007f9168ba59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f9153107700 (LWP 27333)):
#0  0x00007f9168b98f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f91641136a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91641137ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f91641137f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f91641380f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f91647dcf6e in start_thread (arg=0x7f9153107700) at pthread_create.c:311
#6  0x00007f9168ba59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f913a967700 (LWP 27337)):
#0  0x00007f91647e005f in __pthread_mutex_unlock_usercnt (mutex=0x7f9134000a60, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007f91641533d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9164112830 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9164113565 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f91641137ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f916a461a76 in QEventDispatcherGlib::processEvents (this=0x7f91340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f916a4335ef in QEventLoop::processEvents (this=this@entry=0x7f913a966d70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f916a4338e5 in QEventLoop::exec (this=this@entry=0x7f913a966d70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f916a33288f in QThread::exec (this=this@entry=0x2a26560) at thread/qthread.cpp:542
#9  0x00007f916a414d13 in QInotifyFileSystemWatcherEngine::run (this=0x2a26560) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f916a334f2f in QThreadPrivate::start (arg=0x2a26560) at thread/qthread_unix.cpp:338
#11 0x00007f91647dcf6e in start_thread (arg=0x7f913a967700) at pthread_create.c:311
#12 0x00007f9168ba59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f9139af7700 (LWP 27340)):
#0  0x00007f91641530ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9164153399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f916411368a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f91641137ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f916a461a76 in QEventDispatcherGlib::processEvents (this=0x7f912c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f916a4335ef in QEventLoop::processEvents (this=this@entry=0x7f9139af6d70, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f916a4338e5 in QEventLoop::exec (this=this@entry=0x7f9139af6d70, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f916a33288f in QThread::exec (this=this@entry=0x2cc1370) at thread/qthread.cpp:542
#8  0x00007f916a414d13 in QInotifyFileSystemWatcherEngine::run (this=0x2cc1370) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f916a334f2f in QThreadPrivate::start (arg=0x2cc1370) at thread/qthread_unix.cpp:338
#10 0x00007f91647dcf6e in start_thread (arg=0x7f9139af7700) at pthread_create.c:311
#11 0x00007f9168ba59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f9152906700 (LWP 27401)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9166dd606b in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9166dd60a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f91647dcf6e in start_thread (arg=0x7f9152906700) at pthread_create.c:311
#4  0x00007f9168ba59cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f916cc3f7c0 (LWP 27329)):
[KCrash Handler]
#6  0x00007f9168ae1f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f9168ae55e8 in __GI_abort () at abort.c:90
#8  0x00007f916a32a912 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x483baf8 "ASSERT: \"interface->textInterface()\" in file atspiadaptor.cpp, line 1002") at global/qglobal.cpp:2347
#9  0x00007f916a32ac79 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=0x7f916a495a80 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff060e48c8) at global/qglobal.cpp:2393
#10 0x00007f916a32b484 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2576
#11 0x00007f9140240750 in AtSpiAdaptor::notify(int, QAccessibleInterface*, int) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#12 0x00007f914022dcdc in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/x86_64-linux-gnu/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#13 0x00007f9169a491c1 in QAccessible::updateAccessibility (o=o@entry=0x45eb890, who=who@entry=0, reason=reason@entry=QAccessible::TextCaretMoved) at accessible/qaccessible_unix.cpp:118
#14 0x00007f9140ea6ab2 in KateViewInternal::cursorMoved (this=this@entry=0x45eb890) at ../../part/view/kateviewinternal.cpp:3437
#15 0x00007f9140eadabc in KateViewInternal::updateCursor (this=this@entry=0x45eb890, newCursor=..., force=force@entry=false, center=center@entry=false, calledExternally=calledExternally@entry=false) at ../../part/view/kateviewinternal.cpp:1896
#16 0x00007f9140eb10c7 in KateViewInternal::placeCursor (this=this@entry=0x45eb890, p=..., keepSelection=keepSelection@entry=false, updateSelection=updateSelection@entry=true) at ../../part/view/kateviewinternal.cpp:2093
#17 0x00007f9140eb187a in KateViewInternal::mousePressEvent (this=0x45eb890, e=0x7fff060e5230) at ../../part/view/kateviewinternal.cpp:2569
#18 0x00007f91695a6191 in QWidget::event (this=0x45eb890, event=0x7fff060e5230) at kernel/qwidget.cpp:8371
#19 0x00007f9169556dfc in QApplicationPrivate::notify_helper (this=this@entry=0x24d0580, receiver=receiver@entry=0x45eb890, e=e@entry=0x7fff060e5230) at kernel/qapplication.cpp:4567
#20 0x00007f916955d5ad in QApplication::notify (this=this@entry=0x7fff060e6310, receiver=receiver@entry=0x45eb890, e=e@entry=0x7fff060e5230) at kernel/qapplication.cpp:4110
#21 0x00007f916ae7da6a in KApplication::notify (this=0x7fff060e6310, receiver=0x45eb890, event=0x7fff060e5230) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f916a4348bd in QCoreApplication::notifyInternal (this=0x7fff060e6310, receiver=receiver@entry=0x45eb890, event=event@entry=0x7fff060e5230) at kernel/qcoreapplication.cpp:946
#23 0x00007f916955cd63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x45eb890, event=event@entry=0x7fff060e5230, alienWidget=alienWidget@entry=0x45eb890, nativeWidget=nativeWidget@entry=0x4576f90, buttonDown=buttonDown@entry=0x7f916a03b2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#25 0x00007f91695d17db in QETWidget::translateMouseEvent (this=this@entry=0x4576f90, event=event@entry=0x7fff060e55b0) at kernel/qapplication_x11.cpp:4631
#26 0x00007f91695d1079 in QApplication::x11ProcessEvent (this=0x7fff060e6310, event=event@entry=0x7fff060e55b0) at kernel/qapplication_x11.cpp:3624
#27 0x00007f91695f8922 in x11EventSourceDispatch (s=0x24ceca0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f91641133b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f9164113708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f91641137ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f916a461a55 in QEventDispatcherGlib::processEvents (this=0x24d0140, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f91695f89d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f916a4335ef in QEventLoop::processEvents (this=this@entry=0x7fff060e5990, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f916a4338e5 in QEventLoop::exec (this=this@entry=0x7fff060e5990, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f916a438e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#36 0x0000000000436912 in ?? ()
#37 0x00007f9168accde5 in __libc_start_main (main=0x435720, argc=1, ubp_av=0x7fff060e6478, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff060e6468) at libc-start.c:260
#38 0x0000000000438d05 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-01-21 07:48:12 UTC

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