Bug 284626 - digikam crashes when click on autodetect camera
Summary: digikam crashes when click on autodetect camera
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.2.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 16:45 UTC by sainthyoga2003
Modified: 2023-05-05 05:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sainthyoga2003 2011-10-21 16:45:37 UTC
Application: digikam (2.2.0)
KDE Platform Version: 4.7.2 (4.7.2) "release 9"
Qt Version: 4.7.4
Operating System: Linux 2.6.34.10-0.2-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
trying to add a camera, doing click on autodetect. when i do click in add crashes too.

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7ffe88b78710 (LWP 16305)):
#0  0x00007ffe9bb1739c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffe9f726b7b in wait (this=<value optimized out>, mutex=0xd27448, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xd27448, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c0fc8 in Digikam::ScanController::run (this=0xd27130) at /usr/src/debug/digikam-2.2.0/core/digikam/database/scancontroller.cpp:647
#4  0x00007ffe9f726495 in QThreadPrivate::start (arg=0xd27130) at thread/qthread_unix.cpp:331
#5  0x00007ffe9bb12a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffe9dd7a91d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffe88377710 (LWP 16306)):
#0  0x00007ffe9dd87ae0 in pthread_mutex_unlock () from /lib64/libc.so.6
#1  0x00007ffe96031f72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffe96032e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffe96033510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffe9f83c706 in QEventDispatcherGlib::processEvents (this=0xd11e70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007ffe9f810db2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ffe9f810fc5 in QEventLoop::exec (this=0x7ffe88376d60, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007ffe9f723ba4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:498
#8  0x00007ffe9f7f2288 in QInotifyFileSystemWatcherEngine::run (this=0xd11570) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007ffe9f726495 in QThreadPrivate::start (arg=0xd11570) at thread/qthread_unix.cpp:331
#10 0x00007ffe9bb12a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007ffe9dd7a91d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffe87b76710 (LWP 16314)):
#0  0x00007ffe9bb1739c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffe9f726b7b in wait (this=<value optimized out>, mutex=0xdf4638, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xdf4638, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007ffea1e25b37 in Digikam::ParkingThread::run (this=0xdf4620) at /usr/src/debug/digikam-2.2.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007ffe9f726495 in QThreadPrivate::start (arg=0xdf4620) at thread/qthread_unix.cpp:331
#5  0x00007ffe9bb12a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffe9dd7a91d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffe73654710 (LWP 16336)):
[KCrash Handler]
#6  0x00007ffe9dcdc9d5 in raise () from /lib64/libc.so.6
#7  0x00007ffe9dcdded6 in abort () from /lib64/libc.so.6
#8  0x00007ffe9dd17cb3 in __libc_message () from /lib64/libc.so.6
#9  0x00007ffe9dd1d286 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007ffe9dd223a6 in realloc () from /lib64/libc.so.6
#11 0x00007ffe927be187 in register_platform () from /usr/lib64/libdc1394.so.22
#12 0x00007ffe72c3cee2 in gp_port_library_list () from /usr/lib64/libgphoto2_port/0.8.0/usb.so
#13 0x00007ffea14f2568 in ?? () from /usr/lib64/libgphoto2_port.so.0
#14 0x00007ffe98dbaa41 in ?? () from /usr/lib64/libltdl.so.7
#15 0x00007ffe98dba697 in ?? () from /usr/lib64/libltdl.so.7
#16 0x00007ffe98dbb681 in lt_dlforeachfile () from /usr/lib64/libltdl.so.7
#17 0x00007ffea14f297d in gp_port_info_list_load () from /usr/lib64/libgphoto2_port.so.0
#18 0x000000000074788f in Digikam::GPCamera::autoDetect (model=..., port=...) at /usr/src/debug/digikam-2.2.0/core/utilities/cameragui/devices/gpcamera.cpp:1703
#19 0x00000000004e5212 in Digikam::CameraAutoDetectThread::run (this=0x40f8c00) at /usr/src/debug/digikam-2.2.0/core/utilities/setup/setupcamera.cpp:140
#20 0x00007ffe9f726495 in QThreadPrivate::start (arg=0x40f8c00) at thread/qthread_unix.cpp:331
#21 0x00007ffe9bb12a4f in start_thread () from /lib64/libpthread.so.0
#22 0x00007ffe9dd7a91d in clone () from /lib64/libc.so.6
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffea454e7e0 (LWP 16304)):
#0  0x00007ffe9dd717a3 in poll () from /lib64/libc.so.6
#1  0x00007ffe93ffcc0a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ffe93ffd169 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007ffe93ffd1f7 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007ffe9c0ab776 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007ffe9c0ab921 in _XEventsQueued () from /usr/lib64/libX11.so.6
#6  0x00007ffe9c0947ef in XEventsQueued () from /usr/lib64/libX11.so.6
#7  0x00007ffe9e9f4077 in x11EventSourcePrepare (s=0xb5f790, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#8  0x00007ffe96031f7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007ffe96032e69 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007ffe96033510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007ffe9f83c6af in QEventDispatcherGlib::processEvents (this=0xb07130, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#12 0x00007ffe9e9f417e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007ffe9f810db2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007ffe9f810fc5 in QEventLoop::exec (this=0x7fff3da40780, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007ffe9ee0c79e in QDialog::exec (this=0x403d230) at dialogs/qdialog.cpp:552
#16 0x00000000004e6309 in Digikam::SetupCamera::slotAutoDetectCamera (this=0x3cd74f0) at /usr/src/debug/digikam-2.2.0/core/utilities/setup/setupcamera.cpp:629
#17 0x00000000004ea44c in Digikam::SetupCamera::qt_metacall (this=0x3cd74f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3da40b20)
    at /usr/src/debug/digikam-2.2.0/build/core/digikam/setupcamera.moc:97
