Bug 188063 - kolourpaint crash with graphicssystem raster
Summary: kolourpaint crash with graphicssystem raster
Status: RESOLVED WORKSFORME
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 10:58 UTC by Clemens Eisserer
Modified: 2009-12-19 17:06 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 Clemens Eisserer 2009-03-25 10:58:15 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc-4.4 
OS:                Linux
Installed from:    Fedora RPMs

Because of frequent crashes with QT-4.5 using the native graphicsystem, I started kolourpaint using the raster engine.
After loading an image I resized kolourpaint's window, when I got that crash:

Application: KolourPaint (kolourpaint), signal SIGSEGV
0x009f9c2b in __nanosleep_nocancel () from /lib/libc.so.6
[Current thread is 1 (Thread 0xb80c79b0 (LWP 9974))]

Thread 1 (Thread 0xb80c79b0 (LWP 9974)):
[KCrash Handler]
#5  0x052e44d1 in _mm_cvtsi32_si64 (__i=<value optimized out>) at /usr/lib/gcc/i586-redhat-linux/4.4.0/include/mmintrin.h:65
#6  QMMXCommonIntrinsics::_load(unsigned int, int __vector const&) (__i=<value optimized out>) at ../../src/gui/painting/qdrawhelper_mmx_p.h:124
#7  comp_func_Source<QSSEIntrinsics> (__i=<value optimized out>) at ../../src/gui/painting/qdrawhelper_mmx_p.h:212
#8  0x052e457a in qt_blend_rgb32_on_rgb32_sse (destPixels=0x9559f98 "", dbpl=384, srcPixels=0xb685a000 <Address 0xb685a000 out of bounds>, sbpl=384, w=96, h=60, const_alpha=0)
    at painting/qdrawhelper_sse.cpp:139
#9  0x05483a4c in QRasterPaintEnginePrivate::drawImage (this=0x951d090, pt=@0xbf8ecb88, img=@0xbf8ecc0c, 
    func=0x52e4540 <qt_blend_rgb32_on_rgb32_sse(unsigned char*, int, unsigned char const*, int, int, int, int)>, clip=@0x951d1f4, alpha=0, sr=@0xbf8ecb78) at painting/qpaintengine_raster.cpp:1079
#10 0x0548a420 in QRasterPaintEngine::drawImage (this=0x8aa2d18, p=@0xbf8ecda8, img=@0xbf8ecc0c) at painting/qpaintengine_raster.cpp:2460
#11 0x0548a4d5 in QRasterPaintEngine::drawPixmap (this=0x8aa2d18, pos=@0xbf8ecda8, pixmap=@0x94916b8) at painting/qpaintengine_raster.cpp:2371
#12 0x054210b8 in QPainter::drawPixmap (this=0xbf8ecdec, p=@0xbf8ecda8, pm=@0x94916b8) at painting/qpainter.cpp:5191
#13 0x05d5c274 in QPainter::drawPixmap (this=<value optimized out>, p=<value optimized out>, pm=<value optimized out>, this=<value optimized out>, p=<value optimized out>, pm=<value optimized out>)
    at /usr/include/QtGui/qpainter.h:804
#14 KImageFilePreview::KImageFilePreviewPrivate::_k_slotStepAnimation (this=<value optimized out>, p=<value optimized out>, pm=<value optimized out>, this=<value optimized out>, 
    p=<value optimized out>, pm=<value optimized out>) at /usr/src/debug/kdelibs-4.2.1/kio/kfile/kimagefilepreview.cpp:228
#15 0x05d5c9ea in KImageFilePreview::qt_metacall (this=0x94bd830, _c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbf8ecf18)
    at /usr/src/debug/kdelibs-4.2.1/i586-redhat-linux-gnu/kio/kimagefilepreview.moc:87
#16 0x02527088 in QMetaObject::activate (sender=0x9491650, from_signal_index=5, to_signal_index=5, argv=0xbf8ecf18) at kernel/qobject.cpp:3069
#17 0x02527d22 in QMetaObject::activate (sender=0x9491650, m=0x26027f4, local_signal_index=1, argv=0xbf8ecf18) at kernel/qobject.cpp:3143
#18 0x0255fd93 in QTimeLine::frameChanged (this=0x9491650, _t1=18) at .moc/release-shared/moc_qtimeline.cpp:158
#19 0x02473c97 in QTimeLinePrivate::setCurrentTime (this=0x94e9528, msecs=40) at tools/qtimeline.cpp:171
#20 0x02520f8f in QObject::event (this=0x9491650, e=0xbf8ed390) at kernel/qobject.cpp:1082
#21 0x052eca3c in QApplicationPrivate::notify_helper (this=0x879fe28, receiver=0x9491650, e=0xbf8ed390) at kernel/qapplication.cpp:4084
#22 0x052f3e84 in QApplication::notify (this=0xbf8ee9fc, receiver=0x9491650, e=0xbf8ed390) at kernel/qapplication.cpp:4049
#23 0x04e15d0a in KApplication::notify (this=0xbf8ee9fc, receiver=0x9491650, event=0xbf8ed390) at /usr/src/debug/kdelibs-4.2.1/kdeui/kernel/kapplication.cpp:307
#24 0x02510deb in QCoreApplication::notifyInternal (this=0xbf8ee9fc, receiver=0x9491650, event=0xbf8ed390) at kernel/qcoreapplication.cpp:602
#25 0x0253ea36 in QCoreApplication::sendEvent (receiver=<value optimized out>, event=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at ../../src/corelib/kernel/qcoreapplication.h:213
#26 QTimerInfoList::activateTimers (receiver=<value optimized out>, event=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:572
#27 0x0253c420 in timerSourceDispatch (source=0x87a2a78) at kernel/qeventdispatcher_glib.cpp:164
#28 0x05119188 in g_main_dispatch (context=<value optimized out>) at gmain.c:1814
#29 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2367
#30 0x0511c798 in g_main_context_iterate (context=0x87a2090, block=<value optimized out>, dispatch=1, self=0x879fb20) at gmain.c:2448
#31 0x0511c90a in IA__g_main_context_iteration (context=0x87a2090, may_block=1) at gmain.c:2511
#32 0x0253c36c in QEventDispatcherGlib::processEvents (this=0x879dbc8, flags={i = 100}) at kernel/qeventdispatcher_glib.cpp:323
#33 0x0538c625 in QGuiEventDispatcherGlib::processEvents (this=0x879dbc8, flags={i = 100}) at kernel/qguieventdispatcher_glib.cpp:202
#34 0x0250f379 in QEventLoop::processEvents (this=0xbf8ed650, flags=) at kernel/qeventloop.cpp:149
#35 0x0250f7c2 in QEventLoop::exec (this=0xbf8ed650, flags={i = 64}) at kernel/qeventloop.cpp:200
#36 0x0580c0b3 in QDialog::exec (this=0xbf8ed6bc) at dialogs/qdialog.cpp:498
#37 0x080aa2d1 in _start ()
Comment 1 Martin Koller 2009-12-19 17:06:35 UTC
I can't reproduce neither with KDE 4.3.4 nor with KDE trunk (both running Qt-4.6.0).
If it's reproduceable for you, please attach the image you used and reopen.
Thanks.