Bug 241536

Summary: reproducible crash when bilding fingerprint
Product: [Applications] digikam Reporter: Axel Krebs <axel.krebs>
Component: Searches-SimilarityAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: axel.krebs, caulier.gilles
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Axel Krebs 2010-06-12 12:45:22 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
digiKam
Version 1.2.0
Unter KDE 4.4.2 (KDE 4.4.2)

German localisation

Statistics
digiKam version 1.2.0
AVI: 59
BMP: 1
GIF: 101
JPG: 38071
MPEG: 4
PNG: 246
RAW-CR2: 338
RAW-CRW: 10910
RAW-DNG: 3
RAW-NEF: 10037
TIFF: 82
Gesamtzahl der Einträge: 59852
: 
Alben: 768
Stichwörter: 20

SPECIALITY:
- a few dozens of pics from hugin panorama editor, v.  2009.2.0.4461 from sourceforge; max sizes 660 MB
- the pics folder contains some other formats, as tar-files, e.g. 

The crash can be reproduced every time.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 1 (Thread 0x7f52afb727e0 (LWP 7097))]

Thread 16 (Thread 0x7f529355b710 (LWP 7098)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52a921972b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1c2bf90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1c2bf90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006e1d9b in Digikam::ScanController::run (this=0x1c2bc20) at /build/buildd/digikam-1.2.0/digikam/scancontroller.cpp:516
#4  0x00007f52a9218775 in QThreadPrivate::start (arg=0x1c2bc20) at thread/qthread_unix.cpp:248
#5  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f528fc78710 (LWP 7127)):
#0  0x00007f52a55d3425 in g_thread_self () from /lib/libglib-2.0.so.0
#1  0x00007f52a55ae8e9 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f52a9336566 in QEventDispatcherGlib::processEvents (this=0x21998d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#3  0x00007f52a930b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f52a930bd6c in QEventLoop::exec (this=0x7f528fc77d70, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f52a9215d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#6  0x00007f52a9218775 in QThreadPrivate::start (arg=0x2123150) at thread/qthread_unix.cpp:248
#7  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f528e8cb710 (LWP 7128)):
#0  0x00007f52a8f8b3e1 in __pthread_mutex_lock (mutex=0x206aea8) at pthread_mutex_lock.c:56
#1  0x00007f52a55ae50e in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f52a55ae8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f52a9336566 in QEventDispatcherGlib::processEvents (this=0x1eca440, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f52a930b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f52a930bd6c in QEventLoop::exec (this=0x7f528e8cad70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f52a9215d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f52a9218775 in QThreadPrivate::start (arg=0x1ed9700) at thread/qthread_unix.cpp:248
#8  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f528dfbe710 (LWP 7129)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52a921972b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2276388, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2276388, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f52acb72532 in Digikam::LoadSaveThread::run (this=0x2276370) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f52a9218775 in QThreadPrivate::start (arg=0x2276370) at thread/qthread_unix.cpp:248
#5  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f528d7bd710 (LWP 7130)):
#0  0x00007f52a55ae42a in ?? () from /lib/libglib-2.0.so.0
#1  0x00007f52a55ae8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f52a9336566 in QEventDispatcherGlib::processEvents (this=0x2343eb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#3  0x00007f52a930b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f52a930bd6c in QEventLoop::exec (this=0x7f528d7bcd70, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f52a9215d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#6  0x00007f52a9218775 in QThreadPrivate::start (arg=0x222b0f0) at thread/qthread_unix.cpp:248
#7  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f528cfbc710 (LWP 7131)):
#0  0x00007f52a8f8ca2d in __pthread_mutex_unlock_usercnt (mutex=0x1fb1598) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1fb1598) at pthread_mutex_unlock.c:290
#2  0x00007f52a55adb01 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x00007f52a55ae4c3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f52a55ae8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f52a9336566 in QEventDispatcherGlib::processEvents (this=0x1f2dd30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007f52a930b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f52a930bd6c in QEventLoop::exec (this=0x7f528cfbbd70, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f52a9215d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007f52a9218775 in QThreadPrivate::start (arg=0x1c3a5e0) at thread/qthread_unix.cpp:248
#10 0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f5284e88710 (LWP 7133)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f5286bd1081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f528324b710 (LWP 7135)):
#0  0x00007f52a82b2f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f52a10ad29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f52a10ad7d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f52a10ad8f8 in ?? () from /usr/lib/libxcb.so.1
#4  0x00007f52a10aec9a in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#5  0x00007f5284483323 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_vo_out_xcbxv.so
#6  0x00007f5286bdd083 in ?? () from /usr/lib/libxine.so.1
#7  0x00007f5286e6b956 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f5286e2b8ff in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f5286e2ba8d in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x00007f5286e2d7a8 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#11 0x00007f52aa1f722c in QApplicationPrivate::notify_helper (this=0x19b1f30, receiver=0x2beafe0, e=0x2bedd60) at kernel/qapplication.cpp:4300
#12 0x00007f52aa1fd6fb in QApplication::notify (this=0x7fffe8b88fb0, receiver=0x2beafe0, e=0x2bedd60) at kernel/qapplication.cpp:4183
#13 0x00007f52ab15d526 in KApplication::notify (this=0x7fffe8b88fb0, receiver=0x2beafe0, event=0x2bedd60) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007f52a930d06c in QCoreApplication::notifyInternal (this=0x7fffe8b88fb0, receiver=0x2beafe0, event=0x2bedd60) at kernel/qcoreapplication.cpp:704
#15 0x00007f52a930f7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2beb160) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2beb160) at kernel/qcoreapplication.cpp:1345
#17 0x00007f52a93369d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#18 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#19 0x00007f52a55aa8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007f52a55ae748 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007f52a55ae8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007f52a9336566 in QEventDispatcherGlib::processEvents (this=0x2beb5a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#23 0x00007f52a930b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007f52a930bd6c in QEventLoop::exec (this=0x7f528324ad10, flags=) at kernel/qeventloop.cpp:201
#25 0x00007f52a9215d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#26 0x00007f5286e2d440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#27 0x00007f52a9218775 in QThreadPrivate::start (arg=0x2beafe0) at thread/qthread_unix.cpp:248
#28 0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#29 0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f527d513710 (LWP 7141)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52a921972b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2d6db88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2d6db88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f52acb72532 in Digikam::LoadSaveThread::run (this=0x2d6db70) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f52a9218775 in QThreadPrivate::start (arg=0x2d6db70) at thread/qthread_unix.cpp:248
#5  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f527c511710 (LWP 7149)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52a921972b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3221418, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3221418, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f52acb72532 in Digikam::LoadSaveThread::run (this=0x3221400) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f52a9218775 in QThreadPrivate::start (arg=0x3221400) at thread/qthread_unix.cpp:248
#5  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f527cd12710 (LWP 7154)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f52a921972b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3906bb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3906bb8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f52acb72532 in Digikam::LoadSaveThread::run (this=0x3906ba0) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f52a9218775 in QThreadPrivate::start (arg=0x3906ba0) at thread/qthread_unix.cpp:248
#5  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f527e673710 (LWP 7164)):
#0  0x00007f52a82b2f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f528242a41f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f5282419d86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f528241b809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f528241b8c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f528242a21b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f52821e90e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f527ad0e710 (LWP 7165)):
#0  __pthread_mutex_unlock_full (mutex=0x2e09f20, decr=135) at pthread_mutex_unlock.c:230
#1  0x00007f52821e83be in pa_mutex_unlock () from /usr/lib/libpulsecommon-0.9.21.so
#2  0x00007f5281311d70 in ?? () from /usr/lib/alsa-lib/libasound_module_ctl_pulse.so
#3  0x00007f5296b40c98 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f5296b4aa79 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#5  0x00007f5282845956 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#6  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f527b50f710 (LWP 7166)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5286be1e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f52704fb710 (LWP 7183)):
[KCrash Handler]
#5  Digikam::DImgScale::dimgScaleAARGBA (isi=<value optimized out>, dest=0x0, dxx=<value optimized out>, dyy=<value optimized out>, dx=4, dy=<value optimized out>, dw=128, dh=12, 
    dow=<value optimized out>, sow=<value optimized out>) at /build/buildd/digikam-1.2.0/libs/dimg/dimgscale.cpp:817
