Bug 197254 - digikam crash at startup
Summary: digikam crash at startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: DImg-Plugins (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-20 13:08 UTC by Peter Möller
Modified: 2022-02-05 22:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments
backtrace exception (10.38 KB, application/octet-stream)
2009-06-27 00:29 UTC, Peter Möller
Details
console messages as text (30.70 KB, application/octet-stream)
2009-06-27 00:30 UTC, Peter Möller
Details
logging the console output from cmake with errors building kexiv2 (5.33 KB, text/x-log)
2009-07-04 14:18 UTC, Peter Möller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Möller 2009-06-20 13:08:08 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    SuSE RPMs

kde 4.2.4, release 2, opensuse 11.1, QT 4.4.3
digikam 1.0beta1-3.2 (as of today)

since i know about problems after updating applications, i did a reboot before catching this backtrace:

Anwendung: digiKam (digikam), Signal SIGABRT
[?1034h[Thread debugging using libthread_db enabled]
[Current thread is 1 (Thread 0xb48b7700 (LWP 5752))]

Thread 15 (Thread 0xb324db90 (LWP 5753)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb58c4c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5925872 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x082e88a1 in Digikam::ScanController::run (this=0x84c89b8) at /usr/src/debug/digikam-1.0.0-beta1/digikam/scancontroller.cpp:455
#4  0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#6  0xb57043be in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb1d67b90 (LWP 5756)):
#0  0xb58c25ac in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb513222b in g_main_context_release () from /usr/lib/libglib-2.0.so.0
#2  0xb5133f85 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb5134241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb5a3efd7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb5a1301a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb5a131da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb5921559 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0xb706d39d in Digikam::ImageFilterModelWorker::Thread::run() () from /usr/lib/libdigikamdatabase.so.1
#9  0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#10 0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#11 0xb57043be in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb2568b90 (LWP 5757)):
#0  0xb51c03da in clock_gettime () from /lib/librt.so.1
#1  0xb5a40beb in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5a40dc1 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5a425bc in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5a3f198 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb51338da in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5133d6a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5134241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb5a3efd7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb5a1301a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb5a131da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb5921559 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xb706d39d in Digikam::ImageFilterModelWorker::Thread::run() () from /usr/lib/libdigikamdatabase.so.1
#13 0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#15 0xb57043be in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb13ccb90 (LWP 5758)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb565d990 in raise () from /lib/libc.so.6
#8  0xb565f2c8 in abort () from /lib/libc.so.6
#9  0xb5884af8 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#10 0xb5882445 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb5882482 in std::terminate() () from /usr/lib/libstdc++.so.6
#12 0xb58825ba in __cxa_throw () from /usr/lib/libstdc++.so.6
#13 0xb58831a3 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#14 0xb588328d in operator new[](unsigned int) () from /usr/lib/libstdc++.so.6
#15 0xb719439a in Digikam::TIFFLoader::load (this=0xb13cbc70, filePath=@0xb13cc064, observer=0x901f430) at /usr/src/debug/digikam-1.0.0-beta1/libs/dimg/loaders/tiffloader.cpp:400
#16 0xb717e3bd in Digikam::DImg::load (this=0xb13cbf38, filePath=@0xb13cc064, loadFlagsInt=31, observer=0x901f430, rawDecodingSettings=
          {<KDcrawIface::RawDecodingSettings> = {_vptr.RawDecodingSettings = 0xb13cbd00, gamma16bit = 40, sixteenBitsImage = false, halfSizeColorImage = false, whiteBalance = 2973547784, customWhiteBalance = -1246769164, customWhiteBalanceGreen = -7.4184196026941422e-68, RGBInterpolate4Colors = true, DontStretchPixels = false, unclipColors = 6500, RAWQuality = KDcrawIface::RawDecodingSettings::BILINEAR, medianFilterPasses = 1072693248, enableNoiseReduction = false, NRThreshold = 0, enableCACorrection = false, caMultiplier = {-1.6265290767316436e-71, -1.6267501626466742e-71}, brightness = 0, enableBlackPoint = false, blackPoint = 0, enableWhitePoint = false, whitePoint = 1065353216, inputColorSpace = 3044585216, inputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 17306}, alloc = 0, size = 0, data = 0x83f3212, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 208}, alloc = 0, size = 0, data = 0xb5afd46e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x0, static codecForCStrings = 0x0}, outputColorSpace = KDcrawIface::RawDecodingSettings::RAWCOLOR, outputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 17306}, alloc = 0, size = 0, data = 0x83f3212, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 208}, alloc = 0, size = 0, data = 0xb5afd46e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x0, static codecForCStrings = 0x0}, deadPixelMap = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 17306}, alloc = 0, size = 0, data = 0x83f3212, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 208}, alloc = 0, size = 0, data = 0xb5afd46e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x0, static codecForCStrings = 0x0}, whiteBalanceArea = {x1 = 138359296, y1 = 1, x2 = 138359296, y2 = 138359296}}, lightness = 0, contrast = -nan(0xfffffffffffff), gamma = 0, saturation = 1, exposureComp = 1, curveAdjust = {<QVector<QPoint>> = {{p = 0x0, d = 0x0}}, <No data fields>}, levelsAdjust = {{p = {static shared_null = {ref = {_q_value = 29552}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x3ff00000}, d = 0x3ff00000}}}) at /usr/src/debug/digikam-1.0.0-beta1/libs/dimg/dimg.cpp:374
