Bug 320094

Summary: Krita Crashes every 3 to 5 minutes (auto-save IS off)
Product: [Applications] krita Reporter: Smittie <bugs.kde>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: halla, mpredosin
Priority: NOR    
Version: 2.6.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Smittie 2013-05-21 13:56:20 UTC
Application: krita (2.6.3)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-21-generic x86_64
Distribution: Ubuntu 13.04

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

On a new set up system using a Wacom tablet, Krita crashes about every three minutes. It does not seem to matter what is being done. The computer system has a i7 cpu, 8 gigs of RAM and there are no large files being worked with. I am just trying to learn the program.

Most recently I was trying to work on file for which I only had read permissions. However, this should not cause the program to crash.

My system is running Kubuntu 13.04, obtained from the kubuntu.org download. apt-get updates are done daily so I believe the system is current on all software.

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 0x7f7db135c7c0 (LWP 14292))]

Thread 6 (Thread 0x7f7d91a2f700 (LWP 14293)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7dae7d214b in wait (time=18446744073709551615, this=0x111bf80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x111bf30, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7dae7ce067 in QSemaphore::acquire (this=this@entry=0x111bc80, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f7d99b363ee in KisTileDataPooler::waitForWork (this=this@entry=0x111bc70) at /build/buildd/calligra-2.6.3/krita/image/tiles3/kis_tile_data_pooler.cc:162
#5  0x00007f7d99b3679b in KisTileDataPooler::run (this=0x111bc70) at /build/buildd/calligra-2.6.3/krita/image/tiles3/kis_tile_data_pooler.cc:184
#6  0x00007f7dae7d1bec in QThreadPrivate::start (arg=0x111bc70) at thread/qthread_unix.cpp:338
#7  0x00007f7da994ff8e in start_thread (arg=0x7f7d91a2f700) at pthread_create.c:311
#8  0x00007f7db08aee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f7d9122e700 (LWP 14294)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7dae7d214b in wait (time=18446744073709551615, this=0x111c310) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x111c2c0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7dae7ce438 in QSemaphore::tryAcquire (this=0x111bff0, n=n@entry=1, timeout=timeout@entry=-1) at thread/qsemaphore.cpp:221
#4  0x00007f7d99b53f13 in KisTileDataSwapper::waitForWork (this=this@entry=0x111bca8) at /build/buildd/calligra-2.6.3/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#5  0x00007f7d99b5420a in KisTileDataSwapper::run (this=0x111bca8) at /build/buildd/calligra-2.6.3/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#6  0x00007f7dae7d1bec in QThreadPrivate::start (arg=0x111bca8) at thread/qthread_unix.cpp:338
#7  0x00007f7da994ff8e in start_thread (arg=0x7f7d9122e700) at pthread_create.c:311
#8  0x00007f7db08aee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f7d707da700 (LWP 14306)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7dae7d214b in wait (time=18446744073709551615, this=0x1f5c370) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1f5bef8, mutex=mutex@entry=0x1f5bef0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7daf7a8636 in QFileInfoGatherer::run (this=0x1f5bee0) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f7dae7d1bec in QThreadPrivate::start (arg=0x1f5bee0) at thread/qthread_unix.cpp:338
#5  0x00007f7da994ff8e in start_thread (arg=0x7f7d707da700) at pthread_create.c:311
#6  0x00007f7db08aee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f7d8bfff700 (LWP 14307)):
#0  0x00007f7db08a7233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7dae8fa4f3 in qt_safe_select (nfds=25, fdread=0x7f7d7c000a78, fdwrite=0x7f7d7c000d10, fdexcept=0x7f7d7c000fa8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f7dae8ff499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f7d7c0008c0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f7dae8ffc82 in QEventDispatcherUNIX::processEvents (this=0x7f7d7c0d4b10, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f7dae8cd38f in QEventLoop::processEvents (this=this@entry=0x7f7d8bffed90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7dae8cd618 in QEventLoop::exec (this=this@entry=0x7f7d8bffed90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7dae7cf410 in QThread::exec (this=this@entry=0x1f61d30) at thread/qthread.cpp:542
#7  0x00007f7dae8aeedf in QInotifyFileSystemWatcherEngine::run (this=0x1f61d30) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f7dae7d1bec in QThreadPrivate::start (arg=0x1f61d30) at thread/qthread_unix.cpp:338
#9  0x00007f7da994ff8e in start_thread (arg=0x7f7d8bfff700) at pthread_create.c:311
#10 0x00007f7db08aee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f7d8a7fc700 (LWP 14308)):
#0  0x00007f7db08a7233 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7dae8fa4f3 in qt_safe_select (nfds=28, fdread=0x7f7d78000ac8, fdwrite=0x7f7d78000d60, fdexcept=0x7f7d78000ff8, orig_timeout=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007f7dae8ff499 in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7f7d78000910, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:223
#3  0x00007f7dae8ffc82 in QEventDispatcherUNIX::processEvents (this=0x7f7d780008f0, flags=...) at kernel/qeventdispatcher_unix.cpp:937
#4  0x00007f7dae8cd38f in QEventLoop::processEvents (this=this@entry=0x7f7d8a7fbd90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7dae8cd618 in QEventLoop::exec (this=this@entry=0x7f7d8a7fbd90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7dae7cf410 in QThread::exec (this=this@entry=0x1f5c470) at thread/qthread.cpp:542
#7  0x00007f7dae8aeedf in QInotifyFileSystemWatcherEngine::run (this=0x1f5c470) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f7dae7d1bec in QThreadPrivate::start (arg=0x1f5c470) at thread/qthread_unix.cpp:338
#9  0x00007f7da994ff8e in start_thread (arg=0x7f7d8a7fc700) at pthread_create.c:311
#10 0x00007f7db08aee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7db135c7c0 (LWP 14292)):
[KCrash Handler]
#6  QHash<int, QVariant>::findNode (this=this@entry=0x20, ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:884
#7  0x00007f7dac724821 in contains (this=0x20, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:874
#8  KoResourceManager::setResource (this=0x20, key=key@entry=6002, value=...) at /build/buildd/calligra-2.6.3/libs/flake/KoResourceManager_p.cpp:32
#9  0x00007f7dac7254f4 in KoCanvasResourceManager::setResource (this=0x220a780, key=key@entry=6002, value=...) at /build/buildd/calligra-2.6.3/libs/flake/KoCanvasResourceManager.cpp:55
#10 0x00007f7d9a05113a in KisCanvasResourceProvider::slotPatternActivated (this=0x21c0020, res=<optimized out>) at /build/buildd/calligra-2.6.3/krita/ui/kis_canvas_resource_provider.cpp:175
#11 0x00007f7d9a054e5c in KisCanvasResourceProvider::qt_static_metacall (_o=0x20, _c=6002, _id=0, _a=0x1) at /build/buildd/calligra-2.6.3/obj-x86_64-linux-gnu/krita/ui/kis_canvas_resource_provider.moc:118
#12 0x00007f7dae8e30ef in QMetaObject::activate (sender=0x202f3a0, m=m@entry=0x7f7d9a460d00 <KisPatternChooser::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff54b55370) at kernel/qobject.cpp:3539
#13 0x00007f7d9a187d2f in KisPatternChooser::resourceSelected (this=<optimized out>, _t1=0x7f7d80001810) at /build/buildd/calligra-2.6.3/obj-x86_64-linux-gnu/krita/ui/kis_pattern_chooser.moc:106
#14 0x00007f7dae8e30ef in QMetaObject::activate (sender=sender@entry=0x2030df0, m=m@entry=0x7f7dad9bd880 <KoResourceItemChooser::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff54b554c0) at kernel/qobject.cpp:3539
#15 0x00007f7dad78afff in KoResourceItemChooser::resourceSelected (this=this@entry=0x2030df0, _t1=_t1@entry=0x7f7d80001810) at /build/buildd/calligra-2.6.3/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemChooser.moc:124
#16 0x00007f7dad78c1e1 in KoResourceItemChooser::activated (this=0x2030df0) at /build/buildd/calligra-2.6.3/libs/widgets/KoResourceItemChooser.cpp:382
#17 0x00007f7dad78d8e9 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/calligra-2.6.3/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemChooser.moc:70
#18 KoResourceItemChooser::qt_static_metacall (_o=0x2030df0, _c=6002, _id=0, _a=0x1) at /build/buildd/calligra-2.6.3/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemChooser.moc:61
#19 0x00007f7dae8e30ef in QMetaObject::activate (sender=sender@entry=0x2031d40, m=m@entry=0x7f7dad9be140 <KoResourceItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff54b55660) at kernel/qobject.cpp:3539
#20 0x00007f7dad78fe72 in KoResourceItemView::currentResourceChanged (this=this@entry=0x2031d40, _t1=...) at /build/buildd/calligra-2.6.3/obj-x86_64-linux-gnu/libs/widgets/KoResourceItemView.moc:99
#21 0x00007f7dad78fedb in KoResourceItemView::selectionChanged (this=0x2031d40, selected=...) at /build/buildd/calligra-2.6.3/libs/widgets/KoResourceItemView.cpp:87
#22 0x00007f7dae8e30ef in QMetaObject::activate (sender=sender@entry=0x2042600, m=m@entry=0x7f7dafd76940 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff54b557c0) at kernel/qobject.cpp:3539
#23 0x00007f7daf816547 in QItemSelectionModel::selectionChanged (this=this@entry=0x2042600, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#24 0x00007f7daf818223 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x2042600, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1544
#25 0x00007f7daf81a68c in QItemSelectionModel::select (this=0x2042600, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#26 0x00007f7daf81805b in QItemSelectionModel::select (this=this@entry=0x2042600, index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
#27 0x00007f7daf816791 in QItemSelectionModel::setCurrentIndex (this=0x2042600, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1174
#28 0x00007f7daf7c0b6e in QAbstractItemView::setCurrentIndex (this=0x2031d40, index=...) at itemviews/qabstractitemview.cpp:1022
#29 0x00007f7dad78cd2e in KoResourceItemChooser::setCurrentResource (this=0x2030df0, resource=0x7f7d80001810) at /build/buildd/calligra-2.6.3/libs/widgets/KoResourceItemChooser.cpp:333
#30 0x00007f7daf304c6e in QWidget::event (this=this@entry=0x202f3a0, event=event@entry=0x7fff54b56260) at kernel/qwidget.cpp:8593
#31 0x00007f7daf6b7316 in QFrame::event (this=0x202f3a0, e=0x7fff54b56260) at widgets/qframe.cpp:557
#32 0x00007f7daf2b78ec in QApplicationPrivate::notify_helper (this=this@entry=0x84ecd0, receiver=receiver@entry=0x202f3a0, e=e@entry=0x7fff54b56260) at kernel/qapplication.cpp:4567
#33 0x00007f7daf2ba25b in QApplication::notify (this=0x7fff54b574e0, receiver=receiver@entry=0x202f3a0, e=e@entry=0x7fff54b56260) at kernel/qapplication.cpp:4428
#34 0x00007f7db0453d98 in KoApplication::notify (this=<optimized out>, receiver=0x202f3a0, event=0x7fff54b56260) at /build/buildd/calligra-2.6.3/libs/main/KoApplication.cpp:528
#35 0x00007f7dae8ce63e in QCoreApplication::notifyInternal (this=0x7fff54b574e0, receiver=receiver@entry=0x202f3a0, event=event@entry=0x7fff54b56260) at kernel/qcoreapplication.cpp:946
#36 0x00007f7daf307fb7 in sendEvent (event=0x7fff54b56260, receiver=0x202f3a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QWidgetPrivate::show_helper (this=0x2030600) at kernel/qwidget.cpp:7555
#38 0x00007f7daf3086fc in QWidgetPrivate::show_recursive (this=<optimized out>) at kernel/qwidget.cpp:7426
#39 0x00007f7daf30882a in QWidgetPrivate::showChildren (this=this@entry=0x2025970, spontaneous=spontaneous@entry=false) at kernel/qwidget.cpp:7863
#40 0x00007f7daf307ebd in QWidgetPrivate::show_helper (this=this@entry=0x2025970) at kernel/qwidget.cpp:7502
#41 0x00007f7daf3082a2 in QWidget::setVisible (this=0x202c050, visible=<optimized out>) at kernel/qwidget.cpp:7777
#42 0x00007f7db0491a74 in KoMainWindow::closeEvent (this=0x13ced70, e=0x7fff54b56be0) at /build/buildd/calligra-2.6.3/libs/main/KoMainWindow.cpp:1145
#43 0x00007f7daf304ca0 in QWidget::event (this=this@entry=0x13ced70, event=event@entry=0x7fff54b56be0) at kernel/qwidget.cpp:8544
#44 0x00007f7daf6d083b in QMainWindow::event (this=this@entry=0x13ced70, event=event@entry=0x7fff54b56be0) at widgets/qmainwindow.cpp:1478
#45 0x00007f7db0077973 in KMainWindow::event (this=this@entry=0x13ced70, ev=ev@entry=0x7fff54b56be0) at ../../kdeui/widgets/kmainwindow.cpp:1084
#46 0x00007f7db00b4b68 in KXmlGuiWindow::event (this=0x13ced70, ev=0x7fff54b56be0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#47 0x00007f7daf2b78ec in QApplicationPrivate::notify_helper (this=this@entry=0x84ecd0, receiver=receiver@entry=0x13ced70, e=e@entry=0x7fff54b56be0) at kernel/qapplication.cpp:4567
#48 0x00007f7daf2ba25b in QApplication::notify (this=0x7fff54b574e0, receiver=receiver@entry=0x13ced70, e=e@entry=0x7fff54b56be0) at kernel/qapplication.cpp:4428
#49 0x00007f7db0453d98 in KoApplication::notify (this=<optimized out>, receiver=0x13ced70, event=0x7fff54b56be0) at /build/buildd/calligra-2.6.3/libs/main/KoApplication.cpp:528
#50 0x00007f7dae8ce63e in QCoreApplication::notifyInternal (this=0x7fff54b574e0, receiver=receiver@entry=0x13ced70, event=event@entry=0x7fff54b56be0) at kernel/qcoreapplication.cpp:946
#51 0x00007f7daf303f21 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#52 QWidgetPrivate::close_helper (this=0x1195060, mode=mode@entry=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7941
#53 0x00007f7daf32200e in QETWidget::translateCloseEvent (this=this@entry=0x13ced70) at kernel/qapplication_x11.cpp:5819
#54 0x00007f7daf324eef in QApplication::x11ClientMessage (this=<optimized out>, w=0x13ced70, event=<optimized out>, passive_only=<optimized out>) at kernel/qapplication_x11.cpp:3201
#55 0x00007f7daf331c8f in QApplication::x11ProcessEvent (this=0x7fff54b574e0, event=event@entry=0x7fff54b571c0) at kernel/qapplication_x11.cpp:3885
#56 0x00007f7daf35db39 in QEventDispatcherX11::processEvents (this=0x7b2b30, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#57 0x00007f7dae8cd38f in QEventLoop::processEvents (this=this@entry=0x7fff54b57430, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f7dae8cd618 in QEventLoop::exec (this=this@entry=0x7fff54b57430, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f7dae8d2cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#60 0x00007f7daf2b5ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#61 0x00007f7db0d63312 in kdemain (argc=<optimized out>, argv=<optimized out>) at /build/buildd/calligra-2.6.3/krita/main.cc:114
#62 0x00007f7db07d6ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=2, ubp_av=0x7fff54b575f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff54b575e8) at libc-start.c:260
#63 0x0000000000400701 in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2013-05-21 15:33:17 UTC
This looks suspicious:

#6 QHash<int, QVariant>::findNode (this=this@entry=0x20, ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:884 #7 0x00007f7dac724821 in contains (this=0x20, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:874 #8 KoResourceManager::setResource (this=0x20, key=key@entry=6002, value=...) at /build/buildd/calligra-2.6.3/libs/flake/KoResourceManager_p.cpp:32 #9 0x00007f7dac7254f4 in KoCanvasResourceManager::setResource (this=0x220a780, key=key@entry=6002, value=...) at /build/buildd/calligra-2.6.3/libs/flake/KoCanvasResourceManager.cpp:55

Where an object has address 0x20 -- but what can cause that? This is the first time I see this backtrace or hear of this problem on Ubuntu... there must be something strange with the setup...
Comment 2 Smittie 2013-05-21 16:37:23 UTC
The setup is a System76 Ratel with an i7 cpu, 8 gigs of RAM. Kubuntu was installed using a 13.04 LiveUSB. Thunderbird mail app is the only non KDE software that has been added. If there is anything strange about the setup, it got there through KDE. Nothing has been altered from the default software install save to add users through the normal admin interface.
Comment 3 Smittie 2013-05-21 16:41:14 UTC
If there are specific questions about the setup, please comment them here. I am happy to provide any additional details that will help resolve the issue.
Comment 4 mpredosin 2013-05-21 16:58:45 UTC
It's fairly common to see addresses that don't correlate to physical memory when the compiler has optimized and in-lined the code.

Thread 1 (Thread 0x7f7db135c7c0 (LWP 14292)): [KCrash Handler]
#6 QHash<int, QVariant>::findNode (this=this@entry=0x20, ahp=ahp@entry=0x0, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:884
#7 0x00007f7dac724821 in contains (this=0x20, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:874
#8 KoResourceManager::setResource (this=0x20, key=key@entry=6002, value=...) at /build/buildd/calligra-2.6.3/libs/flake/KoResourceManager_p.cpp:32
#9 0x00007f7dac7254f4 in KoCanvasResourceManager::setResource (this=0x220a780, key=key@entry=6002, value=...) at /build/buildd/calligra-2.6.3/libs/flake/KoCanvasResourceManager.cpp:55

In this case, it appears that the KoResourceManager::setResource in frame 8 has been in-lined.  Try disabling optimizations, re-running the scenario and see if you get the same problem.
Comment 5 Smittie 2013-05-21 17:04:54 UTC
I believe that the most concise scenario is attempting to edit an existing image file that is located in a directory in another user's home directory. The image file has permissions that allow all users to read the file, group and owner to read/write the file.
Comment 6 Halla Rempt 2013-05-22 08:38:40 UTC
I'm trying to setup a way to reproduce, but haven't managed yet,sorry. I also saw you pass by on irc in my backlog, but I was asleep :-(.
Comment 7 Smittie 2013-05-22 14:35:45 UTC
This issue is pretty constant on my system. I go through the bug reporting process everytime but it is a duplicate to either this bug or another one (I didn't write down the number) that already has 20 dups. I'm inclined to think that this is probably also a dup to that one common issue.
Comment 8 Halla Rempt 2013-05-22 14:48:12 UTC
hm, and if it's a duplicate to another bug, does the backtrace contain something related to autosave? Could you try to disable autosave in the settings and see what happens?
Comment 9 Smittie 2013-05-22 16:49:24 UTC
I will turn off autosave in Krita this evening (I'm Pacific Daylight Time). I will update this bug by end of week.
Comment 10 Halla Rempt 2013-05-22 17:35:33 UTC
Ok. thanks for helping to investigate (I'm in CEST, btw)
Comment 11 Smittie 2013-05-22 18:44:40 UTC
A possible point of distinction. I do not see this problem on my system at work where I upgrade from Kubuntu 12.10 to Kubuntu 13.04. The system at home was a clean install from a Kubuntu 13.04 LiveUSB.
Comment 12 Smittie 2013-05-27 04:33:25 UTC
Turned off auto-save. Crash still occurs. I suspect that this is either a dup of or related to bug #310310.
Comment 13 Smittie 2013-06-02 20:09:55 UTC
This issue does not appear to reproduce on Kubuntu 12.10, KDE 4.9.5, Krita 2.5.3.
Comment 14 Halla Rempt 2013-06-21 08:14:18 UTC
Hi... Would it be possible for you to test with Krita Lime? http://dimula73.blogspot.nl/2013/05/krita-lime-ppa-always-fresh-versions.html -- I have a potential fix in that version.
Comment 15 Halla Rempt 2013-06-23 14:30:32 UTC
.
Comment 16 Smittie 2013-06-23 14:42:56 UTC
At this time I do not have a system that I can do this on. I've taken everything back to 12.10 which is a lot more stable.
Comment 17 Smittie 2013-06-23 17:30:17 UTC
I will try to figure something out.
Comment 18 Smittie 2013-06-24 04:05:38 UTC
I got Kubuntu 13.04 installed on a separate hard drive, connected to the computer via USB.  I got Krita Lime installed. Over a one hour period we did not see the system crash that we filed the bug on. We did see a system freeze which ultimately resulted in a 'terminate' message.

Results of 'krita -v':
Compiled for arch: ::Vc::AVXImpl 
Features supported: 
         "SSE2"         ---      yes 
         "SSE3"         ---      yes 
         "SSSE3"        ---      yes 
         "SSE4.1"       ---      yes 
         "SSE4.2"       ---      yes 
         "SSE4a"        ---      no 
         "AVX "         ---      yes 
Qt: 4.8.4
KDE Development Platform: 4.10.3
Krita: 2.8 Pre-Alpha

Console output when Krita is run from the console. This instantiation did NOT result in a freeze:
null@kubuntu13:~/Documents$ krita
Compiled for arch: ::Vc::AVXImpl 
Features supported: 
         "SSE2"         ---      yes 
         "SSE3"         ---      yes 
         "SSSE3"        ---      yes 
         "SSE4.1"       ---      yes 
         "SSE4.2"       ---      yes 
         "SSE4a"        ---      no 
         "AVX "         ---      yes 
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
krita(4247)/krita (core): Missing name attribute for tag  "date" 
krita(4247)/krita (core): Schema already exist uri:  "http://ns.adobe.com/xap/1.0/rights/" 
krita(4247)/krita (core): Schema already exist uri:  "http://ns.adobe.com/exif/1.0/" 
krita(4247)/krita (core): Missing name attribute for tag  "date" 
krita(4247)/krita (core): Schema already exist uri:  "http://ns.adobe.com/xap/1.0/" 
krita(4247)/krita (core): Schema already exist uri:  "http://www.calligra.org/krita/xmp/MakerNote/1.0/" 
krita(4247)/krita (core): Schema already exist uri:  "http://ns.adobe.com/xap/1.0/mm/"          
krita(4247)/krita (core): Schema already exist uri:  "http://purl.org/dc/elements/1.1/"               
krita(4247)/krita (core): Schema already exist uri:  "http://ns.adobe.com/tiff/1.0/"                     
krita(4247)/krita (core): Schema already exist uri:  "http://krita.org/exrchannels/1.0/"                     
X Error: BadAtom (invalid Atom parameter) 5                                                                        
  Major opcode: 20 (X_GetProperty)                                                                                    
  Resource id:  0x0                                                                                                   
X Error: BadAtom (invalid Atom parameter) 5                                                                              
  Major opcode: 20 (X_GetProperty)                                                                                       
  Resource id:  0x0                                                                                                          
WARNING (KoResourceItemChooser::updatePreview): the resource "2B pencil Grain 2 b" has created a non-rgb32 image thumbnail. It may not work properly.                                                                                                              
WARNING (KoResourceItemChooser::updatePreview): the resource "2B pencil Grain 2 b" has created a non-rgb32 image thumbnail. It may not work properly.                                                                                                                 
connect failed: No such file or directory
krita(4247)/kdeui (kdelibs): No such XML file "/home/machiko/.kde/share/apps/" 
QPixmap::scaled: Pixmap is a null pixmap
QGridLayout: Multi-cell fromRow greater than toRow
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver

Given that we originally could not run Krita for more than 3 to 5 minutes without a crash, I am inclined to think the issue we were seeing is fixed. We did see other problems that have made us decide to continue using 12.10 and related versions for the time being.
Comment 19 Halla Rempt 2013-06-24 06:30:56 UTC
Thanks for testing!