Bug 175794 - Paint brush crash, selection mode
Summary: Paint brush crash, selection mode
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 21:12 UTC by LukasT
Modified: 2009-02-11 16:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LukasT 2008-11-21 21:12:35 UTC
Version:            (using KDE 4.1.3)
Installed from:    Compiled From Sources

Steps to reproduce:
1. Select paint brush 
2. Settings-> Custom brush 
3. Change here Selection mode to any other
4. Crash

Application: Krita (krita), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb7f6f790 (LWP 3129)]
[New Thread 0xb52ffb90 (LWP 3139)]
[KCrash handler]
#6  0x00110416 in __kernel_vsyscall ()
#7  0x01cb8660 in raise () from /lib/libc.so.6
#8  0x01cba028 in abort () from /lib/libc.so.6
#9  0x00111f1a in qtMessageHandler (type=QtFatalMsg, 
    msg=0xb52fd03c "ASSERT: \"brush\" in file /home/lukas/src/koffice/krita/plugins/paintops/defaultpaintops/brush/kis_brushop.cpp, line 83")
    at /home/lukas/src/koffice/krita/main.cc:36
#10 0x00521905 in qt_message_output () from /usr/lib/libQtCore.so.4
#11 0x00521a42 in qFatal () from /usr/lib/libQtCore.so.4
#12 0x00521ae5 in qt_assert () from /usr/lib/libQtCore.so.4
#13 0x026877cd in KisBrushOp::paintAt (this=0x9afdfb8, info=@0xb52ff224)
    at /home/lukas/src/koffice/krita/plugins/paintops/defaultpaintops/brush/kis_brushop.cpp:83
#14 0x0042975e in KisPainter::paintAt (this=0x9be3ab0, pi=@0xb52ff224)
    at /home/lukas/src/koffice/krita/image/kis_painter.cc:641
#15 0x002aeac2 in FreehandPaintAtJob::run (this=0xa2b1d38)
    at /home/lukas/src/koffice/krita/ui/tool/kis_tool_freehand_p.cpp:64
#16 0x0051f960 in ?? () from /usr/lib/libQtCore.so.4
#17 0x005298ae in ?? () from /usr/lib/libQtCore.so.4
#18 0x00dce32f in start_thread () from /lib/libpthread.so.0
#19 0x01d6c20e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7f6f790 (LWP 3129)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x01d64671 in select () from /lib/libc.so.6
#2  0x03cb9295 in ?? () from /usr/lib/libxcb.so.1
#3  0x03cbac82 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0x06247e41 in _XReply () from /usr/lib/libX11.so.6
#5  0x0623ca31 in XTranslateCoordinates () from /usr/lib/libX11.so.6
#6  0x01258d60 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#7  0x01258db1 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#8  0x01258db1 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#9  0x01258db1 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#10 0x01258db1 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#11 0x01258db1 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#12 0x00a130d5 in KoDocument::hitTest (this=0x92fc930, widget=0x93593a0, 
    globalPos=@0xbf9a7534)
    at /home/lukas/src/koffice/libs/main/KoDocument.cpp:724
#13 0x00212741 in KisDoc2::hitTest (this=0x92fc930, w=0x93593a0, 
    pt=@0xbf9a7534) at /home/lukas/src/koffice/krita/ui/kis_doc2.h:82
#14 0x00cf27b4 in KParts::PartManager::findPartFromWidget ()
   from /usr/lib/libkparts.so.4
#15 0x00cf387a in KParts::PartManager::eventFilter ()
   from /usr/lib/libkparts.so.4
#16 0x00a3b5aa in KoPartManager::eventFilter (this=0x93003b8, obj=0x9a79070, 
    ev=0xbf9a7754) at /home/lukas/src/koffice/libs/main/KoMainWindow.cpp:94
#17 0x00619574 in QCoreApplicationPrivate::sendThroughApplicationEventFilters
    () from /usr/lib/libQtCore.so.4
