Bug 326554

Summary: Crash on exit Tags not working and .kde files not writable.
Product: [Applications] krita Reporter: Wayne Parker <artmessiah>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 2.8 Pre-Alpha   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wayne Parker 2013-10-24 09:35:33 UTC
Application: krita (2.8 Pre-Alpha)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-32-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Adding new tags and trying exit.  I noticed I couldn't create or read the "krita" files in the kde hidden folder.   Also my custom brushes, tags, pattern, etc aren't showing up in krita, even with a reboot.

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7fcfb91a6700 (LWP 15049)):
#0  0x00007fcfd1e3efbd in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fcfcb4641dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcfcb4646ba in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcfc02504f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fcfcb487eb5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcfc65083b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#6  0x00007fcfcb936f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007fcfd1e4ba0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7fcf9fadb700 (LWP 15050)):
#0  0x00007fcfcb93aca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fcfcfdc314b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fcfcfdbf067 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fcfa876d1b4 in waitForWork (this=0x252be90) at /build/buildd/krita-testing-2+git20130918+r74434-40/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  KisTileDataPooler::run (this=0x252be90) at /build/buildd/krita-testing-2+git20130918+r74434-40/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007fcfcfdc2bec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fcfc65083b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#7  0x00007fcfcb936f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007fcfd1e4ba0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7fcf9f2da700 (LWP 15051)):
#0  0x00007fcfcb93aca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fcfcfdc314b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fcfcfdbf438 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fcfa879ac33 in KisTileDataSwapper::waitForWork (this=<optimized out>) at /build/buildd/krita-testing-2+git20130918+r74434-40/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#4  0x00007fcfa879aeba in KisTileDataSwapper::run (this=0x252bec8) at /build/buildd/krita-testing-2+git20130918+r74434-40/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#5  0x00007fcfcfdc2bec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fcfc65083b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#7  0x00007fcfcb936f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007fcfd1e4ba0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7fcf6ffff700 (LWP 15068)):
#0  0x00007fcfcb93aca4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fcfcfdc314b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fcfd0d9a7a6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007fcfcfdc2bec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fcfc65083b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#5  0x00007fcfcb936f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fcfd1e4ba0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7fcf9dc78700 (LWP 15069)):
#0  0x00007fcfd1e43e23 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fcfcfeeb4f3 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fcfcfef0499 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fcfcfef0c82 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fcfcfebe38f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fcfcfebe618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fcfcfdc0410 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fcfcfe9fedf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fcfcfdc2bec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fcfc65083b4 in ?? () from /usr/lib/nvidia-310/libGL.so.1
#10 0x00007fcfcb936f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#11 0x00007fcfd1e4ba0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7fcf9e479700 (LWP 15120)):
#0  0x00007fcfd1e43e23 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fcfcfeeb4f3 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007fcfcfef0499 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007fcfcfef0c82 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007fcfcfebe38f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007fcfcfebe618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007fcfcfdc0410 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007fcfcfe9fedf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007fcfcfdc2bec in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007fcfcb936f8e in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fcfd1e4ba0d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7fcfd29977c0 (LWP 15046)):
[KCrash Handler]
#5  findNode (ahp=0x0, akey=<synthetic pointer>, this=0x3359109) at /usr/include/qt4/QtCore/qhash.h:884
#6  contains (akey=<synthetic pointer>, this=0x3359109) at /usr/include/qt4/QtCore/qhash.h:874
#7  KoResourceManager::setResource (this=0x3359109, key=key@entry=6002, value=...) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/flake/KoResourceManager_p.cpp:32
#8  0x00007fcfce938534 in KoCanvasResourceManager::setResource (this=0x34d13f0, key=key@entry=6002, value=...) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/flake/KoCanvasResourceManager.cpp:56
#9  0x00007fcfa910f4da in KisCanvasResourceProvider::slotPatternActivated (this=this@entry=0x34cbde0, res=<optimized out>) at /build/buildd/krita-testing-2+git20130918+r74434-40/krita/ui/kis_canvas_resource_provider.cpp:177
#10 0x00007fcfa91163a5 in KisCanvasResourceProvider::qt_static_metacall (_o=0x34cbde0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff6001e840) at /build/buildd/krita-testing-2+git20130918+r74434-40/obj-x86_64-linux-gnu/krita/ui/kis_canvas_resource_provider.moc:118
#11 0x00007fcfcfed40ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007fcfa9311a9f in KisPatternChooser::resourceSelected (this=this@entry=0x32e4920, _t1=0x7fcf2f2d8af0) at /build/buildd/krita-testing-2+git20130918+r74434-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:106
#13 0x00007fcfa9311b12 in qt_static_metacall (_a=0x7fff6001e9f0, _id=0, _o=0x32e4920, _c=<optimized out>) at /build/buildd/krita-testing-2+git20130918+r74434-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:55
#14 KisPatternChooser::qt_static_metacall (_o=0x32e4920, _c=<optimized out>, _id=0, _a=0x7fff6001e9f0) at /build/buildd/krita-testing-2+git20130918+r74434-40/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:49
#15 0x00007fcfcfed40ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x00007fcfcf2fc7df in KoResourceItemChooser::resourceSelected (this=this@entry=0x32e94d0, _t1=_t1@entry=0x7fcf2f2d8af0) at /build/buildd/krita-testing-2+git20130918+r74434-40/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemChooser.moc:112
#17 0x00007fcfcf2fcdd9 in KoResourceItemChooser::activated (this=0x32e94d0) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/widgets/KoResourceItemChooser.cpp:368
#18 0x00007fcfcfed40ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007fcfcf300a2b in currentResourceChanged (_t1=..., this=0x32e91a0) at /build/buildd/krita-testing-2+git20130918+r74434-40/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemView.moc:102
#20 KoResourceItemView::selectionChanged (this=0x32e91a0, selected=...) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/widgets/KoResourceItemView.cpp:88
#21 0x00007fcfcfed40ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00007fcfd0e086b7 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007fcfd0e0a393 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007fcfd0e0c7fc in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#25 0x00007fcfd0e0a1cb in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#26 0x00007fcfd0e08901 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007fcfd0db2cde in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007fcfcf2fdd3d in KoResourceItemChooser::setCurrentResource (this=0x32e94d0, resource=0x7fcf2f2d8af0) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/widgets/KoResourceItemChooser.cpp:322
#29 0x00007fcfd08f6c6e in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007fcfd0ca9486 in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007fcfd08a98ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fcfd08ac25b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007fcfd1a2de88 in KoApplication::notify (this=<optimized out>, receiver=0x32e4920, event=0x7fff6001f750) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/main/KoApplication.cpp:556
#34 0x00007fcfcfebf63e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007fcfd08f9fb7 in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007fcfd08fa82a in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007fcfd08f9ebd in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007fcfd08fa2a2 in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007fcfd1a6e8b4 in KoMainWindow::closeEvent (this=0x28b7bd0, e=0x7fff600200d0) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/main/KoMainWindow.cpp:1122
#40 0x00007fcfd08f6ca0 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007fcfd0cc29ab in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007fcfd16a39a8 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#43 0x00007fcfd08a98ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#44 0x00007fcfd08ac25b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#45 0x00007fcfd1a2de88 in KoApplication::notify (this=<optimized out>, receiver=0x28b7bd0, event=0x7fff600200d0) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/main/KoApplication.cpp:556
#46 0x00007fcfcfebf63e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007fcfd08f5f21 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#48 0x00007fcfd1a7453e in KoMainWindow::qt_static_metacall (_o=0x28b7bd0, _c=<optimized out>, _id=18, _a=0x7fff60020300) at /build/buildd/krita-testing-2+git20130918+r74434-40/obj-x86_64-linux-gnu/libs/main/KoMainWindow.moc:132
#49 0x00007fcfcfed40ef in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00007fcfd08a3152 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#51 0x00007fcfd08a4580 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#52 0x00007fcfcfed95be in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#53 0x00007fcfd08a4651 in QAction::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#54 0x00007fcfd14d7f67 in KAction::event(QEvent*) () from /usr/lib/libkdeui.so.5
#55 0x00007fcfd08a98ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#56 0x00007fcfd08ac25b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#57 0x00007fcfd1a2de88 in KoApplication::notify (this=<optimized out>, receiver=0x28e46a0, event=0x4e6dc20) at /build/buildd/krita-testing-2+git20130918+r74434-40/libs/main/KoApplication.cpp:556
#58 0x00007fcfcfebf63e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#59 0x00007fcfcfec3171 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#60 0x00007fcfcfef0c10 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#61 0x00007fcfd094fb2f in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#62 0x00007fcfcfebe38f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#63 0x00007fcfcfebe618 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#64 0x00007fcfcfec3cf6 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#65 0x00007fcfd23553f2 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/krita-testing-2+git20130918+r74434-40/krita/main.cc:79
#66 0x00007fcfd1d72ea5 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#67 0x0000000000400711 in _start ()

Possible duplicates by query: bug 324587, bug 320094.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-24 11:07:03 UTC
Please try a newer snapshot

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