Bug 313423 - Kate crashed on closing "Fragments" window without saving the changes
Summary: Kate crashed on closing "Fragments" window without saving the changes
Status: RESOLVED DUPLICATE of bug 296244
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: 2013-01-17 21:57 UTC by Alexey Basinov
Modified: 2013-01-18 08:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Basinov 2013-01-17 21:57:41 UTC
Application: kate (3.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-35-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

I opened the "Fragments" window, edited one of the sets of fragments, closed the the window of the set without saving the changes, closed the "Fragments" window, Kate crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fefc82c1780 (LWP 2265))]

Thread 3 (Thread 0x7fefb2676700 (LWP 2266)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fefb5a69222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fefb5a69259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fefc51e6e9a in start_thread (arg=0x7fefb2676700) at pthread_create.c:308
#4  0x00007fefc7c04cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fefb0bf4700 (LWP 2267)):
#0  0x00007fefc4d19920 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fefc4d19faa in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fefc4d1a164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fefc5adc426 in QEventDispatcherGlib::processEvents (this=0x7fefac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fefc5aabc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fefc5aabed7 in QEventLoop::exec (this=0x7fefb0bf3dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fefc59aafa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fefc5a8b9ff in QInotifyFileSystemWatcherEngine::run (this=0x127e550) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fefc59adfcb in QThreadPrivate::start (arg=0x127e550) at thread/qthread_unix.cpp:298
#9  0x00007fefc51e6e9a in start_thread (arg=0x7fefb0bf4700) at pthread_create.c:308
#10 0x00007fefc7c04cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fefc82c1780 (LWP 2265)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fefc5ac0b04 in QObject::disconnect (sender=0x3161760, signal=0x3161de9 "selectionChanged(QItemSelection,QItemSelection)", receiver=0x31608c0, method=0x314e269 "_k_slotSelectionChanged(QItemSelection,QItemSelection)") at kernel/qobject.cpp:2891
#8  0x00007fefc6296e89 in eventFilter (event=0x7fff87f91680, watched=0x3046ad0, this=0x3160200) at ../../kdeui/itemviews/kwidgetitemdelegate.cpp:272
#9  KWidgetItemDelegatePrivate::eventFilter (this=0x3160200, watched=0x3046ad0, event=0x7fff87f91680) at ../../kdeui/itemviews/kwidgetitemdelegate.cpp:236
#10 0x00007fefc5aad028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x3046ad0, event=0x7fff87f91680) at kernel/qcoreapplication.cpp:986
#11 0x00007fefc700e85f in notify_helper (e=0x7fff87f91680, receiver=0x3046ad0, this=0x10ed010) at kernel/qapplication.cpp:4555
#12 QApplicationPrivate::notify_helper (this=0x10ed010, receiver=0x3046ad0, e=0x7fff87f91680) at kernel/qapplication.cpp:4531
#13 0x00007fefc7013713 in QApplication::notify (this=0x7fff87f93790, receiver=0x3046ad0, e=0x7fff87f91680) at kernel/qapplication.cpp:4420
#14 0x00007fefc62b83f6 in KApplication::notify (this=0x7fff87f93790, receiver=0x3046ad0, event=0x7fff87f91680) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007fefc5aace9c in QCoreApplication::notifyInternal (this=0x7fff87f93790, receiver=0x3046ad0, event=0x7fff87f91680) at kernel/qcoreapplication.cpp:876
#16 0x00007fefc70567f8 in sendEvent (event=0x7fff87f91680, receiver=0x3046ad0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QWidgetPrivate::setWinId (this=0x3157040, id=0) at kernel/qwidget.cpp:1730
#18 0x00007fefc70aa8ce in QWidget::destroy (this=0x3046ad0, destroyWindow=true, destroySubWindows=<optimized out>) at kernel/qwidget_x11.cpp:1118
#19 0x00007fefc7059769 in QWidget::~QWidget (this=0x3046ad0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1685
#20 0x00007fefc7552a99 in QListView::~QListView (this=0x3046ad0, __in_chrg=<optimized out>) at itemviews/qlistview.cpp:207
#21 0x00007fefc5abf935 in QObjectPrivate::deleteChildren (this=0x3154ed0) at kernel/qobject.cpp:1908
#22 0x00007fefc7059740 in QWidget::~QWidget (this=0x30858d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#23 0x00007fefb301cde9 in KTextEditor::CodesnippetsCore::SnippetRepositoryConfigWidget::~SnippetRepositoryConfigWidget (this=0x30858d0, __in_chrg=<optimized out>) at ../../../../../kate/plugins/snippets_tng/lib/repository.cpp:628
#24 0x00007fefc5abf935 in QObjectPrivate::deleteChildren (this=0x30dbb30) at kernel/qobject.cpp:1908
#25 0x00007fefc7059740 in QWidget::~QWidget (this=0x30a98e0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#26 0x00007fefb323867e in ~KateSnippetsConfigPage (this=0x30a98e0, __in_chrg=<optimized out>) at ../../../../kate/plugins/snippets_tng/jowennsnippets.h:128
#27 JoWenn::KateSnippetsConfigPage::~KateSnippetsConfigPage (this=0x30a98e0, __in_chrg=<optimized out>) at ../../../../kate/plugins/snippets_tng/jowennsnippets.h:128
#28 0x00007fefc5abf935 in QObjectPrivate::deleteChildren (this=0x30d3660) at kernel/qobject.cpp:1908
#29 0x00007fefc7059740 in QWidget::~QWidget (this=0x30d3420, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#30 0x00007fefc63af009 in KVBox::~KVBox (this=0x30d3420, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#31 0x00007fefc5abf935 in QObjectPrivate::deleteChildren (this=0x30689a0) at kernel/qobject.cpp:1908
#32 0x00007fefc7059740 in QWidget::~QWidget (this=0x2f0eac0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#33 0x00007fefc62e7eae in ~KPageStackedWidget (this=0x2f0eac0, __in_chrg=<optimized out>) at ../../kdeui/paged/kpageview_p.h:37
#34 KPageStackedWidget::~KPageStackedWidget (this=<optimized out>, __in_chrg=<optimized out>) at ../../kdeui/paged/kpageview_p.h:37
#35 0x00007fefc5abf935 in QObjectPrivate::deleteChildren (this=0x3068660) at kernel/qobject.cpp:1908
#36 0x00007fefc7059740 in QWidget::~QWidget (this=0x3051180, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#37 0x00007fefc62eacb9 in KPageWidget::~KPageWidget (this=0x3051180, __in_chrg=<optimized out>) at ../../kdeui/paged/kpagewidget.cpp:78
#38 0x00007fefc5abf935 in QObjectPrivate::deleteChildren (this=0x3066440) at kernel/qobject.cpp:1908
#39 0x00007fefc7059740 in QWidget::~QWidget (this=0x3060e70, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1676
#40 0x00007fefc67194a9 in KateConfigDialog::~KateConfigDialog (this=0x3060e70, __in_chrg=<optimized out>) at ../../../kate/app/kateconfigdialog.cpp:235
#41 0x00007fefc6723dbe in KateMainWindow::showPluginConfigPage (this=0x2972d10, configpageinterface=0x0, id=0) at ../../../kate/app/katemainwindow.cpp:689
#42 0x00007fefc67298da in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x2972d10, _c=<optimized out>) at ./katemainwindow.moc:168
#43 KateMainWindow::qt_static_metacall (_o=0x2972d10, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./katemainwindow.moc:157
#44 0x00007fefc5ac1281 in QMetaObject::activate (sender=0x29a2dd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff87f91e90) at kernel/qobject.cpp:3547
#45 0x00007fefc7008132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#46 0x00007fefc700831f in QAction::activate (this=0x29a2dd0, event=<optimized out>) at kernel/qaction.cpp:1257
#47 0x00007fefc745a119 in QMenuPrivate::activateCausedStack (this=0x2b32d00, causedStack=..., action=0x29a2dd0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#48 0x00007fefc7460272 in QMenuPrivate::activateAction (this=0x2b32d00, action=0x29a2dd0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#49 0x00007fefc6379030 in KMenu::mouseReleaseEvent (this=0x11b4610, e=0x7fff87f92a60) at ../../kdeui/widgets/kmenu.cpp:464
#50 0x00007fefc705f144 in QWidget::event (this=0x11b4610, event=0x7fff87f92a60) at kernel/qwidget.cpp:8362
#51 0x00007fefc746180b in QMenu::event (this=0x11b4610, e=0x7fff87f92a60) at widgets/qmenu.cpp:2469
#52 0x00007fefc700e894 in notify_helper (e=0x7fff87f92a60, receiver=0x11b4610, this=0x10ed010) at kernel/qapplication.cpp:4559
#53 QApplicationPrivate::notify_helper (this=0x10ed010, receiver=0x11b4610, e=0x7fff87f92a60) at kernel/qapplication.cpp:4531
#54 0x00007fefc70140bf in QApplication::notify (this=<optimized out>, receiver=0x11b4610, e=0x7fff87f92a60) at kernel/qapplication.cpp:4102
#55 0x00007fefc62b83f6 in KApplication::notify (this=0x7fff87f93790, receiver=0x11b4610, event=0x7fff87f92a60) at ../../kdeui/kernel/kapplication.cpp:311
#56 0x00007fefc5aace9c in QCoreApplication::notifyInternal (this=0x7fff87f93790, receiver=0x11b4610, event=0x7fff87f92a60) at kernel/qcoreapplication.cpp:876
#57 0x00007fefc700f862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#58 QApplicationPrivate::sendMouseEvent (receiver=0x11b4610, event=0x7fff87f92a60, alienWidget=0x0, nativeWidget=0x11b4610, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#59 0x00007fefc708f2c1 in QETWidget::translateMouseEvent (this=0x11b4610, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#60 0x00007fefc708dbae in QApplication::x11ProcessEvent (this=0x7fff87f93790, event=0x7fff87f93330) at kernel/qapplication_x11.cpp:3732
#61 0x00007fefc70b70d2 in x11EventSourceDispatch (s=0x10f0c00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#62 0x00007fefc4d19d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007fefc4d1a0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007fefc4d1a164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fefc5adc3bf in QEventDispatcherGlib::processEvents (this=0x10b4b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#66 0x00007fefc70b6d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007fefc5aabc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007fefc5aabed7 in QEventLoop::exec (this=0x7fff87f936d0, flags=...) at kernel/qeventloop.cpp:204
#69 0x00007fefc5ab0f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#70 0x00007fefc7ed60d5 in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../../kate/app/katemain.cpp:377
#71 0x00007fefc7b3276d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=2, ubp_av=0x7fff87f94cc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff87f94cb8) at libc-start.c:226
#72 0x0000000000400661 in _start ()

Possible duplicates by query: bug 312392, bug 310753, bug 307099, bug 305998, bug 305931.

Reported using DrKonqi
Comment 1 Dominik Haumann 2013-01-18 08:36:08 UTC
Fixed in KDE 4.10 by new snippet implementation in Kate Part.

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