#18 0x00007ffe9f826caf in QMetaObject::activate (sender=0x3cc1790, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3da40b20) at kernel/qobject.cpp:3287
#19 0x00007ffe9efca232 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#20 0x00007ffe9ed0d0fb in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#21 0x00007ffe9ed0e6cb in QAbstractButtonPrivate::click (this=0x3cc2500) at widgets/qabstractbutton.cpp:539
#22 0x00007ffe9ed0e93c in QAbstractButton::mouseReleaseEvent (this=0x3cc1790, e=0x7fff3da414a0) at widgets/qabstractbutton.cpp:1121
#23 0x00007ffe9e99fd7c in QWidget::event (this=0x3cc1790, event=0x7fff3da414a0) at kernel/qwidget.cpp:8295
#24 0x00007ffe9e94e234 in QApplicationPrivate::notify_helper (this=0xb5bee0, receiver=0x3cc1790, e=0x7fff3da414a0) at kernel/qapplication.cpp:4481
#25 0x00007ffe9e95704a in QApplication::notify (this=<value optimized out>, receiver=0x3cc1790, e=0x7fff3da414a0) at kernel/qapplication.cpp:4042
#26 0x00007ffea025e686 in KApplication::notify (this=0x7fff3da43db0, receiver=0x3cc1790, event=0x7fff3da414a0) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#27 0x00007ffe9f81197c in QCoreApplication::notifyInternal (this=0x7fff3da43db0, receiver=0x3cc1790, event=0x7fff3da414a0) at kernel/qcoreapplication.cpp:787
#28 0x00007ffe9e94f235 in sendEvent (receiver=0x3cc1790, event=0x7fff3da414a0, alienWidget=0x3cc1790, nativeWidget=0x1fca090, buttonDown=0x7ffe9f430198, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x3cc1790, event=0x7fff3da414a0, alienWidget=0x3cc1790, nativeWidget=0x1fca090, buttonDown=0x7ffe9f430198, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3141
#30 0x00007ffe9e9cdd08 in QETWidget::translateMouseEvent (this=0x1fca090, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#31 0x00007ffe9e9cc3e9 in QApplication::x11ProcessEvent (this=0x7fff3da43db0, event=0x7fff3da41e00) at kernel/qapplication_x11.cpp:3587
#32 0x00007ffe9e9f44e2 in x11EventSourceDispatch (s=0xb5f790, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007ffe96032a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007ffe96033270 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007ffe96033510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007ffe9f83c6af in QEventDispatcherGlib::processEvents (this=0xb07130, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007ffe9e9f417e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007ffe9f810db2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007ffe9f810fc5 in QEventLoop::exec (this=0x7fff3da42120, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007ffe9ee0c79e in QDialog::exec (this=0x1fca090) at dialogs/qdialog.cpp:552
#41 0x00000000004d080e in Digikam::Setup::execSinglePage (parent=0xd2f7b0, page=Digikam::Setup::CameraPage) at /usr/src/debug/digikam-2.2.0/core/utilities/setup/setup.cpp:427
#42 0x000000000057601d in Digikam::DigikamApp::qt_metacall (this=0xd2f7b0, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0x7fff3da422d0)
    at /usr/src/debug/digikam-2.2.0/build/core/digikam/digikamapp.moc:255
