Bug 309153 - Krita crashes sometimes when I click on any option or layer
Summary: Krita crashes sometimes when I click on any option or layer
Status: RESOLVED FIXED
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:
Depends on:
Blocks:
 
Reported: 2012-10-28 15:55 UTC by Houndix
Modified: 2012-11-04 07:56 UTC (History)
1 user (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 Houndix 2012-10-28 15:55:44 UTC
Application: krita (2.4.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic i686
Distribution: Linux Mint 12 Lisa

-- Information about the crash:
- What I was doing when the application crashed:
Editing an image.

- Unusual behavior I noticed:
Perhaps the problem would be when importing image files (mostly svg and sometimes png) and dragging the layer (from the layers widget) from a window to another.

The crash can be reproduced some of the time.

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

Thread 6 (Thread 0xae070b40 (LWP 5556)):
#0  0x00c5a416 in __kernel_vsyscall ()
#1  0x01b0d96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0024b64c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0216d350 in wait (time=4294967295, this=0xbb74688) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xbb74654, mutex=0xbb74650, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x02168b6a in QSemaphore::acquire (this=0xbb74498, n=1) at thread/qsemaphore.cpp:144
#6  0x037624bb in KisTileDataPooler::waitForWork (this=0xbb74490) at /build/buildd/calligra-2.4.0/krita/image/tiles3/kis_tile_data_pooler.cc:162
#7  0x03762c6d in KisTileDataPooler::run (this=0xbb74490) at /build/buildd/calligra-2.4.0/krita/image/tiles3/kis_tile_data_pooler.cc:184
#8  0x0216cde0 in QThreadPrivate::start (arg=0xbb74490) at thread/qthread_unix.cpp:298
#9  0x01b09d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x0023dd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xad86fb40 (LWP 5557)):
#0  0x00c5a416 in __kernel_vsyscall ()
#1  0x01b0d96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0024b64c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0216d350 in wait (time=4294967295, this=0xbb748f0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xbb748bc, mutex=0xbb748b8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x02169026 in QSemaphore::tryAcquire (this=0xbb74890, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#6  0x0378532e in KisTileDataSwapper::waitForWork (this=0xbb744b0) at /build/buildd/calligra-2.4.0/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#7  0x03785574 in KisTileDataSwapper::run (this=0xbb744b0) at /build/buildd/calligra-2.4.0/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#8  0x0216cde0 in QThreadPrivate::start (arg=0xbb744b0) at thread/qthread_unix.cpp:298
#9  0x01b09d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x0023dd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa85feb40 (LWP 5562)):
#0  0x06be0dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x021cb315 in do_gettime (frac=0xa85fdfe0, sec=0xa85fdfd8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x022b5226 in QTimerInfoList::updateCurrentTime (this=0xa8ee0f7c) at kernel/qeventdispatcher_unix.cpp:343
#4  0x022b6c2b in QEventDispatcherUNIXPrivate::doSelect (this=0xa8ee08e0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#5  0x022b71f4 in QEventDispatcherUNIX::processEvents (this=0xa8edf360, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0x0228050d in QEventLoop::processEvents (this=0xa85fe240, flags=...) at kernel/qeventloop.cpp:149
#7  0x022807a9 in QEventLoop::exec (this=0xa85fe240, flags=...) at kernel/qeventloop.cpp:204
#8  0x0216994c in QThread::exec (this=0xbffc5b8) at thread/qthread.cpp:501
#9  0x0225db5d in QInotifyFileSystemWatcherEngine::run (this=0xbffc5b8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0216cde0 in QThreadPrivate::start (arg=0xbffc5b8) at thread/qthread_unix.cpp:298
#11 0x01b09d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0023dd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa7dfdb40 (LWP 5583)):
#0  0x00c5a416 in __kernel_vsyscall ()
#1  0x01b0d96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x0024b64c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0216d350 in wait (time=4294967295, this=0x10a61bf0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x10a618fc, mutex=0x10a618f8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x01669fa3 in QFileInfoGatherer::run (this=0x10a618f0) at dialogs/qfileinfogatherer.cpp:214
#6  0x0216cde0 in QThreadPrivate::start (arg=0x10a618f0) at thread/qthread_unix.cpp:298
#7  0x01b09d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0023dd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xaccffb40 (LWP 5584)):
#0  0x06be0dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x021cb315 in do_gettime (frac=0xaccfefe0, sec=0xaccfefd8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x022b5226 in QTimerInfoList::updateCurrentTime (this=0xa6127fcc) at kernel/qeventdispatcher_unix.cpp:343
#4  0x022b6c2b in QEventDispatcherUNIXPrivate::doSelect (this=0xa6127930, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:186
#5  0x022b71f4 in QEventDispatcherUNIX::processEvents (this=0xa0126778, flags=...) at kernel/qeventdispatcher_unix.cpp:926
#6  0x0228050d in QEventLoop::processEvents (this=0xaccff240, flags=...) at kernel/qeventloop.cpp:149
#7  0x022807a9 in QEventLoop::exec (this=0xaccff240, flags=...) at kernel/qeventloop.cpp:204
#8  0x0216994c in QThread::exec (this=0x10a61d60) at thread/qthread.cpp:501
#9  0x0225db5d in QInotifyFileSystemWatcherEngine::run (this=0x10a61d60) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0216cde0 in QThreadPrivate::start (arg=0x10a61d60) at thread/qthread_unix.cpp:298
#11 0x01b09d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0023dd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb76ed740 (LWP 5555)):
[KCrash Handler]
#7  0x03806477 in KisImage::undoAdapter (this=0xc5a0028) at /build/buildd/calligra-2.4.0/krita/image/kis_image.cc:1207
#8  0x0680a2d5 in KisSelectionToolHelper::selectPixelSelection (this=0xbfc878b0, selection=..., action=SELECTION_REPLACE) at /build/buildd/calligra-2.4.0/krita/ui/tool/kis_selection_tool_helper.cpp:57
#9  0x06b63165 in mousePressEvent (event=0xbfc879d8, this=0x111780d0) at /build/buildd/calligra-2.4.0/krita/plugins/tools/selectiontools/kis_tool_select_contiguous.cc:100
#10 KisToolSelectContiguous::mousePressEvent (this=0x111780d0, event=0xbfc879d8) at /build/buildd/calligra-2.4.0/krita/plugins/tools/selectiontools/kis_tool_select_contiguous.cc:66
#11 0x0307bf69 in KoToolProxy::mousePressEvent (this=0x10bfbac0, ev=0xbfc879d8) at /build/buildd/calligra-2.4.0/libs/flake/KoToolProxy.cpp:227
#12 0x0307c0e2 in KoToolProxy::mousePressEvent (this=0x10bfbac0, event=0xbfc88044, point=...) at /build/buildd/calligra-2.4.0/libs/flake/KoToolProxy.cpp:246
#13 0x066b03f8 in KisCanvasWidgetBase::processMousePressEvent (this=0x10bfbd4c, e=0xbfc88044) at /build/buildd/calligra-2.4.0/krita/ui/canvas/kis_canvas_widget_base.cpp:232
#14 0x066c1cd6 in KisQPainterCanvas::mousePressEvent (this=0x10bfbd38, e=0xbfc88044) at /build/buildd/calligra-2.4.0/krita/ui/canvas/kis_qpainter_canvas.cpp:194
#15 0x01132638 in QWidget::event (this=0x10bfbd38, event=0xbfc88044) at kernel/qwidget.cpp:8358
#16 0x066c1e27 in KisQPainterCanvas::event (this=0x10bfbd38, e=0xbfc88044) at /build/buildd/calligra-2.4.0/krita/ui/canvas/kis_qpainter_canvas.cpp:166
#17 0x010d7ed4 in notify_helper (e=0xbfc88044, receiver=0x10bfbd38, this=0x97edda0) at kernel/qapplication.cpp:4559
#18 QApplicationPrivate::notify_helper (this=0x97edda0, receiver=0x10bfbd38, e=0xbfc88044) at kernel/qapplication.cpp:4531
#19 0x010de024 in QApplication::notify (this=0x97edda0, receiver=0x10bfbd38, e=0xbfc88044) at kernel/qapplication.cpp:4102
#20 0x00645e01 in KApplication::notify (this=0xbfc886f0, receiver=0x10bfbd38, event=0xbfc88044) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x0228197e in QCoreApplication::notifyInternal (this=0xbfc886f0, receiver=0x10bfbd38, event=0xbfc88044) at kernel/qcoreapplication.cpp:876
#22 0x010d8e95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QApplicationPrivate::sendMouseEvent (receiver=0x10bfbd38, event=0xbfc88044, alienWidget=0x10bfbd38, nativeWidget=0xc828438, buttonDown=0x1a6ccf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#24 0x01165074 in QETWidget::translateMouseEvent (this=0xc828438, event=0xbfc884fc) at kernel/qapplication_x11.cpp:4617
#25 0x01163c0d in QApplication::x11ProcessEvent (this=0xbfc886f0, event=0xbfc884fc) at kernel/qapplication_x11.cpp:3732
#26 0x01191a88 in QEventDispatcherX11::processEvents (this=0x9796f08, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#27 0x0228050d in QEventLoop::processEvents (this=0xbfc88684, flags=...) at kernel/qeventloop.cpp:149
#28 0x022807a9 in QEventLoop::exec (this=0xbfc88684, flags=...) at kernel/qeventloop.cpp:204
#29 0x02285eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#30 0x010d5a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#31 0x00de5571 in kdemain (argc=1, argv=0xbfc88804) at /build/buildd/calligra-2.4.0/krita/main.cc:71
#32 0x0804850b in main (argc=1, argv=0xbfc88804) at /build/buildd/calligra-2.4.0/obj-i686-linux-gnu/krita/krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Halla Rempt 2012-10-29 07:45:37 UTC
Hi,

Thanks for your report. Krita 2.4 is a bit old though, and this bug has been fixed in 2.5. You can install 2.5 on *buntu using the kubuntu backports ppa: ppa:kubuntu-ppa/backports
Comment 2 Houndix 2012-11-04 00:37:02 UTC
Thanks! Now it works perfectly :). And sorry for repeating this bug report.
Comment 3 Halla Rempt 2012-11-04 07:56:59 UTC
No problem, you're welcome!