Bug 175102 - crashes opening the image editor for raw images (mrw). Embedded editor does not work
Summary: crashes opening the image editor for raw images (mrw). Embedded editor does n...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-RawImport-Native (show other bugs)
Version: 0.10.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-14 04:42 UTC by bogdan
Modified: 2022-01-26 04:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.10.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bogdan 2008-11-14 04:42:16 UTC
Version:           0.10.0 (using Devel)
Compiler:          gcc version 4.3.1 20080507 
OS:                Linux
Installed from:    Compiled sources

Digicam crashes opening the image editor for raw images (mrw). Jpg seems to work

Embedded editor does not work for either of them.

Crash Dump:

Application: digiKam (digikam), signal SIGSEGV
 [?1034h[Thread debugging using libthread_db enabled]
0x00007f183f941261 in nanosleep () from /lib64/libc.so.6
[Current thread is 0 (LWP 21149)]

Thread 11 (Thread 0x41c82950 (LWP 21151)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x0000000000698a18 in Digikam::ScanController::run (this=0xafa5c0) at /home/software/installed/digikam/graphics/digikam/digikam/scancontroller.cpp:346
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x41085950 (LWP 21154)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0xb83ff0) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x40884950 (LWP 21155)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0xb133a0) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x42483950 (LWP 21158)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0x351d930) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x42c84950 (LWP 21186)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0x596ec30) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x43485950 (LWP 21187)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0x5d46c90) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x43c86950 (LWP 21206)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0x5ca4520) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x44487950 (LWP 21209)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0x7f183026eac0) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x44c88950 (LWP 21210)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0x7f183030a120) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x45489950 (LWP 21211)):
#0  0x00007f18417f3dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1841a64fd9 in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f1846754483 in Digikam::LoadSaveThread::run (this=0x7f18303d3a70) at /home/software/installed/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f1841a64022 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f18417f0040 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f183f9720cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f18480d3700 (LWP 21149)):
[KCrash Handler]
#5  0x00007f1846849bb6 in Digikam::EditorTool::readSettings (this=0x7f1830238590) at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/editor/editortool.cpp:180
#6  0x00007f1846869c64 in Digikam::RawImport::slotInit (this=0x7f1830238590) at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/rawimport/rawimport.cpp:93
#7  0x00007f184684b782 in Digikam::EditorTool::qt_metacall (this=0x7f1830238590, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff5012d270)
    at /home/software/installed/digikam/graphics/digikam/digikam/editortool.moc:89
#8  0x00007f184684b869 in Digikam::EditorToolThreaded::qt_metacall (this=0x7f1830238590, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff5012d270)
    at /home/software/installed/digikam/graphics/digikam/digikam/editortool.moc:165
#9  0x00007f184686a67d in Digikam::RawImport::qt_metacall (this=0x7f1830238590, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff5012d270)
    at /home/software/installed/digikam/graphics/digikam/digikam/rawimport.moc:74
