Bug 295812 - Krita crash when using the erase part of my pen
Summary: Krita crash when using the erase part of my pen
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 310120 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-11 23:41 UTC by erik90mx
Modified: 2012-11-15 22:29 UTC (History)
2 users (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 erik90mx 2012-03-11 23:41:53 UTC
Application: krita (2.3.3)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: I just test the erase part of my Wacom tablet and change to the normal part quickly

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

Thread 5 (Thread 0x7f5fc25bd700 (LWP 9081)):
#0  0x00007f5fd7702034 in __pthread_mutex_lock (mutex=0x22ccee8) at pthread_mutex_lock.c:61
#1  0x00007f5fd722dfcc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5fd722e792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5fca58c516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f5fd72532b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5fd014156c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007f5fd76ffefc in start_thread (arg=0x7f5fc25bd700) at pthread_create.c:304
#7  0x00007f5fdc85359d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5fadb77700 (LWP 9114)):
#0  computeOffsets (signalOffset=0x7f5fadb76ba8, methodOffset=0x7f5fadb76bac, metaobject=<optimized out>) at kernel/qobject.cpp:236
#1  0x00007f5fdaf38768 in QMetaObject::activate (sender=0x59568d0, m=<optimized out>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3452
#2  0x00007f5fdaf564d8 in QEventDispatcherUNIX::processEvents (this=0x59568d0, flags=...) at kernel/qeventdispatcher_unix.cpp:906
#3  0x00007f5fdaf233e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f5fdaf23637 in QEventLoop::exec (this=0x7f5fadb76cd0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f5fdae23067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x00007f5fdaf0317f in QInotifyFileSystemWatcherEngine::run (this=0x5956000) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f5fdae2608b in QThreadPrivate::start (arg=0x5956000) at thread/qthread_unix.cpp:298
#8  0x00007f5fd014156c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#9  0x00007f5fd76ffefc in start_thread (arg=0x7f5fadb77700) at pthread_create.c:304
#10 0x00007f5fdc85359d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5faceea700 (LWP 9119)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5fdae2659b in wait (time=18446744073709551615, this=0x5c6c930) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5c6c8e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5fdae22819 in QSemaphore::tryAcquire (this=0x5c6c8a0, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#4  0x00007f5fbbe526ea in KisTileDataSwapper::run (this=0x5c44f10) at ../../../krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#5  0x00007f5fdae2608b in QThreadPrivate::start (arg=0x5c44f10) at thread/qthread_unix.cpp:298
#6  0x00007f5fd014156c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#7  0x00007f5fd76ffefc in start_thread (arg=0x7f5faceea700) at pthread_create.c:304
#8  0x00007f5fdc85359d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5fabd58700 (LWP 9124)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f5fdae24d58 in thread_sleep (ti=0x7f5fabd57c50) at thread/qthread_unix.cpp:435
#2  0x00007f5fdae25550 in QThread::msleep (msecs=<optimized out>) at thread/qthread_unix.cpp:461
#3  0x00007f5fab34c704 in SpaceNavigatorPollingThread::run (this=0xdad6000) at ../../../plugins/spacenavigator/SpaceNavigatorPollingThread.cpp:97
#4  0x00007f5fdae2608b in QThreadPrivate::start (arg=0xdad6000) at thread/qthread_unix.cpp:298
#5  0x00007f5fd014156c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007f5fd76ffefc in start_thread (arg=0x7f5fabd58700) at pthread_create.c:304
#7  0x00007f5fdc85359d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5fdceec7c0 (LWP 9078)):
[KCrash Handler]
#6  QString (other=) at /usr/include/qt4/QtCore/qstring.h:728
#7  KoCompositeOp::id (this=0x0) at ../../../libs/pigment/KoCompositeOp.cpp:98
#8  0x00007f5fbc31e8aa in KisPaintopBox::compositeOpChanged (this=0xde302a0) at ../../../krita/ui/kis_paintop_box.cc:531
#9  0x00007f5fbc31eaac in KisPaintopBox::eraseModeToggled (this=0xde302a0, checked=false) at ../../../krita/ui/kis_paintop_box.cc:480
#10 0x00007f5fbc324adf in KisPaintopBox::qt_metacall (this=0xde302a0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff30d06980) at ./kis_paintop_box.moc:111
#11 0x00007f5fdaf38be9 in QMetaObject::activate (sender=0xdfe04b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff30d06980) at kernel/qobject.cpp:3566
#12 0x00007f5fdbfa5e92 in QAbstractButton::toggled (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:227
#13 0x00007f5fdbce531e in QAbstractButton::setChecked (this=0xdfe04b0, checked=false) at widgets/qabstractbutton.cpp:766
#14 0x00007f5fbc322607 in KisPaintopBox::slotInputDeviceChanged (this=0xde302a0, inputDevice=<optimized out>) at ../../../krita/ui/kis_paintop_box.cc:300
#15 0x00007f5fbc324a44 in KisPaintopBox::qt_metacall (this=0xde302a0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff30d06c50) at ./kis_paintop_box.moc:103
#16 0x00007f5fdaf38be9 in QMetaObject::activate (sender=0x9da7f20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff30d06c50) at kernel/qobject.cpp:3566
#17 0x00007f5fd90bec05 in KoToolManager::inputDeviceChanged (this=<optimized out>, _t1=<optimized out>) at ./KoToolManager.moc:155
#18 0x00007f5fd90c5938 in switchInputDevice (device=..., this=0x58505d0) at ../../../libs/flake/KoToolManager.cpp:669
#19 KoToolManager::Private::switchInputDevice (this=0x58505d0, device=...) at ../../../libs/flake/KoToolManager.cpp:628
#20 0x00007f5fd90c5c8e in KoToolManager::eventFilter (this=0x9da7f20, object=0x7fff30d07e40, event=0x7fff30d07380) at ../../../libs/flake/KoToolManager.cpp:893
#21 0x00007f5fdaf246cc in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x215b500, receiver=0x7fff30d07e40, event=0x7fff30d07380) at kernel/qcoreapplication.cpp:967
#22 0x00007f5fdb918076 in QApplicationPrivate::notify_helper (this=0x215b500, receiver=0x7fff30d07e40, e=0x7fff30d07380) at kernel/qapplication.cpp:4530
#23 0x00007f5fdb91cf83 in QApplication::notify (this=0x7fff30d07e40, receiver=0x7fff30d07e40, e=0x7fff30d07380) at kernel/qapplication.cpp:4416
#24 0x00007f5fd827e9a6 in KApplication::notify (this=0x7fff30d07e40, receiver=0x7fff30d07e40, event=0x7fff30d07380) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f5fdaf245fc in QCoreApplication::notifyInternal (this=0x7fff30d07e40, receiver=0x7fff30d07e40, event=0x7fff30d07380) at kernel/qcoreapplication.cpp:876
#26 0x00007f5fdb986591 in sendSpontaneousEvent (event=0x7fff30d07380, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#27 QETWidget::translateXinputEvent (this=0x229a7d70, ev=0x7fff30d07bb0, tablet=0x21b48b0) at kernel/qapplication_x11.cpp:5070
#28 0x00007f5fdb994016 in QApplication::x11ProcessEvent (this=0x7fff30d07e40, event=0x7fff30d07bb0) at kernel/qapplication_x11.cpp:3524
#29 0x00007f5fdb9bdf8a in QEventDispatcherX11::processEvents (this=0x2151470, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#30 0x00007f5fdaf233e2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f5fdaf23637 in QEventLoop::exec (this=0x7fff30d07e00, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f5fdaf286c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#33 0x00007f5fdcb14235 in kdemain (argc=<optimized out>, argv=0x7fff30d07fd8) at ../../krita/main.cc:49
#34 0x00007f5fdc79130d in __libc_start_main (main=0x400630 <main(int, char**)>, argc=1, ubp_av=0x7fff30d07fd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff30d07fc8) at libc-start.c:226
#35 0x0000000000400661 in _start ()

Reported using DrKonqi
Comment 1 Halla Rempt 2012-03-12 08:38:20 UTC
Hi Erik,

Thank you for your report. This bug has been fixed in Krita 2.4, which will be released really soon now. I see you are using Ubuntu, so you could already upgrade to a beta of 2.4 by using a special ppa. The 2.4 beta releases have a lot of other bug fixes and new features as well.

 https://launchpad.net/~kubuntu-ppa/+archive/beta/+packages
Comment 2 erik90mx 2012-03-12 19:01:23 UTC
Ho yes now I'm using the Beta version of Kirta, now I have some issues with the zoom wheel of my Wacom and the full size canvas (pressing SHIFT), when I try to zoom in in certain area of my paint Krita it just throw me alone in some other part of the total canvas (I don't know if this worth but I have the horizontal mirror activated) 

I don't know what version of Krita I'm using right now, but I just compile it yesterday (11/03/2012)


Greetings

PD: The wheel zoom of my WAcom just work fine without the full screen mode (pressing SHIFT)

My Wacom is a old Bamboo Fun , Model: CTE-450
Comment 3 Halla Rempt 2012-03-13 09:15:46 UTC
Hm,  yes, I can reproduce that. It would be best to enter a separate bug for that, since otherwise we (that's the developers) will get confused todo lists :-). Could you please do that?
Comment 4 erik90mx 2012-03-13 23:02:39 UTC
OK, I did the report:
https://bugs.kde.org/show_bug.cgi?id=295965

just to know... about the mirror feature, it will be possible to reproduce the selections, scale, rotation and movements of a certain part of a image to the other side?, beacuse right now I just try and the changes only affect the selected part of the mirrored image.

jajaja is cool that you can reproduce this!!! because this is the first bug that I report in my live XD

Greetings
Comment 5 Halla Rempt 2012-03-14 07:48:56 UTC
Hm... Yes, I suppose we could, but it might be tricky to actually implement correctly.
Comment 6 Sven Langkamp 2012-11-15 22:29:14 UTC
*** Bug 310120 has been marked as a duplicate of this bug. ***