#43 0x00007ffe9f826caf in QMetaObject::activate (sender=0x218e8b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3da422d0) at kernel/qobject.cpp:3287
#44 0x00007ffe9e947eb2 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#45 0x00007ffe9e9480aa in QAction::activate (this=0x218e8b0, event=<value optimized out>) at kernel/qaction.cpp:1257
#46 0x00007ffe9ed8a203 in QMenuPrivate::activateCausedStack (this=0x2399a30, causedStack=..., action=0x218e8b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#47 0x00007ffe9ed9021a in QMenuPrivate::activateAction (this=0x2399a30, action=0x218e8b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#48 0x00007ffea031fed0 in KMenu::mouseReleaseEvent (this=0x23999c0, e=0x7fff3da42f60) at /usr/src/debug/kdelibs-4.7.2/kdeui/widgets/kmenu.cpp:464
#49 0x00007ffe9e99fd7c in QWidget::event (this=0x23999c0, event=0x7fff3da42f60) at kernel/qwidget.cpp:8295
#50 0x00007ffe9ed9140b in QMenu::event (this=0x23999c0, e=0x7fff3da42f60) at widgets/qmenu.cpp:2405
#51 0x00007ffe9e94e234 in QApplicationPrivate::notify_helper (this=0xb5bee0, receiver=0x23999c0, e=0x7fff3da42f60) at kernel/qapplication.cpp:4481
#52 0x00007ffe9e95704a in QApplication::notify (this=<value optimized out>, receiver=0x23999c0, e=0x7fff3da42f60) at kernel/qapplication.cpp:4042
#53 0x00007ffea025e686 in KApplication::notify (this=0x7fff3da43db0, receiver=0x23999c0, event=0x7fff3da42f60) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#54 0x00007ffe9f81197c in QCoreApplication::notifyInternal (this=0x7fff3da43db0, receiver=0x23999c0, event=0x7fff3da42f60) at kernel/qcoreapplication.cpp:787
#55 0x00007ffe9e94f235 in sendEvent (receiver=0x23999c0, event=0x7fff3da42f60, alienWidget=0x0, nativeWidget=0x23999c0, buttonDown=0x7ffe9f430198, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#56 QApplicationPrivate::sendMouseEvent (receiver=0x23999c0, event=0x7fff3da42f60, alienWidget=0x0, nativeWidget=0x23999c0, buttonDown=0x7ffe9f430198, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3141
#57 0x00007ffe9e9cdf54 in QETWidget::translateMouseEvent (this=0x23999c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4395
#58 0x00007ffe9e9cc3e9 in QApplication::x11ProcessEvent (this=0x7fff3da43db0, event=0x7fff3da438c0) at kernel/qapplication_x11.cpp:3587
#59 0x00007ffe9e9f44e2 in x11EventSourceDispatch (s=0xb5f790, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007ffe96032a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#61 0x00007ffe96033270 in ?? () from /usr/lib64/libglib-2.0.so.0
#62 0x00007ffe96033510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#63 0x00007ffe9f83c6af in QEventDispatcherGlib::processEvents (this=0xb07130, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#64 0x00007ffe9e9f417e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007ffe9f810db2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007ffe9f810fc5 in QEventLoop::exec (this=0x7fff3da43be0, flags=...) at kernel/qeventloop.cpp:201
#67 0x00007ffe9f81542b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#68 0x000000000068c375 in main (argc=11872768, argv=0x7fff00000000) at /usr/src/debug/digikam-2.2.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 283403, bug 282420, bug 282330, bug 280927, bug 280604.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-10-22 09:01:20 UTC

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