Bug 232323 - Kate crashes when closing several files very quickly
Summary: Kate crashes when closing several files very quickly
Status: RESOLVED DUPLICATE of bug 230426
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: 2010-03-27 10:28 UTC by Andreas Roth
Modified: 2010-03-27 10:41 UTC (History)
0 users

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 Andreas Roth 2010-03-27 10:28:04 UTC
Application: kate (3.4.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-17-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I have a kate session with about 10 local files and i wanted to close them using the close keyboard shortcut (Ctrl+W on my system). After closing a few files (about 3 or 4) kate crashes. 
When i restart kate and try again, i have the same crash again.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kate (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa2089c0800 (LWP 11471))]

Thread 2 (Thread 0x7fa1efc79710 (LWP 13906)):
#0  0x00007fa2059bdff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fa206fbda2e in qt_safe_select (nfds=14, fdread=0x12b75d0, fdwrite=0x12b7868, fdexcept=0x12b7b00, orig_timeout=0x0) at kernel/qcore_unix.cpp:143
#2  0x00007fa206fc304d in QEventDispatcherUNIXPrivate::doSelect (this=0x12b7410, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:218
#3  0x00007fa206fc3e3b in QEventDispatcherUNIX::processEvents (this=0xe10830, flags=) at kernel/qeventdispatcher_unix.cpp:920
#4  0x00007fa206f95922 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fa206f95cfc in QEventLoop::exec (this=0x7fa1efc78d10, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fa206e9fd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fa206f76118 in QInotifyFileSystemWatcherEngine::run (this=0x10a6ec0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa206ea2775 in QThreadPrivate::start (arg=0x10a6ec0) at thread/qthread_unix.cpp:248
#9  0x00007fa206c129ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fa2059c56dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa2089c0800 (LWP 11471)):
[KCrash Handler]
#5  QBasicAtomicInt::ref (this=0x7fffea7cb6c0, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#6  QUrl (this=0x7fffea7cb6c0, other=...) at io/qurl.cpp:4117
#7  0x00007fa208439f09 in KUrl (this=0x7fffea7cb6c0, _u=...) at ../../kdecore/io/kurl.cpp:472
#8  0x00007fa208116391 in KParts::ReadOnlyPart::url (this=<value optimized out>) at ../../kparts/part.cpp:465
#9  0x00007fa1f91cbaaf in KateDocManager::data (this=<value optimized out>, index=<value optimized out>, role=<value optimized out>) at ../../../kate/app/katedocmanager.cpp:133
#10 0x00007fa1f91fef30 in KateViewDocumentProxyModel::data (this=0xe6e2d0, index=..., role=35) at ../../../kate/app/kateviewdocumentproxymodel.cpp:325
#11 0x00007fa1f9200ceb in KateViewDocumentProxyModel::sort (this=0x137b3c0) at ../../../kate/app/kateviewdocumentproxymodel.cpp:637
#12 0x00007fa1f92020c8 in KateViewDocumentProxyModel::opened (this=0xe6e2d0, index=...) at ../../../kate/app/kateviewdocumentproxymodel.cpp:216
#13 0x00007fa1f91d5c8f in KateMainWindow::slotWindowActivated (this=0xc9d890) at ../../../kate/app/katemainwindow.cpp:566
#14 0x00007fa1f91da603 in KateMainWindow::qt_metacall (this=0xc9d890, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffea7cbd40) at ./katemainwindow.moc:181
#15 0x00007fa206fa9dcf in QMetaObject::activate (sender=0xdc9fe0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xdd89f0) at kernel/qobject.cpp:3293
#16 0x00007fa1f91df63c in KateViewManager::activateView (this=0xdc9fe0, view=0x1396050) at ../../../kate/app/kateviewmanager.cpp:469
#17 0x00007fa1f91e041f in KateViewManager::createView (this=0xdc9fe0, doc=<value optimized out>) at ../../../kate/app/kateviewmanager.cpp:308
#18 0x00007fa1f91e188a in KateViewManager::qt_metacall (this=0xdc9fe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffea7cbf90) at ./kateviewmanager.moc:138
#19 0x00007fa206fa9dcf in QMetaObject::activate (sender=0xacfc90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xdd89f0) at kernel/qobject.cpp:3293
#20 0x00007fa1f91c6392 in KateDocManager::documentDeleted (this=0x7fffea7cb6c0, _t1=0xdd89f0) at ./katedocmanager.moc:138
#21 0x00007fa1f91c77bb in KateDocManager::deleteDoc (this=0xacfc90, doc=0xdd89f0) at ../../../kate/app/katedocmanager.cpp:218
#22 0x00007fa1f91cc532 in KateDocManager::closeDocument (this=0xacfc90, doc=0xdd89f0, closeUrl=true) at ../../../kate/app/katedocmanager.cpp:366
#23 0x00007fa1f91dd517 in KateViewManager::slotDocumentClose (this=<value optimized out>, document=0xdd89f0) at ../../../kate/app/kateviewmanager.cpp:205
#24 0x00007fa1f91e17f1 in KateViewManager::qt_metacall (this=0xdc9fe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffea7cc720) at ./kateviewmanager.moc:130
#25 0x00007fa206fa9dcf in QMetaObject::activate (sender=0xe153a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xdd89f0) at kernel/qobject.cpp:3293
#26 0x00007fa20612d032 in QAction::triggered (this=0x7fffea7cb6c0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#27 0x00007fa20612f0ab in QAction::activate (this=0xe153a0, event=<value optimized out>) at kernel/qaction.cpp:1255
#28 0x00007fa2061309b7 in QAction::event (this=0x7fffea7cb6c0, e=<value optimized out>) at kernel/qaction.cpp:1181
#29 0x00007fa207408f3d in KAction::event (this=0x7fffea7cb6c0, event=0x7fffea7ccd90) at ../../kdeui/actions/kaction.cpp:129
#30 0x00007fa20613322c in QApplicationPrivate::notify_helper (this=0x9181d0, receiver=0xe153a0, e=0x7fffea7ccd90) at kernel/qapplication.cpp:4300
#31 0x00007fa2061396fb in QApplication::notify (this=0x7fffea7ce230, receiver=0xe153a0, e=0x7fffea7ccd90) at kernel/qapplication.cpp:4183
#32 0x00007fa2074de516 in KApplication::notify (this=0x7fffea7ce230, receiver=0xe153a0, event=0x7fffea7ccd90) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x00007fa206f96ffc in QCoreApplication::notifyInternal (this=0x7fffea7ce230, receiver=0xe153a0, event=0x7fffea7ccd90) at kernel/qcoreapplication.cpp:704
#34 0x00007fa20616ee96 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fffea7cd390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffea7cd390) at kernel/qshortcutmap.cpp:879
#36 0x00007fa206170ca7 in QShortcutMap::tryShortcutEvent (this=0x9182f8, o=<value optimized out>, e=0x7fffea7cd390) at kernel/qshortcutmap.cpp:364
#37 0x00007fa20613b253 in QApplication::notify (this=0x7fffea7ce230, receiver=0x1014410, e=0x7fffea7cd390) at kernel/qapplication.cpp:3746
#38 0x00007fa2074de516 in KApplication::notify (this=0x7fffea7ce230, receiver=0x1014410, event=0x7fffea7cd390) at ../../kdeui/kernel/kapplication.cpp:302
#39 0x00007fa206f96ffc in QCoreApplication::notifyInternal (this=0x7fffea7ce230, receiver=0x1014410, event=0x7fffea7cd390) at kernel/qcoreapplication.cpp:704
#40 0x00007fa2061de00a in QKeyMapper::sendKeyEvent (keyWidget=0x1014410, grab=<value optimized out>, type=QEvent::KeyPress, code=87, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=25, nativeVirtualKey=119, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1861
#41 0x00007fa2061e0590 in QKeyMapperPrivate::translateKeyEvent (this=0x947060, keyWidget=0x1014410, event=<value optimized out>, grab=112) at kernel/qkeymapper_x11.cpp:1831
#42 0x00007fa2061b7914 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffea7cdf70) at kernel/qapplication_x11.cpp:3394
#43 0x00007fa2061e4039 in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:132
#44 0x00007fa206f95922 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fa206f95cfc in QEventLoop::exec (this=0x7fffea7ce0f0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fa206f99a3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x00007fa1f9429eed in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#48 0x00000000004070f3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=1, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#49 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#50 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#51 0x0000000000408e12 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1841

Possible duplicates by query: bug 228275.

Reported using DrKonqi
Comment 1 Dominik Haumann 2010-03-27 10:41:55 UTC

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