Bug 280557 - Crash when connecting the camera via USB
Summary: Crash when connecting the camera via USB
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 07:23 UTC by Pua Moders
Modified: 2022-01-28 04:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pua Moders 2011-08-22 07:23:47 UTC
Application: digikam (2.0.0)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.3
Operating System: Linux 2.6.34.10-0.2-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Kamera wird zuvor automatisch richtig erkannt

The crash can be reproduced every time.

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

Thread 7 (Thread 0x7f8e57b2d710 (LWP 7596)):
#0  0x00007f8e6af6b39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8e6eb5a74b in wait (this=<value optimized out>, mutex=0xc96108, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xc96108, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005b9dd0 in Digikam::ScanController::run (this=0xc95d90) at /usr/src/debug/digikam-2.0.0/core/digikam/database/scancontroller.cpp:618
#4  0x00007f8e6eb5a065 in QThreadPrivate::start (arg=0xc95d90) at thread/qthread_unix.cpp:320
#5  0x00007f8e6af66a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8e6d1b691d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8e5732c710 (LWP 7597)):
#0  0x00007f8e6d1ad7a3 in poll () from /lib64/libc.so.6
#1  0x00007f8e6517dfd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8e6517e510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e6ec703a6 in QEventDispatcherGlib::processEvents (this=0xcc7490, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8e6ec44a92 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8e6ec44ca5 in QEventLoop::exec (this=0x7f8e5732bd80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8e6eb57774 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f8e6ec25f68 in QInotifyFileSystemWatcherEngine::run (this=0xcca5d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8e6eb5a065 in QThreadPrivate::start (arg=0xcca5d0) at thread/qthread_unix.cpp:320
#9  0x00007f8e6af66a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8e6d1b691d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8e56a79710 (LWP 7600)):
#0  0x00007f8e6af6b39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8e6eb5a74b in wait (this=<value optimized out>, mutex=0x1baa718, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1baa718, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f8e70dbebb7 in Digikam::ParkingThread::run (this=0x1baa700) at /usr/src/debug/digikam-2.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f8e6eb5a065 in QThreadPrivate::start (arg=0x1baa700) at thread/qthread_unix.cpp:320
#5  0x00007f8e6af66a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8e6d1b691d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8e5606b710 (LWP 7601)):
#0  0x00007f8e6d1c3bbe in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f8e6d15fc63 in _L_lock_9787 () from /lib64/libc.so.6
#2  0x00007f8e6d15e021 in free () from /lib64/libc.so.6
#3  0x00007f8e6517a2d7 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8e6ec707f8 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x1af7b80, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:392
#5  0x00007f8e6ec70859 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x1af7b80, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#6  0x00007f8e6eb59384 in QThreadPrivate::finish (arg=0x1af63d0) at thread/qthread_unix.cpp:356
#7  0x00007f8e6eb5a06d in ~__pthread_cleanup_class (arg=0x1af63d0) at /usr/include/pthread.h:535
#8  QThreadPrivate::start (arg=0x1af63d0) at thread/qthread_unix.cpp:279
#9  0x00007f8e6af66a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8e6d1b691d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8e4b797710 (LWP 7603)):
#0  0x00007f8e6d1ad7a3 in poll () from /lib64/libc.so.6
#1  0x00007f8e6c7bc41f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f8e6c7ae1e6 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f8e6c7ae819 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f8e6c7ae8d0 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f8e6c7bc3bb in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f8e635c28e8 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#7  0x00007f8e6af66a4f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8e6d1b691d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8e45e59710 (LWP 7607)):
#0  0x00007f8e6d1c3bbe in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f8e6d15fc63 in _L_lock_9787 () from /lib64/libc.so.6
#2  0x00007f8e6d15e021 in free () from /lib64/libc.so.6
#3  0x00007f8e6ec7081b in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2a77a40, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:399
#4  0x00007f8e6ec70859 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x2a77a40, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#5  0x00007f8e6eb59384 in QThreadPrivate::finish (arg=0xd841b0) at thread/qthread_unix.cpp:356
#6  0x00007f8e6eb5a06d in ~__pthread_cleanup_class (arg=0xd841b0) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0xd841b0) at thread/qthread_unix.cpp:279
#8  0x00007f8e6af66a4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8e6d1b691d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8e7379a7c0 (LWP 7595)):
[KCrash Handler]
#6  0x00007f8e6d1189d5 in raise () from /lib64/libc.so.6
#7  0x00007f8e6d119ed6 in abort () from /lib64/libc.so.6
#8  0x00007f8e6d153cb3 in __libc_message () from /lib64/libc.so.6
#9  0x00007f8e6d159286 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f8e6d15cacc in _int_realloc () from /lib64/libc.so.6
#11 0x00007f8e6d15e1a2 in realloc () from /lib64/libc.so.6
#12 0x00007f8e6187f187 in register_platform () from /usr/lib64/libdc1394.so.22
#13 0x00007f8e36a0eee2 in gp_port_library_list (list=0x38cb880) at libusb.c:98
#14 0x00007f8e6cedf568 in foreach_func (filename=0x3959b75 "/usr/lib64/libgphoto2_port/0.8.0/usb", data=0x38cb880) at gphoto2-port-info-list.c:243
#15 0x00007f8e68a9da41 in foreachfile_callback (dirname=0x2b08870 "/usr/lib64/libgphoto2_port/0.8.0", data1=<value optimized out>, data2=0x38cb880) at libltdl/ltdl.c:1836
#16 0x00007f8e68a9d697 in foreach_dirinpath (search_path=<value optimized out>, base_name=0x0, func=0x7f8e68a9d770 <foreachfile_callback>, data1=0x7fff613a6678, data2=0x38cb880) at libltdl/ltdl.c:710
#17 0x00007f8e68a9e681 in lt_dlforeachfile (search_path=<value optimized out>, func=0x7f8e6cedf490 <foreach_func>, data=0x38cb880) at libltdl/ltdl.c:1865
#18 0x00007f8e6cedf97d in gp_port_info_list_load (list=0x38cb880) at gphoto2-port-info-list.c:290
#19 0x0000000000744c08 in Digikam::GPCamera::findConnectedUsbCamera (vendorId=1193, productId=12698, model=..., port=...)
    at /usr/src/debug/digikam-2.0.0/core/utilities/cameragui/devices/gpcamera.cpp:1697