#10 0x00007f1841b61274 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#11 0x00007f1841b6759f in ?? () from /usr/lib64/libQtCore.so.4
#12 0x00007f1841b5bba3 in QObject::event () from /usr/lib64/libQtCore.so.4
#13 0x00007f1840e6917d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#14 0x00007f1840e70f2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#15 0x00007f1845a49acb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#16 0x00007f1841b4ce71 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#17 0x00007f1841b790c0 in ?? () from /usr/lib64/libQtCore.so.4
#18 0x00007f1841b7543d in ?? () from /usr/lib64/libQtCore.so.4
#19 0x00007f183b02493a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f183b028040 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f183b0281dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f1841b7539f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#23 0x00007f1840ef9ccf in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007f1841b4b772 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#25 0x00007f1841b4b8fd in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#26 0x00007f18429a1d5c in KIO::NetAccess::enter_loop () from /usr/lib64/libkio.so.5
#27 0x00007f18429a2396 in KIO::NetAccess::synchronousRunInternal () from /usr/lib64/libkio.so.5
#28 0x00007f18429a29ce in KIO::NetAccess::synchronousRun () from /usr/lib64/libkio.so.5
#29 0x00007f183e07d42f in KFileWidget::KFileWidget () from /usr/lib64/libkfile.so.4
#30 0x00007f181f80bb54 in ?? () from /usr/lib64/kde4/libkfilemodule.so
#31 0x00007f18429fb764 in KFileDialog::KFileDialog () from /usr/lib64/libkio.so.5
#32 0x00007f1842a35f3e in KUrlRequester::fileDialog () from /usr/lib64/libkio.so.5
#33 0x00007f184686f197 in RawSettingsBox (this=0x7f183039ec20, url=@0x7fff5012f4c0, parent=0x0)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/rawimport/rawsettingsbox.cpp:156
#34 0x00007f1846869f94 in RawImport (this=0x7f18303c2c70, url=@0x7fff5012f4c0, parent=0x5d459d0) at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/rawimport/rawimport.cpp:77
#35 0x00007f1846832f61 in Digikam::DImgInterface::load (this=0x5d459d0, filename=@0x7fff5012f550, iofileSettings=0x5dfb110, parent=0x5e21870)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp:205
#36 0x00007f184683ddc6 in Digikam::Canvas::load (this=0x5e38c00, filename=@0x7fff5012f550, IOFileSettings=0x5dfb110)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp:252
#37 0x000000000045debd in Digikam::ImageWindow::slotLoadCurrent (this=0x5c42000) at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp:559
#38 0x000000000045fb80 in Digikam::ImageWindow::qt_metacall (this=0x5c42000, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff5012f640)
    at /home/software/installed/digikam/graphics/digikam/digikam/imagewindow.moc:132
#39 0x00007f1841b61274 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#40 0x00007f1841b6759f in ?? () from /usr/lib64/libQtCore.so.4
#41 0x00007f1841b5bba3 in QObject::event () from /usr/lib64/libQtCore.so.4
#42 0x00007f1840e6917d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#43 0x00007f1840e70f2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#44 0x00007f1845a49acb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#45 0x00007f1841b4ce71 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#46 0x00007f1841b790c0 in ?? () from /usr/lib64/libQtCore.so.4
#47 0x00007f1841b7543d in ?? () from /usr/lib64/libQtCore.so.4
#48 0x00007f183b02493a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#49 0x00007f183b028040 in ?? () from /usr/lib64/libglib-2.0.so.0
#50 0x00007f183b0281dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f1841b7539f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#52 0x00007f1840ef9ccf in ?? () from /usr/lib64/libQtGui.so.4
#53 0x00007f1841b4b772 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#54 0x00007f1841b4b8fd in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#55 0x00007f18429a1d5c in KIO::NetAccess::enter_loop () from /usr/lib64/libkio.so.5
#56 0x00007f18429a2396 in KIO::NetAccess::synchronousRunInternal () from /usr/lib64/libkio.so.5
#57 0x00007f18429a29ce in KIO::NetAccess::synchronousRun () from /usr/lib64/libkio.so.5
#58 0x00007f183e07d42f in KFileWidget::KFileWidget () from /usr/lib64/libkfile.so.4
#59 0x00007f181f80bb54 in ?? () from /usr/lib64/kde4/libkfilemodule.so
#60 0x00007f18429fb764 in KFileDialog::KFileDialog () from /usr/lib64/libkio.so.5
#61 0x00007f1842a35f3e in KUrlRequester::fileDialog () from /usr/lib64/libkio.so.5
#62 0x00007f184686f197 in RawSettingsBox (this=0x7f1830217c50, url=@0x7fff50131890, parent=0x0)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/rawimport/rawsettingsbox.cpp:156
#63 0x00007f1846869f94 in RawImport (this=0x7f1830247290, url=@0x7fff50131890, parent=0x5d459d0) at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/rawimport/rawimport.cpp:77
#64 0x00007f1846832f61 in Digikam::DImgInterface::load (this=0x5d459d0, filename=@0x7fff50131920, iofileSettings=0x5dfb110, parent=0x5e21870)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp:205
#65 0x00007f184683ddc6 in Digikam::Canvas::load (this=0x5e38c00, filename=@0x7fff50131920, IOFileSettings=0x5dfb110)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp:252
#66 0x000000000045debd in Digikam::ImageWindow::slotLoadCurrent (this=0x5c42000) at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp:559
#67 0x000000000045fb80 in Digikam::ImageWindow::qt_metacall (this=0x5c42000, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff50131a10)
    at /home/software/installed/digikam/graphics/digikam/digikam/imagewindow.moc:132
