Bug 228424 - Krita crashes when my computer isn't even being used
Summary: Krita crashes when my computer isn't even being used
Status: RESOLVED DOWNSTREAM
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 217200 217304 218224 232332 251548 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-25 10:14 UTC by Kubuntiac
Modified: 2015-09-09 21:27 UTC (History)
6 users (show)

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 Kubuntiac 2010-02-25 10:14:05 UTC
Application: krita (2.2 Alpha 1)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.32-14-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Often when I haven't been using Krita, it will crash, seemingly out of nowhere. The backtrace reporting assistant suggested this might be a dupe of a fixed autosave bug. This was only compiled today, but I thought I'd report it as autosave would give a possible exaplanation...

I'm on Kubuntu Lucid AMD 64 with KDE 4.4 and koffice revision 1095705

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Krita (krita), signal: Aborted
[Current thread is 1 (Thread 0x7f9a6ff19820 (LWP 4577))]

Thread 4 (Thread 0x7f9a6157f710 (LWP 4578)):
#0  0x00007f9a6f49c6cc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f9a6f72870b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f9a6f724660 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007f9a6ecc1e2e in KisTileDataPooler::waitForWork (this=0x7f9a6f005740) at /home/user/source/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:128
#4  0x00007f9a6ecc2228 in KisTileDataPooler::run (this=0x7f9a6f005740) at /home/user/source/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:157
#5  0x00007f9a6f727755 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f9a6f497b14 in start_thread () from /lib/libpthread.so.0
#7  0x00007f9a6902c07d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9a4a0cf710 (LWP 4579)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f9a4a0ceb50 in ?? ()
#2  0x00007fff919a3852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f9a498ce710 (LWP 4581)):
#0  0x00007f9a69024c03 in select () from /lib/libc.so.6
#1  0x00007f9a6f8426ce in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007f9a6f847d3d in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007f9a6f848aeb in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f9a6f81a582 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f9a6f81a95c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f9a6f724d39 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f9a6f727755 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f9a6f497b14 in start_thread () from /lib/libpthread.so.0
#9  0x00007f9a6902c07d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9a6ff19820 (LWP 4577)):
[KCrash Handler]
#5  0x00007f9a68f7b8d5 in raise () from /lib/libc.so.6
#6  0x00007f9a68f7f370 in abort () from /lib/libc.so.6
#7  0x00007f9a6f71f7f4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007f9a6f71f9d2 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f9a6f71fb85 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#10 0x00007f9a6e47c97e in KoDocument::autoSaveFile (this=0x275c0b0, path=...) at /home/user/source/koffice/libs/main/KoDocument.cpp:1073
#11 0x00007f9a6e47edb9 in KoDocument::slotAutoSave (this=0x275c0b0) at /home/user/source/koffice/libs/main/KoDocument.cpp:590
#12 0x00007f9a6e47f0b8 in KoDocument::qt_metacall (this=0x275c0b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff91842900)
    at /home/user/Apps/koffice/build/libs/main/KoDocument.moc:127
#13 0x00007f9a6f11a800 in KisDoc2::qt_metacall (this=0x11e1, _c=4577, _id=6, _a=0xffffffffffffffff) at /home/user/Apps/koffice/build/krita/ui/kis_doc2.moc:78
#14 0x00007f9a6f82ea5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0x00007f9a6f82b6b3 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#16 0x00007f9a6a5ab07c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f9a6a5b166b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007f9a6b2b41d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007f9a6f81bc5c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0x00007f9a6f848982 in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007f9a6f848afc in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f9a6a65b677 in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f9a6f81a582 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x00007f9a6f81a95c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0x00007f9a6f81e69b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#26 0x00007f9a6fb33cd5 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/user/source/koffice/krita/main.cc:49
#27 0x00007f9a68f66c4d in __libc_start_main () from /lib/libc.so.6
#28 0x0000000000400869 in _start ()

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

Possible duplicates by query: bug 219506, bug 209586, bug 203265.

Reported using DrKonqi
Comment 1 Cyrille Berger 2010-02-26 23:43:17 UTC
Line 1073 says: "It seems your installation is broken/incomplete cause we failed to load the native mimetype \"%s\"."

What is likely to happen is that kbuildsycoca4 is runned again without the knowledge of your installation prefix. It is a good idea to use a different KDEHOME when running krita, or to add the prefix to your kdeglobals file: http://wiki.koffice.org/index.php?title=Building/Building_KOffice#Running_KOffice_applications
Comment 2 Kubuntiac 2010-02-27 02:06:46 UTC
Thanks for looking into this Cyrille.

