Bug 188306 - Kolourpaint crashes with a certain png (with Qt 4.5)
Summary: Kolourpaint crashes with a certain png (with Qt 4.5)
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-28 09:11 UTC by c487746
Modified: 2009-03-28 19:47 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 c487746 2009-03-28 09:11:42 UTC
Version:           4.2.1 (using KDE 4.2.1)
Compiler:          gcc (Gentoo 4.3.3-r1 p1.1, pie-10.1.5) 4.3.3 
OS:                Linux
Installed from:    Gentoo Packages

Opening this image in kolourpaint crashes the app with Qt 4.5

http://upload.wikimedia.org/wikipedia/commons/f/f8/Opera_mini.png

Details:

Application: KolourPaint (kolourpaint), signal SIGSEGV
0x00007fd3516218c0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7fd35568f700 (LWP 6909)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007fd3523d72f3 in QX11PaintEngine::drawPixmap (this=<value optimized out>, r=<value optimized out>, px=<value optimized out>, _sr=<value optimized out>) at painting/qpaintengine_x11.cpp:1886
#7  0x00007fd35231dbd6 in QPainter::drawPixmap (this=0x7fff5d7e61e0, p=<value optimized out>, pm=@0x7fff5d7e61b0) at painting/qpainter.cpp:5235
#8  0x000000000047c1db in kpPixmapFX::ensureNoAlphaChannel (destPixmapPtr=0x7fff5d7e6250) at /usr/include/qt4/QtGui/qpainter.h:804
#9  0x000000000047afb3 in kpPixmapFX::convertToPixmapAsLosslessAsPossible (image=@0x7fff5d7e64b0, wali=@0x7fff5d7e6440)
    at /var/tmp/paludis/kde-base-kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/pixmapfx/kpPixmapFX_FormatConversion.cpp:388
#10 0x000000000043f0f5 in kpDocument::convertToPixmapAsLosslessAsPossible (image=@0x7fff5d7e64b0, wali=@0x7fff5d7e6440, saveOptions=0xb3b410, metaInfo=0x7fff5d7e67c0)
    at /var/tmp/paludis/kde-base-kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/document/kpDocument_Open.cpp:134
#11 0x000000000043f8f0 in kpDocument::getPixmapFromFile (url=@0x7fff5d7e6920, suppressDoesntExistDialog=<value optimized out>, parent=0x7d66d0, saveOptions=0x7fff5d7e67d0, metaInfo=0x7fff5d7e67c0)
    at /var/tmp/paludis/kde-base-kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/document/kpDocument_Open.cpp:309
#12 0x000000000043faab in kpDocument::open (this=0xb14860, url=@0x7fff5d7e6920, newDocSameNameIfNotExist=false)
    at /var/tmp/paludis/kde-base-kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/document/kpDocument_Open.cpp:364
#13 0x00000000004697c0 in kpMainWindow::openInternal (this=0x7d66d0, url=@0x7fff5d7e6920, fallbackDocSize=<value optimized out>, newDocSameNameIfNotExist=false)
    at /var/tmp/paludis/kde-base-kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/mainWindow/kpMainWindow_File.cpp:376
#14 0x0000000000469835 in kpMainWindow::open (this=0x7d66d0, url=@0x7fff5d7e6920, newDocSameNameIfNotExist=176)
    at /var/tmp/paludis/kde-base-kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/mainWindow/kpMainWindow_File.cpp:405
#15 0x0000000000464396 in kpMainWindow (this=0x7d66d0, url=@0x7fff5d7e6920) at /var/tmp/paludis/kde-base-kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/mainWindow/kpMainWindow.cpp:83
#16 0x0000000000452659 in main (argc=2, argv=0x7fff5d7e6df8) at /var/tmp/paludis/kde-base-kolourpaint-4.2.1/work/kolourpaint-4.2.1/kolourpaint/kolourpaint.cpp:111
Comment 1 Dario Andres 2009-03-28 19:47:49 UTC
Yes, this is a known crash when using Kolourpaint with Qt4.5. Thanks for reporting.

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