#68 0x00007f1841b61274 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#69 0x00007f1841b6759f in ?? () from /usr/lib64/libQtCore.so.4
#70 0x00007f1841b5bba3 in QObject::event () from /usr/lib64/libQtCore.so.4
#71 0x00007f1840e6917d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#72 0x00007f1840e70f2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#73 0x00007f1845a49acb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#74 0x00007f1841b4ce71 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#75 0x00007f1841b790c0 in ?? () from /usr/lib64/libQtCore.so.4
#76 0x00007f1841b7543d in ?? () from /usr/lib64/libQtCore.so.4
#77 0x00007f183b02493a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#78 0x00007f183b028040 in ?? () from /usr/lib64/libglib-2.0.so.0
#79 0x00007f183b0281dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#80 0x00007f1841b7539f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#81 0x00007f1840ef9ccf in ?? () from /usr/lib64/libQtGui.so.4
#82 0x00007f1841b4b772 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#83 0x00007f1841b4b8fd in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#84 0x00007f18429a1d5c in KIO::NetAccess::enter_loop () from /usr/lib64/libkio.so.5
#85 0x00007f18429a2396 in KIO::NetAccess::synchronousRunInternal () from /usr/lib64/libkio.so.5
#86 0x00007f18429a29ce in KIO::NetAccess::synchronousRun () from /usr/lib64/libkio.so.5
#87 0x00007f183e07d42f in KFileWidget::KFileWidget () from /usr/lib64/libkfile.so.4
#88 0x00007f181f80bb54 in ?? () from /usr/lib64/kde4/libkfilemodule.so
#89 0x00007f18429fb764 in KFileDialog::KFileDialog () from /usr/lib64/libkio.so.5
#90 0x00007f1842a35f3e in KUrlRequester::fileDialog () from /usr/lib64/libkio.so.5
#91 0x00007f184686f197 in RawSettingsBox (this=0x7f183024c1d0, url=@0x7fff50133c60, parent=0x0)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/rawimport/rawsettingsbox.cpp:156
#92 0x00007f1846869f94 in RawImport (this=0x7f1830238590, url=@0x7fff50133c60, parent=0x5d459d0) at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/rawimport/rawimport.cpp:77
#93 0x00007f1846832f61 in Digikam::DImgInterface::load (this=0x5d459d0, filename=@0x7fff50133cf0, iofileSettings=0x5dfb110, parent=0x5e21870)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp:205
#94 0x00007f184683ddc6 in Digikam::Canvas::load (this=0x5e38c00, filename=@0x7fff50133cf0, IOFileSettings=0x5dfb110)
    at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp:252
#95 0x000000000045debd in Digikam::ImageWindow::slotLoadCurrent (this=0x5c42000) at /home/software/installed/digikam/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp:559
#96 0x000000000045fb80 in Digikam::ImageWindow::qt_metacall (this=0x5c42000, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff50133de0)
    at /home/software/installed/digikam/graphics/digikam/digikam/imagewindow.moc:132
#97 0x00007f1841b61274 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#98 0x00007f1841b6759f in ?? () from /usr/lib64/libQtCore.so.4
#99 0x00007f1841b5bba3 in QObject::event () from /usr/lib64/libQtCore.so.4
#100 0x00007f1840e6917d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#101 0x00007f1840e70f2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#102 0x00007f1845a49acb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#103 0x00007f1841b4ce71 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#104 0x00007f1841b790c0 in ?? () from /usr/lib64/libQtCore.so.4
#105 0x00007f1841b7543d in ?? () from /usr/lib64/libQtCore.so.4
#106 0x00007f183b02493a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#107 0x00007f183b028040 in ?? () from /usr/lib64/libglib-2.0.so.0
#108 0x00007f183b0281dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#109 0x00007f1841b7539f in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#110 0x00007f1840ef9ccf in ?? () from /usr/lib64/libQtGui.so.4
#111 0x00007f1841b4b772 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#112 0x00007f1841b4b8fd in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#113 0x00007f1841b4dded in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#114 0x00000000006878eb in main (argc=1, argv=0x7fff50135038) at /home/software/installed/digikam/graphics/digikam/digikam/main.cpp:180
Comment 1 caulier.gilles 2008-11-14 05:52:53 UTC
Thi sis not reproductible here. I work everyday with MRW files and i canot see any crash here.