#6  0x00007f52aca42132 in Digikam::DImg::smoothScale (this=0x8050d38, dw=<value optimized out>, dh=<value optimized out>, aspectRatioMode=<value optimized out>)
    at /build/buildd/digikam-1.2.0/libs/dimg/dimgscale.cpp:152
#7  0x00007f52acb8a92a in Digikam::PreviewLoadingTask::execute (this=0x8050bf0) at /build/buildd/digikam-1.2.0/libs/threadimageio/previewtask.cpp:290
#8  0x00007f52acb724fc in Digikam::LoadSaveThread::run (this=0x4811cf0) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:134
#9  0x00007f52a9218775 in QThreadPrivate::start (arg=0x4811cf0) at thread/qthread_unix.cpp:248
#10 0x00007f52a8f889ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f52a82bf6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f52afb727e0 (LWP 7097)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f52a92180e5 in thread_sleep (ti=0x7fffe8b88ae0) at thread/qthread_unix.cpp:398
#2  0x00007f52a9218250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f5286e54b8a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f52af522846 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007f52a8212262 in __run_exit_handlers (status=1) at exit.c:78
#6  *__GI_exit (status=1) at exit.c:100
#7  0x00007f529b86c4d6 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#8  0x00007f52ab15d288 in KApplication::xioErrhandler (this=0x7fffe8b88fb0, dpy=0x19c92b0) at ../../kdeui/kernel/kapplication.cpp:408
#9  0x00007f52a76557fe in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007f52a765d355 in ?? () from /usr/lib/libX11.so.6
#11 0x00007f52a765dc07 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f52a764640b in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007f52aa2a7697 in x11EventSourcePrepare (s=0x19b5c50, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#14 0x00007f52a55adeb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#15 0x00007f52a55ae318 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007f52a55ae8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007f52a9336513 in QEventDispatcherGlib::processEvents (this=0x19776d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#18 0x00007f52aa2a746e in QGuiEventDispatcherGlib::processEvents (this=0x7fffe8b88a64, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007f52a930b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007f52a930bd6c in QEventLoop::exec (this=0x7fffe8b88ee0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007f52a930faab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#22 0x000000000077fa9b in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/main.cpp:193

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

