Bug 255451 - krita crashes on the attached image
Summary: krita crashes on the attached image
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 23:13 UTC by Halla Rempt
Modified: 2010-10-29 11:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
broken image (286.39 KB, image/jpeg)
2010-10-27 23:14 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Halla Rempt 2010-10-27 23:13:37 UTC
Application: krita (2.3 Beta 2)
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.1
Operating System: Linux 2.6.34-12-desktop i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
The attached image's profile is broken and lcms can't make chocolate out of it. Still, we shouldn't crash but handle this gracefully. For 2.3, maybe strip the profile, for 2.4 give a warning.

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Aborted
[Current thread is 1 (Thread 0xb348da90 (LWP 30929))]

Thread 3 (Thread 0xad121b70 (LWP 30930)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7488125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb74fea90 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb74faf62 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#4  0xb6d667d3 in KisTileDataPooler::waitForWork (this=0x9de2c60) at /home/boud/kde/src/essen-work/krita/image/tiles3/kis_tile_data_pooler.cc:127
#5  0xb6d66813 in KisTileDataPooler::run (this=0x9de2c60) at /home/boud/kde/src/essen-work/krita/image/tiles3/kis_tile_data_pooler.cc:156
#6  0xb74fe3a3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#7  0xb7483b25 in start_thread () from /lib/libpthread.so.0
#8  0xb46a546e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xac920b70 (LWP 30931)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7488125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb74fea90 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb74fb1d6 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQtCore.so.4
#4  0xb6da5670 in KisTileDataSwapper::waitForWork (this=0x9de2c7c) at /home/boud/kde/src/essen-work/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:84
#5  0xb6da5814 in KisTileDataSwapper::run (this=0x9de2c7c) at /home/boud/kde/src/essen-work/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:90
#6  0xb74fe3a3 in QThreadPrivate::start(void*) () from /usr/lib/libQtCore.so.4
#7  0xb7483b25 in start_thread () from /lib/libpthread.so.0
#8  0xb46a546e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb348da90 (LWP 30929)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb45fd7ff in raise () from /lib/libc.so.6
#9  0xb45ff140 in abort () from /lib/libc.so.6
#10 0xb74f59ca in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#11 0xb74f5bcf in qt_message(QtMsgType, char const*, char*) () from /usr/lib/libQtCore.so.4
#12 0xb74f5ce8 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#13 0xb74f5d65 in qt_assert(char const*, char const*, int) () from /usr/lib/libQtCore.so.4
#14 0xae7b82c2 in KoLcmsColorConversionTransformation::transform (this=0x9dc9968, src=0x9df7840 "D\r\006", dst=0x9df7840 "D\r\006", numPixels=1)
    at /home/boud/kde/src/essen-work/plugins/colorengines/lcms/IccColorSpaceEngine.cpp:49
#15 0xad12be44 in KisJPEGConverter::decode (this=0xbfa42c90, uri=...) at /home/boud/kde/src/essen-work/krita/plugins/formats/jpeg/kis_jpeg_converter.cc:265
#16 0xad12f36f in KisJPEGConverter::buildImage (this=0xbfa42c90, uri=...) at /home/boud/kde/src/essen-work/krita/plugins/formats/jpeg/kis_jpeg_converter.cc:433
#17 0xad127979 in KisJPEGImport::convert (this=0x9dcddc8, to=...) at /home/boud/kde/src/essen-work/krita/plugins/formats/jpeg/kis_jpeg_import.cc:78
#18 0xb69af148 in KOfficeFilter::ChainLink::invokeFilter (this=0x9da3a40, parentChainLink=0x0) at /home/boud/kde/src/essen-work/libs/main/KoFilterChainLink.cpp:90
#19 0xb69a557d in KoFilterChain::invokeChain (this=0x9da86b8) at /home/boud/kde/src/essen-work/libs/main/KoFilterChain.cpp:94
#20 0xb69a395e in KoFilterManager::importDocument (this=0x9da5a40, url=..., status=@0xbfa43074) at /home/boud/kde/src/essen-work/libs/main/KoFilterManager.cpp:164
#21 0xb69526da in KoDocument::openFile (this=0x8166820) at /home/boud/kde/src/essen-work/libs/main/KoDocument.cpp:1330
#22 0xb6082e80 in KParts::ReadOnlyPart::openUrl (this=0x8166820, url=...) at /usr/src/debug/kdelibs-4.5.2/kparts/part.cpp:557
#23 0xb6955521 in KoDocument::openUrl (this=0x8166820, _url=...) at /home/boud/kde/src/essen-work/libs/main/KoDocument.cpp:1250
#24 0xb69739d7 in KoMainWindow::openDocumentInternal (this=0x9c4b6e0, url=..., newdoc=<value optimized out>) at /home/boud/kde/src/essen-work/libs/main/KoMainWindow.cpp:678
#25 0xb6971aa6 in KoMainWindow::openDocument (this=0x9c4b6e0, newdoc=0x8166820, url=...) at /home/boud/kde/src/essen-work/libs/main/KoMainWindow.cpp:661
#26 0xb693ea0f in KoApplication::start (this=0xbfa43650) at /home/boud/kde/src/essen-work/libs/main/KoApplication.cpp:252
#27 0xb775f5ba in kdemain (argc=2, argv=0xbfa43754) at /home/boud/kde/src/essen-work/krita/main.cc:46
#28 0x0804889b in main (argc=2, argv=0xbfa43754) at /home/boud/kde/build/essen-work/krita/krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Halla Rempt 2010-10-27 23:14:26 UTC
Created attachment 52922 [details]
broken image
Comment 2 Halla Rempt 2010-10-27 23:14:46 UTC
See also:

23:11:04 < christoph_s> boud: the image in this Scribus bug report also crashes Krita: http://bugs.scribus.net/view.php?id=9438
Comment 3 Cyrille Berger 2010-10-28 08:23:46 UTC
works with lcms2.
Comment 4 Halla Rempt 2010-10-29 11:24:22 UTC
No, I really fixed this one as well :-)