Bug 252517 - Krita crash when trying to open Sony Alpha compressed RAW files
Summary: Krita crash when trying to open Sony Alpha compressed RAW files
Status: RESOLVED DOWNSTREAM
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-09-27 10:13 UTC by Dmitry Nosov
Modified: 2010-10-14 13:09 UTC (History)
2 users (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 Dmitry Nosov 2010-09-27 10:13:02 UTC
Application: krita (2.2.2)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-default i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
I try to open compressed RAW files from Sony DSLR-A700 and then Krita crash. The Krita opens correctly itself.

The crash can be reproduced every time.

 -- Backtrace:
Application: Krita (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5577710 (LWP 25769))]

Thread 3 (Thread 0xaef40b70 (LWP 25770)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6b6f125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6be4710 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6be0b52 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#4  0xaf5f3cf3 in KisTileDataPooler::waitForWork (this=0xaf739700) at /usr/src/debug/koffice-2.2.2/krita/image/tiles3/kis_tile_data_pooler.cc:133
#5  0xaf5f401c in KisTileDataPooler::run (this=0xaf739700) at /usr/src/debug/koffice-2.2.2/krita/image/tiles3/kis_tile_data_pooler.cc:162
#6  0xb6be404f in ?? () from /usr/lib/libQtCore.so.4
#7  0xb6b6ab25 in start_thread () from /lib/libpthread.so.0
#8  0xb5f5746e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xad20eb70 (LWP 25773)):
#0  0xb5a0c22b in clock_gettime () from /lib/librt.so.1
#1  0xb6d0675c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6d0ab16 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6d0d07a in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb6cdd11d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb6cdd319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6be1403 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0xaf698cdb in KisProjection::run (this=0x8730df8) at /usr/src/debug/koffice-2.2.2/krita/image/kis_projection.cc:86
#8  0xb6be404f in ?? () from /usr/lib/libQtCore.so.4
#9  0xb6b6ab25 in start_thread () from /lib/libpthread.so.0
#10 0xb5f5746e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5577710 (LWP 25769)):
[KCrash Handler]
#6  0xb6c30a64 in QString::operator=(QString const&) () from /usr/lib/libQtCore.so.4
#7  0xa9293b8c in KDcrawIface::KDcraw::decodeHalfRAWImage(QString const&, KDcrawIface::RawDecodingSettings const&, QByteArray&, int&, int&, int&) () from /usr/lib/libkdcraw.so.8
#8  0xa92f18e1 in KisRawImport::slotUpdatePreview (this=0x8579040) at /usr/src/debug/koffice-2.2.2/krita/plugins/formats/raw/kis_raw_import.cpp:169
#9  0xa92f1d45 in KisRawImport::convert (this=0x8579040, from=..., to=...) at /usr/src/debug/koffice-2.2.2/krita/plugins/formats/raw/kis_raw_import.cpp:101
#10 0xb1e5f2a8 in KOfficeFilter::ChainLink::invokeFilter (this=0x9071950, parentChainLink=0x0) at /usr/src/debug/koffice-2.2.2/libs/main/KoFilterChainLink.cpp:73
#11 0xb1e5687a in KoFilterChain::invokeChain (this=0x858d078) at /usr/src/debug/koffice-2.2.2/libs/main/KoFilterChain.cpp:94
#12 0xb1e54eaf in KoFilterManager::importDocument (this=0x978c3d0, url=..., status=@0xbfb58104) at /usr/src/debug/koffice-2.2.2/libs/main/KoFilterManager.cpp:163
#13 0xb1e0579f in KoDocument::openFile (this=0x8682bd0) at /usr/src/debug/koffice-2.2.2/libs/main/KoDocument.cpp:1253
#14 0xb75b69d0 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#15 0xb1e0ae61 in KoDocument::openUrl (this=0x8682bd0, _url=...) at /usr/src/debug/koffice-2.2.2/libs/main/KoDocument.cpp:1181
#16 0xb1e2a024 in KoMainWindow::openDocumentInternal (this=0x852c450, url=..., newdoc=<value optimized out>) at /usr/src/debug/koffice-2.2.2/libs/main/KoMainWindow.cpp:671
#17 0xb1e32c69 in KoMainWindow::openDocument (this=0x852c450, url=...) at /usr/src/debug/koffice-2.2.2/libs/main/KoMainWindow.cpp:632
#18 0xaf9919f0 in KisView2::dropEvent (this=0x8755940, event=0x85f9974) at /usr/src/debug/koffice-2.2.2/krita/ui/kis_view2.cpp:376
#19 0xb627189f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb6217c64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb62204bf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb6f219d1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#23 0xb6cdde0e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#24 0xb62aa791 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb62a0d87 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) () from /usr/lib/libQtGui.so.4
#26 0xb629ec40 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb62c8e6b in ?? () from /usr/lib/libQtGui.so.4
#28 0xb6cdd11d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb6cdd319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0xb6ce1c70 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#31 0xb6215164 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#32 0xb515bff5 in kdemain (argc=1, argv=0x80ade78) at /usr/src/debug/koffice-2.2.2/krita/main.cc:49
#33 0x0804e5b1 in _start ()

This bug may be a duplicate of or related to bug 244566.

Possible duplicates by query: bug 244778, bug 244566.

Reported using DrKonqi
Comment 1 Halla Rempt 2010-10-09 10:50:13 UTC
Thank you for your report. Can you provide one of those images to test with? If it's too big for bugs.kde.org, you can mail it to boud@valdyas.org. Can you also test whether Digikam can import those images? We share the raw library with that application.
Comment 2 Dmitry Nosov 2010-10-12 12:40:10 UTC
There are You can find the picture http://depositfiles.com/files/sxwquownf

Best regards, Nosov Dmitry.

09.10.10, 12:50, boud@valdyas.org:

> https://bugs.kde.org/show_bug.cgi?id=252517
>  
>  
>  boud@valdyas.org changed:
>  
>             What    |Removed                     |Added
>  ----------------------------------------------------------------------------
>                   CC|                            |boud@valdyas.org
>  
>  
>  
>  
>  --- Comment #1 from    2010-10-09 10:50:13 ---
>  Thank you for your report. Can you provide one of those images to test with? If
>  it's too big for bugs.kde.org, you can mail it to boud@valdyas.org. Can you
>  also test whether Digikam can import those images? We share the raw library
>  with that application.
>  
>
Comment 3 Halla Rempt 2010-10-14 11:32:06 UTC
Thanks!
Comment 4 Cyrille Berger 2010-10-14 12:35:53 UTC
I can confirm the crash with branch/2.2. But not with trunk.
Comment 5 Cyrille Berger 2010-10-14 13:00:05 UTC
Sorry... I pressed the send button before writing the explanation.

It is actually a ABI breakage problem, the ABI of libkdcraw has changed (http://websvn.kde.org/branches/KDE/4.5/kdegraphics/libs/libkdcraw/libkdcraw/rawdecodingsettings.h?r1=1109038&r2=1109065), without a .so version bump, by recompiling the raw plugin in branch/2.2 I fixed the crash.

I mark the bug as "DOWNSTREAM" since you would need to figure out with OpenSuSE to get an updated krita (while actually the bug is UPSTREAM in libkdcraw... but it is too late now :( ).
Comment 6 Dmitry Nosov 2010-10-14 13:09:16 UTC
That's good. I used an other program that time. Thank's for Your help.