Bug 274074 - Krita Crashed after selecting the hand tool
Summary: Krita Crashed after selecting the hand tool
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 274231 274257 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-25 00:06 UTC by RamonMiranda
Modified: 2011-05-28 16:38 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 RamonMiranda 2011-05-25 00:06:01 UTC
Application: krita (2.4 Alpha 1)
KDE Platform Version: 4.5.5 (KDE 4.5.5) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
open Krita 
RGB image 
select the hand tool
and hit the options but krita crash
Krita 2.4.1 from script.

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

Thread 8 (Thread 0x7f2ea6806700 (LWP 2202)):
#0  0x00007f2eb1843203 in poll () from /lib/libc.so.6
#1  0x00007f2eb0ca2009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f2eb0ca27b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f2ea6f3d3c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f2eb0cc77e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f2eb75ce953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f2eb8eab971 in start_thread () from /lib/libpthread.so.0
#7  0x00007f2eb184f92d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2e8b899700 (LWP 2289)):
#0  0x00007f2eb8eafa9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2eb9136e3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f2eb9132b0b in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3  0x00007f2eb85f2dde in KisTileDataPooler::waitForWork (this=0x7f2ea37af430) at /home/ramon/Descargas/calligra/calligra-src/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  0x00007f2eb85f35f8 in KisTileDataPooler::run (this=0x7f2ea37af430) at /home/ramon/Descargas/calligra/calligra-src/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007f2eb913627e in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f2eb75ce953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007f2eb8eab971 in start_thread () from /lib/libpthread.so.0
#8  0x00007f2eb184f92d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2e8c09a700 (LWP 2290)):
#0  0x00007f2eb8eafa9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2eb9136e3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f2eb9132dab in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#3  0x00007f2eb8610aca in KisTileDataSwapper::run (this=0x7f2ea37af468) at /home/ramon/Descargas/calligra/calligra-src/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#4  0x00007f2eb913627e in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f2eb75ce953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f2eb8eab971 in start_thread () from /lib/libpthread.so.0
#7  0x00007f2eb184f92d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2e8b098700 (LWP 2297)):
#0  0x00007f2eb8eafe09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2eb9136da2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f2eb912bda2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f2eb913627e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f2eb75ce953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5  0x00007f2eb8eab971 in start_thread () from /lib/libpthread.so.0
#6  0x00007f2eb184f92d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2e84952700 (LWP 2298)):
#0  0x00007f2eb8eafe09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2eb9136da2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f2eb912bda2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f2eb913627e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f2eb75ce953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5  0x00007f2eb8eab971 in start_thread () from /lib/libpthread.so.0
#6  0x00007f2eb184f92d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2e779d0700 (LWP 2299)):
#0  0x00007f2eb8eafe09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2eb9136da2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f2eb912bda2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f2eb913627e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f2eb75ce953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5  0x00007f2eb8eab971 in start_thread () from /lib/libpthread.so.0
#6  0x00007f2eb184f92d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2e771cf700 (LWP 2300)):
#0  0x00007f2eb8eafe09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f2eb9136da2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f2eb912bda2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f2eb913627e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f2eb75ce953 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5  0x00007f2eb8eab971 in start_thread () from /lib/libpthread.so.0
#6  0x00007f2eb184f92d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2eb99327a0 (LWP 2201)):
[KCrash Handler]
#6  0x00007f2eb7db43f4 in KoPartManager::eventFilter(QObject*, QEvent*) () from /home/ramon/Descargas/calligra/calligra-inst/lib/libkomain.so.8
#7  0x00007f2eb92295cb in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#8  0x00007f2eb3113f56 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#9  0x00007f2eb311a30e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f2eb3e67586 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#11 0x00007f2eb9229cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#12 0x00007f2eb3118dbe in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#13 0x00007f2eb319c345 in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007f2eb319ac5c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#15 0x00007f2eb31c7b6f in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f2eb9228a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#17 0x00007f2eb9228dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0x00007f2eb922cebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#19 0x00007f2eb95602f5 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/ramon/Descargas/calligra/calligra-src/krita/main.cc:49
#20 0x00007f2eb1787d8e in __libc_start_main () from /lib/libc.so.6
#21 0x0000000000400879 in _start ()

Possible duplicates by query: bug 175794, bug 173565.

Reported using DrKonqi
Comment 1 Sven Langkamp 2011-05-26 22:19:38 UTC
What options did you click? Is it reproduceable?
Comment 2 RamonMiranda 2011-05-27 00:32:48 UTC
(In reply to comment #1)
> What options did you click? Is it reproduceable?

I have the same crash type sometimes , it is not Always crashing
Comment 3 Sven Langkamp 2011-05-27 00:35:42 UTC
*** Bug 274231 has been marked as a duplicate of this bug. ***
Comment 4 Halla Rempt 2011-05-27 09:17:39 UTC
I'm a bit confused: which tool do you mean? The tool with the hand icon -- i.e., pan, or the freehand paint tool? There's one other problem with your backtrace and that that is that it doesn't look like you compiled with debug symbols. That's probably selected in the script. If you are around on irc today, we can help you get the debug symbols enabled so the backtrace is more useful.
Comment 5 Halla Rempt 2011-05-27 09:33:27 UTC
Ah, I found the irc backlog. Unless sven found out it's the widget style, recompiling with debug info might still be useful. But I'm beginning to suspect the style.
Comment 6 Halla Rempt 2011-05-28 12:22:11 UTC
Okay... Not the widget style. I haven't been able to reproduce though.
Comment 7 Halla Rempt 2011-05-28 12:23:11 UTC
*** Bug 274257 has been marked as a duplicate of this bug. ***
Comment 8 Halla Rempt 2011-05-28 16:38:39 UTC
Git commit 173495403a7fae9449fd141b10dc2d5437cc619b by Boudewijn Rempt.
Committed on 28/05/2011 at 16:34.
Pushed by rempt into branch 'master'.

KoPartManager: Be extra careful in event filter

Under some circumstances, apparently Qt passes a 0 to the eventFilter
arguments. This caused a crash for a krita user under Ubuntu 10.4. The
user confirms that this change fixes the bug for him. We were not able
to figure whether it was the theme or Qt who caused this problem.
BUG: 274074

M  +1    -1    libs/main/KoMainWindow.cpp     

http://commits.kde.org/calligra/173495403a7fae9449fd141b10dc2d5437cc619b