#17 0xb717ec4d in Digikam::DImg::load (this=0xb13cbf38, filePath=@0xb13cc064, observer=0x901f430, rawDecodingSettings=
          {<KDcrawIface::RawDecodingSettings> = {_vptr.RawDecodingSettings = 0xb13cbe8c, gamma16bit = 56, sixteenBitsImage = 190, halfSizeColorImage = 60, whiteBalance = 3043628814, customWhiteBalance = -1321418952, customWhiteBalanceGreen = -4.2513418970986527e-50, RGBInterpolate4Colors = 56, DontStretchPixels = 190, unclipColors = -1321419256, RAWQuality = 3046272330, medianFilterPasses = -1321419208, enableNoiseReduction = 56, NRThreshold = -1250381836, enableCACorrection = 68, caMultiplier = {8.4879831672207357e-313, -4.7478595269753112e-66}, brightness = 9.52882956e-44, enableBlackPoint = 168, blackPoint = -1321419192, enableWhitePoint = 244, whitePoint = 68, inputColorSpace = 3043628814, inputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 17306}, alloc = 0, size = 0, data = 0x83f3212, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 208}, alloc = 0, size = 0, data = 0xb5afd46e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xb13cbe58, static codecForCStrings = 0x0}, outputColorSpace = 3045601607, outputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 17306}, alloc = 0, size = 0, data = 0x83f3212, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 208}, alloc = 0, size = 0, data = 0xb5afd46e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x44, static codecForCStrings = 0x0}, deadPixelMap = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 17306}, alloc = 0, size = 0, data = 0x83f3212, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 208}, alloc = 0, size = 0, data = 0xb5afd46e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x20, static codecForCStrings = 0x0}, whiteBalanceArea = {x1 = -1302262008, y1 = -1246769164, x2 = -1321419144, y2 = -1302204952}}, lightness = -9.1040471484631632e-51, contrast = 6.9382486387036538e-313, gamma = -1.6270202233000648e-71, saturation = -5.3211894721512405e-66, exposureComp = -4.7478595269753112e-66, curveAdjust = {<QVector<QPoint>> = {{p = 0xb56a0704, d = 0xb56a0704}}, <No data fields>}, levelsAdjust = {{p = {static shared_null = {ref = {_q_value = 29552}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xb2600010}, d = 0xb2600010}}}) at /usr/src/debug/digikam-1.0.0-beta1/libs/dimg/dimg.cpp:334
#18 0xb724b1ac in Digikam::ThumbnailCreator::loadWithDImg (this=0x851d430, path=@0xb13cc064) at /usr/src/debug/digikam-1.0.0-beta1/libs/threadimageio/thumbnailcreator.cpp:345
#19 0xb724c148 in Digikam::ThumbnailCreator::createThumbnail (this=0x851d430, info=@0xb13cc0f4) at /usr/src/debug/digikam-1.0.0-beta1/libs/threadimageio/thumbnailcreator.cpp:275
#20 0xb724cbcf in Digikam::ThumbnailCreator::load (this=0x851d430, path=@0x901f434) at /usr/src/debug/digikam-1.0.0-beta1/libs/threadimageio/thumbnailcreator.cpp:177
#21 0xb725216b in Digikam::ThumbnailLoadingTask::execute (this=0x901f428) at /usr/src/debug/digikam-1.0.0-beta1/libs/threadimageio/thumbnailtask.cpp:135
#22 0xb7233040 in Digikam::LoadSaveThread::run (this=0x8500e88) at /usr/src/debug/digikam-1.0.0-beta1/libs/threadimageio/loadsavethread.cpp:139
#23 0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#24 0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#25 0xb57043be in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb0bcbb90 (LWP 5759)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb58c4c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5925872 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb7233032 in Digikam::LoadSaveThread::run (this=0x853d858) at /usr/src/debug/digikam-1.0.0-beta1/libs/threadimageio/loadsavethread.cpp:136
#4  0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#6  0xb57043be in clone () from /lib/libc.so.6

