Bug 347789 - Crash when deleting a tag
Summary: Crash when deleting a tag
Status: RESOLVED DUPLICATE of bug 347245
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 2.9.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-16 10:50 UTC by Tepee
Modified: 2015-05-16 14:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tepee 2015-05-16 10:50:26 UTC
Application: krita (2.9.4)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-16-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
In the "Brush Preset"
Change the Tag category
Try to dele the tag category ("Delete this tag")
Krita crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f49b17867c0 (LWP 10460))]

Thread 7 (Thread 0x7f4993b6f700 (LWP 10462)):
#0  0x00007f49aea6e49d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f49a525ff85 in ?? () from /usr/lib/nvidia-349/tls/libnvidia-tls.so.349.16
#2  0x00007f49a8a852f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f49a8a4196c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f49a8a41e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f49a8a42242 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f499c214ae6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7  0x00007f49a8a68955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f49a8f276aa in start_thread (arg=0x7f4993b6f700) at pthread_create.c:333
#9  0x00007f49aea7deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f49929ce700 (LWP 10463)):
#0  0x00007f49aea728dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f49a8a41ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f49a8a41fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f49a8a42009 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f49a8a68955 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f49a8f276aa in start_thread (arg=0x7f49929ce700) at pthread_create.c:333
#6  0x00007f49aea7deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f496f83f700 (LWP 10474)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f49af2e2c56 in wait (time=18446744073709551615, this=0x2700f40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x2700ef0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f49af2dea7b in QSemaphore::acquire (this=this@entry=0x2700c20, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f49ad95050e in waitForWork (this=0x2700c10) at /build/buildd/krita-testing-2+git20150513+r3/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  KisTileDataPooler::run (this=0x2700c10) at /build/buildd/krita-testing-2+git20150513+r3/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f49af2e26ff in QThreadPrivate::start (arg=0x2700c10) at thread/qthread_unix.cpp:349
#7  0x00007f49a8f276aa in start_thread (arg=0x7f496f83f700) at pthread_create.c:333
#8  0x00007f49aea7deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f496f03e700 (LWP 10475)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f49af2e2c56 in wait (time=18446744073709551615, this=0x27012f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x27012a0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f49af2deeb3 in QSemaphore::tryAcquire (this=0x2700fb0, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f49ad97ad63 in KisTileDataSwapper::waitForWork (this=this@entry=0x2700c48) at /build/buildd/krita-testing-2+git20150513+r3/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f49ad97afca in KisTileDataSwapper::run (this=0x2700c48) at /build/buildd/krita-testing-2+git20150513+r3/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f49af2e26ff in QThreadPrivate::start (arg=0x2700c48) at thread/qthread_unix.cpp:349
#7  0x00007f49a8f276aa in start_thread (arg=0x7f496f03e700) at pthread_create.c:333
#8  0x00007f49aea7deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f496e83d700 (LWP 10476)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f49af2e2c56 in wait (time=18446744073709551615, this=0x2b5a8c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2b5a428, mutex=mutex@entry=0x2b5a420, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f49b030b8dd in QFileInfoGatherer::run (this=0x2b5a410) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f49af2e26ff in QThreadPrivate::start (arg=0x2b5a410) at thread/qthread_unix.cpp:349
#5  0x00007f49a8f276aa in start_thread (arg=0x7f496e83d700) at pthread_create.c:333
#6  0x00007f49aea7deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f496d83b700 (LWP 10477)):
#0  0x00007f49a8a86789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f49a8a41e7e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f49a8a41fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f49af41c82e in QEventDispatcherGlib::processEvents (this=0x7f495c008670, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f49af3ebcd1 in QEventLoop::processEvents (this=this@entry=0x7f496d83adc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f49af3ec035 in QEventLoop::exec (this=this@entry=0x7f496d83adc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f49af2dfe89 in QThread::exec (this=this@entry=0x2b5a9c0) at thread/qthread.cpp:538
#7  0x00007f49af3cc443 in QInotifyFileSystemWatcherEngine::run (this=0x2b5a9c0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f49af2e26ff in QThreadPrivate::start (arg=0x2b5a9c0) at thread/qthread_unix.cpp:349
#9  0x00007f49a8f276aa in start_thread (arg=0x7f496d83b700) at pthread_create.c:333
#10 0x00007f49aea7deed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f49b17867c0 (LWP 10460)):
[KCrash Handler]
#6  0x00007f49ae9ac267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f49ae9adeca in __GI_abort () at abort.c:89
#8  0x00007f49af2d7a8a in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0xd49b148 "ASSERT: \"!d->md5ToTag.values().contains(tag)\" in file /build/buildd/krita-testing-2+git20150513+r3/libs/widgets/KoResourceTagStore.cpp, line 128") at global/qglobal.cpp:2386
#9  0x00007f49af2d7df9 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f49af451e00 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7ffd68c97ed0) at global/qglobal.cpp:2432
#10 0x00007f49af2d86e1 in qFatal (msg=msg@entry=0x7f49af451e00 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2615
#11 0x00007f49af2d8736 in qt_assert (assertion=assertion@entry=0x7f49ad3d6af0 "!d->md5ToTag.values().contains(tag)", file=file@entry=0x7f49ad3d6a98 "/build/buildd/krita-testing-2+git20150513+r3/libs/widgets/KoResourceTagStore.cpp", line=line@entry=128) at global/qglobal.cpp:2060
#12 0x00007f49ad3839a0 in KoResourceTagStore::delTag (this=0x1dd3600, tag=...) at /build/buildd/krita-testing-2+git20150513+r3/libs/widgets/KoResourceTagStore.cpp:128
#13 0x00007f49b0f3f138 in tagCategoryRemoved (tag=..., this=0x241a350) at /build/buildd/krita-testing-2+git20150513+r3/libs/widgets/KoResourceServer.h:523
#14 KoResourceServerAdapter<KisPaintOpPreset, SharedPointerStroragePolicy<KisSharedPtr<KisPaintOpPreset> > >::tagCategoryRemoved (this=<optimized out>, tag=...) at /build/buildd/krita-testing-2+git20150513+r3/libs/widgets/KoResourceServerAdapter.h:294
#15 0x00007f49ad340287 in KoResourceTaggingManager::removeTagFromComboBox (this=0x2b54c60, tag=...) at /build/buildd/krita-testing-2+git20150513+r3/libs/widgets/KoResourceTaggingManager.cpp:199
#16 0x00007f49af40219c in QMetaObject::activate (sender=sender@entry=0x2b54580, m=m@entry=0x7f49ad5f8080 <KoTagChooserWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd68c981f0) at kernel/qobject.cpp:3567
#17 0x00007f49ad338855 in KoTagChooserWidget::tagDeletionRequested (this=this@entry=0x2b54580, _t1=...) at /build/buildd/krita-testing-2+git20150513+r3/obj-x86_64-linux-gnu/libs/widgets/moc_KoTagChooserWidget.cpp:135
#18 0x00007f49ad33df76 in KoTagChooserWidget::contextDeleteCurrentTag (this=0x2b54580) at /build/buildd/krita-testing-2+git20150513+r3/libs/widgets/KoTagChooserWidget.cpp:100
#19 0x00007f49af40219c in QMetaObject::activate (sender=sender@entry=0x2b560e0, m=m@entry=0x7f49ad5f8100 <KoTagToolButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#20 0x00007f49ad3382d6 in deletionOfCurrentTagRequested (this=0x2b560e0) at /build/buildd/krita-testing-2+git20150513+r3/obj-x86_64-linux-gnu/libs/widgets/moc_KoTagToolButton.cpp:130
#21 KoTagToolButton::qt_static_metacall (_o=0x2b560e0, _c=<optimized out>, _id=2, _a=0x7ffd68c984a0) at /build/buildd/krita-testing-2+git20150513+r3/obj-x86_64-linux-gnu/libs/widgets/moc_KoTagToolButton.cpp:64
#22 0x00007f49af40219c in QMetaObject::activate (sender=sender@entry=0x2b5dcc0, m=m@entry=0x7f49b08ee540 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd68c984a0) at kernel/qobject.cpp:3567
#23 0x00007f49afdf2fd2 in QAction::triggered (this=this@entry=0x2b5dcc0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#24 0x00007f49afdf4b57 in QAction::activate (this=this@entry=0x2b5dcc0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#25 0x00007f49b024e44d in QMenuPrivate::activateCausedStack (this=this@entry=0x2b56f00, causedStack=..., action=action@entry=0x2b5dcc0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#26 0x00007f49b0252e19 in QMenuPrivate::activateAction (this=0x2b56f00, action=0x2b5dcc0, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1129
#27 0x00007f49afe4cdc8 in QWidget::event (this=0x2b56d30, event=0x7ffd68c98b60) at kernel/qwidget.cpp:8775
#28 0x00007f49b0256e0b in QMenu::event (this=0x2b56d30, e=0x7ffd68c98b60) at widgets/qmenu.cpp:2480
#29 0x00007f49afdf99bc in QApplicationPrivate::notify_helper (this=this@entry=0x1691c80, receiver=receiver@entry=0x2b56d30, e=e@entry=0x7ffd68c98b60) at kernel/qapplication.cpp:4570
#30 0x00007f49afe0063f in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x2b56d30, e=e@entry=0x7ffd68c98b60) at kernel/qapplication.cpp:4113
#31 0x00007f49b0fd6347 in KisApplication::notify (this=<optimized out>, receiver=0x2b56d30, event=0x7ffd68c98b60) at /build/buildd/krita-testing-2+git20150513+r3/krita/ui/KisApplication.cpp:489
#32 0x00007f49af3ed17d in QCoreApplication::notifyInternal (this=0x7ffd68c9a520, receiver=receiver@entry=0x2b56d30, event=event@entry=0x7ffd68c98b60) at kernel/qcoreapplication.cpp:955
#33 0x00007f49afdffc9f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2b56d30, event=event@entry=0x7ffd68c98b60, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x2b56d30, buttonDown=buttonDown@entry=0x7f49b0927578 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#35 0x00007f49afe79d3a in QETWidget::translateMouseEvent (this=this@entry=0x2b56d30, event=event@entry=0x7ffd68c98e90) at kernel/qapplication_x11.cpp:4566
#36 0x00007f49afe7924c in QApplication::x11ProcessEvent (this=0x7ffd68c9a520, event=event@entry=0x7ffd68c98e90) at kernel/qapplication_x11.cpp:3626
#37 0x00007f49afea1ba2 in x11EventSourceDispatch (s=0x169a7c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f49a8a41c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f49a8a41f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f49a8a41fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f49af41c80e in QEventDispatcherGlib::processEvents (this=0x140f260, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#42 0x00007f49afea1c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f49af3ebcd1 in QEventLoop::processEvents (this=this@entry=0x7ffd68c99280, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f49af3ec035 in QEventLoop::exec (this=this@entry=0x7ffd68c99280, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f49b0255a07 in QMenu::exec (this=<optimized out>, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2124
#46 0x00007f49b0291ee2 in QToolButtonPrivate::popupTimerDone (this=0x2b56710) at widgets/qtoolbutton.cpp:960
#47 0x00007f49b02923fb in QToolButton::showMenu (this=<optimized out>) at widgets/qtoolbutton.cpp:871
#48 0x00007f49b029247e in QToolButtonPrivate::_q_buttonPressed (this=<optimized out>) at widgets/qtoolbutton.cpp:884
#49 0x00007f49b0292581 in QToolButton::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qtoolbutton.cpp:90
#50 0x00007f49af40219c in QMetaObject::activate (sender=sender@entry=0x2b566e0, m=m@entry=0x7f49b09158e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#51 0x00007f49b0492290 in QAbstractButton::pressed (this=this@entry=0x2b566e0) at .moc/release-shared/moc_qabstractbutton.cpp:206
#52 0x00007f49b01cf5e6 in QAbstractButtonPrivate::emitPressed (this=this@entry=0x2b56710) at widgets/qabstractbutton.cpp:562
#53 0x00007f49b01cff4c in QAbstractButton::mousePressEvent (this=this@entry=0x2b566e0, e=e@entry=0x7ffd68c99ab0) at widgets/qabstractbutton.cpp:1098
#54 0x00007f49b029292f in QToolButton::mousePressEvent (this=0x2b566e0, e=0x7ffd68c99ab0) at widgets/qtoolbutton.cpp:714
#55 0x00007f49afe4d947 in QWidget::event (this=0x2b566e0, event=0x7ffd68c99ab0) at kernel/qwidget.cpp:8385
#56 0x00007f49afdf99bc in QApplicationPrivate::notify_helper (this=this@entry=0x1691c80, receiver=receiver@entry=0x2b566e0, e=e@entry=0x7ffd68c99ab0) at kernel/qapplication.cpp:4570
#57 0x00007f49afe0063f in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x2b566e0, e=e@entry=0x7ffd68c99ab0) at kernel/qapplication.cpp:4113
#58 0x00007f49b0fd6347 in KisApplication::notify (this=<optimized out>, receiver=0x2b566e0, event=0x7ffd68c99ab0) at /build/buildd/krita-testing-2+git20150513+r3/krita/ui/KisApplication.cpp:489
#59 0x00007f49af3ed17d in QCoreApplication::notifyInternal (this=0x7ffd68c9a520, receiver=receiver@entry=0x2b566e0, event=event@entry=0x7ffd68c99ab0) at kernel/qcoreapplication.cpp:955
#60 0x00007f49afdffc9f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#61 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2b566e0, event=event@entry=0x7ffd68c99ab0, alienWidget=alienWidget@entry=0x2b566e0, nativeWidget=nativeWidget@entry=0x2b7e370, buttonDown=buttonDown@entry=0x7f49b0927578 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#62 0x00007f49afe79d3a in QETWidget::translateMouseEvent (this=this@entry=0x2b7e370, event=event@entry=0x7ffd68c99de0) at kernel/qapplication_x11.cpp:4566
#63 0x00007f49afe7924c in QApplication::x11ProcessEvent (this=0x7ffd68c9a520, event=event@entry=0x7ffd68c99de0) at kernel/qapplication_x11.cpp:3626
#64 0x00007f49afea1ba2 in x11EventSourceDispatch (s=0x169a7c0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#65 0x00007f49a8a41c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f49a8a41f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f49a8a41fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007f49af41c80e in QEventDispatcherGlib::processEvents (this=0x140f260, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#69 0x00007f49afea1c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x00007f49af3ebcd1 in QEventLoop::processEvents (this=this@entry=0x7ffd68c9a1c0, flags=...) at kernel/qeventloop.cpp:149
#71 0x00007f49af3ec035 in QEventLoop::exec (this=this@entry=0x7ffd68c9a1c0, flags=...) at kernel/qeventloop.cpp:204
#72 0x00007f49af3f1ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#73 0x00007f49afdf7c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#74 0x000000000040271c in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20150513+r3/krita/main.cc:179

Possible duplicates by query: bug 345562, bug 330637, bug 329162, bug 324432, bug 324106.

Reported using DrKonqi
Comment 1 Halla Rempt 2015-05-16 14:39:10 UTC

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