#18 0x011cef03 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#19 0x011d77e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#20 0x0715c95d in KApplication::notify () from /usr/lib/libkdeui.so.5
#21 0x0061a2e1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#22 0x011d6a6e in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#23 0x01240f26 in ?? () from /usr/lib/libQtGui.so.4
#24 0x012402ad in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#25 0x01268a3c in ?? () from /usr/lib/libQtGui.so.4
#26 0x01e2de38 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x01e314e3 in ?? () from /lib/libglib-2.0.so.0
#28 0x01e316a1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00644a28 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#30 0x01268105 in ?? () from /usr/lib/libQtGui.so.4
#31 0x006189ca in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#32 0x00618b8a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#33 0x0061b235 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#34 0x011cee07 in QApplication::exec () from /usr/lib/libQtGui.so.4
#35 0x001135a0 in kdemain (argc=1, argv=0xbf9a8324)
    at /home/lukas/src/koffice/krita/main.cc:56
#36 0x080489c6 in main (argc=256, argv=0x0)
    at /home/lukas/src/build/koffice/krita/krita_dummy.cpp:3
Comment 1 Ritesh Raj Sarraf 2008-12-16 11:22:22 UTC
I have the same crash, I think.

Application: Krita (krita), signal SIGABRT

Thread 1 (Thread 0xb7f936c0 (LWP 19737)):
[KCrash Handler]
#6  0xb7fc2424 in __kernel_vsyscall ()
#7  0x4563d640 in raise () from /lib/i686/cmov/libc.so.6
#8  0x4563f018 in abort () from /lib/i686/cmov/libc.so.6
#9  0x468bed6d in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2102
#10 0x468bee36 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2303
#11 0x468beec5 in qt_assert (assertion=) at global/qglobal.cpp:1872
#12 0xb6525030 in KisPainter (this=0xb4f7d78, device={d = 0xbfbc04d0}) at /tmp/buildd/koffice-1.9.98.3/krita/image/kis_painter.cc:112
#13 0xb4b976e1 in KisToolSelectEraser::initPaint (this=0xa99f020) at /tmp/buildd/koffice-1.9.98.3/krita/plugins/tools/selectiontools/kis_tool_select_eraser.cc:84
#14 0xb6733ef3 in KisToolFreehand::mousePressEvent (this=0xa99f020, e=0xbfbc06e0) at /tmp/buildd/koffice-1.9.98.3/krita/ui/tool/kis_tool_freehand.cc:107
#15 0x41eb1169 in KoToolProxy::mousePressEvent (this=<value optimized out>, event=<value optimized out>, point=<value optimized out>) at /tmp/buildd/koffice-1.9.98.3/libs/flake/KoToolProxy.cpp:225
#16 0xb6640948 in KisQPainterCanvas::mousePressEvent (this=0xa45b560, e=0xbfbc0d0c) at /tmp/buildd/koffice-1.9.98.3/krita/ui/canvas/kis_qpainter_canvas.cpp:217
#17 0x484f0ea9 in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:7159
#18 0x48498e9c in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3803
#19 0x484a16d1 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3528
#20 0x413d4e6d in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../kdeui/kernel/kapplication.cpp:307
#21 0x469b6771 in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:587
#22 0x484a095e in QApplicationPrivate::sendMouseEvent (receiver=<value optimized out>, event=<value optimized out>, alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#23 0x4850a4fd in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4042
#24 0x485092e1 in QApplication::x11ProcessEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:3160
#25 0x485338a8 in QEventDispatcherX11::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_x11.cpp:128
#26 0x469b4e3a in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:143
#27 0x469b4ffa in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:194
#28 0x469b76b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#29 0x48498d17 in QApplication::exec () at kernel/qapplication.cpp:3331
#30 0x4191b378 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /tmp/buildd/koffice-1.9.98.3/krita/main.cc:56
#31 0x08048582 in main (argc=) at /tmp/buildd/koffice-1.9.98.3/obj-i486-linux-gnu/krita/krita_dummy.cpp:3

Comment 2 Sven Langkamp 2009-02-07 18:17:34 UTC
SVN commit 922850 by langkamp:

disable selection brush and eraser until they are fixed or replaced by
the paint tools

CCBUG:175794


 M  +2 -2      selection_tools.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=922850
Comment 3 Sven Langkamp 2009-02-11 02:07:33 UTC
The second backtrace and the commit belong to another bug.

I can reproduce the crash. Can you check if the original bug still appears?