Bug 297738 - Resize a shape to a height equal to zero can cause a crash
Summary: Resize a shape to a height equal to zero can cause a crash
Status: RESOLVED DUPLICATE of bug 299580
Alias: None
Product: karbon
Classification: Applications
Component: general (show other bugs)
Version: 2.4-snapshots
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Hambrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-08 19:29 UTC by Antoine
Modified: 2012-07-02 09:54 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 Antoine 2012-04-08 19:29:50 UTC
Create an ellipse.
Resize it, setting its height to zero with the handles
Karbon sometimes crash after this step with:

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 0x7f1c10e797c0 (LWP 6263))]

Thread 3 (Thread 0x7f1bed469700 (LWP 6265)):
#0  0x00007fffc53ff8de in ?? ()
#1  0x00007f1c09d7f15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f1c0f835654 in do_gettime (frac=0x7f1bed468a98, sec=0x7f1bed468a90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f1c0f90d1fd in QTimerInfoList::updateCurrentTime (this=0x7f1be8002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f1c0f90d533 in QTimerInfoList::timerWait (this=0x7f1be8002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f1c0f90bfec in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f1bed468b6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f1c0f90c095 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f1c09acd80e in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f1c09ace00b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f1c09ace214 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f1c0f90ca96 in QEventDispatcherGlib::processEvents (this=0x7f1be80008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f1c0f8dc2f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f1c0f8dc547 in QEventLoop::exec (this=0x7f1bed468cd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f1c0f7dbf97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f1c0f8bc06f in QInotifyFileSystemWatcherEngine::run (this=0x12842f0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f1c0f7defbb in QThreadPrivate::start (arg=0x12842f0) at thread/qthread_unix.cpp:298
#17 0x00007f1c03df5454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#18 0x00007f1c0a392e9a in start_thread (arg=0x7f1bed469700) at pthread_create.c:308
#19 0x00007f1c107d74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1be7b7c700 (LWP 6270)):
#0  0x00007f1c09acd19b in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1c09acdfb4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1c09ace214 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1c0f90ca96 in QEventDispatcherGlib::processEvents (this=0x7f1be00008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1c0f8dc2f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1c0f8dc547 in QEventLoop::exec (this=0x7f1be7b7bcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1c0f7dbf97 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f1c0f8bc06f in QInotifyFileSystemWatcherEngine::run (this=0x13770c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1c0f7defbb in QThreadPrivate::start (arg=0x13770c0) at thread/qthread_unix.cpp:298
#9  0x00007f1c03df5454 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f1c0a392e9a in start_thread (arg=0x7f1be7b7c700) at pthread_create.c:308
#11 0x00007f1c107d74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1c10e797c0 (LWP 6263)):
[KCrash Handler]
#6  QCursor::shape (this=<optimized out>) at kernel/qcursor.cpp:450
#7  0x00007f1c0ecada2f in QWidget::setCursor (this=<optimized out>, cursor=...) at kernel/qwidget.cpp:5098
#8  0x00007f1c0e0d233d in ?? () from /usr/lib/libflake.so.9
#9  0x00007f1c0f8f18f1 in QMetaObject::activate (sender=0x556f870, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc5323a40) at kernel/qobject.cpp:3547
#10 0x00007f1c0e0baa75 in KoToolBase::cursorChanged(QCursor const&) () from /usr/lib/libflake.so.9
#11 0x00007f1bf83244cb in ?? () from /usr/lib/kde4/defaulttools.so
#12 0x00007f1bf8328b9b in ?? () from /usr/lib/kde4/defaulttools.so
#13 0x00007f1c0e0d60b2 in KoToolProxy::mouseMoveEvent(QMouseEvent*, QPointF const&) () from /usr/lib/libflake.so.9
#14 0x00007f1c104c0957 in ?? () from /usr/lib/libkarbonui.so.9
#15 0x00007f1c0ecb0f98 in QWidget::event (this=0x4ccbd40, event=0x7fffc5324540) at kernel/qwidget.cpp:8346
#16 0x00007f1c0ec606b4 in notify_helper (e=0x7fffc5324540, receiver=0x4ccbd40, this=0xcccd20) at kernel/qapplication.cpp:4555
#17 QApplicationPrivate::notify_helper (this=0xcccd20, receiver=0x4ccbd40, e=0x7fffc5324540) at kernel/qapplication.cpp:4527
#18 0x00007f1c0ec65edf in QApplication::notify (this=<optimized out>, receiver=0x4ccbd40, e=0x7fffc5324540) at kernel/qapplication.cpp:4098
#19 0x00007f1c0cd1e906 in KApplication::notify (this=0x7fffc53251f0, receiver=0x4ccbd40, event=0x7fffc5324540) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f1c0f8dd50c in QCoreApplication::notifyInternal (this=0x7fffc53251f0, receiver=0x4ccbd40, event=0x7fffc5324540) at kernel/qcoreapplication.cpp:876
#21 0x00007f1c0ec61682 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QApplicationPrivate::sendMouseEvent (receiver=0x4ccbd40, event=0x7fffc5324540, alienWidget=0x0, nativeWidget=0x4ccbd40, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3166
#23 0x00007f1c0ece0a15 in QETWidget::translateMouseEvent (this=0x4ccbd40, event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#24 0x00007f1c0ecdf9ce in QApplication::x11ProcessEvent (this=0x7fffc53251f0, event=0x7fffc5324e10) at kernel/qapplication_x11.cpp:3732
#25 0x00007f1c0ed08e92 in x11EventSourceDispatch (s=0xcd0520, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00007f1c09acdd8a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f1c09ace150 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f1c09ace214 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f1c0f90ca2f in QEventDispatcherGlib::processEvents (this=0xbd7ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f1c0ed08b1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f1c0f8dc2f2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f1c0f8dc547 in QEventLoop::exec (this=0x7fffc53251b0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f1c0f8e15d7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0x00007f1c10aa2d95 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_karbon.so
#35 0x00007f1c1070676d in __libc_start_main (main=0x400630, argc=1, ubp_av=0x7fffc5325388, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc5325378) at libc-start.c:226
#36 0x0000000000400661 in _start ()
Comment 1 Antoine 2012-04-08 19:33:01 UTC
There is a variation on this one:
X/W/Width/Height become equal to exactly 352.78 cm
and can no longer be changed.
Comment 2 Jan Hambrecht 2012-07-02 09:54:52 UTC

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