Bug 312189 - Crash when rotating selection
Summary: Crash when rotating selection
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on: 263170
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-25 15:08 UTC by Yuri Fidélis
Modified: 2013-01-17 12:03 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 Yuri Fidélis 2012-12-25 15:08:22 UTC
Application: krita (2.7 Pre-Alpha)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic i686
Distribution: Ubuntu 12.10

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

I selected a portion of the image, then selected the transform tool. When I clicked on the selected portion, the program crashed.

-- 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 0xb1f63740 (LWP 19515))]

Thread 6 (Thread 0xac1d4b40 (LWP 19526)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb4b3e96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb742764c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5d14030 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb5d0f952 in QSemaphore::acquire(int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xae5f67eb in KisTileDataPooler::waitForWork (this=this@entry=0xa494868) at /home/yuri/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#6  0xae5f700d in KisTileDataPooler::run (this=0xa494868) at /home/yuri/kde4/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#7  0xb5d13a58 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb3eabef1 in ?? () from /usr/lib/nvidia-experimental-310/libGL.so.1
#9  0x5c8b0824 in ?? ()
#10 0xbab80424 in ?? ()
#11 0x65000000 in ?? ()
#12 0x001015ff in ?? ()
#13 0xd3890000 in ?? ()
#14 0xfff0013d in ?? ()
#15 0xc30173ff in ?? ()
#16 0x0fc3d2e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xab9d3b40 (LWP 19527)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb4b3e96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb742764c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5d14030 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb5d0fd9e in QSemaphore::tryAcquire(int, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xae615a2e in KisTileDataSwapper::waitForWork (this=this@entry=0xa494888) at /home/yuri/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:86
#6  0xae615d84 in KisTileDataSwapper::run (this=0xa494888) at /home/yuri/kde4/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#7  0xb5d13a58 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb3eabef1 in ?? () from /usr/lib/nvidia-experimental-310/libGL.so.1
#9  0x5c8b0824 in ?? ()
#10 0xbab80424 in ?? ()
#11 0x65000000 in ?? ()
#12 0x001015ff in ?? ()
#13 0xd3890000 in ?? ()
#14 0xfff0013d in ?? ()
#15 0xc30173ff in ?? ()
#16 0x0fc3d2e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xaadffb40 (LWP 19543)):
#0  0xb4887dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5d71fb5 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#2  0xb5e5936e in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0xaadff0ec in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xaa5feb40 (LWP 19552)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb4b3e96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb742764c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5d14030 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb691012f in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#5  0xb5d13a58 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb3eabef1 in ?? () from /usr/lib/nvidia-experimental-310/libGL.so.1
#7  0x5c8b0824 in ?? ()
#8  0xbab80424 in ?? ()
#9  0x65000000 in ?? ()
#10 0x001015ff in ?? ()
#11 0xd3890000 in ?? ()
#12 0xfff0013d in ?? ()
#13 0xc30173ff in ?? ()
#14 0x0fc3d2e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa9dfdb40 (LWP 19553)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb7412d61 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0xb5e55758 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0xb5e5990b in QEventDispatcherUNIX::select(int, fd_set*, fd_set*, fd_set*, timeval*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb5e5a84d in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xb5e5b3d3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb5e2526c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb5e25561 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb5d1066c in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb5e037bd in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb5d13a58 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb3eabef1 in ?? () from /usr/lib/nvidia-experimental-310/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0fc3d2e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb1f63740 (LWP 19515)):
[KCrash Handler]
#6  0xb63886d6 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#7  0xb64645bc in QImage::fill(unsigned int) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#8  0xa885ebd2 in KisToolTransform::initTransform (this=this@entry=0xf2445e0, mode=mode@entry=ToolTransformArgs::FREE_TRANSFORM) at /home/yuri/kde4/src/calligra/krita/plugins/tools/tool_transform2/kis_tool_transform.cc:2038
#9  0xa8860568 in KisToolTransform::activate (this=0xf2445e0, toolActivation=KoToolBase::DefaultActivation, shapes=...) at /home/yuri/kde4/src/calligra/krita/plugins/tools/tool_transform2/kis_tool_transform.cc:2074
#10 0xb54c4f7b in KoToolManager::Private::postSwitchTool (this=this@entry=0xde60b40, temporary=temporary@entry=false) at /home/yuri/kde4/src/calligra/libs/flake/KoToolManager.cpp:332
#11 0xb54c66ac in switchTool (temporary=false, tool=0xf2445e0, this=0xde60b40) at /home/yuri/kde4/src/calligra/libs/flake/KoToolManager.cpp:262
#12 KoToolManager::Private::switchTool (this=0xde60b40, tool=0xf2445e0, temporary=false) at /home/yuri/kde4/src/calligra/libs/flake/KoToolManager.cpp:249
#13 0xb54c6883 in KoToolManager::Private::toolActivated (this=0xde60b40, tool=0x9eec860) at /home/yuri/kde4/src/calligra/libs/flake/KoToolManager.cpp:432
#14 0xb54c89f8 in qt_static_metacall (_a=0xbfab8cc8, _id=9, _o=0xd8047d0, _c=<optimized out>) at /home/yuri/kde4/build/calligra/libs/flake/KoToolManager.moc:97
#15 KoToolManager::qt_static_metacall (_o=0xd8047d0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfab8cc8) at /home/yuri/kde4/build/calligra/libs/flake/KoToolManager.moc:82
#16 0xb5e3eed6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#17 0xb54c0b35 in ToolHelper::toolActivated (this=this@entry=0x9eec860, _t1=_t1@entry=0x9eec860) at /home/yuri/kde4/build/calligra/libs/flake/KoToolManager_p.moc:103
#18 0xb54c0b53 in ToolHelper::buttonPressed (this=0x9eec860) at /home/yuri/kde4/src/calligra/libs/flake/KoToolManager_p.cpp:48
#19 0xb5e3eed6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#20 0xb6aac01d in QAbstractButton::clicked(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0xb67b26dd in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0xb67b2f2b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0xb67b31e6 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0xb688836d in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0xb63ec6df in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0xb67b25a2 in QAbstractButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#27 0xb6889a4d in QToolButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0xb639339c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0xb6398892 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0xb71afbea in KoApplication::notify (this=0xa1bf2010, receiver=0xf85e660, event=0xbfab9504) at /home/yuri/kde4/src/calligra/libs/main/KoApplication.cpp:514
#31 0xb5e2678e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32 0xb6394206 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#33 0xb641fa75 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#34 0xb641e705 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0xb644a97d in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#36 0xb5e2526c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#37 0xb5e25561 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#38 0xb5e2acba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#39 0xb6390fc4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#40 0xb7596682 in kdemain (argc=1, argv=0xbfab9c34) at /home/yuri/kde4/src/calligra/krita/main.cc:74
#41 0x0804853b in main (argc=1, argv=0xbfab9c34) at /home/yuri/kde4/build/calligra/krita/krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Dmitry Kazakov 2013-01-12 06:25:27 UTC
Probably related to bug 263170
Comment 2 Dmitry Kazakov 2013-01-17 12:03:08 UTC
This bug should now be fixed in master after the commit
http://commits.kde.org/calligra/d76737f3bf174ca820ac55b7f6aa96fdf65b2279