Bug 250621 - Autobrush crash with square shape and softbrush
Summary: Autobrush crash with square shape and softbrush
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2010-09-09 03:19 UTC by Sven Langkamp
Modified: 2010-09-13 18:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Langkamp 2010-09-09 03:19:00 UTC
Application: krita (2.3 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-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
I changed setting to square and soft brush. Also changed rotation and ration. Crash

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7fe96ad6a710 (LWP 23957)):
#0  0x00007fe989d5afe3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fe99124c93e in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/libQtCore.so.4
#2  0x00007fe991251f1d in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/libQtCore.so.4
#3  0x00007fe991252d0b in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fe9912246c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fe991224a9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fe9911338db in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fe991204dd8 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fe991135f95 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fe990ea59ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fe989d626fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe96a362710 (LWP 23962)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe991136fdb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fe991132d64 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007fe990522078 in KisTileDataPooler::waitForWork (this=0x5d707e0) at /home/sven/kde/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:127
#4  0x00007fe9905220e2 in KisTileDataPooler::run (this=0x5d707e0) at /home/sven/kde/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:156
#5  0x00007fe991135f95 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fe990ea59ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fe989d626fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe969b61710 (LWP 23963)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe991136fdb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fe991132b84 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007fe990545fce in KisTileDataSwapper::waitForWork (this=0x5d70810) at /home/sven/kde/src/koffice/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:84
#4  0x00007fe990545fe8 in KisTileDataSwapper::run (this=0x5d70810) at /home/sven/kde/src/koffice/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#5  0x00007fe991135f95 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fe990ea59ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007fe989d626fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe97fe187a0 (LWP 23956)):
[KCrash Handler]
#5  0x00007fe989cafa75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fe989cb35c0 in *__GI_abort () at abort.c:92
#7  0x00007fe99112dda4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007fe99112df82 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fe99112e135 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#10 0x00007fe9905d8e43 in QVector<double>::at (this=0xa4d0c00, i=2016) at /usr/include/qt4/QtCore/qvector.h:338
#11 0x00007fe9905d95d6 in KisCurveRectangleMaskGenerator::valueAt (this=0xa51b3d0, x=17.268605441567672, y=665.18741364077505)
    at /home/sven/kde/src/koffice/krita/image/kis_curve_rect_mask_generator.cpp:68
#12 0x00007fe9740d1d73 in KisAutoBrush::generateMaskAndApplyMaskOrCreateDab (this=0xa5180b0, dst=..., coloringInformation=0x0, scaleX=1, scaleY=1, angle=3.9095375244672983, info=..., subPixelX=0, 
    subPixelY=0, softnessFactor=1) at /home/sven/kde/src/koffice/krita/plugins/paintops/libbrush/kis_auto_brush.cpp:236
#13 0x00007fe9740d6e07 in KisBrush::mask (this=0xa5180b0, dst=..., scaleX=1, scaleY=1, angle=0, info=..., subPixelX=0, subPixelY=0, softnessFactor=1)
    at /home/sven/kde/src/koffice/krita/plugins/paintops/libbrush/kis_brush.cpp:335
#14 0x00007fe9740d2363 in KisAutoBrush::createBrushPreview (this=0xa5180b0) at /home/sven/kde/src/koffice/krita/plugins/paintops/libbrush/kis_auto_brush.cpp:288
#15 0x00007fe9740d115e in KisAutoBrush (this=0xa5180b0, as=0xa51b3d0, angle=3.9095375244672983, randomness=0, density=1)
    at /home/sven/kde/src/koffice/krita/plugins/paintops/libbrush/kis_auto_brush.cpp:55
#16 0x00007fe97432c314 in KisAutoBrushWidget::paramChanged (this=0x7e581a0) at /home/sven/kde/src/koffice/krita/plugins/paintops/libpaintop/kis_auto_brush_widget.cpp:150
#17 0x00007fe97432cd03 in KisAutoBrushWidget::qt_metacall (this=0x7e581a0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffab83e4e0)
    at /home/sven/kde/build/koffice/krita/plugins/paintops/libpaintop/kis_auto_brush_widget.moc:133
#18 0x00007fe991239036 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00007fe98b6ae031 in QComboBox::activated(int) () from /usr/lib/libQtGui.so.4
#20 0x00007fe98b6af999 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fe98b6b2987 in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007fe98b6b7a47 in QComboBox::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#23 0x00007fe991239036 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#24 0x00007fe98b97fb92 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007fe98b6b0ebb in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007fe9912251b7 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007fe98b2e0bdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007fe98b2e78bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007fe98bfefa16 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00007fe991225d9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#31 0x00007fe98b2e6a9e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#32 0x00007fe98b36701d in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fe98b3654ec in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007fe98b391eb9 in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007fe9912246c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007fe991224a9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007fe99122973b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0x00007fe99153f0dd in kdemain (argc=1, argv=0x7fffab83fc18) at /home/sven/kde/src/koffice/krita/main.cc:49
#39 0x00000000004009b6 in main (argc=1, argv=0x7fffab83fc18) at /home/sven/kde/build/koffice/krita/krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 LukasT 2010-09-13 18:01:05 UTC
SVN commit 1174936 by lukast:

Fix crash with rotated softbrush in rectangle mode.

BUG:250621

 M  +7 -0      kis_curve_rect_mask_generator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1174936