Bug 186538 - crash after rotate. kpMainWindow::slotRotate90
Summary: crash after rotate. kpMainWindow::slotRotate90
Status: RESOLVED DUPLICATE of bug 183850
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 12:47 UTC by Karl
Modified: 2009-03-08 15:21 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 Karl 2009-03-08 12:47:46 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc 4.3.3 
OS:                Linux
Installed from:    Gentoo Packages

Using kde 4.2.1  with QT 4.5.0  gcc 4.3.3 on gentoo linux.  

I have repeated this 2 times.  Loaded a JPEG image after clicking on it in dolphin,  then rotating it.  I tried both from the menu, and by CTRL-Shift-Right

Application: KolourPaint (kolourpaint), signal SIGSEGV

Thread 1 (Thread 0xb5f3aab0 (LWP 9614)):
[KCrash Handler]
#6  0x00000100 in ?? ()
#7  0xb6bf0807 in QX11PaintEngine::drawPixmap (this=0x8447808, r=@0xbfa4c010, px=@0xbfa4c114, _sr=@0xbfa4bff0) at painting/qpaintengine_x11.cpp:1886
#8  0xb6b1fa9e in QPainter::drawPixmap (this=0xbfa4c128, p=@0xbfa4c0c0, pm=@0xbfa4c114) at painting/qpainter.cpp:5235
#9  0x080bc78f in QPainter::drawPixmap (this=0xbfa4c128, p=@0xbfa4c120, pm=@0xbfa4c114) at /usr/include/qt4/QtGui/qpainter.h:804
#10 0x080bdcb2 in kpPixmapFX::ensureNoAlphaChannel (destPixmapPtr=0xbfa4c168) at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/pixmapfx/kpPixmapFX_MaskOps.cpp:255
#11 0x080bc426 in kpPixmapFX::convertToPixmap (image=@0xbfa4c340, pretty=false, wali=@0xbfa4c2ac)
    at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/pixmapfx/kpPixmapFX_FormatConversion.cpp:255
#12 0x080bed5e in TransformPixmap (pm=<value optimized out>, transformMatrix_=<value optimized out>, backgroundColor=@0x849246c, targetWidth=-1, targetHeight=2048)
    at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/pixmapfx/kpPixmapFX_Transforms.cpp:557
#13 0x080bf224 in kpPixmapFX::rotate (pm=@0xbfa4c578, angle=90, backgroundColor=@0x849246c, targetWidth=-1, targetHeight=-1)
    at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/pixmapfx/kpPixmapFX_Transforms.cpp:754
#14 0x08067164 in kpTransformRotateCommand::execute (this=0x8492458)
    at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/commands/imagelib/transforms/kpTransformRotateCommand.cpp:105
#15 0x08069183 in kpCommandHistoryBase::addCommand (this=0x8230d70, command=0x8492458, execute=true)
    at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/commands/kpCommandHistoryBase.cpp:274
#16 0x080aec30 in kpMainWindow::addImageOrSelectionCommand (this=0x81c7e88, cmd=0x8492458, addSelCreateCmdIfSelAvail=true, addSelContentCmdIfSelAvail=true)
    at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/mainWindow/kpMainWindow_Image.cpp:347
#17 0x080af022 in kpMainWindow::slotRotate90 (this=0x81c7e88) at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/mainWindow/kpMainWindow_Image.cpp:483
#18 0x080a2dd5 in kpMainWindow::qt_metacall (this=0x81c7e88, _c=QMetaObject::InvokeMetaMethod, _id=96, _a=0xbfa4c80c)
    at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint_build/kolourpaint/kpMainWindow.moc:408
