Bug 297454 - Resizing an artistic text height to zero can cause a crash
Summary: Resizing an artistic text height to zero can cause a crash
Status: RESOLVED DUPLICATE of bug 297747
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-04 10:00 UTC by Antoine
Modified: 2012-04-09 11:37 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 Antoine 2012-04-04 10:00:16 UTC
Create an artistic text.
Zoom at least to 200% to make this more easy to reproduce.
Resize the artistic height to zero.
Comment 1 Antoine 2012-04-04 21:29:58 UTC
Here is the backtrace:

Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcfbb2707c0 (LWP 7437))]

Thread 7 (Thread 0x7fcf92ce7700 (LWP 7438)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fcfb87394cb in wait (time=18446744073709551615, this=0x4d160c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4d16070, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fcfb8735304 in QSemaphore::acquire (this=0x4d15dc0, n=1) at thread/qsemaphore.cpp:144
#4  0x00007fcfa25cfc8e in ?? () from /usr/lib/libkritaimage.so.9
#5  0x00007fcfa25d0374 in ?? () from /usr/lib/libkritaimage.so.9
#6  0x00007fcfb8738fbb in QThreadPrivate::start (arg=0x4d15db0) at thread/qthread_unix.cpp:298
#7  0x00007fcfadbfd454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007fcfb3e80e9a in start_thread (arg=0x7fcf92ce7700) at pthread_create.c:308
#9  0x00007fcfba7fa4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fcf924e6700 (LWP 7439)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fcfb87394cb in wait (time=18446744073709551615, this=0x4d16450) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4d16400, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fcfb8735749 in QSemaphore::tryAcquire (this=0x4d16130, n=1, timeout=-1) at thread/qsemaphore.cpp:221
#4  0x00007fcfa25f0e9a in KisTileDataSwapper::run() () from /usr/lib/libkritaimage.so.9
#5  0x00007fcfb8738fbb in QThreadPrivate::start (arg=0x4d15de8) at thread/qthread_unix.cpp:298
#6  0x00007fcfadbfd454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007fcfb3e80e9a in start_thread (arg=0x7fcf924e6700) at pthread_create.c:308
#8  0x00007fcfba7fa4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fcf80459700 (LWP 7445)):
#0  0x00007fff21d7a8de in ?? ()
#1  0x00007fcfb1fcc15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fcfb878f654 in do_gettime (frac=0x7fcf80458b68, sec=0x7fcf80458b60) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fcfb88671fd in QTimerInfoList::updateCurrentTime (this=0x7fcf78001198) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fcfb8867533 in QTimerInfoList::timerWait (this=0x7fcf78001198, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fcfb88693a1 in QEventDispatcherUNIX::processEvents (this=0x7fcf78000910, flags=...) at kernel/qeventdispatcher_unix.cpp:913
#7  0x00007fcfb88362f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fcfb8836547 in QEventLoop::exec (this=0x7fcf80458cd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fcfb8735f97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007fcfb881606f in QInotifyFileSystemWatcherEngine::run (this=0x52def80) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007fcfb8738fbb in QThreadPrivate::start (arg=0x52def80) at thread/qthread_unix.cpp:298
#12 0x00007fcfadbfd454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007fcfb3e80e9a in start_thread (arg=0x7fcf80459700) at pthread_create.c:308
#14 0x00007fcfba7fa4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fcf7fc50700 (LWP 7449)):
#0  0x00007fff21d7a8de in ?? ()
#1  0x00007fcfb1fcc15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fcfb878f654 in do_gettime (frac=0x7fcf7fc4fb68, sec=0x7fcf7fc4fb60) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fcfb88671fd in QTimerInfoList::updateCurrentTime (this=0x7fcf70001198) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fcfb8867533 in QTimerInfoList::timerWait (this=0x7fcf70001198, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fcfb88693a1 in QEventDispatcherUNIX::processEvents (this=0x7fcf70000910, flags=...) at kernel/qeventdispatcher_unix.cpp:913
#7  0x00007fcfb88362f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fcfb8836547 in QEventLoop::exec (this=0x7fcf7fc4fcd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fcfb8735f97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007fcfb881606f in QInotifyFileSystemWatcherEngine::run (this=0x5405580) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007fcfb8738fbb in QThreadPrivate::start (arg=0x5405580) at thread/qthread_unix.cpp:298
#12 0x00007fcfadbfd454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007fcfb3e80e9a in start_thread (arg=0x7fcf7fc50700) at pthread_create.c:308
#14 0x00007fcfba7fa4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fcf7d4aa700 (LWP 7462)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fcfb87394cb in wait (time=18446744073709551615, this=0x5d08ff0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5d08b70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fcfb9736af4 in QFileInfoGatherer::run (this=0x5d08b60) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007fcfb8738fbb in QThreadPrivate::start (arg=0x5d08b60) at thread/qthread_unix.cpp:298
#5  0x00007fcfadbfd454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fcfb3e80e9a in start_thread (arg=0x7fcf7d4aa700) at pthread_create.c:308
#7  0x00007fcfba7fa4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcf7cca1700 (LWP 7463)):
#0  0x00007fff21d7a8de in ?? ()
#1  0x00007fcfb1fcc15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fcfb878f654 in do_gettime (frac=0x7fcf7cca0b68, sec=0x7fcf7cca0b60) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fcfb88671fd in QTimerInfoList::updateCurrentTime (this=0x7fcf6c001198) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fcfb8867533 in QTimerInfoList::timerWait (this=0x7fcf6c001198, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fcfb88693a1 in QEventDispatcherUNIX::processEvents (this=0x7fcf6c000910, flags=...) at kernel/qeventdispatcher_unix.cpp:913
#7  0x00007fcfb88362f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fcfb8836547 in QEventLoop::exec (this=0x7fcf7cca0cd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fcfb8735f97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007fcfb881606f in QInotifyFileSystemWatcherEngine::run (this=0x5d069f0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007fcfb8738fbb in QThreadPrivate::start (arg=0x5d069f0) at thread/qthread_unix.cpp:298
#12 0x00007fcfadbfd454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#13 0x00007fcfb3e80e9a in start_thread (arg=0x7fcf7cca1700) at pthread_create.c:308
#14 0x00007fcfba7fa4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcfbb2707c0 (LWP 7437)):
[KCrash Handler]
#6  QCursor::shape (this=<optimized out>) at kernel/qcursor.cpp:450
#7  0x00007fcfb9279a2f in QWidget::setCursor (this=<optimized out>, cursor=...) at kernel/qwidget.cpp:5098
#8  0x00007fcfb68d533d in ?? () from /usr/lib/libflake.so.9
#9  0x00007fcfb884b8f1 in QMetaObject::activate (sender=0x649b820, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff21c3c0c0) at kernel/qobject.cpp:3547
#10 0x00007fcfb68bda75 in KoToolBase::cursorChanged(QCursor const&) () from /usr/lib/libflake.so.9
#11 0x00007fcf9b3cd4cb in ?? () from /usr/lib/kde4/defaulttools.so
#12 0x00007fcf9b3d1b9b in ?? () from /usr/lib/kde4/defaulttools.so
#13 0x00007fcfb68d90b2 in KoToolProxy::mouseMoveEvent(QMouseEvent*, QPointF const&) () from /usr/lib/libflake.so.9
#14 0x00007fcfa2a7419c in ?? () from /usr/lib/libkritaui.so.9
#15 0x00007fcfb927cf98 in QWidget::event (this=0x5f86130, event=0x7fff21c3cbb0) at kernel/qwidget.cpp:8346
#16 0x00007fcfb922c6b4 in notify_helper (e=0x7fff21c3cbb0, receiver=0x5f86130, this=0x11ef3f0) at kernel/qapplication.cpp:4555
#17 QApplicationPrivate::notify_helper (this=0x11ef3f0, receiver=0x5f86130, e=0x7fff21c3cbb0) at kernel/qapplication.cpp:4527
#18 0x00007fcfb9231edf in QApplication::notify (this=<optimized out>, receiver=0x5f86130, e=0x7fff21c3cbb0) at kernel/qapplication.cpp:4098
#19 0x00007fcfb9f65906 in KApplication::notify (this=0x7fff21c3d720, receiver=0x5f86130, event=0x7fff21c3cbb0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fcfb883750c in QCoreApplication::notifyInternal (this=0x7fff21c3d720, receiver=0x5f86130, event=0x7fff21c3cbb0) at kernel/qcoreapplication.cpp:876
#21 0x00007fcfb922d682 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QApplicationPrivate::sendMouseEvent (receiver=0x5f86130, event=0x7fff21c3cbb0, alienWidget=0x5f86130, nativeWidget=0x5f5f660, buttonDown=0x5f86130, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3166
#23 0x00007fcfb92aca15 in QETWidget::translateMouseEvent (this=0x5f5f660, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#24 0x00007fcfb92ab9ce in QApplication::x11ProcessEvent (this=0x7fff21c3d720, event=0x7fff21c3d490) at kernel/qapplication_x11.cpp:3732
#25 0x00007fcfb92d58fa in QEventDispatcherX11::processEvents (this=0x11321d0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#26 0x00007fcfb88362f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007fcfb8836547 in QEventLoop::exec (this=0x7fff21c3d6e0, flags=...) at kernel/qeventloop.cpp:204
#28 0x00007fcfb883b5d7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#29 0x00007fcfbac9621d in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_krita.so
#30 0x00007fcfba72976d in __libc_start_main (main=0x400630, argc=1, ubp_av=0x7fff21c3d8e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff21c3d8d8) at libc-start.c:226
#31 0x0000000000400661 in _start ()
Comment 2 Halla Rempt 2012-04-08 12:55:19 UTC
I must be doing something wrong, because when I resize the text height to 0, it flips out to the other side.
Comment 3 Halla Rempt 2012-04-08 13:18:29 UTC
Can you reproduce this crash in Karbon?
Comment 4 Antoine 2012-04-08 13:41:43 UTC
I can not repoduce it reliably in Krita;  however, while trying to reproduce it, I had this variation;
(CMYK / 2000x800/ artistic text on the whole iamge)

I recorded the amount of memory used by Krita with: $ while true; do top -p`pidof krita` -n 1 -b >> krita.top; sleep 1; done 
Here is the result when I hit a size equal to zero: (after ~ 20 seconds; the capture if done each second)
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND   
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita     
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita          
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita          
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita          
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita          
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita          
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita          
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita          
24862 ant       20   0 1478m 329m  84m S    0 11.0   0:12.08 krita          
24862 ant       20   0 1478m 329m  84m S    0 11.0
24862 ant       20   0 1478m 329m  84m S    2 11.0
24862 ant       20   0 1478m 329m  84m S    8 11.0
24862 ant       20   0 1478m 329m  84m S    0 11.0
24862 ant       20   0 1478m 329m  84m S    2 11.0
24862 ant       20   0 1478m 329m  84m S    0 11.0
24862 ant       20   0 1478m 329m  84m S    4 11.0
24862 ant       20   0 1478m 329m  84m S    4 11.0
24862 ant       20   0 1502m 360m  84m S   50 12.0
24862 ant       20   0 1502m 360m  84m R   10 12.0
24862 ant       20   0 1574m 361m  84m S   10 12.0
24862 ant       20   0 1603m 391m  84m R  136 13.0
24862 ant       20   0 1603m 392m  84m R  162 13.0
24862 ant       20   0 1603m 392m  84m R  140 13.0
24862 ant       20   0 1603m 392m  84m S  110 13.1
24862 ant       20   0 1603m 392m  84m S    4 13.1
24862 ant       20   0 1603m 392m  84m S   72 13.1
24862 ant       20   0 1603m 392m  84m S    0 13.1
24862 ant       20   0 1603m 393m  84m R   80 13.1
24862 ant       20   0 1603m 394m  84m S  120 13.1
24862 ant       20   0 1603m 394m  84m R  150 13.1
24862 ant       20   0 1603m 394m  84m S    4 13.1
24862 ant       20   0 1603m 394m  84m R  190 13.1
24862 ant       20   0 1884m 675m  84m R  100 22.5
24862 ant       20   0 2043m 834m  84m R   98 27.7
24862 ant       20   0 2144m 935m  84m R  100 31.1
24862 ant       20   0 2227m 1.0g  84m R  100 33.8
24862 ant       20   0 2298m 1.1g  84m R  100 36.2
24862 ant       20   0 2361m 1.1g  84m R  100 38.3
24862 ant       20   0 2419m 1.2g  84m R  100 40.2
24862 ant       20   0 2473m 1.2g  84m R   98 42.0
24862 ant       20   0 2525m 1.3g  84m R  100 43.7
24862 ant       20   0 2571m 1.3g  84m R   98 45.3
24862 ant       20   0 2616m 1.4g  84m R  100 46.8
24862 ant       20   0 2659m 1.4g  84m R   98 48.2
24862 ant       20   0 2700m 1.5g  84m R   98 49.5
24862 ant       20   0 2632m 1.4g  82m R  100 47.1
24862 ant       20   0 2666m 1.4g  82m R  100 48.3
24862 ant       20   0 2700m 1.5g  82m R  100 49.4
24862 ant       20   0 2733m 1.5g  82m R   98 50.5
24862 ant       20   0 2761m 1.5g  76m D   50 51.2
24862 ant       20   0 2804m 1.5g  39m R  100 51.3
24862 ant       20   0 2843m 1.5g  35m R   94 52.5
24862 ant       20   0 2885m 1.6g  32m D   95 53.8
24862 ant       20   0 2932m 1.6g  19m R  100 54.9
24862 ant       20   0 2962m 1.6g  17m D   71 55.8
24862 ant       20   0 3005m 1.7g  17m D   48 57.2
24862 ant       20   0 3051m 1.7g  17m R   51 58.7
24862 ant       20   0 3073m 1.7g  16m R   44 59.3
24862 ant       20   0 3100m 1.8g  17m D   27 59.6
24862 ant       20   0 3100m 1.8g  17m D    2 59.6
24862 ant       20   0 3100m 1.8g  16m R   98 59.6
24862 ant       20   0 3100m 1.7g  12m R   98 59.3
24862 ant       20   0 3100m 1.7g  12m D   85 59.3
24862 ant       20   0 3100m 1.7g  12m D   98 59.3
24862 ant       20   0 3100m 1.7g  12m R  100 59.3
24862 ant       20   0 3100m 1.7g  12m D   42 59.3
24862 ant       20   0 3100m 1.7g  12m R   89 59.3
24862 ant       20   0 3120m 1.8g  12m D   14 60.0
24862 ant       20   0 3120m 1.8g  16m D    0 60.0
24862 ant       20   0 3120m 1.8g  17m D    8 60.1
24862 ant       20   0 3120m 1.8g  19m D   16 60.3
24862 ant       20   0 3124m 1.8g  20m R  100 60.3
24862 ant       20   0 3124m 1.8g  20m R  100 60.3
24862 ant       20   0 3124m 1.8g  21m R  100 60.4
24862 ant       20   0 3124m 1.8g  22m R  100 60.4
24862 ant       20   0 3130m 1.8g  23m D   54 60.6
24862 ant       20   0 3130m 1.8g  25m D    6 60.8
24862 ant       20   0 3130m 1.8g  16m D    0 60.5
24862 ant       20   0 3130m 1.8g  16m D   10 60.5
24862 ant       20   0 3130m 1.8g  18m D   17 60.6
24862 ant       20   0 3130m 1.8g  20m D   16 60.7
24862 ant       20   0 3130m 1.8g  17m R   46 60.6
24862 ant       20   0 3130m 1.8g  17m R  100 60.6
24862 ant       20   0 3130m 1.8g  18m R  100 60.7
24862 ant       20   0 3130m 1.8g  18m R  100 60.7
24862 ant       20   0 3130m 1.8g  19m R  100 60.7
24862 ant       20   0 3130m 1.8g  20m R  100 60.7
24862 ant       20   0 3136m 1.8g  21m D   12 61.0
24862 ant       20   0 3137m 1.8g  26m R   78 61.2
24862 ant       20   0 3137m 1.8g  19m R   96 60.9
24862 ant       20   0 3137m 1.8g  16m R  100 60.7
24862 ant       20   0 3137m 1.8g  16m R   98 60.7
24862 ant       20   0 3137m 1.8g  17m R   98 60.8
24862 ant       20   0 3140m 1.8g  18m R   94 60.9
24862 ant       20   0 3143m 1.8g  18m D    6 61.0
24862 ant       20   0 3143m 1.8g  19m D    6 61.1
24862 ant       20   0 3143m 1.8g  19m D    4 61.1
24862 ant       20   0 3143m 1.8g  22m R   46 61.2
24862 ant       20   0 3143m 1.8g  17m R  100 61.1
24862 ant       20   0 3143m 1.8g  14m R  102 61.0
24862 ant       20   0 3143m 1.8g  15m R  100 61.0
24862 ant       20   0 3143m 1.8g  14m R  100 61.0
24862 ant       20   0 3143m 1.8g  15m R  102 61.0
24862 ant       20   0 3149m 1.8g  20m R   82 61.4
24862 ant       20   0 3149m 1.8g  22m R  100 61.5
24862 ant       20   0 3149m 1.8g  23m R   98 61.5
24862 ant       20   0 3149m 1.8g  24m R   84 61.5
24862 ant       20   0 3149m 1.8g  25m R  102 61.5
24862 ant       20   0 3156m 1.8g  24m R   90 61.7
24862 ant       20   0 3156m 1.8g  28m R  100 61.9
24862 ant       20   0 3156m 1.8g  29m R  100 61.9
24862 ant       20   0 3156m 1.8g  30m R  102 61.9
24862 ant       20   0 3156m 1.8g  28m R  100 61.9
24862 ant       20   0 3162m 1.8g  15m R   66 61.6
24862 ant       20   0 3163m 1.8g  21m R  100 61.9
24862 ant       20   0 3163m 1.8g  19m R  100 61.8
24862 ant       20   0 3163m 1.8g  19m R  100 61.8
24862 ant       20   0 3163m 1.8g  19m R   36 61.8
24862 ant       20   0 3163m 1.8g  19m R   98 61.8
24862 ant       20   0 3163m 1.8g  19m D   68 61.8
24862 ant       20   0 3163m 1.8g  19m D   84 61.7
24862 ant       20   0 3163m 1.8g  18m R  100 61.6
24862 ant       20   0 3121m 1.8g  21m D    8 60.3
24862 ant       20   0 3121m 1.8g  24m D    8 60.4
24862 ant       20   0 3121m 1.8g  25m D    4 60.5
24862 ant       20   0 3121m 1.8g  26m R   80 60.5
24862 ant       20   0 3121m 1.8g  26m R   86 60.5
24862 ant       20   0 3121m 1.8g  26m S   10 60.5
24862 ant       20   0 3121m 1.8g  26m S    8 60.5
24862 ant       20   0 3121m 1.8g  26m S   16 60.5

It doesn't crash in this case, but the whole desktop becomes obviously irresponsive.
Comment 5 Antoine 2012-04-08 16:48:21 UTC
I can reproduce it in Karbon as well with the same method.

Application: Karbon (karbon), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f28e23b07c0 (LWP 2820))]

