Bug 307099 - kate crashes if you add a new snippet file and you try to enable it after you have save it
Summary: kate crashes if you add a new snippet file and you try to enable it after you...
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: 2012-09-20 11:20 UTC by nowardev
Modified: 2012-09-20 12:17 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 nowardev 2012-09-20 11:20:13 UTC
Application: kate (3.9.1)
KDE Platform Version: 4.9.1
Qt Version: 4.8.2
Operating System: Linux 3.5.0-14-generic i686
Distribution: Ubuntu quantal (development branch)

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

i have created a new snippet file 
set it up like i wanted 
saved it

now try to enable it  "Snippet repository window" checking the relative box
you should get a crash

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb1d98b40 (LWP 25604)):
#0  0xb7721424 in __kernel_vsyscall ()
#1  0xb5e7d96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb76471bc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb20e115d in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb20e118f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb5e79d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb76398ae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaff17b40 (LWP 25660)):
#0  0xb61595b3 in postEventSourcePrepare (s=0xaf200da8, timeout=0xaff170ac) at kernel/qeventdispatcher_glib.cpp:255
#1  0xb5da35ca in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb5da3c9f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5da3f01 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb6159d1f in QEventDispatcherGlib::processEvents (this=0xaf200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb61264fc in QEventLoop::processEvents (this=this@entry=0xaff17248, flags=...) at kernel/qeventloop.cpp:149
#6  0xb61267f1 in QEventLoop::exec (this=0xaff17248, flags=...) at kernel/qeventloop.cpp:204
#7  0xb60135cc in QThread::exec (this=0x8b9de10) at thread/qthread.cpp:501
#8  0xb6104cdd in QInotifyFileSystemWatcherEngine::run (this=0x8b9de10) at io/qfilesystemwatcher_inotify.cpp:248
#9  0xb6016970 in QThreadPrivate::start (arg=0x8b9de10) at thread/qthread_unix.cpp:307
#10 0xb5e79d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0xb76398ae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4d03a40 (LWP 25603)):
[KCrash Handler]
#7  0x00000018 in ?? ()
#8  0xb613fa3b in QObject::disconnect (sender=0x8ef3f98, signal=0xb667d534 "2selectionChanged(QItemSelection,QItemSelection)", receiver=0x8ef3a50, method=0xb668063c "1_k_slotSelectionChanged(QItemSelection,QItemSelection)") at kernel/qobject.cpp:2891
#9  0xb64cc9f3 in eventFilter (event=0xbfe45084, watched=0x8eba0d0, this=0x8ef3af8) at ../../kdeui/itemviews/kwidgetitemdelegate.cpp:272
#10 KWidgetItemDelegatePrivate::eventFilter (this=0x8ef3af8, watched=0x8eba0d0, event=0xbfe45084) at ../../kdeui/itemviews/kwidgetitemdelegate.cpp:236
#11 0xb6127b8e in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8724cd8, receiver=0x8eba0d0, event=0xbfe45084) at kernel/qcoreapplication.cpp:1025
#12 0xb6bb929d in QApplicationPrivate::notify_helper (this=0x8724cd8, receiver=0x8eba0d0, e=0xbfe45084) at kernel/qapplication.cpp:4552
#13 0xb6bbdd84 in QApplication::notify (this=0x8724cd8, receiver=0x8eba0d0, e=0xbfe45084) at kernel/qapplication.cpp:4417
#14 0xb64ed981 in KApplication::notify (this=0xbfe4652c, receiver=0x8eba0d0, event=0xbfe45084) at ../../kdeui/kernel/kapplication.cpp:311
#15 0xb6127a1e in QCoreApplication::notifyInternal (this=0xbfe4652c, receiver=0x8eba0d0, event=0xbfe45084) at kernel/qcoreapplication.cpp:915
#16 0xb6c091c4 in sendEvent (event=0xbfe45084, receiver=0x8eba0d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QWidgetPrivate::setWinId (this=0x8eec358, id=0) at kernel/qwidget.cpp:1731
#18 0xb6c62d19 in QWidget::destroy (this=0x8eba0d0, destroyWindow=true, destroySubWindows=true) at kernel/qwidget_x11.cpp:1118
#19 0xb6c0c090 in QWidget::~QWidget (this=0x8eba0d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1686
#20 0xb7021fff in QFrame::~QFrame (this=0x8eba0d0, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#21 0xb70b2f08 in QAbstractScrollArea::~QAbstractScrollArea (this=0x8eba0d0, __in_chrg=<optimized out>) at widgets/qabstractscrollarea.cpp:521
#22 0xb715021e in QAbstractItemView::~QAbstractItemView (this=0x8eba0d0, __in_chrg=<optimized out>) at itemviews/qabstractitemview.cpp:598
#23 0xb71744af in QListView::~QListView (this=0x8eba0d0, __in_chrg=<optimized out>) at itemviews/qlistview.cpp:205
#24 0xb71744f2 in QListView::~QListView (this=0x8eba0d0, __in_chrg=<optimized out>) at itemviews/qlistview.cpp:207
#25 0xb613bce9 in QObjectPrivate::deleteChildren (this=0x8ebbb08) at kernel/qobject.cpp:1908
#26 0xb6c0c058 in QWidget::~QWidget (this=0x8d330a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#27 0xb1edc260 in KTextEditor::CodesnippetsCore::SnippetRepositoryConfigWidget::~SnippetRepositoryConfigWidget() () from /usr/lib/libktexteditor_codesnippets_core.so.0
#28 0xb1edc2a2 in KTextEditor::CodesnippetsCore::SnippetRepositoryConfigWidget::~SnippetRepositoryConfigWidget() () from /usr/lib/libktexteditor_codesnippets_core.so.0
#29 0xb613bce9 in QObjectPrivate::deleteChildren (this=0x8ed0ef0) at kernel/qobject.cpp:1908
#30 0xb6c0c058 in QWidget::~QWidget (this=0x8ee4040, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#31 0xb675e7df in Kate::PluginConfigPage::~PluginConfigPage() () from /usr/lib/libkateinterfaces.so.4
#32 0xb1f15d22 in ?? () from /usr/lib/kde4/katesnippets_tngplugin.so
#33 0xb613bce9 in QObjectPrivate::deleteChildren (this=0x8eb73f8) at kernel/qobject.cpp:1908
#34 0xb6c0c058 in QWidget::~QWidget (this=0x8eb6b50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#35 0xb7021fff in QFrame::~QFrame (this=0x8eb6b50, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#36 0xb65ac08f in KHBox::~KHBox (this=0x8eb6b50, __in_chrg=<optimized out>) at ../../kdeui/widgets/khbox.cpp:49
#37 0xb660441f in KVBox::~KVBox (this=0x8eb6b50, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:27
#38 0xb6604462 in KVBox::~KVBox (this=0x8eb6b50, __in_chrg=<optimized out>) at ../../kdeui/widgets/kvbox.cpp:29
#39 0xb613bce9 in QObjectPrivate::deleteChildren (this=0x8e7f978) at kernel/qobject.cpp:1908
#40 0xb6c0c058 in QWidget::~QWidget (this=0x8d03ab8, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#41 0xb7021fff in QFrame::~QFrame (this=0x8d03ab8, __in_chrg=<optimized out>) at widgets/qframe.cpp:240
#42 0xb708850f in QStackedWidget::~QStackedWidget (this=0x8d03ab8, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:191
#43 0xb65241b2 in ~KPageStackedWidget (this=0x8d03ab8, __in_chrg=<optimized out>) at ../../kdeui/paged/kpageview_p.h:37
#44 KPageStackedWidget::~KPageStackedWidget (this=0x8d03ab8, __in_chrg=<optimized out>) at ../../kdeui/paged/kpageview_p.h:37
#45 0xb613bce9 in QObjectPrivate::deleteChildren (this=0x8e7f748) at kernel/qobject.cpp:1908
#46 0xb6c0c058 in QWidget::~QWidget (this=0x8e71248, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#47 0xb6522530 in KPageView::~KPageView (this=0x8e71248, __in_chrg=<optimized out>) at ../../kdeui/paged/kpageview.cpp:320
#48 0xb652785f in KPageWidget::~KPageWidget (this=0x8e71248, __in_chrg=<optimized out>) at ../../kdeui/paged/kpagewidget.cpp:76
#49 0xb65278a2 in KPageWidget::~KPageWidget (this=0x8e71248, __in_chrg=<optimized out>) at ../../kdeui/paged/kpagewidget.cpp:78
#50 0xb613bce9 in QObjectPrivate::deleteChildren (this=0x8e7a128) at kernel/qobject.cpp:1908
#51 0xb6c0c058 in QWidget::~QWidget (this=0x8e78ed8, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#52 0xb70f8f29 in QDialog::~QDialog (this=0x8e78ed8, __in_chrg=<optimized out>) at dialogs/qdialog.cpp:318
#53 0xb6436414 in KDialog::~KDialog (this=0x8e78ed8, __in_chrg=<optimized out>) at ../../kdeui/dialogs/kdialog.cpp:201
#54 0xb652167f in KPageDialog::~KPageDialog (this=0x8e78ed8, __in_chrg=<optimized out>) at ../../kdeui/paged/kpagedialog.cpp:64
#55 0xb6761ac5 in ?? () from /usr/lib/libkateinterfaces.so.4
#56 0xb6761b12 in ?? () from /usr/lib/libkateinterfaces.so.4
#57 0xb676cfe0 in ?? () from /usr/lib/libkateinterfaces.so.4
#58 0xb676d01f in ?? () from /usr/lib/libkateinterfaces.so.4
#59 0xb67730ad in ?? () from /usr/lib/libkateinterfaces.so.4
#60 0xb6140166 in QMetaObject::activate (sender=0x898bfa0, m=0xb752d3b8 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfe45ab8) at kernel/qobject.cpp:3547
#61 0xb6bb203d in QAction::triggered (this=this@entry=0x898bfa0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#62 0xb6bb22dc in QAction::activate (this=this@entry=0x898bfa0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#63 0xb6bb268c in trigger (this=0x898bfa0) at kernel/qaction.h:218
#64 qt_static_metacall (_a=0x8e79ed0, _id=8, _o=0x898bfa0, _c=<optimized out>) at .moc/release-shared/moc_qaction.cpp:151
#65 QAction::qt_static_metacall (_o=0x898bfa0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x8e79ed0) at .moc/release-shared/moc_qaction.cpp:137
#66 0xb6139c3a in QMetaCallEvent::placeMetaCall (this=0x8d16d98, object=0x898bfa0) at kernel/qobject.cpp:525
#67 0xb613e17b in QObject::event (this=0x898bfa0, e=0x8d16d98) at kernel/qobject.cpp:1195
#68 0xb6bb23b5 in event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1187
#69 QAction::event (this=0x898bfa0, e=0x8967148) at kernel/qaction.cpp:1172
#70 0xb63f5a89 in KAction::event (this=0x898bfa0, event=0x8d16d98) at ../../kdeui/actions/kaction.cpp:131
#71 0xb6bb92cc in QApplicationPrivate::notify_helper (this=0x8724cd8, receiver=0x898bfa0, e=0x8d16d98) at kernel/qapplication.cpp:4556
#72 0xb6bbdcdf in QApplication::notify (this=0x8d16d98, receiver=0x898bfa0, e=0x8d16d98) at kernel/qapplication.cpp:3938
#73 0xb64ed981 in KApplication::notify (this=0xbfe4652c, receiver=0x898bfa0, event=0x8d16d98) at ../../kdeui/kernel/kapplication.cpp:311
#74 0xb6127a1e in QCoreApplication::notifyInternal (this=0xbfe4652c, receiver=0x898bfa0, event=0x8d16d98) at kernel/qcoreapplication.cpp:915
#75 0xb612bc0d in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#76 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x86fb370) at kernel/qcoreapplication.cpp:1539
#77 0xb612be9c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#78 0xb6159b84 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#79 postEventSourceDispatch (s=0x8724798) at kernel/qeventdispatcher_glib.cpp:279
#80 0xb5da3a83 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#81 0xb5da3e20 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#82 0xb5da3f01 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#83 0xb6159d01 in QEventDispatcherGlib::processEvents (this=0x86fbf08, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#84 0xb6c6f70a in QGuiEventDispatcherGlib::processEvents (this=0x86fbf08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#85 0xb61264fc in QEventLoop::processEvents (this=this@entry=0xbfe46308, flags=...) at kernel/qeventloop.cpp:149
#86 0xb61267f1 in QEventLoop::exec (this=0xbfe46308, flags=...) at kernel/qeventloop.cpp:204
#87 0xb612bf4a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#88 0xb6bb6ef4 in QApplication::exec () at kernel/qapplication.cpp:3817
#89 0xb77192d5 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kate.so
#90 0x0804854b in ?? ()
#91 0xb75684d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#92 0x08048571 in _start ()

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

Possible duplicates by query: bug 305998, bug 305931, bug 301410, bug 296373, bug 296244.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-09-20 12:17:36 UTC

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