#20 0x0000000000568014 in Digikam::DigikamApp::openSolidCamera (this=0x1009a50, udi=..., cameraLabel=...) at /usr/src/debug/digikam-2.0.0/core/digikam/main/digikamapp.cpp:1825
#21 0x00000000005688cc in Digikam::DigikamApp::slotOpenSolidCamera (this=0x1009a50, action=0x2466ad0) at /usr/src/debug/digikam-2.0.0/core/digikam/main/digikamapp.cpp:1772
#22 0x000000000056f4a4 in Digikam::DigikamApp::qt_metacall (this=0x1009a50, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7fff613a7470)
    at /usr/src/debug/digikam-2.0.0/build/core/digikam/digikamapp.moc:228
#23 0x00007f8e6ec5a8af in QMetaObject::activate (sender=0x26862b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff613a7470) at kernel/qobject.cpp:3278
#24 0x00007f8e6dd83b1f in QActionGroup::triggered (this=<value optimized out>, _t1=0x2466ad0) at .moc/release-shared/moc_qactiongroup.cpp:146
#25 0x00007f8e6dd83ba7 in QActionGroupPrivate::_q_actionTriggered (this=<value optimized out>) at kernel/qactiongroup.cpp:93
#26 0x00007f8e6dd84151 in QActionGroup::qt_metacall (this=0x26862b0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff613a75b0) at .moc/release-shared/moc_qactiongroup.cpp:101
#27 0x00007f8e6ec5a8af in QMetaObject::activate (sender=0x2466ad0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff613a75b0) at kernel/qobject.cpp:3278
#28 0x00007f8e6dd80d92 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#29 0x00007f8e6dd80f8a in QAction::activate (this=0x2466ad0, event=<value optimized out>) at kernel/qaction.cpp:1257
#30 0x00007f8e6e1bff13 in QMenuPrivate::activateCausedStack (this=0x29598b0, causedStack=..., action=0x2466ad0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#31 0x00007f8e6e1c5f2a in QMenuPrivate::activateAction (this=0x29598b0, action=0x2466ad0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#32 0x00007f8e6f753560 in KMenu::mouseReleaseEvent (this=0x2907ba0, e=0x7fff613a8240) at /usr/src/debug/kdelibs-4.7.0/kdeui/widgets/kmenu.cpp:464
#33 0x00007f8e6ddd8bdc in QWidget::event (this=0x2907ba0, event=0x7fff613a8240) at kernel/qwidget.cpp:8259
#34 0x00007f8e6e1c711b in QMenu::event (this=0x2907ba0, e=0x7fff613a8240) at widgets/qmenu.cpp:2415
#35 0x00007f8e6dd87114 in QApplicationPrivate::notify_helper (this=0xb54110, receiver=0x2907ba0, e=0x7fff613a8240) at kernel/qapplication.cpp:4462
#36 0x00007f8e6dd8ff2a in QApplication::notify (this=<value optimized out>, receiver=0x2907ba0, e=0x7fff613a8240) at kernel/qapplication.cpp:4023
#37 0x00007f8e6f692666 in KApplication::notify (this=0x7fff613a9090, receiver=0x2907ba0, event=0x7fff613a8240) at /usr/src/debug/kdelibs-4.7.0/kdeui/kernel/kapplication.cpp:311
#38 0x00007f8e6ec4565c in QCoreApplication::notifyInternal (this=0x7fff613a9090, receiver=0x2907ba0, event=0x7fff613a8240) at kernel/qcoreapplication.cpp:731
#39 0x00007f8e6dd88115 in sendEvent (receiver=0x2907ba0, event=0x7fff613a8240, alienWidget=0x0, nativeWidget=0x2907ba0, buttonDown=0x7f8e6e864198, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#40 QApplicationPrivate::sendMouseEvent (receiver=0x2907ba0, event=0x7fff613a8240, alienWidget=0x0, nativeWidget=0x2907ba0, buttonDown=0x7f8e6e864198, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3122
#41 0x00007f8e6de06e14 in QETWidget::translateMouseEvent (this=0x2907ba0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4395
#42 0x00007f8e6de052a9 in QApplication::x11ProcessEvent (this=0x7fff613a9090, event=0x7fff613a8ba0) at kernel/qapplication_x11.cpp:3587
#43 0x00007f8e6de2cfc2 in x11EventSourceDispatch (s=0xb57750, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007f8e6517da93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f8e6517e270 in ?? () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f8e6517e510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f8e6ec7034f in QEventDispatcherGlib::processEvents (this=0xafdf70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#48 0x00007f8e6de2cc5e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007f8e6ec44a92 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007f8e6ec44ca5 in QEventLoop::exec (this=0x7fff613a8ec0, flags=...) at kernel/qeventloop.cpp:201
#51 0x00007f8e6ec4910b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#52 0x000000000068a475 in main (argc=11834880, argv=0x7fff00000000) at /usr/src/debug/digikam-2.0.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 280396, bug 279646, bug 279616, bug 268267.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-08-22 07:28:40 UTC

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