Bug 268143 - Kate crashes when closing
Summary: Kate crashes when closing
Status: RESOLVED DUPLICATE of bug 246652
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 16:54 UTC by Diego Zaccai
Modified: 2011-03-11 00:36 UTC (History)
1 user (show)

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 Diego Zaccai 2011-03-10 16:54:13 UTC
Application: kate (3.5.3)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-29-generic x86_64
Distribution: Ubuntu 10.04.2 LTS

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

I was modifying 4 files, with the terminal extension open. When I closed Kate it asked me to fill a bug report. I was able to reproduce it (i believe every time) I close Kate from this session.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f403dc57700 (LWP 27982)):
#0  0x00007f4053c72f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4050da94a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f4050da98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f4051b5e1d6 in QEventDispatcherGlib::processEvents (this=0x2c11c00, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f4051b30dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f4051b311bc in QEventLoop::exec (this=0x7f403dc56db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f4051a3c36d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f4051b10b48 in QInotifyFileSystemWatcherEngine::run (this=0x2c70fd0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4051a3f2ee in QThreadPrivate::start (arg=0x2c70fd0) at thread/qthread_unix.cpp:266
#9  0x00007f40512649ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f4053c7f70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f403d456700 (LWP 28121)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4042e5d7e4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f4043168160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f4042e5d819 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f4043176234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f40512649ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f4053c7f70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f405430b760 (LWP 27962)):
[KCrash Handler]
#6  QBasicAtomicInt::operator!= (this=0x2aa9900, action=0x2ab45b0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:75
#7  QList<QAction*>::detachShared (this=0x2aa9900, action=0x2ab45b0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:131
#8  QList<QAction*>::removeAll (this=0x2aa9900, action=0x2ab45b0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:757
#9  QWidget::removeAction (this=0x2aa9900, action=0x2ab45b0) at kernel/qwidget.cpp:3167
#10 0x00007f4052221dd4 in KActionCollection::removeAssociatedWidget (this=0x2aae0a0, widget=0x2aa9900) at ../../kdeui/actions/kactioncollection.cpp:723
#11 0x00007f40524363bd in KXMLGUIClient::prepareXMLUnplug (this=0x29fec18, w=0x2aa9900) at ../../kdeui/xmlgui/kxmlguiclient.cpp:734
#12 0x00007f405243f046 in KXMLGUIFactory::removeClient (this=<value optimized out>, client=0x29fec18) at ../../kdeui/xmlgui/kxmlguifactory.cpp:439
#13 0x00007f4052438b51 in ~KXMLGUIClient (this=0x29fec18, __in_chrg=<value optimized out>) at ../../kdeui/xmlgui/kxmlguiclient.cpp:100
#14 0x00007f404175f105 in ~SessionController (this=0x29febf0, __in_chrg=<value optimized out>) at ../../../../apps/konsole/src/SessionController.cpp:181
#15 0x00007f4051b43fff in QObjectPrivate::deleteChildren (this=0x2a76430) at kernel/qobject.cpp:1957
#16 0x00007f4051b4b69b in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#17 0x00007f40417857da in ~ViewManager (this=0x2a75ff0, __in_chrg=<value optimized out>) at ../../../../apps/konsole/src/ViewManager.cpp:101
#18 0x00007f4051b43fff in QObjectPrivate::deleteChildren (this=0x2a751e0) at kernel/qobject.cpp:1957
#19 0x00007f4051b4b69b in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#20 0x00007f404e40baf2 in ~Part (this=0x2a720f0, __vtt_parm=0x7f4041bcd5f0, __in_chrg=<value optimized out>) at ../../kparts/part.cpp:212
#21 0x00007f40419cacd7 in ~Part (this=0x2a720f0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../../apps/konsole/src/Part.cpp:113
#22 0x00007f4051b43fff in QObjectPrivate::deleteChildren (this=0x276eb60) at kernel/qobject.cpp:1957
#23 0x00007f40530cd578 in ~QWidget (this=0x276eab0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#24 0x00007f404242b59f in ~KateConsole (this=0x276eab0, __in_chrg=<value optimized out>) at ../../../../kate/plugins/konsole/kateconsole.cpp:168
#25 0x00007f404242bacc in ~KateKonsolePluginView (this=0x276b340, __in_chrg=<value optimized out>) at ../../../../kate/plugins/konsole/kateconsole.cpp:128
#26 0x00007f4052786f08 in KatePluginManager::disablePluginGUI (this=<value optimized out>, item=<value optimized out>, win=0x25ed7f0) at ../../../kate/app/katepluginmanager.cpp:217
#27 0x00007f405278797b in KatePluginManager::disableAllPluginsGUI (this=0x25c9610, win=0x25ed7f0) at ../../../kate/app/katepluginmanager.cpp:151
#28 0x00007f405278009d in ~KateMainWindow (this=0x25ed7f0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../../kate/app/katemainwindow.cpp:232
#29 0x00007f4051b43ea8 in QObject::event (this=0x25ed7f0, e=0x2aeb450) at kernel/qobject.cpp:1202
#30 0x00007f40530c7b1f in QWidget::event (this=0x25ed7f0, event=0x2d709e0) at kernel/qwidget.cpp:8646
#31 0x00007f40534aab5b in QMainWindow::event (this=0x25ed7f0, event=0x2d709e0) at widgets/qmainwindow.cpp:1417
#32 0x00007f4052431e03 in KXmlGuiWindow::event (this=0x2, ev=0x2aeb450) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:132
#33 0x00007f40530726ec in QApplicationPrivate::notify_helper (this=0x23f3f40, receiver=0x25ed7f0, e=0x2d709e0) at kernel/qapplication.cpp:4396
#34 0x00007f40530781dd in QApplication::notify (this=0x7fffd7bacd70, receiver=0x25ed7f0, e=0x2d709e0) at kernel/qapplication.cpp:4277
#35 0x00007f4052315926 in KApplication::notify (this=0x7fffd7bacd70, receiver=0x25ed7f0, event=0x2d709e0) at ../../kdeui/kernel/kapplication.cpp:310
#36 0x00007f4051b320ac in QCoreApplication::notifyInternal (this=0x7fffd7bacd70, receiver=0x25ed7f0, event=0x2d709e0) at kernel/qcoreapplication.cpp:732
#37 0x00007f4051b34fd2 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x23d0b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x23d0b10) at kernel/qcoreapplication.cpp:1373
#39 0x00007f4051b5e643 in QCoreApplication::sendPostedEvents (s=0x23f3a40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x23f3a40) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007f4050da58c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00007f4050da9748 in ?? () from /lib/libglib-2.0.so.0
#43 0x00007f4050da98fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00007f4051b5e183 in QEventDispatcherGlib::processEvents (this=0x23d0650, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#45 0x00007f405312497e in QGuiEventDispatcherGlib::processEvents (this=0x2, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f4051b30dd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f4051b311bc in QEventLoop::exec (this=0x7fffd7bacc30, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f4051b3526b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#49 0x00007f4053f22086 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#50 0x00007f4053bb7c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffd7bae308) at libc-start.c:226
#51 0x00000000004006b9 in _start ()

This bug may be a duplicate of or related to bug 257661.

Possible duplicates by query: bug 264653, bug 257926, bug 257661.

Reported using DrKonqi
Comment 1 Dario Andres 2011-03-11 00:36:13 UTC
[Comment from a bug triager]
This is a bug in the Konsole KPart, fixed since KDE SC 4.5.4
Merging with bug 246652.
Regards

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