Bug 254650 - Kate crashed when closing files
Summary: Kate crashed when closing files
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-10-19 13:09 UTC by nicolas
Modified: 2010-10-23 16:42 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 nicolas 2010-10-19 13:09:05 UTC
Application: kate (3.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
If i close a file not selected (last one in the list), kate crash.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[KCrash Handler]
#5  QUrl (this=0x7ffffb83d280, other=...) at io/qurl.cpp:4114
#6  0x00007f4829432fb9 in KUrl (this=0x7ffffb83d280, _u=...) at ../../kdecore/io/kurl.cpp:472
#7  0x00007f4824fd4391 in KParts::ReadOnlyPart::url (this=<value optimized out>) at ../../kparts/part.cpp:465
#8  0x00007f48290e2aaf in KateDocManager::data (this=<value optimized out>, index=<value optimized out>, role=<value optimized out>) at ../../../kate/app/katedocmanager.cpp:133
#9  0x00007f4829115f50 in KateViewDocumentProxyModel::data (this=0x2592160, index=..., role=35) at ../../../kate/app/kateviewdocumentproxymodel.cpp:325
#10 0x00007f4829117d0b in KateViewDocumentProxyModel::sort (this=0x2d94ec0) at ../../../kate/app/kateviewdocumentproxymodel.cpp:637
#11 0x00007f48291190e8 in KateViewDocumentProxyModel::opened (this=0x2592160, index=...) at ../../../kate/app/kateviewdocumentproxymodel.cpp:216
#12 0x00007f48290ecc8f in KateMainWindow::slotWindowActivated (this=0x1915e70) at ../../../kate/app/katemainwindow.cpp:566
#13 0x00007f48290f1613 in KateMainWindow::qt_metacall (this=0x1915e70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffb83d900) at ./katemainwindow.moc:181
#14 0x00007f48284dde3f in QMetaObject::activate (sender=0x257ad00, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2393900) at kernel/qobject.cpp:3293
#15 0x00007f48290f664c in KateViewManager::activateView (this=0x257ad00, view=0x289dad0) at ../../../kate/app/kateviewmanager.cpp:469
#16 0x00007f48290f743f in KateViewManager::createView (this=0x257ad00, doc=<value optimized out>) at ../../../kate/app/kateviewmanager.cpp:308
#17 0x00007f48290f88aa in KateViewManager::qt_metacall (this=0x257ad00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffb83db50) at ./kateviewmanager.moc:138
#18 0x00007f48284dde3f in QMetaObject::activate (sender=0x17763c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2393900) at kernel/qobject.cpp:3293
#19 0x00007f48290dd392 in KateDocManager::documentDeleted (this=0x7ffffb83d280, _t1=0x2393900) at ./katedocmanager.moc:138
#20 0x00007f48290de7bb in KateDocManager::deleteDoc (this=0x17763c0, doc=0x2393900) at ../../../kate/app/katedocmanager.cpp:218
#21 0x00007f48290e3532 in KateDocManager::closeDocument (this=0x17763c0, doc=0x2393900, closeUrl=true) at ../../../kate/app/katedocmanager.cpp:366
#22 0x00007f48290f4527 in KateViewManager::slotDocumentClose (this=<value optimized out>, document=0x2393900) at ../../../kate/app/kateviewmanager.cpp:205
#23 0x00007f48290f8811 in KateViewManager::qt_metacall (this=0x257ad00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffb83e2e0) at ./kateviewmanager.moc:130
#24 0x00007f48284dde3f in QMetaObject::activate (sender=0x259b060, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x2393900) at kernel/qobject.cpp:3293
#25 0x00007f4829994032 in QAction::triggered (this=0x7ffffb83d280, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#26 0x00007f48299960ab in QAction::activate (this=0x259b060, event=<value optimized out>) at kernel/qaction.cpp:1255
#27 0x00007f4829d506ca in QAbstractButtonPrivate::click (this=0x26fdb40) at widgets/qabstractbutton.cpp:528
#28 0x00007f4829d5097c in QAbstractButton::mouseReleaseEvent (this=0x26be910, e=0x7ffffb83ec40) at widgets/qabstractbutton.cpp:1121
#29 0x00007f4829e1c8ca in QToolButton::mouseReleaseEvent (this=0x7ffffb83d280, e=0xb1) at widgets/qtoolbutton.cpp:721
#30 0x00007f48299f0582 in QWidget::event (this=0x26be910, event=0x7ffffb83ec40) at kernel/qwidget.cpp:7998
#31 0x00007f482999a22c in QApplicationPrivate::notify_helper (this=0x15a2620, receiver=0x26be910, e=0x7ffffb83ec40) at kernel/qapplication.cpp:4300
#32 0x00007f48299a0ecb in QApplication::notify (this=0x7ffffb83f9d0, receiver=0x26be910, e=0x7ffffb83ec40) at kernel/qapplication.cpp:3865
#33 0x00007f4828c8b526 in KApplication::notify (this=0x7ffffb83f9d0, receiver=0x26be910, event=0x7ffffb83ec40) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007f48284cb06c in QCoreApplication::notifyInternal (this=0x7ffffb83f9d0, receiver=0x26be910, event=0x7ffffb83ec40) at kernel/qcoreapplication.cpp:704
#35 0x00007f48299a00ae in QCoreApplication::sendEvent (receiver=0x26be910, event=0x7ffffb83ec40, alienWidget=0x26be910, nativeWidget=0x26e19b0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0x26be910, event=0x7ffffb83ec40, alienWidget=0x26be910, nativeWidget=0x26e19b0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#37 0x00007f4829a1ff65 in QETWidget::translateMouseEvent (this=0x26e19b0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#38 0x00007f4829a1e8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffffb83f560) at kernel/qapplication_x11.cpp:3501
#39 0x00007f4829a4a882 in x11EventSourceDispatch (s=0x15a2300, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f482773e8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x00007f4827742748 in ?? () from /lib/libglib-2.0.so.0
#42 0x00007f48277428fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x00007f48284f4513 in QEventDispatcherGlib::processEvents (this=0x157a3a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#44 0x00007f4829a4a46e in QGuiEventDispatcherGlib::processEvents (this=0x7ffffb83d280, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f48284c9992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#46 0x00007f48284c9d6c in QEventLoop::exec (this=0x7ffffb83f890, flags=) at kernel/qeventloop.cpp:201
#47 0x00007f48284cdaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#48 0x00007f482a7fbeed in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#49 0x00007f482a491c4d 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=0x7ffffb840f58) at libc-start.c:226
#50 0x00000000004006b9 in _start ()

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

Possible duplicates by query: bug 252617, bug 250468, bug 250336, bug 248220, bug 245331.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-23 16:42:08 UTC

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