Bug 274657 - Karbon crashes while resizing text
Summary: Karbon crashes while resizing text
Status: RESOLVED WORKSFORME
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 05:33 UTC by Tianyu Zhu
Modified: 2011-10-13 21:58 UTC (History)
0 users

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 Tianyu Zhu 2011-06-01 05:33:06 UTC
Application: karbon (2.3.3)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to resize some text that I had written and I accidentally moved the mouse so that the height of the text was 0. Karbon crashed before I let go of the mouse button.

-- Backtrace:
Application: Karbon14 (karbon), signal: Segmentation fault
[Current thread is 1 (Thread 0xb610f720 (LWP 12732))]

Thread 3 (Thread 0xb3d5db70 (LWP 12733)):
#0  0x00f4dd41 in clock_gettime (clock_id=1, tp=0xb3d5cff0) at ../sysdeps/unix/clock_gettime.c:116
#1  0x01a8cdd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x01b594f2 in updateCurrentTime (this=0x9cc96e4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x9cc96e4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01b57d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3d5d0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01b57dcd in timerSourcePrepare (source=0x9cc96b0, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x05922fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x05923e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x05924524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01b58577 in QEventDispatcherGlib::processEvents (this=0x9cc9040, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x01b2a289 in QEventLoop::processEvents (this=0xb3d5d280, flags=...) at kernel/qeventloop.cpp:149
#12 0x01b2a522 in QEventLoop::exec (this=0xb3d5d280, flags=...) at kernel/qeventloop.cpp:201
#13 0x01a342a0 in QThread::exec (this=0x9cb84c0) at thread/qthread.cpp:492
#14 0x01b0bfdb in QInotifyFileSystemWatcherEngine::run (this=0x9cb84c0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x01a36da2 in QThreadPrivate::start (arg=0x9cb84c0) at thread/qthread_unix.cpp:320
#16 0x00b86e99 in start_thread (arg=0xb3d5db70) at pthread_create.c:304
#17 0x008f373e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb2611b70 (LWP 12735)):
#0  0x00f4dd41 in clock_gettime (clock_id=1, tp=0xb2610ff0) at ../sysdeps/unix/clock_gettime.c:116
#1  0x01a8cdd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x01b594f2 in updateCurrentTime (this=0x99f2dbc, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x99f2dbc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01b57d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb26110cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01b57dcd in timerSourcePrepare (source=0x99f2d88, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x05922fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x05923e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x05924524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01b58577 in QEventDispatcherGlib::processEvents (this=0x9a44f88, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x01b2a289 in QEventLoop::processEvents (this=0xb2611280, flags=...) at kernel/qeventloop.cpp:149
#12 0x01b2a522 in QEventLoop::exec (this=0xb2611280, flags=...) at kernel/qeventloop.cpp:201
#13 0x01a342a0 in QThread::exec (this=0x9d38760) at thread/qthread.cpp:492
#14 0x01b0bfdb in QInotifyFileSystemWatcherEngine::run (this=0x9d38760) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x01a36da2 in QThreadPrivate::start (arg=0x9d38760) at thread/qthread_unix.cpp:320
#16 0x00b86e99 in start_thread (arg=0xb2611b70) at pthread_create.c:304
#17 0x008f373e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb610f720 (LWP 12732)):
[KCrash Handler]
#7  QCursor::shape (this=0xbe63784) at kernel/qcursor.cpp:449
#8  0x010dd84b in QWidget::setCursor (this=0xbc4ac08, cursor=...) at kernel/qwidget.cpp:5017
#9  0x001487e4 in KarbonCanvas::setCursor (this=0xbc4ac08, cursor=...) at ../../../karbon/ui/widgets/KarbonCanvas.cpp:433
#10 0x00a82ae6 in KoToolManager::Private::updateCursor (this=0xbc747f8, cursor=...) at ../../../libs/flake/KoToolManager.cpp:562
#11 0x00a89e58 in KoToolManager::qt_metacall (this=0xbc689f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc0c9f8) at ./KoToolManager.moc:118
#12 0x01b316ba in QMetaObject::metacall (object=0xbc689f0, cl=QMetaObject::InvokeMetaMethod, idx=15, argv=0xbfc0c9f8) at kernel/qmetaobject.cpp:237
#13 0x01b414ff in QMetaObject::activate (sender=0xbf12168, m=0xaeca48, local_signal_index=3, argv=0xbfc0c9f8) at kernel/qobject.cpp:3287
#14 0x00a73153 in KoToolBase::cursorChanged (this=0xbf12168, _t1=...) at ./KoToolBase.moc:132
#15 0x00a7319e in KoToolBase::useCursor (this=0xbf12168, cursor=...) at ../../../libs/flake/KoToolBase.cpp:133
#16 0x02bc04d5 in DefaultTool::updateCursor (this=0xbf12168) at ../../../plugins/defaultTools/defaulttool/DefaultTool.cpp:478
#17 0x02bc31fc in DefaultTool::mouseMoveEvent (this=0xbf12168, event=0xbfc0cb84) at ../../../plugins/defaultTools/defaulttool/DefaultTool.cpp:547
#18 0x00a8d462 in KoToolProxy::mouseMoveEvent (this=0xbc4be48, event=0xbfc0d244, point=...) at ../../../libs/flake/KoToolProxy.cpp:249
#19 0x00148dcf in KarbonCanvas::mouseMoveEvent (this=0xbc4ac08, e=0xbfc0d244) at ../../../karbon/ui/widgets/KarbonCanvas.cpp:201
#20 0x010de172 in QWidget::event (this=0xbc4ac08, event=0xbfc0d244) at kernel/qwidget.cpp:8244
#21 0x00148e32 in KarbonCanvas::event (this=0xbc4ac08, e=0xbfc0d244) at ../../../karbon/ui/widgets/KarbonCanvas.cpp:139
#22 0x01085d24 in QApplicationPrivate::notify_helper (this=0x98dcbc8, receiver=0xbc4ac08, e=0xbfc0d244) at kernel/qapplication.cpp:4462
#23 0x0108b201 in QApplication::notify (this=0xbfc0daa0, receiver=0xbc4ac08, e=0xbfc0d244) at kernel/qapplication.cpp:4023
#24 0x01e49dba in KApplication::notify (this=0xbfc0daa0, receiver=0xbc4ac08, event=0xbfc0d244) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x01b2b0bb in QCoreApplication::notifyInternal (this=0xbfc0daa0, receiver=0xbc4ac08, event=0xbfc0d244) at kernel/qcoreapplication.cpp:731
#26 0x01086c3b in sendSpontaneousEvent (receiver=0xbc4ac08, event=0xbfc0d244, alienWidget=0x0, nativeWidget=0xbc4ac08, buttonDown=0x19d2c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#27 QApplicationPrivate::sendMouseEvent (receiver=0xbc4ac08, event=0xbfc0d244, alienWidget=0x0, nativeWidget=0xbc4ac08, buttonDown=0x19d2c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#28 0x011102bc in QETWidget::translateMouseEvent (this=0xbc4ac08, event=0xbfc0d76c) at kernel/qapplication_x11.cpp:4556
#29 0x0110e746 in QApplication::x11ProcessEvent (this=0xbfc0daa0, event=0xbfc0d76c) at kernel/qapplication_x11.cpp:3678
#30 0x01139b84 in x11EventSourceDispatch (s=0x98e0140, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x05923aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x05924270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x05924524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0x01b5853c in QEventDispatcherGlib::processEvents (this=0x9880a78, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x01139775 in QGuiEventDispatcherGlib::processEvents (this=0x9880a78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x01b2a289 in QEventLoop::processEvents (this=0xbfc0da34, flags=...) at kernel/qeventloop.cpp:149
#37 0x01b2a522 in QEventLoop::exec (this=0xbfc0da34, flags=...) at kernel/qeventloop.cpp:201
#38 0x01b2eecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x010838e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#40 0x00f55aa1 in kdemain (argc=1, argv=0xbfc0dbb4) at ../../karbon/main.cc:50
#41 0x080485bb in main (argc=1, argv=0xbfc0dbb4) at karbon_dummy.cpp:3

Reported using DrKonqi
Comment 1 Jan Hambrecht 2011-06-13 19:04:42 UTC
Which text shape have you used. The artistic text shape (vector text) or the normal text shape?
Comment 2 Jan Hambrecht 2011-10-13 21:58:17 UTC
I am not able to reproduce a crash with either of the two text shapes. If you still manage to make it crash please reopen the bug report.