Bug 223774

Summary: Digikam crashed at liquid rescale preview generation
Product: [Applications] digikam Reporter: simon
Component: Plugin-Editor-LiquidRescaleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.5.0
Sentry Crash Report:

Description simon 2010-01-22 11:47:27 UTC
Application: digikam (1.1.0)
KDE Platform Version: 4.4.59 (KDE 4.4.59 (KDE 4.5 >= 20100107)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.31-zen7 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
hi,

i played around with the masks and settings and when starzing the preview it crashed

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0x7f8f69834780 (LWP 13862))]

Thread 17 (Thread 0x7f8f58f4b950 (LWP 13863)):
#0  0x00007f8f64b76d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f63e86ed9 in QWaitConditionPrivate::wait (this=0xb88a50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8f63e86a36 in QWaitCondition::wait (this=0xb87b48, mutex=0xb87b40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000000000643498 in Digikam::ScanController::run (this=0xb847c0) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/digikam/scancontroller.cpp:502
#4  0x00007f8f63e864ea in QThreadPrivate::start (arg=0xb847c0) at thread/qthread_unix.cpp:244
#5  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 16 (Thread 0x7f8f55b8c950 (LWP 13865)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f8f55b8bb50 in ?? ()
#2  0x00007fffba7ff5ec in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 15 (Thread 0x7f8f550ce950 (LWP 13866)):
#0  0x00007f8f626599b6 in poll () from /lib/libc.so.6
#1  0x00007f8f5cd77ca9 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8f5cd77f7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f8f63fed65b in QEventDispatcherGlib::processEvents (this=0xc6fd20, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f8f63fadfb7 in QEventLoop::processEvents (this=0x7f8f550cdff0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8f63fae1db in QEventLoop::exec (this=0x7f8f550cdff0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8f63e81683 in QThread::exec (this=0xcfd1c0) at thread/qthread.cpp:487
#7  0x00007f8f63e864ea in QThreadPrivate::start (arg=0xcfd1c0) at thread/qthread_unix.cpp:244
#8  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#9  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 14 (Thread 0x7f8f548cd950 (LWP 13867)):
#0  0x00007f8f64b76d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f63e86ed9 in QWaitConditionPrivate::wait (this=0xdf7f10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8f63e86a36 in QWaitCondition::wait (this=0x1011ab0, mutex=0x1011aa8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8f6679071f in Digikam::LoadSaveThread::run (this=0x1011a90) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f8f63e864ea in QThreadPrivate::start (arg=0x1011a90) at thread/qthread_unix.cpp:244
#5  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 13 (Thread 0x7f8f540cc950 (LWP 13868)):
#0  0x00007f8f64b744d8 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f8f5cd77496 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0x00007f8f5cd77cf1 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0x00007f8f5cd77f7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f8f63fed65b in QEventDispatcherGlib::processEvents (this=0xbcc180, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007f8f63fadfb7 in QEventLoop::processEvents (this=0x7f8f540cbff0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8f63fae1db in QEventLoop::exec (this=0x7f8f540cbff0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f8f63e81683 in QThread::exec (this=0xbe0a60) at thread/qthread.cpp:487
#8  0x00007f8f63e864ea in QThreadPrivate::start (arg=0xbe0a60) at thread/qthread_unix.cpp:244
#9  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#10 0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 12 (Thread 0x7f8f538cb950 (LWP 13869)):
#0  0x00007f8f63feeeb2 in QFlags<QEventLoop::ProcessEventsFlag>::operator! (this=0x7f8f538cad00) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2189
#1  0x00007f8f63feeae9 in timerSourcePrepareHelper (src=0xdbfe00, timeout=0x7f8f538cad84) at kernel/qeventdispatcher_glib.cpp:136
#2  0x00007f8f63feec3d in timerSourcePrepare (source=0xdbfe00, timeout=0x7f8f538cad84) at kernel/qeventdispatcher_glib.cpp:169
#3  0x00007f8f5cd77752 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#4  0x00007f8f5cd77ad9 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#5  0x00007f8f5cd77f7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#6  0x00007f8f63fed65b in QEventDispatcherGlib::processEvents (this=0xbdc680, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#7  0x00007f8f63fadfb7 in QEventLoop::processEvents (this=0x7f8f538caff0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f8f63fae1db in QEventLoop::exec (this=0x7f8f538caff0, flags=...) at kernel/qeventloop.cpp:201
#9  0x00007f8f63e81683 in QThread::exec (this=0xbcc9e0) at thread/qthread.cpp:487
#10 0x00007f8f63e864ea in QThreadPrivate::start (arg=0xbcc9e0) at thread/qthread_unix.cpp:244
#11 0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#12 0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 11 (Thread 0x7f8f52fa6950 (LWP 13870)):
#0  0x00007f8f64b76d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f63e86ed9 in QWaitConditionPrivate::wait (this=0x1237810, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8f63e86a36 in QWaitCondition::wait (this=0x12373d0, mutex=0x12373c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8f6679071f in Digikam::LoadSaveThread::run (this=0x12373b0) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f8f63e864ea in QThreadPrivate::start (arg=0x12373b0) at thread/qthread_unix.cpp:244
#5  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 10 (Thread 0x7f8f4cc51950 (LWP 13871)):
#0  0x00007f8f64b76f8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f50891f91 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 9 (Thread 0x7f8f4b815950 (LWP 13872)):
#0  0x00007f8f6265ba32 in select () from /lib/libc.so.6
#1  0x00007f8f508b6e64 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f8f5089e275 in video_out_loop () from /usr/lib64/libxine.so.1
#3  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7f8f4b014950 (LWP 13873)):
#0  0xffffffffff600171 in ?? ()
#1  0x00007f8f4b013af0 in ?? ()
#2  0x00007fffba7ff5ec in ?? ()
#3  0x00007fffba7ff6a8 in clock_gettime ()
#4  0x00007f8f5d022429 in clock_gettime () from /lib/librt.so.1
#5  0x00007f8f63fe938c in qt_gettime () at kernel/qcore_unix.cpp:109
#6  0x00007f8f63ff0f6a in QTimerInfoList::updateCurrentTime (this=0x1854d60) at kernel/qeventdispatcher_unix.cpp:340
#7  0x00007f8f63ff151f in QTimerInfoList::timerWait (this=0x1854d60, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#8  0x00007f8f63feeb01 in timerSourcePrepareHelper (src=0x1854d00, timeout=0x7f8f4b013d24) at kernel/qeventdispatcher_glib.cpp:136
#9  0x00007f8f63feebd8 in idleTimerSourcePrepare (source=0x1854dc0, timeout=0x7f8f4b013d24) at kernel/qeventdispatcher_glib.cpp:214
#10 0x00007f8f5cd77752 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#11 0x00007f8f5cd77ad9 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#12 0x00007f8f5cd77f7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#13 0x00007f8f63fed65b in QEventDispatcherGlib::processEvents (this=0x1853830, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#14 0x00007f8f63fadfb7 in QEventLoop::processEvents (this=0x7f8f4b013f90, flags=...) at kernel/qeventloop.cpp:149
#15 0x00007f8f63fae1db in QEventLoop::exec (this=0x7f8f4b013f90, flags=...) at kernel/qeventloop.cpp:201
#16 0x00007f8f63e81683 in QThread::exec (this=0x18531c0) at thread/qthread.cpp:487
#17 0x00007f8f50aead90 in Phonon::Xine::XineThread::run() () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#18 0x00007f8f63e864ea in QThreadPrivate::start (arg=0x18531c0) at thread/qthread_unix.cpp:244
#19 0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#20 0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7f8f4a609950 (LWP 13876)):
#0  0x00007f8f626599b6 in poll () from /lib/libc.so.6
#1  0x00007f8f4a60ea48 in ao_alsa_handle_event_thread () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f8f49e08950 (LWP 13877)):
#0  0x00007f8f64b76d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f5089f970 in fifo_peek_int () from /usr/lib64/libxine.so.1
#2  0x00007f8f508a12c4 in ao_loop () from /usr/lib64/libxine.so.1
#3  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f8f48a48950 (LWP 14292)):
#0  0x00007f8f64b76d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f63e86ed9 in QWaitConditionPrivate::wait (this=0x50f9ed0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8f63e86a36 in QWaitCondition::wait (this=0x575b7b0, mutex=0x575b7a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8f6679071f in Digikam::LoadSaveThread::run (this=0x575b790) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f8f63e864ea in QThreadPrivate::start (arg=0x575b790) at thread/qthread_unix.cpp:244
#5  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f8f3c06f950 (LWP 14293)):
#0  0x00007f8f64b76d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f63e86ed9 in QWaitConditionPrivate::wait (this=0x2b0d100, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8f63e86a36 in QWaitCondition::wait (this=0x50f9f60, mutex=0x50f9f58, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8f6679071f in Digikam::LoadSaveThread::run (this=0x50f9f40) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f8f63e864ea in QThreadPrivate::start (arg=0x50f9f40) at thread/qthread_unix.cpp:244
#5  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f8f37761950 (LWP 14294)):
#0  0x00007f8f64b76d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f63e86ed9 in QWaitConditionPrivate::wait (this=0x694ff50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8f63e86a36 in QWaitCondition::wait (this=0x694fb00, mutex=0x694faf8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8f6679071f in Digikam::LoadSaveThread::run (this=0x694fae0) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f8f63e864ea in QThreadPrivate::start (arg=0x694fae0) at thread/qthread_unix.cpp:244
#5  0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f8f33fec950 (LWP 14329)):
[KCrash Handler]
#5  0x00007f8f625c5ec5 in raise () from /lib/libc.so.6
#6  0x00007f8f625c73c1 in abort () from /lib/libc.so.6
#7  0x00007f8f62600ff8 in __libc_message () from /lib/libc.so.6
#8  0x00007f8f626066c8 in malloc_printerr () from /lib/libc.so.6
#9  0x00007f8f3e524b57 in lqr_carver_inflate (r=0x80d40a0, l=545) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/3rdparty/lqr/lqr_carver.c:974
#10 0x00007f8f3e525253 in lqr_carver_build_vsmap (r=0x80d40a0, depth=546) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/3rdparty/lqr/lqr_carver.c:781
#11 0x00007f8f3e5258ea in lqr_carver_resize_width (r=0x80d40a0, w1=489) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/3rdparty/lqr/lqr_carver.c:1795
#12 0x00007f8f3e525a96 in lqr_carver_resize (r=0x3626, w1=14329, h1=713) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/3rdparty/lqr/lqr_carver.c:1917
#13 0x00007f8f3e5174bf in DigikamContentAwareResizingImagesPlugin::ContentAwareResizer::filterImage (this=0x38d8c00)
    at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/imageplugins/contentawareresizing/contentawareresizer.cpp:157