#19 0xb73feca9 in QMetaObject::activate (sender=0x8244100, from_signal_index=<value optimized out>, to_signal_index=6, argv=0xbfa4c80c) at kernel/qobject.cpp:3057
#20 0xb73ff031 in QMetaObject::activate (sender=0x8244100, m=0xb7154248, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfa4c80c) at kernel/qobject.cpp:3154
#21 0xb69f14f2 in QAction::triggered (this=0x8244100, _t1=false) at .moc/debug-shared/moc_qaction.cpp:236
#22 0xb69f23b3 in QAction::activate (this=0x8244100, event=QAction::Trigger) at kernel/qaction.cpp:1160
#23 0xb6e4c11a in QMenuPrivate::activateCausedStack (this=0x82e46a0, causedStack=@0xbfa4c8e8, action=0x8244100, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:962
#24 0xb6e53019 in QMenuPrivate::activateAction (this=0x82e46a0, action=0x8244100, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1058
#25 0xb6e53da6 in QMenu::mouseReleaseEvent (this=0x837e490, e=0xbfa4d00c) at widgets/qmenu.cpp:2252
#26 0xb79ce28e in KMenu::mouseReleaseEvent (this=0x837e490, e=0xbfa4d00c) at /var/tmp/portage/kde-base/kdelibs-4.2.1/work/kdelibs-4.2.1/kdeui/widgets/kmenu.cpp:454
#27 0xb6a520aa in QWidget::event (this=0x837e490, event=0xbfa4d00c) at kernel/qwidget.cpp:7516
#28 0xb6e54861 in QMenu::event (this=0x837e490, e=0xbfa4d00c) at widgets/qmenu.cpp:2351
#29 0xb69f778c in QApplicationPrivate::notify_helper (this=0x8131788, receiver=0x837e490, e=0xbfa4d00c) at kernel/qapplication.cpp:4084
#30 0xb6a00e7c in QApplication::notify (this=0xbfa4d830, receiver=0x837e490, e=0xbfa4d00c) at kernel/qapplication.cpp:3786
#31 0xb78f47d4 in KApplication::notify (this=0xbfa4d830, receiver=0x837e490, event=0xbfa4d00c) at /var/tmp/portage/kde-base/kdelibs-4.2.1/work/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#32 0xb73e84c2 in QCoreApplication::notifyInternal (this=0xbfa4d830, receiver=0x837e490, event=0xbfa4d00c) at kernel/qcoreapplication.cpp:598
#33 0xb69ffee0 in QApplicationPrivate::sendMouseEvent (receiver=0x837e490, event=0xbfa4d00c, alienWidget=0x0, nativeWidget=0x837e490, buttonDown=0xb716cae0, lastMouseReceiver=@0xb716cae4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#34 0xb6a6a4bd in QETWidget::translateMouseEvent (this=0x837e490, event=0xbfa4d56c) at kernel/qapplication_x11.cpp:4359
#35 0xb6a692e5 in QApplication::x11ProcessEvent (this=0xbfa4d830, event=0xbfa4d56c) at kernel/qapplication_x11.cpp:3543
#36 0xb6a9144a in x11EventSourceDispatch (s=0x81345e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0xb619b0cf in IA__g_main_context_dispatch (context=0x8133a40) at gmain.c:2144
#38 0xb619e8ab in g_main_context_iterate (context=0x8133a40, block=1, dispatch=1, self=0x8131930) at gmain.c:2778
#39 0xb619ea62 in IA__g_main_context_iteration (context=0x8133a40, may_block=1) at gmain.c:2841
#40 0xb7413479 in QEventDispatcherGlib::processEvents (this=0x812f6b0, flags={i = -1079716056}) at kernel/qeventdispatcher_glib.cpp:323
#41 0xb6a90b96 in QGuiEventDispatcherGlib::processEvents (this=0x812f6b0, flags={i = -1079716008}) at kernel/qguieventdispatcher_glib.cpp:202
#42 0xb73e6eab in QEventLoop::processEvents (this=0xbfa4d7c0, flags={i = -1079715944}) at kernel/qeventloop.cpp:149
#43 0xb73e708a in QEventLoop::exec (this=0xbfa4d7c0, flags={i = -1079715896}) at kernel/qeventloop.cpp:196
#44 0xb73ec211 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#45 0xb69f74a8 in QApplication::exec () at kernel/qapplication.cpp:3553
#46 0x0809396d in main (argc=2, argv=0xbfa4d9e4) at /var/tmp/portage/kde-base/kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/kolourpaint.cpp:125
Comment 1 Dario Andres 2009-03-08 15:21:19 UTC
This is a known bug for kolourpaint when using it with Qt4.5. You can workaround this crash by launching "kolourpaint -graphicssystem raster". Thanks for reporting

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