Are you suggesting that kbuildsycoca4 is being run automatically in the background, somehow?

The trouble is that adding the code to kdeglobals according to the instructions on that page don't seem to work with Kubuntu. I've tried a bunch of times and boud has even said as much. That's why I've always manually entered the export variable lines after each reboot. Bcooksley gave me a script recently that seems to do the job though, so I'll see if that fixes this crash.
Comment 3 Cyrille Berger 2010-02-27 14:10:45 UTC
Yes, many things in KDE can run kbuildsycoca4, and if it is run outside of the environnement, it will remove the information needed by Krita. If the script does not solve the problem (which I am skeptical it will), there is an other alternative which is to run Krita in a seperate config dir, such as "KDEHOME=$HOME/.kde-for-krita krita"
Comment 4 Halla Rempt 2010-03-07 17:39:50 UTC
M4v got the same crash today.
Comment 5 Halla Rempt 2010-03-07 17:41:43 UTC
#6  0x00eaf422 in __kernel_vsyscall ()
#7  0x029ea4d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x029ed932 in *__GI_abort () at abort.c:92
#9  0x009f232c in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#10 0x009f24fa in ?? () from /usr/lib/libQtCore.so.4
#11 0x009f2609 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#12 0x00169c2d in KoDocument::autoSaveFile (this=0x9bf48a0, path=...) at /home/m4v/dev/kde/src/koffice/trunk/libs/main/KoDocument.cpp:1073
#13 0x00169c92 in KoDocument::removeAutoSaveFiles (this=0x9bf48a0) at /home/m4v/dev/kde/src/koffice/trunk/libs/main/KoDocument.cpp:2141
#14 0x00194956 in KoMainWindow::queryClose (this=0x9f2e660) at /home/m4v/dev/kde/src/koffice/trunk/libs/main/KoMainWindow.cpp:1139
#15 0x001979a5 in KoMainWindow::slotFileClose (this=0x9f2e660) at /home/m4v/dev/kde/src/koffice/trunk/libs/main/KoMainWindow.cpp:1258
#16 0x0019dbbd in KoMainWindow::qt_metacall (this=0x9f2e660, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfedeef8) at /home/m4v/dev/kde/build/koffice/trunk/libs/main/KoMainWindow.moc:151
#17 0x00b02e5a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00b115f5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x0153eb89 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#20 0x01540d9c in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#21 0x019e3c8c in ?? () from /usr/lib/libQtGui.so.4
#22 0x019ea13b in ?? () from /usr/lib/libQtGui.so.4
#23 0x019eb147 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#24 0x074a59c5 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#25 0x015a3718 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x019ec73c in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x015453cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x0154c9b7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x073af42a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00afdbeb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#31 0x0154b90f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#32 0x015d71a7 in ?? () from /usr/lib/libQtGui.so.4
#33 0x015d61a1 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#34 0x01605a89 in ?? () from /usr/lib/libQtGui.so.4
#35 0x00afc209 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00afc65a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00b0084f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0x01545467 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#39 0x0058912d in kdemain (argc=1, argv=0xbfedff64) at /home/m4v/dev/kde/src/koffice/trunk/krita/main.cc:49
#40 0x0804883b in main (argc=1, argv=0xbfedff64) at /home/m4v/dev/kde/build/koffice/trunk/krita/krita_dummy.cpp:3
The current source language is "auto; currently c".
Comment 6 Sven Langkamp 2010-03-28 22:52:14 UTC
Reported in here: https://bugs.launchpad.net/kubuntu-7/+bug/550492
Comment 7 Sven Langkamp 2010-03-28 22:54:15 UTC
*** Bug 232332 has been marked as a duplicate of this bug. ***
Comment 8 Halla Rempt 2010-03-29 19:38:12 UTC
*** Bug 217200 has been marked as a duplicate of this bug. ***
Comment 9 Halla Rempt 2010-03-29 19:38:49 UTC
*** Bug 217304 has been marked as a duplicate of this bug. ***
Comment 10 Halla Rempt 2010-03-29 19:39:29 UTC
*** Bug 218224 has been marked as a duplicate of this bug. ***
Comment 11 Sven Langkamp 2010-09-17 13:39:00 UTC
*** Bug 251548 has been marked as a duplicate of this bug. ***