#14 0x00007f8f66720e79 in Digikam::DImgThreadedFilter::startFilterDirectly (this=0x38d8c00) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/dimg/filters/dimgthreadedfilter.cpp:138
#15 0x00007f8f63e864ea in QThreadPrivate::start (arg=0x38d8c00) at thread/qthread_unix.cpp:244
#16 0x00007f8f64b72fc7 in start_thread () from /lib/libpthread.so.0
#17 0x00007f8f626621fd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f8f69834780 (LWP 13862)):
#0  0x00007f8f64b76f8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f8f63e85e1e in thread_sleep (ti=0x7fffba6face0) at thread/qthread_unix.cpp:394
#2  0x00007f8f63e8608e in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:420
#3  0x00007f8f50b1121a in Phonon::Xine::Backend::~Backend() () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f8f692021d0 in Phonon::FactoryPrivate::~FactoryPrivate() () from /usr/lib64/libphonon.so.4
#5  0x00007f8f625c8a1d in exit () from /lib/libc.so.6
#6  0x00007f8f632f161d in qt_xio_errhandler () at kernel/qapplication_x11.cpp:734
#7  0x00007f8f65686678 in KApplication::xioErrhandler (this=0x7fffba6fb320, dpy=0xa6f220) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:408
#8  0x00007f8f613d666e in _XIOError () from /usr/lib64/libX11.so.6
#9  0x00007f8f613dd3a0 in process_responses () from /usr/lib64/libX11.so.6
#10 0x00007f8f613ddca7 in _XEventsQueued () from /usr/lib64/libX11.so.6
#11 0x00007f8f613c741b in XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00007f8f6332b1b3 in x11EventSourceCheck (s=0xa58390) at kernel/qguieventdispatcher_glib.cpp:87
#13 0x00007f8f5cd7745b in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#14 0x00007f8f5cd77cf1 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#15 0x00007f8f5cd77f7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007f8f63fed63d in QEventDispatcherGlib::processEvents (this=0xa544e0, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#17 0x00007f8f6332ad2f in QGuiEventDispatcherGlib::processEvents (this=0xa544e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#18 0x00007f8f63fadfb7 in QEventLoop::processEvents (this=0x7fffba6fb1f0, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007f8f63fae1db in QEventLoop::exec (this=0x7fffba6fb1f0, flags=...) at kernel/qeventloop.cpp:201
#20 0x00007f8f63fb25cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#21 0x00007f8f63266d16 in QApplication::exec () at kernel/qapplication.cpp:3570
#22 0x00000000006ab6c4 in main (argc=5, argv=0x7fffba6fb908) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/digikam/main.cpp:195

Reported using DrKonqi
Comment 1 caulier.gilles 2010-01-22 12:30:48 UTC
Not sure if crash is relevant of liblqr. I can see phonon xine backend entry in trace.

Gilles Caulier
Comment 2 Johannes Wienke 2010-01-22 12:36:46 UTC
Could this be an out of memory error?
Comment 3 caulier.gilles 2010-04-04 10:46:27 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2010-10-07 08:53:12 UTC
Please, give us fedback using digiKam 1.4.0

Gilles Caulier
Comment 5 simon 2010-10-07 23:58:20 UTC
updated everything and no crash anymore