Bug 181525 - locking a layer with the stylus causes a crash
Summary: locking a layer with the stylus causes a crash
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 21:21 UTC by Elián Hanisch
Modified: 2009-02-18 16:44 UTC (History)
0 users

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 Elián Hanisch 2009-01-21 21:21:02 UTC
Version:           2.0 beta-5 (using 4.1.2 (KDE 4.1.2), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-23-generic

to reproduce:
1. start a new document
2. lock the layer with the tablet stylus
3. move to stylus to the canvas
4. crash

the crash happens immediately after the stylus enters the canvas while the layer is locked, if you just lock and unlock without the stylus reaching the canvas there's no crash, if you lock with the stylus and switch to mouse there's no crash either.

backtrace:
Application: Krita (krita), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb3f35900 (LWP 14363)]
[KCrash handler]
#6  0xb68f1a71 in KoToolProxy::Private::checkAutoScroll (this=0x8b76c00, 
    event=@0xbfe4c6f0)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/libs/flake/KoToolProxy.cpp:116
#7  0xb68f1252 in KoToolProxy::tabletEvent (this=0x8b76b98, event=0xbfe4ccb0, 
    point=@0xbfe4c760)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/libs/flake/KoToolProxy.cpp:203
#8  0xb7ac738d in KisQPainterCanvas::tabletEvent (this=0x8b76e08, e=0xbfe4ccb0)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/ui/canvas/kis_qpainter_canvas.cpp:281
#9  0xb5f5fbd9 in QWidget::event () from /usr/lib/libQtGui.so.4
#10 0xb5f07f9c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#11 0xb5f0d676 in QApplication::notify () from /usr/lib/libQtGui.so.4
#12 0xb750d483 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#13 0xb7dea0b9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#14 0xb5f661ec in ?? () from /usr/lib/libQtGui.so.4
#15 0xb5f72679 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#16 0xb5f9bc2a in ?? () from /usr/lib/libQtGui.so.4
#17 0xb578bcc6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb578f083 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0xb578f63e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0xb7e159f8 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#21 0xb5f9ba25 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb7de933d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#23 0xb7de94cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#24 0xb7deb74d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#25 0xb5f07897 in QApplication::exec () from /usr/lib/libQtGui.so.4
#26 0xb7f05524 in kdemain (argc=1, argv=0xbfe4d554)
    at /home/m4v-kde3/dev/kde/src/koffice/trunk/krita/main.cc:59
#27 0x08048846 in main (argc=136693832, argv=0x8521268)
    at /home/m4v-kde3/dev/kde/build/koffice/trunk/krita/krita_dummy.cpp:3
#0  0xb7f09410 in __kernel_vsyscall ()
Comment 1 Elián Hanisch 2009-02-18 16:44:44 UTC
I can't reproduce this anymore, I don't get a crash.