Thread 3 (Thread 0x7f28be9a4700 (LWP 2821)):
#0  0x00007f28e1d02b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f28db0050e6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f28db005214 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f28e0e43a96 in QEventDispatcherGlib::processEvents (this=0x7f28b80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f28e0e132f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f28e0e13547 in QEventLoop::exec (this=0x7f28be9a3cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f28e0d12f97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f28e0df306f in QInotifyFileSystemWatcherEngine::run (this=0x230b360) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f28e0d15fbb in QThreadPrivate::start (arg=0x230b360) at thread/qthread_unix.cpp:298
#9  0x00007f28d532c454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f28db8c9e9a in start_thread (arg=0x7f28be9a4700) at pthread_create.c:308
#11 0x00007f28e1d0e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f28bd206700 (LWP 2825)):
#0  0x00007ffffb7948de in ?? ()
#1  0x00007f28db2b615d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f28e0d6c654 in do_gettime (frac=0x7f28bd205a98, sec=0x7f28bd205a90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f28e0e441fd in QTimerInfoList::updateCurrentTime (this=0x7f28b0002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f28e0e44533 in QTimerInfoList::timerWait (this=0x7f28b0002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f28e0e42fec in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f28bd205b6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f28e0e43095 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f28db00480e in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f28db00500b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f28db005214 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f28e0e43a96 in QEventDispatcherGlib::processEvents (this=0x7f28b00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f28e0e132f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f28e0e13547 in QEventLoop::exec (this=0x7f28bd205cd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f28e0d12f97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f28e0df306f in QInotifyFileSystemWatcherEngine::run (this=0x2430570) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f28e0d15fbb in QThreadPrivate::start (arg=0x2430570) at thread/qthread_unix.cpp:298
#17 0x00007f28d532c454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#18 0x00007f28db8c9e9a in start_thread (arg=0x7f28bd206700) at pthread_create.c:308
#19 0x00007f28e1d0e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f28e23b07c0 (LWP 2820)):
[KCrash Handler]
#6  QCursor::shape (this=<optimized out>) at kernel/qcursor.cpp:450
#7  0x00007f28e01e4a2f in QWidget::setCursor (this=<optimized out>, cursor=...) at kernel/qwidget.cpp:5098
#8  0x00007f28df60933d in ?? () from /usr/lib/libflake.so.9
#9  0x00007f28e0e288f1 in QMetaObject::activate (sender=0x66109a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffb752890) at kernel/qobject.cpp:3547
#10 0x00007f28df5f1a75 in KoToolBase::cursorChanged(QCursor const&) () from /usr/lib/libflake.so.9
#11 0x00007f28c985f4cb in ?? () from /usr/lib/kde4/defaulttools.so
#12 0x00007f28c9863b9b in ?? () from /usr/lib/kde4/defaulttools.so
#13 0x00007f28df60d0b2 in KoToolProxy::mouseMoveEvent(QMouseEvent*, QPointF const&) () from /usr/lib/libflake.so.9
#14 0x00007f28e19f7957 in ?? () from /usr/lib/libkarbonui.so.9
#15 0x00007f28e01e7f98 in QWidget::event (this=0x5d9f5f0, event=0x7ffffb753390) at kernel/qwidget.cpp:8346
#16 0x00007f28e01976b4 in notify_helper (e=0x7ffffb753390, receiver=0x5d9f5f0, this=0x1d9ad20) at kernel/qapplication.cpp:4555
#17 QApplicationPrivate::notify_helper (this=0x1d9ad20, receiver=0x5d9f5f0, e=0x7ffffb753390) at kernel/qapplication.cpp:4527
#18 0x00007f28e019cedf in QApplication::notify (this=<optimized out>, receiver=0x5d9f5f0, e=0x7ffffb753390) at kernel/qapplication.cpp:4098
#19 0x00007f28de255906 in KApplication::notify (this=0x7ffffb754040, receiver=0x5d9f5f0, event=0x7ffffb753390) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f28e0e1450c in QCoreApplication::notifyInternal (this=0x7ffffb754040, receiver=0x5d9f5f0, event=0x7ffffb753390) at kernel/qcoreapplication.cpp:876
#21 0x00007f28e0198682 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QApplicationPrivate::sendMouseEvent (receiver=0x5d9f5f0, event=0x7ffffb753390, alienWidget=0x0, nativeWidget=0x5d9f5f0, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3166
#23 0x00007f28e0217a15 in QETWidget::translateMouseEvent (this=0x5d9f5f0, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#24 0x00007f28e02169ce in QApplication::x11ProcessEvent (this=0x7ffffb754040, event=0x7ffffb753c60) at kernel/qapplication_x11.cpp:3732
#25 0x00007f28e023fe92 in x11EventSourceDispatch (s=0x1d9e520, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f28db004d8a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f28db005150 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f28db005214 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f28e0e43a2f in QEventDispatcherGlib::processEvents (this=0x1ca5ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f28e023fb1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f28e0e132f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f28e0e13547 in QEventLoop::exec (this=0x7ffffb754000, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f28e0e185d7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0x00007f28e1fd9d95 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_karbon.so
#35 0x00007f28e1c3d76d in __libc_start_main (main=0x400630, argc=1, ubp_av=0x7ffffb7541d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffb7541c8) at libc-start.c:226
#36 0x0000000000400661 in _start ()
Comment 6 Halla Rempt 2012-04-09 11:37:55 UTC

*** This bug has been marked as a duplicate of bug 297747 ***