Possible duplicates by query: bug 235763, bug 222273.

Reported using DrKonqi
Comment 1 Axel Krebs 2010-06-12 12:51:05 UTC
- A similar crash happened with previous digiKAM-Version under Ubuntu 9.4 
- digikam4.db has 351,5 MB size
- thumbnails-digikam.db has 1.2 GB size
Comment 2 Marcel Wiesweg 2010-06-12 16:00:08 UTC
There is a known crash with panorama images in our scaling code. Just that the code is complicated, I dont even know where the problem is.

*** This bug has been marked as a duplicate of bug 207710 ***
Comment 3 Axel Krebs 2010-06-12 17:10:29 UTC
(In reply to comment #2)
> There is a known crash with panorama images in our scaling code. Just that the
> code is complicated, I dont even know where the problem is.
> 
> *** This bug has been marked as a duplicate of bug 207710 ***

So, if "you dont know where the problem" is (why are you sure for failure-duplicity?):

1.) what would/could be a straight target oriented attempt to exclude wrong, to include possible failure?

2.) can I do further testing on my machine?
Comment 4 Axel Krebs 2010-06-12 17:11:16 UTC
(In reply to comment #2)
> There is a known crash with panorama images in our scaling code. Just that the
> code is complicated, I dont even know where the problem is.
> 
> *** This bug has been marked as a duplicate of bug 207710 ***

So, if "you dont know where the problem" is (why are you sure for failure-duplicity?):

1.) what would/could be a straight target oriented attempt to exclude wrong, to include possible failure?

2.) can I do further testing on my machine?
Comment 5 Marcel Wiesweg 2010-06-13 15:22:26 UTC
I can fully reproduce the crash on my computer, in 100% of cases with certain panorama images.
dimgscale.cpp is 2000 lines of manually optimized scaling code, without comments of meaningful variable names, not written or completely understood by anyone of us in the team.
Probably, a few hours of careful study would be needed to understand and fix what's wrong here.
Comment 6 Axel Krebs 2010-06-13 17:14:55 UTC
Am 13.06.2010 15:22, schrieb Marcel Wiesweg:
> https://bugs.kde.org/show_bug.cgi?id=241536
>
>
> --- Comment #5 from Marcel Wiesweg<marcel wiesweg gmx de>   2010-06-13 15:22:26 ---
> I can fully reproduce the crash on my computer, in 100% of cases with certain
> panorama images.
> dimgscale.cpp is 2000 lines of manually optimized scaling code, without
> comments of meaningful variable names, not written or completely understood by
> anyone of us in the team.
> Probably, a few hours of careful study would be needed to understand and fix
> what's wrong here.
>

If "only" a few hours where needed to find the failure cause, wouldn't 
this be worth? It looks to me, dimgscale.cpp might be quite a bottleneck 
for DigiKam 
<http://digikam.sourcearchive.com/documentation/2:0.9.2-2ubuntu2/files.html>. 

---

Question: if hardware is _not_ the reason, makes it sense to narrow the 
very files: type, versions, sizes e.g.?
---

I published my database statistics from DigiKam; the statistic seems 
complete, but does _not_ distinguish several fine variations: is there a 
better detailed statistic available?
---

I know there are many "dialects" for gif, tif(f), raw (nef, cr2, crw,..) 
and so on.

And I know from an older (cheap) Canon Powershot A710 IS, and, less, 
from Canon Powershot A720 IS, that these models mistake exif-data (wrong 
date and time in raw, correct date and time in jpg, e.g.)

Besides, exif standard changed themselfes within the last couple of years:
<http://de.wikipedia.org/wiki/Exchangeable_Image_File_Format>
<http://www.exif.org/specifications.html>

So I ask myself, how should DigiKam handle "old" exif-data right?
---

I am afraid, I (would like but) cannot helf do programming work.
Comment 7 caulier.gilles 2010-06-29 11:38:31 UTC
*** Bug 243136 has been marked as a duplicate of this bug. ***
Comment 8 caulier.gilles 2019-12-25 07:22:20 UTC
Not reproducible using digiKam 7.0.0 beta1.