Bug 361310

Summary: digiKam crashes when using align_image_stack
Product: [Applications] digikam Reporter: Barbara Scheffner <laurakittyinka>
Component: Plugin-Generic-PanoramaAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 4.12.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.1.0

Description Barbara Scheffner 2016-04-02 10:27:35 UTC
Application: digikam (4.12.0)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 4.2.0-34-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed: I used the kipi plugin for merging pics from a exposure series. When the asssistant came to using align_image-stack and I clicked the "Weiter"-button (continue) digiKam crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5856da1b40 (LWP 2439))]

Thread 8 (Thread 0x7f5831fb7700 (LWP 2440)):
#0  0x00007f584ffe588d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f583c15b12c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f584d4fd6aa in start_thread (arg=0x7f5831fb7700) at pthread_create.c:333
#3  0x00007f584fff0e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f582deca700 (LWP 2441)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5850b4b286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x1282880) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1282790, mutex=mutex@entry=0x1282788, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005fffb4 in Digikam::ScanController::run (this=0x1282500) at /build/digikam-131Z2v/digikam-4.12.0/core/app/database/scancontroller.cpp:725
#4  0x00007f5850b4ad1c in QThreadPrivate::start (arg=0x1282500) at thread/qthread_unix.cpp:349
#5  0x00007f584d4fd6aa in start_thread (arg=0x7f582deca700) at pthread_create.c:333
#6  0x00007f584fff0e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f582d6c9700 (LWP 2442)):
#0  0x00007f5849adc882 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5849a981e1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5849a982fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5850c8b20e in QEventDispatcherGlib::processEvents (this=0x7f58200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f5850c590d1 in QEventLoop::processEvents (this=this@entry=0x7f582d6c8a40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5850c59445 in QEventLoop::exec (this=this@entry=0x7f582d6c8a40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5850b484f9 in QThread::exec (this=this@entry=0x1285e20) at thread/qthread.cpp:538
#7  0x00007f5850c39133 in QInotifyFileSystemWatcherEngine::run (this=0x1285e20) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f5850b4ad1c in QThreadPrivate::start (arg=0x1285e20) at thread/qthread_unix.cpp:349
#9  0x00007f584d4fd6aa in start_thread (arg=0x7f582d6c9700) at pthread_create.c:333
#10 0x00007f584fff0e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f582cec8700 (LWP 2444)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5850b4b286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x15a0390) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x16a0df0, mutex=mutex@entry=0x16a0de8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5854ec8f02 in Digikam::ParkingThread::run (this=0x16a0dd0) at /build/digikam-131Z2v/digikam-4.12.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f5850b4ad1c in QThreadPrivate::start (arg=0x16a0dd0) at thread/qthread_unix.cpp:349
#5  0x00007f584d4fd6aa in start_thread (arg=0x7f582cec8700) at pthread_create.c:333
#6  0x00007f584fff0e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f581f2e3700 (LWP 2445)):
#0  0x00007f584ffe144d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5849adb4e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5849a97cd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5849a98190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5849a982fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5850c8b20e in QEventDispatcherGlib::processEvents (this=0x7f58180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f5850c590d1 in QEventLoop::processEvents (this=this@entry=0x7f581f2e2a40, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f5850c59445 in QEventLoop::exec (this=this@entry=0x7f581f2e2a40, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f5850b484f9 in QThread::exec (this=this@entry=0x193eb00) at thread/qthread.cpp:538
#9  0x00007f5850c39133 in QInotifyFileSystemWatcherEngine::run (this=0x193eb00) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f5850b4ad1c in QThreadPrivate::start (arg=0x193eb00) at thread/qthread_unix.cpp:349
#11 0x00007f584d4fd6aa in start_thread (arg=0x7f581f2e3700) at pthread_create.c:333
#12 0x00007f584fff0e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f5797fff700 (LWP 2506)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5850b4b286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x50049d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x5003b30, mutex=mutex@entry=0x5003b28, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f57e43c47f8 in KIPIPlugins::KPRawThumbThread::run (this=0x5003fb0) at /build/digikam-131Z2v/digikam-4.12.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007f5850b4ad1c in QThreadPrivate::start (arg=0x5003fb0) at thread/qthread_unix.cpp:349
#5  0x00007f584d4fd6aa in start_thread (arg=0x7f5797fff700) at pthread_create.c:333
#6  0x00007f584fff0e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f57967fc700 (LWP 2507)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5850b4b286 in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x36bbda0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x3c76d58, mutex=mutex@entry=0x3c76d48, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5794997de7 in KIPIExpoBlendingPlugin::ActionThread::run (this=0x3c76300) at /build/digikam-131Z2v/digikam-4.12.0/extra/kipi-plugins/expoblending/manager/actionthread.cpp:297
#4  0x00007f5850b4ad1c in QThreadPrivate::start (arg=0x3c76300) at thread/qthread_unix.cpp:349
#5  0x00007f584d4fd6aa in start_thread (arg=0x7f57967fc700) at pthread_create.c:333
#6  0x00007f584fff0e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f5856da1b40 (LWP 2439)):
[KCrash Handler]
#6  QPixmapData::isNull (this=<optimized out>) at image/qpixmapdata_p.h:131
#7  QPixmap::isNull (this=this@entry=0x5037858) at image/qpixmap.cpp:579
#8  0x00007f585198c96b in QPixmap::copy (this=this@entry=0x5037858, rect=...) at image/qpixmap.cpp:382
#9  0x00007f585198d6bf in QPixmap::QPixmap (this=0x7fff2e52cc30, pixmap=...) at image/qpixmap.cpp:303
#10 0x00007f5852692f38 in KPixmapSequence::frameAt (this=0x5017c68, index=1) at ../../kdeui/util/kpixmapsequence.cpp:143
#11 0x00007f579499cb9b in KIPIExpoBlendingPlugin::PreProcessingPage::slotProgressTimerDone (this=0x50088d0) at /build/digikam-131Z2v/digikam-4.12.0/extra/kipi-plugins/expoblending/importwizard/preprocessingpage.cpp:210
#12 0x00007f579499dfed in KIPIExpoBlendingPlugin::PreProcessingPage::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/digikam-131Z2v/digikam-4.12.0/obj-x86_64-linux-gnu/extra/kipi-plugins/expoblending/preprocessingpage.moc:58
#13 0x00007f5850c6ef60 in QMetaObject::activate (sender=0x5017b80, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3567
#14 0x00007f5850c74bd3 in QObject::event (this=0x5017b80, e=<optimized out>) at kernel/qobject.cpp:1253
#15 0x00007f58518afcdc in QApplicationPrivate::notify_helper (this=this@entry=0x110a2b0, receiver=receiver@entry=0x5017b80, e=e@entry=0x7fff2e52d0a0) at kernel/qapplication.cpp:4570
#16 0x00007f58518b6c16 in QApplication::notify (this=this@entry=0x7fff2e52d7c0, receiver=receiver@entry=0x5017b80, e=e@entry=0x7fff2e52d0a0) at kernel/qapplication.cpp:4356
#17 0x00007f5852612a2a in KApplication::notify (this=0x7fff2e52d7c0, receiver=0x5017b80, event=0x7fff2e52d0a0) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f5850c5a85d in QCoreApplication::notifyInternal (this=0x7fff2e52d7c0, receiver=0x5017b80, event=event@entry=0x7fff2e52d0a0) at kernel/qcoreapplication.cpp:955
#19 0x00007f5850c8d6c0 in QCoreApplication::sendEvent (event=0x7fff2e52d0a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QTimerInfoList::activateTimers (this=0x10f4990) at kernel/qeventdispatcher_unix.cpp:621
#21 0x00007f5850c8a869 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#23 0x00007f5849a97ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f5849a98250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f5849a982fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f5850c8b1ee in QEventDispatcherGlib::processEvents (this=0x1073450, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#27 0x00007f585195ac26 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f5850c590d1 in QEventLoop::processEvents (this=this@entry=0x7fff2e52d320, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f5850c59445 in QEventLoop::exec (this=this@entry=0x7fff2e52d320, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007f5850c5f429 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#31 0x00007f58518adf2c in QApplication::exec () at kernel/qapplication.cpp:3828
#32 0x0000000000492eae in main (argc=<optimized out>, argv=<optimized out>) at /build/digikam-131Z2v/digikam-4.12.0/core/app/main/main.cpp:230

Possible duplicates by query: bug 361102, bug 358424, bug 357149, bug 355154, bug 354364.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-04-02 10:37:06 UTC

*** This bug has been marked as a duplicate of bug 361102 ***
Comment 2 caulier.gilles 2020-07-26 12:51:31 UTC
Fixed with #361102