Bug 251451 - Crash when applying transformation
Summary: Crash when applying transformation
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:
Blocks:
 
Reported: 2010-09-16 15:07 UTC by animtim
Modified: 2010-09-30 17:25 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 animtim 2010-09-16 15:07:16 UTC
Application: krita (2.3 Beta 1)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I was using the transform tool on a png file imported as layer, just scaled it and apply -> crash

 -- Backtrace:
Application: Krita (krita), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4a11be97c0 (LWP 8815))]

Thread 5 (Thread 0x7f49df8f6710 (LWP 8832)):
#0  0x00007f4a1129185c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4a1151dfdb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f4a11519d64 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007f4a10a3f75e in KisTileDataPooler::waitForWork (this=0x511a9b0) at /home/timo/kde4/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:127
#4  0x00007f4a10a3f9a8 in KisTileDataPooler::run (this=0x511a9b0) at /home/timo/kde4/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:156
#5  0x00007f4a1151cf95 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f4a1128c9ca in start_thread () from /lib/libpthread.so.0
#7  0x00007f4a097516fd in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f49df0f5710 (LWP 8833)):
#0  0x00007f4a1129185c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4a1151dfdb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f4a11519b84 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007f4a10a5b8ca in KisTileDataSwapper::run (this=0x511a9e0) at /home/timo/kde4/src/koffice/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#4  0x00007f4a1151cf95 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f4a1128c9ca in start_thread () from /lib/libpthread.so.0
#6  0x00007f4a097516fd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f49d6ffd710 (LWP 15475)):
#0  0x00007f4a11291bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4a1151df42 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f4a11512f21 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f4a1151cf95 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f4a1128c9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4a097516fd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f49d7fff710 (LWP 15476)):
#0  0x00007f4a11291bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4a1151df42 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f4a11512f21 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f4a1151cf95 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f4a1128c9ca in start_thread () from /lib/libpthread.so.0
#5  0x00007f4a097516fd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4a11be97c0 (LWP 8815)):
[KCrash Handler]
#5  0x00007f4a10aaa67a in QBasicAtomicInt::fetchAndAddOrdered (this=<value optimized out>, rhs=...) at /usr/include/qt4/QtCore/qatomic_x86_64.h:164
#6  KisWeakSharedPtr<KisImage>::load (this=<value optimized out>, rhs=...) at /home/timo/kde4/src/koffice/krita/image/kis_shared_ptr.h:421
#7  KisWeakSharedPtr<KisImage>::attach (this=<value optimized out>, rhs=...) at /home/timo/kde4/src/koffice/krita/image/kis_shared_ptr.h:431
#8  KisWeakSharedPtr<KisImage>::operator= (this=<value optimized out>, rhs=...) at /home/timo/kde4/src/koffice/krita/image/kis_shared_ptr.h:273
#9  KisDefaultBounds (this=<value optimized out>, rhs=...) at /home/timo/kde4/src/koffice/krita/image/kis_default_bounds.cpp:40
#10 0x00007f4a10ae5c01 in KisPaintDevice::defaultBounds (this=<value optimized out>) at /home/timo/kde4/src/koffice/krita/image/kis_paint_device.cc:344
#11 0x00007f4a10ae9d03 in KisPaintDevice (this=0x12e17950, rhs=...) at /home/timo/kde4/src/koffice/krita/image/kis_paint_device.cc:261
#12 0x00007f4a10b13fb5 in KisPerspectiveTransformWorker::run (this=0x7fff440896b0) at /home/timo/kde4/src/koffice/krita/image/kis_perspectivetransform_worker.cpp:104
#13 0x00007f49e2eec52d in KisToolTransform::applyTransform (this=0xfc3c580) at /home/timo/kde4/src/koffice/krita/plugins/tools/tool_transform2/kis_tool_transform.cc:2079
#14 0x00007f49e2eecd30 in KisToolTransform::slotButtonBoxClicked (this=0xfc3c580, button=0x24b34f30) at /home/timo/kde4/src/koffice/krita/plugins/tools/tool_transform2/kis_tool_transform.cc:2527
#15 0x00007f49e2eecf9a in KisToolTransform::qt_metacall (this=0xfc3c580, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4408a2f0)
    at /home/timo/kde4/build/koffice/krita/plugins/tools/tool_transform2/kis_tool_transform.moc:184
#16 0x00007f4a11620036 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007f4a0b0b556f in QDialogButtonBox::clicked(QAbstractButton*) () from /usr/lib/libQtGui.so.4
#18 0x00007f4a0b0b5704 in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007f4a0b0b7609 in QDialogButtonBox::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#20 0x00007f4a11620036 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x00007f4a0b36dcf2 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#22 0x00007f4a0b08675b in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f4a0b0875fb in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f4a0b08786c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f4a0ad25f12 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007f4a0accfc0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x00007f4a0acd68bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f4a0b9de526 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007f4a1160cd9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#30 0x00007f4a0acd5a9e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#31 0x00007f4a0ad55ba5 in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007f4a0ad544ec in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#33 0x00007f4a0ad80eb9 in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007f4a1160b6c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007f4a1160ba9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f4a1161073b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#37 0x00007f4a119261b5 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/timo/kde4/src/koffice/krita/main.cc:49
#38 0x00007f4a09689c4d in __libc_start_main () from /lib/libc.so.6
#39 0x00000000004008f9 in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2010-09-16 15:09:26 UTC
For our bounds expert -- Dmitry.
Comment 2 animtim 2010-09-30 17:25:32 UTC
I can't reproduce it anymore