Thread 10 (Thread 0xadd3cb90 (LWP 5760)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb58c4f62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaebfe721 in ?? () from /usr/lib/libxine.so.1
#3  0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#4  0xb57043be in clone () from /lib/libc.so.6

Thread 9 (Thread 0xad0a2b90 (LWP 5761)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb58c4f62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaec0d1ae in ?? () from /usr/lib/libxine.so.1
#3  0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#4  0xb57043be in clone () from /lib/libc.so.6

Thread 8 (Thread 0xac8a1b90 (LWP 5762)):
#0  0xb51c03da in clock_gettime () from /lib/librt.so.1
#1  0xb5a40beb in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5a40dc1 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5a425bc in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5a3f198 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb51338da in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5133d6a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5134241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb5a3efd7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb5a1301a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb5a131da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb5921559 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xaec558f9 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#14 0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#15 0xb57043be in clone () from /lib/libc.so.6

Thread 7 (Thread 0xac0a0b90 (LWP 5763)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb56fa6a7 in poll () from /lib/libc.so.6
#2  0xad4d9d72 in ?? () from /usr/lib/libpulse.so.0
#3  0xad4c9be0 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xad4cb383 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xad4cb454 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xad4d9b23 in ?? () from /usr/lib/libpulse.so.0
#7  0xad503272 in ?? () from /usr/lib/libpulse.so.0
#8  0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#9  0xb57043be in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa789eb90 (LWP 5764)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb58c4c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaec10f43 in ?? () from /usr/lib/libxine.so.1
#3  0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#4  0xb57043be in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa709db90 (LWP 5765)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb58c4c35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5925872 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb7233032 in Digikam::LoadSaveThread::run (this=0x8cb7738) at /usr/src/debug/digikam-1.0.0-beta1/libs/threadimageio/loadsavethread.cpp:136
#4  0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#6  0xb57043be in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa689cb90 (LWP 5766)):
#0  0xb51c03da in clock_gettime () from /lib/librt.so.1
#1  0xb5a40beb in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5a40dc1 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5a425bc in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5a3f198 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb51338da in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5133d6a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5134241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb5a3efd7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb5a1301a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb5a131da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb5921559 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#13 0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#14 0xb57043be in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa609bb90 (LWP 5767)):
#0  0xb51c03da in clock_gettime () from /lib/librt.so.1
#1  0xb5a40beb in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5a40dc1 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5a425bc in ?? () from /usr/lib/libQtCore.so.4
#4  0xb5a3f198 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb51338da in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5133d6a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5134241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb5a3efd7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb5a1301a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb5a131da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb5921559 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#13 0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#14 0xb57043be in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa589ab90 (LWP 5773)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb58c4f62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb592584c in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb591a9c6 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb592485e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb58c11b5 in start_thread () from /lib/libpthread.so.0
#6  0xb57043be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb48b7700 (LWP 5752)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb56fd411 in select () from /lib/libc.so.6
#2  0xb4c73285 in ?? () from /usr/lib/libxcb.so.1
#3  0xb4c74c5a in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0xb547f5d1 in _XReply () from /usr/lib/libX11.so.6
#5  0xb5458e11 in XListFonts () from /usr/lib/libX11.so.6
#6  0xb54b4914 in ?? () from /usr/lib/libX11.so.6
#7  0xb54b5f30 in ?? () from /usr/lib/libX11.so.6
#8  0xb54b6a43 in ?? () from /usr/lib/libX11.so.6
#9  0xb5465921 in XCreateOC () from /usr/lib/libX11.so.6
#10 0xb54595bf in XCreateFontSet () from /usr/lib/libX11.so.6
#11 0xb643d832 in ?? () from /usr/lib/libQtGui.so.4
#12 0xb643d930 in ?? () from /usr/lib/libQtGui.so.4
#13 0xb643ef1b in ?? () from /usr/lib/libQtGui.so.4
#14 0xb5ed2192 in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () from /usr/lib/libQtGui.so.4
#15 0xb5f24e42 in QWidget::setFocus(Qt::FocusReason) () from /usr/lib/libQtGui.so.4
#16 0xb5ed276c in QApplication::setActiveWindow(QWidget*) () from /usr/lib/libQtGui.so.4
#17 0xb5f3c454 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb5f650ca in ?? () from /usr/lib/libQtGui.so.4
#19 0xb51309c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb5134083 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb5134241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb5a3efb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0xb5f647c5 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb5a1301a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0xb5a131da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0xb5a15895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#27 0xb5ecb777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#28 0x0831bf0b in main (argc=5, argv=0xbfc40524) at /usr/src/debug/digikam-1.0.0-beta1/digikam/main.cpp:184
Comment 1 Peter Möller 2009-06-20 13:11:27 UTC
additional: this happens even if there is no camera attached via usb.
Comment 2 Peter Möller 2009-06-20 14:58:54 UTC
will not do it myself, but this bug should get a higher prio, because i must uninstall digikam in order to have a change to see the contents of the camera again
Comment 3 Marcel Wiesweg 2009-06-20 16:37:21 UTC
SVN commit 984269 by mwiesweg:

Catch std::bad_alloc around the main image data allocation - with very big images
or corrupt headers, width or height information may be fatally large.

CCBUG: 197254

 M  +24 -4     tiffloader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=984269
Comment 4 Marcel Wiesweg 2009-06-20 16:41:09 UTC
Peter please test with the fix.
This crash is related to loading a (very large) TIFF file.
Comment 5 Peter Möller 2009-06-23 19:53:31 UTC
Hi Marcel,

hab ein wenig gebraucht, bis ich klar war, was da zu tun ist. Habe jetzt
exiv2 und LibRaw libs gebaut und konnte dadurch den gefixten Stand von
digikam mit "cmake ." compilieren. allerdings find ich jetzt nix zum
Ausführen. Das original digikam ist wohl noch normal installiert, also
wurde kein neuerer Stand darüber installiert.

Vielleicht fehlt ja noch der richtige Befehl zum Installieren. Kannst Du
mir da einen Tipp geben?

Gruß

Peter Möller


Marcel Wiesweg schrieb:
> https://bugs.kde.org/show_bug.cgi?id=197254
>
>
> Marcel Wiesweg <marcel.wiesweg@gmx.de> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |marcel.wiesweg@gmx.de
>
>
>
>
> --- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-06-20 16:41:09 ---
> Peter please test with the fix.
> This crash is related to loading a (very large) TIFF file.
>
>
Comment 6 Peter Möller 2009-06-23 20:33:20 UTC
sorry for the wrong language. Calling make with the fixed code brings 2 errors. Is there a hint, what i should do?

[ 42%] Building CXX object digikam/CMakeFiles/digikam.dir/dbstatdlg.o
/extra/install/11.1/packages/kde4-graphics/digikam/digikam/dbstatdlg.cpp: In constructor ‘Digikam::DBStatDlg::DBStatDlg(QWidget*)’:
/extra/install/11.1/packages/kde4-graphics/digikam/digikam/dbstatdlg.cpp:85: error: ‘class QList<Digikam::AlbumInfo>’ has no member named ‘length’
/extra/install/11.1/packages/kde4-graphics/digikam/digikam/dbstatdlg.cpp:90: error: ‘class QList<Digikam::TagInfo>’ has no member named ‘length’
make[2]: *** [digikam/CMakeFiles/digikam.dir/dbstatdlg.o] Fehler 1
make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Fehler 2
Comment 7 Marcel Wiesweg 2009-06-23 21:17:46 UTC
@#5: There is a self-compiling recipe somewhere on digikam.org as well. But you already succeeded ;-) Normally, type "make" to compile and "make install", as root, to install. (Check that the existing binary is really replaced and the new one is not installed in /usr/local but I think that should work.)

@#6: This was a Qt-4.5 only commit and should be fixed in current SVN
Comment 8 Peter Möller 2009-06-27 00:29:24 UTC
Created attachment 34850 [details]
backtrace exception
Comment 9 Peter Möller 2009-06-27 00:30:53 UTC
Created attachment 34851 [details]
console messages as text
Comment 10 Peter Möller 2009-06-27 00:31:19 UTC
meanwhile i was able to build rev 987807, which is beta2 family. The behaviour changed in so far that i see the list of picture previews until to a certain one. About 10 sec later digikam still crashes, but i'm able to identify the bad pictures now. They were created by me using hugin to combine pictures. Of course there might be handling errors, because it was the first usage of the program. In fact other programs like gimp also fail to open it, but gimp wan't crash.

Still it could be a lucky situation, that i did some mistakes, because digikam might avoid to crash in the future there ;-)

Since the pictures are pretty big, i don't know how to offer them (1GB, resp. 2GB of size). And i don't have the webspace to upload them.

So here some additional infos instead.

Exception backtrace and the console messages as file attachment.
Comment 11 Marcel Wiesweg 2009-06-27 17:10:33 UTC
First: you will not be able to open such huge images with digikam unless you have huge amounts of memory. Simple reason: digikam's image editor does not use tiling but one big chunk of memory. This is absolutely sufficient for photos. But a file of 2GB compressed will need memory of >2GB as a chunk. No wonder it fails.

Now to your backtraces. The XIO error indicates that anything before went wrong and you dont get to the point where it went wrong unfortunately. 
Sometimes is helps to start digikam directly under gdb and to provoke the crash. Or running digikam under valgrind may provide valuable information.

Unfortunately I dont have huge images to test right now. I may try to combine a few hundred images with hugin one day ;-)
Comment 12 Peter Möller 2009-07-03 16:55:03 UTC
of course i like non crashing applications best ;-). Lets see what we have:
- the originating bug is fixed.
- there is still a crash at a later time

