Bug 234300 - Program crashed while I was trying to persuade it to crop the screen shot I had loaded down to a small portion of its original extent.
Summary: Program crashed while I was trying to persuade it to crop the screen shot I h...
Status: RESOLVED FIXED
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 00:07 UTC by Willy Gommel
Modified: 2010-04-14 00:26 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 Willy Gommel 2010-04-14 00:07:28 UTC
Application that crashed: kolourpaint
Version of the application: 4.3.4 (KDE 4.3.4)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.32 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
This was the second crash in the same operation -- i.e., trying to isolate the clock in the lower right portion of the screen shot. This crash happened when I tried to enforce my will on the program by means of drawing a zoom box around the clock and then, without releasing the mouse button, trying to execute the ctrl-U autocrop command. Needless to say, Kolour Paint did not like the idea at all. :)

Thank you very much! :)


 -- Backtrace:
Application: KolourPaint (kolourpaint), signal: Floating point exception
The current source language is "auto; currently c".
[KCrash Handler]
#5  0x0000000000478b5d in kpMainWindow::zoomToRect (this=0xc4be00, normalizedDocRect=..., accountForGrips=<value optimized out>, careAboutWidth=true, careAboutHeight=true)
    at ../../kolourpaint/mainWindow/kpMainWindow_View_Zoom.cpp:524
#6  0x0000000000487560 in kpToolZoom::endDraw (this=0xd16ae0, normalizedRect=...) at ../../kolourpaint/tools/kpToolZoom.cpp:246
#7  0x0000000000484f30 in kpTool::endDrawInternal (this=0xd16ae0, thisPoint=<value optimized out>, normalizedRect=<value optimized out>, wantEndShape=<value optimized out>)
    at ../../kolourpaint/tools/kpTool_Drawing.cpp:348
#8  0x0000000000474d38 in kpMainWindow::toolEndShape (this=0xc4be00) at ../../kolourpaint/mainWindow/kpMainWindow_Tools.cpp:380
#9  0x000000000046e3f9 in kpMainWindow::slotAutoCrop (this=0x0) at ../../kolourpaint/mainWindow/kpMainWindow_Image.cpp:421
#10 0x00000000004636fd in kpMainWindow::qt_metacall (this=0xc4be00, _c=QMetaObject::InvokeMetaMethod, _id=145800, _a=0x7fff2d6438b0) at ./kpMainWindow.moc:404
#11 0x00007fc86bd14df2 in QMetaObject::activate (sender=0xc66890, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0) at kernel/qobject.cpp:3112
#12 0x00007fc86b173147 in QAction::triggered (this=0x0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#13 0x00007fc86b1745c0 in QAction::activate (this=0xc66890, event=<value optimized out>) at kernel/qaction.cpp:1167
#14 0x00007fc86b17707f in QAction::event (this=0x0, e=<value optimized out>) at kernel/qaction.cpp:1086
#15 0x00007fc86c849c9d in KAction::event (this=0x0, event=0x7fff2d643e40) at ../../kdeui/actions/kaction.cpp:88
#16 0x00007fc86b17901d in QApplicationPrivate::notify_helper (this=0xb72ce0, receiver=0xc66890, e=0x7fff2d643e40) at kernel/qapplication.cpp:4065
#17 0x00007fc86b18107a in QApplication::notify (this=0x7fff2d646520, receiver=0xc66890, e=0x7fff2d643e40) at kernel/qapplication.cpp:4030
#18 0x00007fc86c91ade6 in KApplication::notify (this=0x7fff2d646520, receiver=0xc66890, event=0x7fff2d643e40) at ../../kdeui/kernel/kapplication.cpp:302
#19 0x00007fc86bcffc9c in QCoreApplication::notifyInternal (this=0x7fff2d646520, receiver=0xc66890, event=0x7fff2d643e40) at kernel/qcoreapplication.cpp:610
#20 0x00007fc86b1ae0ed in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fff2d644340) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff2d644340) at kernel/qshortcutmap.cpp:884
#22 0x00007fc86b1afe6c in QShortcutMap::tryShortcutEvent (this=0xb72df8, o=<value optimized out>, e=0x7fff2d644340) at kernel/qshortcutmap.cpp:369
#23 0x00007fc86b182059 in QApplication::notify (this=0x7fff2d646520, receiver=0xfe6960, e=0x7fff2d644340) at kernel/qapplication.cpp:3647
#24 0x00007fc86c91ade6 in KApplication::notify (this=0x7fff2d646520, receiver=0xfe6960, event=0x7fff2d644340) at ../../kdeui/kernel/kapplication.cpp:302
#25 0x00007fc86bcffc9c in QCoreApplication::notifyInternal (this=0x7fff2d646520, receiver=0xfe6960, event=0x7fff2d644340) at kernel/qcoreapplication.cpp:610
#26 0x00007fc86b20cab4 in QKeyMapper::sendKeyEvent (keyWidget=0xfe6960, grab=<value optimized out>, type=QEvent::KeyPress, code=85, modifiers=..., text=..., autorepeat=false, count=1, 
    nativeScanCode=30, nativeVirtualKey=117, nativeModifiers=260) at kernel/qkeymapper_x11.cpp:1861
#27 0x00007fc86b20ed89 in QKeyMapperPrivate::translateKeyEvent (this=0xbad1a0, keyWidget=0xfe6960, event=0x7fff2d646140, grab=88) at kernel/qkeymapper_x11.cpp:1831
#28 0x00007fc86b1e7d06 in QApplication::x11ProcessEvent (this=0x7fff2d646520, event=0x7fff2d646140) at kernel/qapplication_x11.cpp:3445
#29 0x00007fc86b21076c in x11EventSourceDispatch (s=0xb76b30, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fc866ecc90e in g_main_dispatch (context=0xb75920) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:1960
#31 IA__g_main_context_dispatch (context=0xb75920) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2513
#32 0x00007fc866ed02c8 in g_main_context_iterate (context=0xb75920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2591
#33 0x00007fc866ed03f0 in IA__g_main_context_iteration (context=0xb75920, may_block=1) at /tmp/buildd/glib2.0-2.22.4/glib/gmain.c:2654
#34 0x00007fc86bd2839c in QEventDispatcherGlib::processEvents (this=0xb58160, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#35 0x00007fc86b20ff1f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007fc86bcfe562 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fc86bcfe934 in QEventLoop::exec (this=0x7fff2d646470, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007fc86bd00ba4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0x000000000045306d in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kolourpaint/kolourpaint.cpp:125

Reported using DrKonqi
Comment 1 Christoph Feck 2010-04-14 00:22:56 UTC
SVN commit 1114558 by cfeck:

Fix crash when zoom operation is aborted

BUG: 234300


 M  +1 -1      kpToolZoom.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1114558
Comment 2 Christoph Feck 2010-04-14 00:26:06 UTC
SVN commit 1114559 by cfeck:

Fix crash when zoom operation is aborted (backport r1114558)

CCBUG: 234300


 M  +1 -1      kpToolZoom.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1114559