Bug 262417

Summary: Crash on loading template
Product: [Applications] krita Reporter: Sven Langkamp <sven.langkamp>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sven Langkamp 2011-01-07 15:37:21 UTC
Application: krita (2.4 Alpha 1)
KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-27-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Crash happened when I tried to load a template. Only happened once, so not really reproducable.

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

Thread 4 (Thread 0x7f7252fcc700 (LWP 19574)):
#0  0x00007f726b7bbff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f727315c93e in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007f7273161f1d in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007f7273162d0b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f72731346c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f7273134a9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f72730438db in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f7273114dd8 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f7273045f95 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f7272db59ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f726b7c370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7242eba700 (LWP 19582)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7273046fdb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f7273042d64 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007f72723ee7f4 in KisTileDataPooler::waitForWork (this=0x4ca4820) at /home/sven/kde/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:127
#4  0x00007f72723ee85e in KisTileDataPooler::run (this=0x4ca4820) at /home/sven/kde/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:156
#5  0x00007f7273045f95 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f7272db59ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f726b7c370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f72537cd700 (LWP 19583)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7273046fdb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f7273042b84 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007f72724128fe in KisTileDataSwapper::waitForWork (this=0x4ca4850) at /home/sven/kde/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:84
#4  0x00007f7272412918 in KisTileDataSwapper::run (this=0x4ca4850) at /home/sven/kde/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#5  0x00007f7273045f95 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f7272db59ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f726b7c370d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f72622d57a0 (LWP 19571)):
[KCrash Handler]
#5  0x00007f726b710a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f726b7145c0 in *__GI_abort () at abort.c:92
#7  0x00007f727303dda4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007f727303df82 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f727303e135 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#10 0x00007f72728eafb2 in KisWeakSharedPtr<KisImage>::operator-> (this=0x7fffb5fe62c0) at /home/sven/kde/src/calligra/krita/image/kis_shared_ptr.h:382
#11 0x00007f727295be46 in KisCanvasResourceProvider::setResourceManager (this=0x500d470, resourceManager=0x4fd88c0) at /home/sven/kde/src/calligra/krita/ui/kis_canvas_resource_provider.cpp:70
#12 0x00007f7272a019c2 in KisView2 (this=0x47ad550, doc=0x3f391e0, parent=0x3f8aa30, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /home/sven/kde/src/calligra/krita/ui/kis_view2.cpp:250
#13 0x00007f7272986260 in KisDoc2::createViewInstance (this=0x3f391e0, parent=0x3f8aa30) at /home/sven/kde/src/calligra/krita/ui/kis_doc2.cc:432
#14 0x00007f7271b2b470 in KoDocument::createView (this=0x3f391e0, parent=0x3f8aa30) at /home/sven/kde/src/calligra/libs/main/KoDocument.cpp:428
#15 0x00007f7271b59813 in KoMainWindow::setRootDocument (this=0x3f70cc0, doc=0x3f391e0) at /home/sven/kde/src/calligra/libs/main/KoMainWindow.cpp:463
#16 0x00007f7271b379ef in KoDocument::deleteOpenPane (this=0x3f391e0) at /home/sven/kde/src/calligra/libs/main/KoDocument.cpp:2494
#17 0x00007f7271b5d6e3 in KoMainWindow::closeEvent (this=0x3f70cc0, e=0x7fffb5fe70a0) at /home/sven/kde/src/calligra/libs/main/KoMainWindow.cpp:1050
#18 0x00007f726cd97f44 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007f726d15bf8b in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007f726db67f63 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007f726cd41c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f726cd480eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f726da50a16 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007f7273135d9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00007f726cd9ccc1 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQtGui.so.4
#26 0x00007f726cdb7b96 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) () from /usr/lib/libQtGui.so.4
#27 0x00007f726cdc6bc6 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f726cdf2eb9 in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007f72731346c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007f7273134a9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007f727313973b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0x00007f727344f3cb in kdemain (argc=1, argv=0x7fffb5fe7b28) at /home/sven/kde/src/calligra/krita/main.cc:49
#33 0x00000000004009c6 in main (argc=1, argv=0x7fffb5fe7b28) at /home/sven/kde/build/calligra/krita/krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Sven Langkamp 2011-01-07 16:29:52 UTC
Happens also when closing Krita before opening a template.
Comment 2 Halla Rempt 2011-01-19 21:12:08 UTC
Pretty sure it's the same issue as 262941

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