I give it into your hand, how the story is continued. Its ok to close this one, but it might be a good idea to catch the other situation with too big pictures in a similar way. But maybe this is ok already, because the hugin-created pictures are unusable and therefore corrupted anyway.
Comment 13 Marcel Wiesweg 2009-07-03 18:39:49 UTC
SVN commit 990986 by mwiesweg:

Check that the newly created QImage is not null, which may happen if memory allocation fails.

CCBUG: 197254

 M  +6 -0      dimg.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=990986
Comment 14 Marcel Wiesweg 2009-07-03 18:43:46 UTC
At a second glance your backtrace was indeed quite useful.
Please try again...there should also be an error message on the console (enable 50003 with kdebugdialog)
Thanks
Comment 15 Peter Möller 2009-07-04 14:16:33 UTC
tried to verify it, but could nor build successfully. Here my steps:

--------------------------------------------------------------------------------
this is script 1 to get updates: ok, have SVN release 991184 now
--------------------------------------------------------------------------------
cd /extra/install/11.1/packages
 
svn co -N svn://anonsvn.kde.org/home/kde/branches/KDE/4.2/kdegraphics
cd kdegraphics
svn up libs
svn up cmake

# To Checkout the latest digiKam and Kipi-plugins SVN source for KDE4:

cd ..
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics
cd graphics
svn up digikam
svn up kipi-plugins
svn up cmake
--------------------------------------------------------------------------------


Next step configure:
--------------------------------------------------------------------------------
cd /extra/install/11.1/packages/kdegraphics
cmake .
--------------------------------------------------------------------------------

Targets kipi, kdcraw, kdc_emu, identify, mem_image, raw2png, simple_dcraw including those *_automoc are ok. Problem with kexiv2.

Look at the Log cmake.log among the attachments

Did not see this before. Did i get into an unlucky moment, where sources are not consistent or did i do something wrong?
Comment 16 Peter Möller 2009-07-04 14:18:20 UTC
Created attachment 35037 [details]
logging the console output from cmake with errors building kexiv2
Comment 17 Marcel Wiesweg 2009-07-04 17:00:02 UTC
Strange. Some old object files around? Try "make clean" or remove build directory, and try again.
Comment 18 Peter Möller 2009-08-06 18:00:10 UTC
Hi Marcel,

here are the good news: Yesterday i changed to kde 4.3 and found beta3 in the playground. So this is a pretty good 'work around my building problems' ;-)

Result: Full success! Digikam works as expected now

Feel free to close it now.