Bug 282420

Summary: Trying to load images from a Nikon CoolPix L24 via USB Crashes DigiKam
Product: [Applications] digikam Reporter: pc_windows_web3
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 8.1.0
Sentry Crash Report:

Description pc_windows_web3 2011-09-20 16:56:34 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.7-desktop i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
Clicking on "import" and selecting "NIKON DSC COOLPIX L24-PTP" when the Camera is Loaded Via USB crashes DigiKam with a "Segment Fault" error

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

Thread 5 (Thread 0xaf08eb70 (LWP 6838)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb499b03e in poll () from /lib/libc.so.6
#2  0xb33240bb in g_poll () from /lib/libglib-2.0.so.0
#3  0xb3313c46 in ?? () from /lib/libglib-2.0.so.0
#4  0xb33143ef in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xaf1e0f91 in ?? () from /lib/libgio-2.0.so.0
#6  0xb333cf44 in ?? () from /lib/libglib-2.0.so.0
#7  0xb4351b05 in start_thread () from /lib/libpthread.so.0
#8  0xb49a5d5e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xadba2b70 (LWP 6839)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4356105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb49b3aec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5719310 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x081f92bd in Digikam::ScanController::run (this=0x8654a70) at /usr/src/debug/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#5  0xb5718c23 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb4351b05 in start_thread () from /lib/libpthread.so.0
#7  0xb49a5d5e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xad3a1b70 (LWP 6840)):
#0  0xb331318a in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0xb3313ac8 in ?? () from /lib/libglib-2.0.so.0
#2  0xb3313fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb5844247 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb5814c5d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb5814e89 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb5715fd9 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0xb57f49ed in ?? () from /usr/lib/libQtCore.so.4
#8  0xb5718c23 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb4351b05 in start_thread () from /lib/libpthread.so.0
#10 0xb49a5d5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xacba0b70 (LWP 6849)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4356105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb49b3aec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5719310 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb6bc2ed8 in Digikam::ParkingThread::run (this=0x86a1d80) at /usr/src/debug/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#5  0xb5718c23 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb4351b05 in start_thread () from /lib/libpthread.so.0
#7  0xb49a5d5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaf4faa00 (LWP 6836)):
[KCrash Handler]
#7  0xb4944b31 in realloc () from /lib/libc.so.6
#8  0xb2993c5e in register_platform (d=0x99614c8, dispatch=0xb29bd600, name=0xb29b45dd "usb") at control.c:2015
#9  0xb29a773f in usb_init (d=0x99614c8) at control.c:383
#10 0xa530bff7 in gp_port_library_list (list=0x99614c8) at libusb.c:94
#11 0xb66aec98 in foreach_func (filename=0x9a4e6af "/usr/lib/libgphoto2_port/0.8.0/usb", data=0x99614c8) at gphoto2-port-info-list.c:243
#12 0xb3666378 in foreachfile_callback (dirname=0x983e4e8 "/usr/lib/libgphoto2_port/0.8.0", data1=0xbfc6e874, data2=0x99614c8) at libltdl/ltdl.c:1836
#13 0xb3665f79 in foreach_dirinpath (search_path=<value optimized out>, base_name=0x0, func=0xb3666090 <foreachfile_callback>, data1=0xbfc6e874, data2=0x99614c8) at libltdl/ltdl.c:710
#14 0xb3667146 in lt_dlforeachfile (search_path=0xb66b30a8 "/usr/lib/libgphoto2_port/0.8.0", func=0xb66aeb90 <foreach_func>, data=0x99614c8) at libltdl/ltdl.c:1865
#15 0xb66af150 in gp_port_info_list_load (list=0x99614c8) at gphoto2-port-info-list.c:290
#16 0x08394185 in Digikam::GPCamera::findConnectedUsbCamera (vendorId=1200, productId=803, model=..., port=...) at /usr/src/debug/digikam-2.1.1/core/utilities/cameragui/devices/gpcamera.cpp:1771
#17 0x081a6c09 in Digikam::DigikamApp::openSolidCamera (this=0x8686140, udi=..., cameraLabel=...) at /usr/src/debug/digikam-2.1.1/core/digikam/main/digikamapp.cpp:1946
#18 0x081a73b8 in Digikam::DigikamApp::slotOpenSolidCamera (this=0x0, action=0x8d9b470) at /usr/src/debug/digikam-2.1.1/core/digikam/main/digikamapp.cpp:1893
#19 0x081adf16 in Digikam::DigikamApp::qt_metacall (this=0x8686140, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0xbfc6f478) at /usr/src/debug/digikam-2.1.1/build/core/digikam/digikamapp.moc:260
#20 0xb581c26d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#21 0xb582b79c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0xb4cb3635 in QActionGroup::triggered (this=0x8f4a418, _t1=0x8d9b470) at .moc/release-shared/moc_qactiongroup.cpp:146
#23 0xb4cb36d9 in QActionGroupPrivate::_q_actionTriggered (this=0x8f4a6b8) at kernel/qactiongroup.cpp:93
#24 0xb4cb3cd3 in QActionGroup::qt_metacall (this=0x8f4a418, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfc6f5b8) at .moc/release-shared/moc_qactiongroup.cpp:101
#25 0xb581c26d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#26 0xb582b79c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#27 0xb4cb04cd in QAction::triggered (this=0x8d9b470, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#28 0xb4cb076b in QAction::activate (this=0x8d9b470, event=QAction::Trigger) at kernel/qaction.cpp:1257
#29 0xb5167f45 in QMenuPrivate::activateCausedStack (this=0x8fbad08, causedStack=..., action=0x8d9b470, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#30 0xb516eb67 in QMenuPrivate::activateAction (this=0x8fbad08, action=0x8d9b470, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#31 0xb516fa35 in QMenu::mouseReleaseEvent (this=0x8d17298, e=0xbfc6fe44) at widgets/qmenu.cpp:2296
#32 0xb5f00e8c in KMenu::mouseReleaseEvent (this=0x8d17298, e=0xbfc6fe44) at /usr/src/debug/kdelibs-4.7.1/kdeui/widgets/kmenu.cpp:464
#33 0xb4d12ab0 in QWidget::event (this=0x8d17298, event=0xbfc6fe44) at kernel/qwidget.cpp:8295
#34 0xb516ff5c in QMenu::event (this=0x8d17298, e=0xbfc6fe44) at widgets/qmenu.cpp:2405
#35 0xb4cb75c4 in QApplicationPrivate::notify_helper (this=0x858a0e8, receiver=0x8d17298, e=0xbfc6fe44) at kernel/qapplication.cpp:4481
#36 0xb4cc0ec0 in QApplication::notify (this=0xbfc6fb5c, receiver=0x8d17298, e=0xbfc6fe44) at kernel/qapplication.cpp:4042
#37 0xb5e21bd1 in KApplication::notify (this=0xbfc711ac, receiver=0x8d17298, event=0xbfc6fe44) at /usr/src/debug/kdelibs-4.7.1/kdeui/kernel/kapplication.cpp:311
#38 0xb581597e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#39 0xb4cb866c in sendSpontaneousEvent (receiver=0x8d17298, event=0xbfc6fe44, alienWidget=0x0, nativeWidget=0x8d17298, buttonDown=0xb5633c20, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218
#40 QApplicationPrivate::sendMouseEvent (receiver=0x8d17298, event=0xbfc6fe44, alienWidget=0x0, nativeWidget=0x8d17298, buttonDown=0xb5633c20, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3139
#41 0xb4d44d36 in QETWidget::translateMouseEvent (this=0x8d17298, event=0xbfc7035c) at kernel/qapplication_x11.cpp:4395
#42 0xb4d43c6e in QApplication::x11ProcessEvent (this=0xbfc711ac, event=0xbfc7035c) at kernel/qapplication_x11.cpp:3465
#43 0xb4d6eab0 in x11EventSourceDispatch (s=0x858cea8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0xb3313509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0xb3313d10 in ?? () from /lib/libglib-2.0.so.0
#46 0xb3313fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0xb58441fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#48 0xb4d6e6aa in QGuiEventDispatcherGlib::processEvents (this=0x854df38, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0xb5814c5d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb5814e89 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#51 0xb516be57 in QMenu::exec (this=0x8d17298, p=..., action=0x0) at widgets/qmenu.cpp:2049
#52 0xb51b4978 in QToolButtonPrivate::popupTimerDone (this=0x8fd9fc0) at widgets/qtoolbutton.cpp:955
#53 0xb582aed4 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#54 0xb4d1267c in QWidget::event (this=0x8fd9fa8, event=0xbfc70dcc) at kernel/qwidget.cpp:8754
#55 0xb50da030 in QAbstractButton::event (this=0x8fd9fa8, e=0xbfc70dcc) at widgets/qabstractbutton.cpp:1080
#56 0xb51b3c1c in QToolButton::event (this=0x8fd9fa8, event=0xbfc70dcc) at widgets/qtoolbutton.cpp:1163
#57 0xb4cb75c4 in QApplicationPrivate::notify_helper (this=0x858a0e8, receiver=0x8fd9fa8, e=0xbfc70dcc) at kernel/qapplication.cpp:4481
#58 0xb4cc0414 in QApplication::notify (this=0xbfc711ac, receiver=0x8fd9fa8, e=0xbfc70dcc) at kernel/qapplication.cpp:4360
#59 0xb5e21bd1 in KApplication::notify (this=0xbfc711ac, receiver=0x8fd9fa8, event=0xbfc70dcc) at /usr/src/debug/kdelibs-4.7.1/kdeui/kernel/kapplication.cpp:311
#60 0xb581597e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#61 0xb5846e09 in ?? () from /usr/lib/libQtCore.so.4
#62 0xb5843b05 in ?? () from /usr/lib/libQtCore.so.4
#63 0xb3313509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#64 0xb3313d10 in ?? () from /lib/libglib-2.0.so.0
#65 0xb3313fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#66 0xb58441fb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#67 0xb4d6e6aa in QGuiEventDispatcherGlib::processEvents (this=0x854df38, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#68 0xb5814c5d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#69 0xb5814e89 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#70 0xb5819930 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#71 0xb4cb5314 in QApplication::exec () at kernel/qapplication.cpp:3755
#72 0x082ce383 in main (argc=418153302, argv=0x2424448b) at /usr/src/debug/digikam-2.1.1/core/digikam/main/main.cpp:232

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

Reported using DrKonqi
Comment 1 caulier.gilles 2011-09-21 10:08:54 UTC

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