Application: krita (2.4 Alpha 1) KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources) Qt Version: 4.7.3 Operating System: Linux 2.6.37.6-0.5-pae i686 Distribution: "openSUSE 11.4 (i586)" -- Information about the crash: If you open a file that's big enough -- like the tutorial -- and close the window, krita crashes with the attached backtrace. The crash can be reproduced every time. -- Backtrace: Application: Krita (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0xb5906710 (LWP 15867))] Thread 4 (Thread 0xabfffb70 (LWP 15871)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb610c9b1 in select () from /lib/libc.so.6 #2 0xb6efdb60 in qt_safe_select (nfds=15, fdread=0xa9e65d0, fdwrite=0xa9e67e4, fdexcept=0xa9e69f8, orig_timeout=0x0) at kernel/qcore_unix.cpp:82 #3 0xb6f0213b in QEventDispatcherUNIX::select (this=0xa82eeb8, nfds=15, readfds=0xa9e65d0, writefds=0xa9e67e4, exceptfds=0xa9e69f8, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:647 #4 0xb6f0305c in QEventDispatcherUNIXPrivate::doSelect (this=0xa9e64d8, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:219 #5 0xb6f0431d in QEventDispatcherUNIX::processEvents (this=0xa82eeb8, flags=...) at kernel/qeventdispatcher_unix.cpp:934 #6 0xb6ed1a6d in QEventLoop::processEvents (this=0xabfff2b0, flags=...) at kernel/qeventloop.cpp:149 #7 0xb6ed1c99 in QEventLoop::exec (this=0xabfff2b0, flags=...) at kernel/qeventloop.cpp:201 #8 0xb6dd2d49 in QThread::exec (this=0xaa00fe50) at thread/qthread.cpp:492 #9 0xb6eb17fd in QInotifyFileSystemWatcherEngine::run (this=0xaa00fe50) at io/qfilesystemwatcher_inotify.cpp:248 #10 0xb6dd5993 in QThreadPrivate::start (arg=0xaa00fe50) at thread/qthread_unix.cpp:320 #11 0xb6d58b05 in start_thread () from /lib/libpthread.so.0 #12 0xb6113d5e in clone () from /lib/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 3 (Thread 0xac949b70 (LWP 15880)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb6d5d105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb6dd6080 in wait (time=4294967295, this=0xaafb888) at thread/qwaitcondition_unix.cpp:88 #3 QWaitCondition::wait (this=0xaafb814, mutex=0xaafb810, time=4294967295) at thread/qwaitcondition_unix.cpp:160 #4 0xb6dd2552 in QSemaphore::acquire (this=0xaafb570, n=1) at thread/qsemaphore.cpp:144 #5 0xb1e675c3 in KisTileDataPooler::waitForWork (this=0xaafb568) at /home/boud/kde/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162 #6 0xb1e67d88 in KisTileDataPooler::run (this=0xaafb568) at /home/boud/kde/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184 #7 0xb6dd5993 in QThreadPrivate::start (arg=0xaafb568) at thread/qthread_unix.cpp:320 #8 0xb6d58b05 in start_thread () from /lib/libpthread.so.0 #9 0xb6113d5e in clone () from /lib/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 2 (Thread 0xab7feb70 (LWP 15881)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb6d5d105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb6dd6080 in wait (time=4294967295, this=0xaafdd18) at thread/qwaitcondition_unix.cpp:88 #3 QWaitCondition::wait (this=0xaafdca4, mutex=0xaafdca0, time=4294967295) at thread/qwaitcondition_unix.cpp:160 #4 0xb6dd27c6 in QSemaphore::tryAcquire (this=0xaafda00, n=1, timeout=-1) at thread/qsemaphore.cpp:221 #5 0xb1ea34e0 in KisTileDataSwapper::waitForWork (this=0xaafb588) at /home/boud/kde/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86 #6 0xb1ea3684 in KisTileDataSwapper::run (this=0xaafb588) at /home/boud/kde/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92 #7 0xb6dd5993 in QThreadPrivate::start (arg=0xaafb588) at thread/qthread_unix.cpp:320 #8 0xb6d58b05 in start_thread () from /lib/libpthread.so.0 #9 0xb6113d5e in clone () from /lib/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 1 (Thread 0xb5906710 (LWP 15867)): [KCrash Handler] #7 (anonymous namespace)::currentShell (doc=0xaa162a8) at /home/boud/kde/src/calligra/libs/main/KoDocument.cpp:297 #8 0xb1a16c8d in (anonymous namespace)::DocumentProgressProxy::setValue (this=0xdef3840, value=100) at /home/boud/kde/src/calligra/libs/main/KoDocument.cpp:320 #9 0xb1a8a674 in KoProgressUpdater::updateUi (this=0xdef3850) at /home/boud/kde/src/calligra/libs/main/KoProgressUpdater.cpp:197 #10 0xb1a8a848 in KoProgressUpdater::qt_metacall (this=0xdef3850, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfb3956c) at /home/boud/kde/build/calligra/libs/main/KoProgressUpdater.moc:74 #11 0xb6ed907d in QMetaObject::metacall (object=0xdef3850, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfb3956c) at kernel/qmetaobject.cpp:237 #12 0xb6ee84cc in QMetaObject::activate (sender=0x1353385c, m=0xb700d5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278 #13 0xb6f386a5 in QTimer::timeout (this=0x1353385c) at .moc/release-shared/moc_qtimer.cpp:134 #14 0xb6eef856 in QTimer::timerEvent (this=0x1353385c, e=0xbfb39aac) at kernel/qtimer.cpp:271 #15 0xb6ee7c04 in QObject::event (this=0x1353385c, e=0xbfb39aac) at kernel/qobject.cpp:1181 #16 0xb63da684 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #17 0xb63e3427 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #18 0xb752e901 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #19 0xb6ed278e in QCoreApplication::notifyInternal (this=0xbfb3b650, receiver=0x1353385c, event=0xbfb39aac) at kernel/qcoreapplication.cpp:731 #20 0xb6f03b89 in sendEvent (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.h:215 #21 QTimerInfoList::activateTimers (this=0x8160bc0) at kernel/qeventdispatcher_unix.cpp:619 #22 0xb6f0432d in QEventDispatcherUNIX::processEvents (this=0x805ccb0, flags=...) at kernel/qeventdispatcher_unix.cpp:938 #23 0xb64922ca in ?? () from /usr/lib/libQtGui.so.4 #24 0xb6ed6903 in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:923 #25 0xb1a8a40a in KoProgressUpdater::update (this=0xdef3850) at /home/boud/kde/src/calligra/libs/main/KoProgressUpdater.cpp:154 #26 0xb1a8a821 in KoProgressUpdater::qt_metacall (this=0xdef3850, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfb39dac) at /home/boud/kde/build/calligra/libs/main/KoProgressUpdater.moc:73 #27 0xb6ed907d in QMetaObject::metacall (object=0xdef3850, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfb39dac) at kernel/qmetaobject.cpp:237 #28 0xb6ee84cc in QMetaObject::activate (sender=0xb821fa0, m=0xb1b01a20, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278 #29 0xb1a8bf27 in KoUpdaterPrivate::sigUpdated (this=0xb821fa0) at /home/boud/kde/build/calligra/libs/main/KoUpdaterPrivate_p.moc:95 #30 0xb1a8c02f in KoUpdaterPrivate::qt_metacall (this=0xb821fa0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfb39ef8) at /home/boud/kde/build/calligra/libs/main/KoUpdaterPrivate_p.moc:84 #31 0xb6ed907d in QMetaObject::metacall (object=0xb821fa0, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfb39ef8) at kernel/qmetaobject.cpp:237 #32 0xb6ee84cc in QMetaObject::activate (sender=0xe1757d8, m=0xb1b01964, local_signal_index=1, argv=0xbfb39ef8) at kernel/qobject.cpp:3278 #33 0xb1a8b8e3 in KoUpdater::sigProgress (this=0xe1757d8, _t1=100) at /home/boud/kde/build/calligra/libs/main/KoUpdater.moc:102 #34 0xb1a8b994 in KoUpdater::setProgress (this=0xe1757d8, percent=100) at /home/boud/kde/src/calligra/libs/main/KoUpdater.cpp:61 #35 0xb1a1f716 in KoDocument::openFile (this=0xaa162a8) at /home/boud/kde/src/calligra/libs/main/KoDocument.cpp:1654 #36 0xb4ef1760 in ?? () from /usr/lib/libkparts.so.4 #37 0xb4ef1e29 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4 #38 0xb1a22519 in KoDocument::openUrl (this=0xaa162a8, _url=...) at /home/boud/kde/src/calligra/libs/main/KoDocument.cpp:1264 #39 0xb23b70f5 in KisView2::slotFirstRun (this=0xaae3ec38) at /home/boud/kde/src/calligra/krita/ui/kis_view2.cpp:863 #40 0xb23badb3 in KisView2::qt_metacall (this=0xaae3ec38, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfb3a598) at /home/boud/kde/build/calligra/krita/ui/kis_view2.moc:92 #41 0xb6ed907d in QMetaObject::metacall (object=0xaae3ec38, cl=QMetaObject::InvokeMetaMethod, idx=44, argv=0xbfb3a598) at kernel/qmetaobject.cpp:237 #42 0xb6ee84cc in QMetaObject::activate (sender=0xa846d428, m=0xb6d33818, local_signal_index=1, argv=0xbfb3a598) at kernel/qobject.cpp:3278 #43 0xb63d358d in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #44 0xb63d382b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #45 0xb6887285 in ?? () from /usr/lib/libQtGui.so.4 #46 0xb688dea7 in ?? () from /usr/lib/libQtGui.so.4 #47 0xb68904e2 in QMenu::keyPressEvent(QKeyEvent*) () from /usr/lib/libQtGui.so.4 #48 0xb75ee4d9 in KMenu::keyPressEvent(QKeyEvent*) () from /usr/lib/libkdeui.so.5 #49 0xb643596f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #50 0xb688f29c in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4 #51 0xb63da684 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #52 0xb63e3dc8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #53 0xb752e901 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #54 0xb6ed278e in QCoreApplication::notifyInternal (this=0xbfb3b650, receiver=0xaac8b488, event=0xbfb3ae24) at kernel/qcoreapplication.cpp:731 #55 0xb63d863d in ?? () from /usr/lib/libQtGui.so.4 #56 0xb648cd3e in ?? () from /usr/lib/libQtGui.so.4 #57 0xb648d20c in ?? () from /usr/lib/libQtGui.so.4 #58 0xb6465d32 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #59 0xb64921db in ?? () from /usr/lib/libQtGui.so.4 #60 0xb6ed1a6d in QEventLoop::processEvents (this=0xbfb3b5e4, flags=...) at kernel/qeventloop.cpp:149 #61 0xb6ed1c99 in QEventLoop::exec (this=0xbfb3b5e4, flags=...) at kernel/qeventloop.cpp:201 #62 0xb6ed6740 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #63 0xb63d83d4 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #64 0xb552b7ad in kdemain (argc=1, argv=0x80b5be0) at /home/boud/kde/src/calligra/krita/main.cc:49 #65 0x0804e514 in _start () Reported using DrKonqi
Git commit 4f9699bd6ba27806179f707f67165bafd0788e1d by Sven Langkamp. Committed on 14/06/2011 at 21:13. Pushed by langkamp into branch 'master'. fix crash on pressing close while loading a file BUG:273081 M +2 -1 libs/main/KoDocument.cpp M +4 -0 libs/main/KoMainWindow.cpp http://commits.kde.org/calligra/4f9699bd6ba27806179f707f67165bafd0788e1d