Bug 245331 - kate crashes when closing automatically selected file on session reopening
Summary: kate crashes when closing automatically selected file on session reopening
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-07-21 16:34 UTC by aa.pp.ii+kde
Modified: 2010-10-23 16:48 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 aa.pp.ii+kde 2010-07-21 16:34:16 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:
Kate crashed when I tried to close the automatically selected file as soon as I opened a new session of kate.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f2e48a89710 (LWP 3455)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f2e48a88aa0 in ?? ()
#2  0x00007fff897ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f2e637b9760 (LWP 3454)):
[KCrash Handler]
#5  QUrl (this=0x7fff897a5580, other=...) at io/qurl.cpp:4114
#6  0x00007f2e62010fb9 in KUrl (this=0x7fff897a5580, _u=...) at ../../kdecore/io/kurl.cpp:472
#7  0x00007f2e5dbb2391 in KParts::ReadOnlyPart::url (this=<value optimized out>) at ../../kparts/part.cpp:465
#8  0x00007f2e61cc0aaf in KateDocManager::data (this=<value optimized out>, index=<value optimized out>, role=<value optimized out>) at ../../../kate/app/katedocmanager.cpp:133
#9  0x00007f2e61cf3f50 in KateViewDocumentProxyModel::data (this=0xac87b0, index=..., role=35) at ../../../kate/app/kateviewdocumentproxymodel.cpp:325
#10 0x00007f2e61cf5d0b in KateViewDocumentProxyModel::sort (this=0x1743570) at ../../../kate/app/kateviewdocumentproxymodel.cpp:637
#11 0x00007f2e61cf70e8 in KateViewDocumentProxyModel::opened (this=0xac87b0, index=...) at ../../../kate/app/kateviewdocumentproxymodel.cpp:216
#12 0x00007f2e61ccac8f in KateMainWindow::slotWindowActivated (this=0xa3dee0) at ../../../kate/app/katemainwindow.cpp:566
#13 0x00007f2e61ccf613 in KateMainWindow::qt_metacall (this=0xa3dee0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff897a5c00) at ./katemainwindow.moc:181
#14 0x00007f2e610bbe3f in QMetaObject::activate (sender=0xc51250, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa90db0) at kernel/qobject.cpp:3293
#15 0x00007f2e61cd464c in KateViewManager::activateView (this=0xc51250, view=0x117f500) at ../../../kate/app/kateviewmanager.cpp:469
#16 0x00007f2e61cd543f in KateViewManager::createView (this=0xc51250, doc=<value optimized out>) at ../../../kate/app/kateviewmanager.cpp:308
#17 0x00007f2e61cd68aa in KateViewManager::qt_metacall (this=0xc51250, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff897a5e50) at ./kateviewmanager.moc:138
#18 0x00007f2e610bbe3f in QMetaObject::activate (sender=0x6cf510, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa90db0) at kernel/qobject.cpp:3293
#19 0x00007f2e61cbb392 in KateDocManager::documentDeleted (this=0x7fff897a5580, _t1=0xa90db0) at ./katedocmanager.moc:138
#20 0x00007f2e61cbc7bb in KateDocManager::deleteDoc (this=0x6cf510, doc=0xa90db0) at ../../../kate/app/katedocmanager.cpp:218
#21 0x00007f2e61cc1532 in KateDocManager::closeDocument (this=0x6cf510, doc=0xa90db0, closeUrl=true) at ../../../kate/app/katedocmanager.cpp:366
#22 0x00007f2e61cd2527 in KateViewManager::slotDocumentClose (this=<value optimized out>, document=0xa90db0) at ../../../kate/app/kateviewmanager.cpp:205
#23 0x00007f2e61cd6811 in KateViewManager::qt_metacall (this=0xc51250, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff897a65e0) at ./kateviewmanager.moc:130
#24 0x00007f2e610bbe3f in QMetaObject::activate (sender=0xc038c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xa90db0) at kernel/qobject.cpp:3293
#25 0x00007f2e62572032 in QAction::triggered (this=0x7fff897a5580, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#26 0x00007f2e625740ab in QAction::activate (this=0xc038c0, event=<value optimized out>) at kernel/qaction.cpp:1255
#27 0x00007f2e6292e6ca in QAbstractButtonPrivate::click (this=0xec1e80) at widgets/qabstractbutton.cpp:528
#28 0x00007f2e6292e97c in QAbstractButton::mouseReleaseEvent (this=0xab77b0, e=0x7fff897a6f40) at widgets/qabstractbutton.cpp:1121
#29 0x00007f2e629fa8ca in QToolButton::mouseReleaseEvent (this=0x7fff897a5580, e=0x70) at widgets/qtoolbutton.cpp:721
#30 0x00007f2e625ce582 in QWidget::event (this=0xab77b0, event=0x7fff897a6f40) at kernel/qwidget.cpp:7998
#31 0x00007f2e6257822c in QApplicationPrivate::notify_helper (this=0x678bd0, receiver=0xab77b0, e=0x7fff897a6f40) at kernel/qapplication.cpp:4300
#32 0x00007f2e6257eecb in QApplication::notify (this=0x7fff897a7cd0, receiver=0xab77b0, e=0x7fff897a6f40) at kernel/qapplication.cpp:3865
#33 0x00007f2e61869526 in KApplication::notify (this=0x7fff897a7cd0, receiver=0xab77b0, event=0x7fff897a6f40) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x00007f2e610a906c in QCoreApplication::notifyInternal (this=0x7fff897a7cd0, receiver=0xab77b0, event=0x7fff897a6f40) at kernel/qcoreapplication.cpp:704
#35 0x00007f2e6257e0ae in QCoreApplication::sendEvent (receiver=0xab77b0, event=0x7fff897a6f40, alienWidget=0xab77b0, nativeWidget=0xc7ea90, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0xab77b0, event=0x7fff897a6f40, alienWidget=0xab77b0, nativeWidget=0xc7ea90, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#37 0x00007f2e625fdf65 in QETWidget::translateMouseEvent (this=0xc7ea90, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#38 0x00007f2e625fc8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff897a7860) at kernel/qapplication_x11.cpp:3501
#39 0x00007f2e62628882 in x11EventSourceDispatch (s=0x676d30, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007f2e6031c8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x00007f2e60320748 in ?? () from /lib/libglib-2.0.so.0
#42 0x00007f2e603208fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x00007f2e610d2513 in QEventDispatcherGlib::processEvents (this=0x650770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#44 0x00007f2e6262846e in QGuiEventDispatcherGlib::processEvents (this=0x7fff897a5580, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f2e610a7992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#46 0x00007f2e610a7d6c in QEventLoop::exec (this=0x7fff897a7b90, flags=) at kernel/qeventloop.cpp:201
#47 0x00007f2e610abaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#48 0x00007f2e633d9eed in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../kate/app/katemain.cpp:377
#49 0x00007f2e6306fc4d 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=0x7fff897a9258) 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 243981, bug 242355, bug 241898, bug 238485, bug 238369.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-23 16:48:18 UTC

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