Do you use  last code from KDE trunk subversion repository about:

- libkdcraw
- libkdexiv2
- digikam

Gilles Caulier
Comment 2 bogdan 2008-11-14 15:30:38 UTC
Yes, I followed the instructions on the digikam site. The crash only appeared after I upgraded Kde4 from 4.1.3 to 4.1.73.
However,the embedded image did never work for me for neither of JPG or MRW. Another thing I noticed then wars that the in a slide show the MRW images appear blurry, whereas, the JPG are sharp.
Comment 3 bogdan 2008-11-16 21:54:27 UTC
I don't experience the bug anymore after I downgraded KDE4 from 4.1.73 (trunk) to 4.1.3 (4.1 branch).  and after I took a new svn snapshot from today. 
However, I had to trick the CMakeLists.txt in the digikam directory because it would not recognize that I have the proper version of libkexiv2. I guess it has something to do with checking the version:
IF(NOT WIN32)
    FIND_PACKAGE(PkgConfig)
    PKG_CHECK_MODULES(Kexiv2 libkexiv2>=0.5.0)
Comment 4 Marcel Wiesweg 2008-12-02 16:51:37 UTC
Did you change only kdelibs, or other packages as well? Which version of kdegraphics/libs do you have installed? Maybe there are old versions around?
Your configuration problem may indicate a problem in that area.
Comment 5 bogdan 2008-12-02 17:02:51 UTC
I have only one version of of kdegraphics, the one from SVN. 
I compiled it and did a make install. 
I verified that it is the new one installed an no other is laying around.
I compiled the graphics directory ( including digikam ), but it complains about the libkexiv2. I had to get around it by forcing cmake to set it to true.

It may have something to do that my other libs are from 4.1.3 branch and digikam/kdegraphics code is from the trunk?
Comment 6 Marcel Wiesweg 2008-12-02 17:30:37 UTC
Given your KDE4 is installed in /usr (like OpenSuse) you should have

ldd /usr/bin/digikam | grep kexiv2
        libkexiv2.so.7 => /usr/lib/libkexiv2.so.7 (0xb58af000)
ldd /usr/bin/digikam | grep kdcraw
        libkdcraw.so.7 => /usr/lib/libkdcraw.so.7 (0xb57d3000)

pkg-config --modversion libkexiv2
0.5.0

ls /usr/lib/libkexiv2.so*
/usr/lib/libkexiv2.so  /usr/lib/libkexiv2.so.7  /usr/lib/libkexiv2.so.7.2.0
ls /usr/lib/libkdcraw.so*
/usr/lib/libkdcraw.so  /usr/lib/libkdcraw.so.7  /usr/lib/libkdcraw.so.7.0.0

Comment 7 bogdan 2008-12-02 21:46:59 UTC
First of all I have 64 bits OS, whereas you have 32 bits OS.
high:/home/bogdan # ldd /usr/bin/digikam | grep kexiv2
        libkexiv2.so.7 => /usr/lib64/libkexiv2.so.7 (0x00007f9ac94df000)
high:/home/bogdan # ldd /usr/bin/digikam | grep kdcraw
        libkdcraw.so.7 => /usr/local/lib/libkdcraw.so.7 (0x00007f7c14312000)
This is the problem, 
====================
high:/home/bogdan # pkg-config --modversion libkexiv2
0.4.0
but I don't understand why it comes beck with 0.4.0 as I have installed the latest.

