Bug 280927

Summary: digikam crashed while trying to download pictures from a camera
Product: [Applications] digikam Reporter: suseuser
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 8.1.0
Sentry Crash Report:

Description suseuser 2011-08-28 13:39:15 UTC
Application: digikam (2.0.0)
KDE Platform Version: 4.7.00 (4.7.0) "release 10"
Qt Version: 4.7.3
Operating System: Linux 3.0.3-2-default i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

I was trying to download new pictures from a camera (Canon IXUS 80IS). Digikam Splash was visible, different mdules has been loaded. 
Then suddenly digikam crashed. I did not meet this problem in former versions (same camera).

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb0c90740 (LWP 28852))]

Thread 5 (Thread 0xafd8cb70 (LWP 28854)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb422f105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb48b3aec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5613200 in wait (this=0x861b58c, mutex=0x861b588, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x861b58c, mutex=0x861b588, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081f452d in Digikam::ScanController::run() ()
#6  0xb5612b13 in QThreadPrivate::start (arg=0x85b2538) at thread/qthread_unix.cpp:320
#7  0xb422ab05 in start_thread () from /lib/libpthread.so.0
#8  0xb48a5d5e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xaf58bb70 (LWP 28855)):
#0  0xb31971af in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0xb3197ac8 in ?? () from /lib/libglib-2.0.so.0
#2  0xb3197fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb573e167 in QEventDispatcherGlib::processEvents (this=0x861ebb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb570ebed in QEventLoop::processEvents (this=0xaf58b280, flags=...) at kernel/qeventloop.cpp:149
#5  0xb570ee19 in QEventLoop::exec (this=0xaf58b280, flags=...) at kernel/qeventloop.cpp:201
#6  0xb560fec9 in QThread::exec (this=0x85a93b0) at thread/qthread.cpp:492
#7  0xb56ee97d in QInotifyFileSystemWatcherEngine::run (this=0x85a93b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb5612b13 in QThreadPrivate::start (arg=0x85a93b0) at thread/qthread_unix.cpp:320
#9  0xb422ab05 in start_thread () from /lib/libpthread.so.0
#10 0xb48a5d5e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaed8ab70 (LWP 28861)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb422f105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb48b3aec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5613200 in wait (this=0x86a7358, mutex=0x86a7354, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x86a7358, mutex=0x86a7354, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb6a1dc28 in Digikam::ParkingThread::run() () from /usr/lib/libdigikamcore.so.2
#6  0xb5612b13 in QThreadPrivate::start (arg=0x86a7348) at thread/qthread_unix.cpp:320
#7  0xb422ab05 in start_thread () from /lib/libpthread.so.0
#8  0xb48a5d5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa3f1bb70 (LWP 28872)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb422f432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb48b3b44 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb561318c in wait (this=0x8f16124, mutex=0x8f16120, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8f16124, mutex=0x8f16120, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0xb5606fc4 in QThreadPoolThread::run (this=0x8efcae0) at concurrent/qthreadpool.cpp:140
#6  0xb5612b13 in QThreadPrivate::start (arg=0x8efcae0) at thread/qthread_unix.cpp:320
#7  0xb422ab05 in start_thread () from /lib/libpthread.so.0
#8  0xb48a5d5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb0c90740 (LWP 28852)):
[KCrash Handler]
#7  0xb4844b31 in realloc () from /lib/libc.so.6
#8  0xb287cc5e in register_platform (d=0x90d0e18, dispatch=0xb28a6600, name=0xb289d5dd "usb") at control.c:2015
#9  0xb289073f in usb_init (d=0x90d0e18) at control.c:383
#10 0xa69b9ff7 in gp_port_library_list (list=0x90d0e18) at libusb.c:94
#11 0xb47c9c98 in foreach_func (filename=0x86bf937 "/usr/lib/libgphoto2_port/0.8.0/usb", data=0x90d0e18) at gphoto2-port-info-list.c:243
#12 0xb36ad378 in foreachfile_callback (dirname=0x930a5b0 "/usr/lib/libgphoto2_port/0.8.0", data1=0xbf990ca4, data2=0x90d0e18) at libltdl/ltdl.c:1836
#13 0xb36acf79 in foreach_dirinpath (search_path=<value optimized out>, base_name=0x0, func=0xb36ad090 <foreachfile_callback>, data1=0xbf990ca4, data2=0x90d0e18) at libltdl/ltdl.c:710
#14 0xb36ae146 in lt_dlforeachfile (search_path=0xb47ce0a8 "/usr/lib/libgphoto2_port/0.8.0", func=0xb47c9b90 <foreach_func>, data=0x90d0e18) at libltdl/ltdl.c:1865
#15 0xb47ca150 in gp_port_info_list_load (list=0x90d0e18) at gphoto2-port-info-list.c:290
#16 0x08394d25 in Digikam::GPCamera::findConnectedUsbCamera(int, int, QString&, QString&) ()
#17 0x081a2766 in Digikam::DigikamApp::openSolidCamera(QString const&, QString const&) ()
#18 0x081a3bcd in Digikam::DigikamApp::slotOpenSolidDevice(QString const&) ()
#19 0x081a9776 in Digikam::DigikamApp::qt_metacall(QMetaObject::Call, int, void**) ()
#20 0xb57161fd in QMetaObject::metacall (object=0x866b958, cl=QMetaObject::InvokeMetaMethod, idx=80, argv=0x918b380) at kernel/qmetaobject.cpp:237
#21 0xb5720ce5 in QMetaCallEvent::placeMetaCall (this=0x93f96d8, object=0x866b958) at kernel/qobject.cpp:535
#22 0xb5724f5f in QObject::event (this=0x866b958, e=0x93f96d8) at kernel/qobject.cpp:1226
#23 0xb4c10cac in QWidget::event (this=0x866b958, event=0x93f96d8) at kernel/qwidget.cpp:8718
#24 0xb503dd9c in QMainWindow::event (this=0x866b958, event=0x93f96d8) at widgets/qmainwindow.cpp:1480
#25 0xb5df44f4 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#26 0xb5e3c472 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#27 0xb4bb5c74 in QApplicationPrivate::notify_helper (this=0x856ac00, receiver=0x866b958, e=0x93f96d8) at kernel/qapplication.cpp:4462
#28 0xb4bbeac4 in QApplication::notify (this=0xbf99236c, receiver=0x866b958, e=0x93f96d8) at kernel/qapplication.cpp:4341
#29 0xb5d187b1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb570f90e in QCoreApplication::notifyInternal (this=0xbf99236c, receiver=0x866b958, event=0x93f96d8) at kernel/qcoreapplication.cpp:731
#31 0xb571369c in sendEvent (receiver=0x0, event_type=0, data=0x852ddb8) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x852ddb8) at kernel/qcoreapplication.cpp:1372
#33 0xb57137ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#34 0xb573df94 in sendPostedEvents (s=0x856cfa0) at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x856cfa0) at kernel/qeventdispatcher_glib.cpp:277
#36 0xb3197509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0xb3197d10 in ?? () from /lib/libglib-2.0.so.0
#38 0xb3197fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0xb573e11b in QEventDispatcherGlib::processEvents (this=0x852d928, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#40 0xb4c6ca3a in QGuiEventDispatcherGlib::processEvents (this=0x852d928, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb570ebed in QEventLoop::processEvents (this=0xbf992234, flags=...) at kernel/qeventloop.cpp:149
#42 0xb570ee19 in QEventLoop::exec (this=0xbf992234, flags=...) at kernel/qeventloop.cpp:201
#43 0xb57138c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#44 0xb4bb39c4 in QApplication::exec () at kernel/qapplication.cpp:3736
#45 0x082d0213 in main ()

Possible duplicates by query: bug 279458, bug 279111, bug 271610, bug 271269, bug 269626.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-08-28 18:06:35 UTC

*** This bug has been marked as a duplicate of bug 268267 ***
Comment 2 caulier.gilles 2023-05-05 05:50:55 UTC
Fixed with #268267