Bug 301838

Summary: digiKam still crashes after updating from Testing
Product: [Applications] digikam Reporter: col.panix
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.6.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description col.panix 2012-06-13 19:18:07 UTC
Application: digikam (2.6.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.2
Operating System: Linux 3.4.0-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: Tried updating to Fedora17 Testing,
 Digikam -2.6.0-1, but still getting an immediate crash after clicking the KDE dialogue to import photos with Digikam.  I was hopeful that this version might not crash.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
166	62:	movl	(%rsp), %edi
[Current thread is 1 (Thread 0x7f69d5bdda80 (LWP 2995))]

Thread 6 (Thread 0x7f69ca101700 (LWP 2997)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000039c9c7baeb in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000000005c8ad8 in Digikam::ScanController::run (this=0x1a16210) at /usr/src/debug/digikam-2.6.0/core/digikam/database/scancontroller.cpp:698
#3  0x00000039c9c7b5eb in ?? () from /lib64/libQtCore.so.4
#4  0x0000003a26607d14 in start_thread (arg=0x7f69ca101700) at pthread_create.c:309
#5  0x0000003a262f199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f69c9900700 (LWP 2998)):
#0  0x0000003cb7a83329 in ?? () from /lib64/libglib-2.0.so.0
#1  0x0000003cb7a83aa9 in g_private_get () from /lib64/libglib-2.0.so.0
#2  0x0000003cb7a6a800 in g_thread_self () from /lib64/libglib-2.0.so.0
#3  0x0000003cb7a47ac5 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00000039c9da4506 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x00000039c9d7513f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00000039c9d753c8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x00000039c9c78650 in QThread::exec() () from /lib64/libQtCore.so.4
#8  0x00000039c9d55b4f in ?? () from /lib64/libQtCore.so.4
#9  0x00000039c9c7b5eb in ?? () from /lib64/libQtCore.so.4
#10 0x0000003a26607d14 in start_thread (arg=0x7f69c9900700) at pthread_create.c:309
#11 0x0000003a262f199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f69b68f5700 (LWP 3018)):
[KCrash Handler]
#6  0x000000000074b013 in Digikam::GPCamera::getItemInfoInternal (this=this@entry=0x5ede9c0, folder=..., itemName=..., info=..., useMetadata=useMetadata@entry=true) at /usr/src/debug/digikam-2.6.0/core/utilities/cameragui/devices/gpcamera.cpp:849
#7  0x00000000007528ba in Digikam::GPCamera::getItemsInfoList (this=0x5ede9c0, folder=..., useMetadata=<optimized out>, items=...) at /usr/src/debug/digikam-2.6.0/core/utilities/cameragui/devices/gpcamera.cpp:802
#8  0x0000000000775ead in Digikam::CameraController::executeCommand (this=this@entry=0x5df4470, cmd=cmd@entry=0x59c25d0) at /usr/src/debug/digikam-2.6.0/core/utilities/cameragui/controller/cameracontroller.cpp:501
#9  0x000000000077a54e in Digikam::CameraController::run (this=0x5df4470) at /usr/src/debug/digikam-2.6.0/core/utilities/cameragui/controller/cameracontroller.cpp:399
#10 0x00000039c9c7b5eb in ?? () from /lib64/libQtCore.so.4
#11 0x0000003a26607d14 in start_thread (arg=0x7f69b68f5700) at pthread_create.c:309
#12 0x0000003a262f199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f69ae4f5700 (LWP 3019)):
#0  0x0000003a262e8eef in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003cb7a479b4 in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003cb7a47ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00000039c9da44e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x00000039c9d7513f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x00000039c9d753c8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x000000358a535e3b in Digikam::WorkerObjectRunnable::run (this=0x5e7cd80) at /usr/src/debug/digikam-2.6.0/core/libs/threads/threadmanager.cpp:196
#7  0x00000039c9c6f27d in ?? () from /lib64/libQtCore.so.4
#8  0x00000039c9c7b5eb in ?? () from /lib64/libQtCore.so.4
#9  0x0000003a26607d14 in start_thread (arg=0x7f69ae4f5700) at pthread_create.c:309
#10 0x0000003a262f199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f69adcf4700 (LWP 3020)):
#0  0x0000003a2660e0ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003cb7a82a4f in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003cb7a47539 in g_main_context_check () from /lib64/libglib-2.0.so.0
#3  0x0000003cb7a47952 in ?? () from /lib64/libglib-2.0.so.0
#4  0x0000003cb7a47ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00000039c9da4506 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00000039c9d7513f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x00000039c9d753c8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#8  0x000000358a535e3b in Digikam::WorkerObjectRunnable::run (this=0x57f0200) at /usr/src/debug/digikam-2.6.0/core/libs/threads/threadmanager.cpp:196
#9  0x00000039c9c6f27d in ?? () from /lib64/libQtCore.so.4
#10 0x00000039c9c7b5eb in ?? () from /lib64/libQtCore.so.4
#11 0x0000003a26607d14 in start_thread (arg=0x7f69adcf4700) at pthread_create.c:309
#12 0x0000003a262f199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f69d5bdda80 (LWP 2995)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00000039c9c7baeb in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x00000039c9c6ea4f in ?? () from /lib64/libQtCore.so.4
#3  0x00000039c9c704fd in QThreadPool::~QThreadPool() () from /lib64/libQtCore.so.4
#4  0x00000039c9c70539 in QThreadPool::~QThreadPool() () from /lib64/libQtCore.so.4
#5  0x00000039c9d88a32 in QObjectPrivate::deleteChildren() () from /lib64/libQtCore.so.4
#6  0x00000039c9d8dc06 in QObject::~QObject() () from /lib64/libQtCore.so.4
#7  0x000000358a5356a7 in ~ThreadManagerCreator (this=0x1b0e590, __in_chrg=<optimized out>) at /usr/src/debug/digikam-2.6.0/core/libs/threads/threadmanager.cpp:236
#8  destroy () at /usr/src/debug/digikam-2.6.0/core/libs/threads/threadmanager.cpp:241
#9  0x0000003a26238bb1 in __run_exit_handlers (status=1, listp=0x3a265b0688, run_list_atexit=run_list_atexit@entry=true) at exit.c:78
#10 0x0000003a26238c35 in __GI_exit (status=<optimized out>) at exit.c:100
#11 0x00000037db233ff8 in ?? () from /lib64/libQtGui.so.4
#12 0x00000037dc844838 in KApplication::xioErrhandler (this=0x7fff6c937800, dpy=0x1873890) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:419
#13 0x0000003a2a2455ce in _XIOError () from /lib64/libX11.so.6
#14 0x0000003a2a2435ac in _XReply () from /lib64/libX11.so.6
#15 0x0000003a2a23ed5d in XSync () from /lib64/libX11.so.6
#16 0x00000037db3c1965 in QRasterWindowSurface::syncX() () from /lib64/libQtGui.so.4
#17 0x00000037db3c1e61 in QRasterWindowSurface::beginPaint(QRegion const&) () from /lib64/libQtGui.so.4
#18 0x00000037db3deb38 in ?? () from /lib64/libQtGui.so.4
#19 0x00000037db20a340 in QWidgetPrivate::syncBackingStore() () from /lib64/libQtGui.so.4
#20 0x00000037db21a14c in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#21 0x00000037db5dd02b in QMainWindow::event(QEvent*) () from /lib64/libQtGui.so.4
#22 0x00000037dc936f38 in KXmlGuiWindow::event (this=0x5593d40, ev=0x59ee730) at /usr/src/debug/kdelibs-4.8.3/kdeui/xmlgui/kxmlguiwindow.cpp:126
#23 0x00000037db1ca37c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#24 0x00000037db1ce7fa in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#25 0x00000037dc845a56 in KApplication::notify (this=0x7fff6c937800, receiver=0x5593d40, event=0x59ee730) at /usr/src/debug/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#26 0x00000039c9d763ee in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#27 0x00000039c9d79ea1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#28 0x00000039c9da4353 in ?? () from /lib64/libQtCore.so.4
#29 0x0000003cb7a476e5 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x0000003cb7a47a18 in ?? () from /lib64/libglib-2.0.so.0
#31 0x0000003cb7a47ad4 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00000039c9da44e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#33 0x00000037db26a2ee in ?? () from /lib64/libQtGui.so.4
#34 0x00000039c9d7513f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#35 0x00000039c9d753c8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#36 0x00000039c9d7a1b8 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#37 0x000000000048f41e in main (argc=3, argv=0x7fff6c937a38) at /usr/src/debug/digikam-2.6.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 300838, bug 295778, bug 295751, bug 295062, bug 293492.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-06-13 20:46:35 UTC

*** This bug has been marked as a duplicate of bug 300838 ***
Comment 2 caulier.gilles 2022-01-28 04:15:32 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=300838