Libs
=====
high:/home/bogdan # ls /usr/lib64/libkexiv2.so*
/usr/lib64/libkexiv2.so  /usr/lib64/libkexiv2.so.7  /usr/lib64/libkexiv2.so.7.2.0
high:/home/bogdan # ls /usr/lib64/libkdcraw.so*
/usr/lib64/libkdcraw.so  /usr/lib64/libkdcraw.so.7  /usr/lib64/libkdcraw.so.7.0.0
I don't have the 32 bit libraries
================================
ls /usr/lib/libkexiv2.so*
ls: cannot access /usr/lib/libkexiv2.so*: No such file or directory


I did more research and I fond that the libkexiv2.pc   in the source files is correct, but I believe that it is not copied in the /usr/lib64/pkgconfig directory by "make install" where is still 0.4.0 although the timestamp is good. 

high:/home/software/installed/digikam/kdegraphics/libs/libkexiv2 # cat libkexiv2.pc
prefix=/usr
exec_prefix=/usr/bin
libdir=/usr/lib64
includedir=/usr/include

Name: libkexiv2
Description: A C++ library to manipulate EXIF/IPTC/XMP metadata using Exiv2 library. This library is used by digiKam and kipi-plugins.
URL: http://www.kipi-plugins.org
Requires:
Version: 0.5.0
Libs: -L/usr/lib64 -lkexiv2
Cflags: -I/usr/include

 
Comment 8 bogdan 2008-12-03 03:36:14 UTC
Even with 
high:/home/software/installed/digikam/graphics # pkg-config --modversion libkexiv2
0.5.0

I still get the same error:
--  libkexiv2 library found............. NO                                            
--                                                                                     
CMake Error at digikam/CMakeLists.txt:181 (MESSAGE):                                   
   digiKam needs libkexiv2 library >= 0.5.0. You need to install libkexiv2 first

Did you ever test a 64 bit system, maybe there is a cmake configuration problem related to these systems? Although I can't see how.
Comment 9 caulier.gilles 2008-12-03 16:30:35 UTC
Remove CMake cache file and try again.

Gilles Caulier
Comment 10 bogdan 2008-12-03 17:19:37 UTC
Removing CMakeCache.txt worked. There is only one problem left, I guess, the libkexiv2.pc is not copied to /usr/lib64/pkgconfig  as I had the 0.4.0 and I had to manually copy it.

Also the SVN build does not work with the 4.1.3 branch libraries. It crashes when loading plugins, as I stated when filing for this bug.
Comment 11 caulier.gilles 2008-12-03 18:40:46 UTC
Sound like a broken binary compatibility with another shared libs from kdegraphics, where libkdcraw, libkexiv, and likipi are. Look here for info :

http://www.digikam.org/sharedlibs

I recommend to checkout theses libs using KDE svn from trunk, compile and install.

After that, checkout kipi-plugins and digiKam from trunk, compile it and install.

http://www.digikam.org/download/svn#checkout-kde4

Gilles
Comment 12 bogdan 2008-12-03 18:51:05 UTC
I actually did all that. I have all the KDE4 libs from SuSE's 4.1.3 branch, but the kdegraphics is from SVN
Comment 13 Marcel Wiesweg 2008-12-06 14:06:51 UTC
Ok let's take a step back.

What you describe as broken preview most likely is the infamous splitter bug 173746, and you have to drag the splitter upwards from the lower edge.

The other thing is the crash, do you still have the crash? I now became aware that the backtrace you provide is really strange because the same code path is listed three times, as if called recursively. Did you get the trace from the dialog popping up or by running digikam under GDB?
Comment 14 bogdan 2008-12-06 16:33:02 UTC
The output is from the crash box not from GDB.  
However, I can not reproduce this anymore since I can not start it since is crashing when loading plugins bug 175844
Comment 15 Dario Andres 2008-12-10 17:37:01 UTC
*** Bug 177396 has been marked as a duplicate of this bug. ***
Comment 16 Marcel Wiesweg 2008-12-23 14:42:53 UTC
Bug #177396 has exactly the same backtrace and was fixed by Gilles. (More precisely, 177396 was a dup of this, but someone decided it was not)