[Digikam-devel] [Bug 268267] digiKam crashes on picture import : OpenCV and Gphoto2 libraries incompatibility through libdc1394

Jack jcheesman at talk21.com
Mon Mar 5 16:50:08 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=268267

Jack <jcheesman at talk21.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jcheesman at talk21.com

--- Comment #98 from Jack <jcheesman at talk21.com> ---
Digikam 2.5.0
Kubuntu 12.04
Linux 3.2.0-18-generic-pae
KDE 4.8.00

-- Information about the crash:
When attempting to upload pitures vis the menu Import-Camera, Digikam crashes
as soon as the camera is selected.  This occurs on every attempt and with
different cameras.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb513a8c0 (LWP 5552))]

Thread 5 (Thread 0xb3301b40 (LWP 5553)):
#0  0x00649416 in __kernel_vsyscall ()
#1  0x00a3196b in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x022c007c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x02ae0350 in wait (time=4294967295, this=0x991bf78) at
thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x991bee4, mutex=0x991bee0, time=4294967295) at
thread/qwaitcondition_unix.cpp:158
#5  0x0820345e in Digikam::ScanController::run (this=0x9915610) at
/build/buildd/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647
#6  0x02adfde0 in QThreadPrivate::start (arg=0x9915610) at
thread/qthread_unix.cpp:298
#7  0x00a2dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x022b276e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb29ffb40 (LWP 5554)):
#0  do_gettime (frac=0xb29fee30, sec=0xb29fee28) at
tools/qelapsedtimer_unix.cpp:121
#1  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#2  0x02c27956 in QTimerInfoList::updateCurrentTime (this=0xb2002074) at
kernel/qeventdispatcher_unix.cpp:343
#3  0x02c27caa in QTimerInfoList::timerWait (this=0xb2002074, tm=...) at
kernel/qeventdispatcher_unix.cpp:450
#4  0x02c26553 in timerSourcePrepareHelper (src=<optimized out>,
timeout=0xb29fef3c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x02c265ed in timerSourcePrepare (source=0xb2002040, timeout=<optimized
out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0x072f4812 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x072f501f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x072f5271 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x02c27017 in QEventDispatcherGlib::processEvents (this=0xb2000468,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x02bf2c3d in QEventLoop::processEvents (this=0xb29ff0c0, flags=...) at
kernel/qeventloop.cpp:149
#11 0x02bf2ed9 in QEventLoop::exec (this=0xb29ff0c0, flags=...) at
kernel/qeventloop.cpp:204
#12 0x02adc94c in QThread::exec (this=0x991cc90) at thread/qthread.cpp:501
#13 0x02bd02dd in QInotifyFileSystemWatcherEngine::run (this=0x991cc90) at
io/qfilesystemwatcher_inotify.cpp:248
#14 0x02adfde0 in QThreadPrivate::start (arg=0x991cc90) at
thread/qthread_unix.cpp:298
#15 0x00a2dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x022b276e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb1fffb40 (LWP 5556)):
#0  0x00649416 in __kernel_vsyscall ()
#1  0x00a3196b in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i386-linux-gnu/libpthread.so.0
#2  0x022c007c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x02ae0350 in wait (time=4294967295, this=0x9b893f8) at
thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9b89238, mutex=0x9b89234, time=4294967295) at
thread/qwaitcondition_unix.cpp:158
#5  0x088e2b2c in Digikam::ParkingThread::run (this=0x9b89228) at
/build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#6  0x02adfde0 in QThreadPrivate::start (arg=0x9b89228) at
thread/qthread_unix.cpp:298
#7  0x00a2dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x022b276e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb13ffb40 (LWP 5557)):
#0  0x03761dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x02b3dda5 in do_gettime (frac=0xb13fee30, sec=0xb13fee28) at
tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x02c27956 in QTimerInfoList::updateCurrentTime (this=0x9cb90b4) at
kernel/qeventdispatcher_unix.cpp:343
#4  0x02c27caa in QTimerInfoList::timerWait (this=0x9cb90b4, tm=...) at
kernel/qeventdispatcher_unix.cpp:450
#5  0x02c26553 in timerSourcePrepareHelper (src=<optimized out>,
timeout=0xb13fef3c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x02c265ed in timerSourcePrepare (source=0x9cb9080, timeout=<optimized
out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x072f4812 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x072f501f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x072f5271 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x02c27017 in QEventDispatcherGlib::processEvents (this=0x9cb8970,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x02bf2c3d in QEventLoop::processEvents (this=0xb13ff0c0, flags=...) at
kernel/qeventloop.cpp:149
#12 0x02bf2ed9 in QEventLoop::exec (this=0xb13ff0c0, flags=...) at
kernel/qeventloop.cpp:204
#13 0x02adc94c in QThread::exec (this=0x9cb8600) at thread/qthread.cpp:501
#14 0x02bd02dd in QInotifyFileSystemWatcherEngine::run (this=0x9cb8600) at
io/qfilesystemwatcher_inotify.cpp:248
#15 0x02adfde0 in QThreadPrivate::start (arg=0x9cb8600) at
thread/qthread_unix.cpp:298
#16 0x00a2dd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x022b276e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb513a8c0 (LWP 5552)):
[KCrash Handler]
#7  0x0223ff46 in realloc () from /lib/i386-linux-gnu/libc.so.6
#8  0x03d3c24e in register_platform (d=0xb0806b8, dispatch=0x3d65380,
name=0x3d5c726 "usb") at control.c:2015
#9  0x03d4f89f in usb_init (d=0xb0806b8) at control.c:383
#10 0x05a90832 in gp_port_library_list () from
/usr/lib/i386-linux-gnu/libgphoto2_port/0.8.0/usb.so
#11 0x001c484c in ?? () from /usr/lib/i386-linux-gnu/libgphoto2_port.so.0
#12 0x02a33340 in ?? () from /usr/lib/i386-linux-gnu/libltdl.so.7
#13 0x02a32857 in ?? () from /usr/lib/i386-linux-gnu/libltdl.so.7
#14 0x02a33ad6 in lt_dlforeachfile () from /usr/lib/i386-linux-gnu/libltdl.so.7
#15 0x001c4cd0 in gp_port_info_list_load () from
/usr/lib/i386-linux-gnu/libgphoto2_port.so.0
#16 0x083ab715 in Digikam::GPCamera::findConnectedUsbCamera (vendorId=1034,
productId=1498, model=..., port=...) at
/build/buildd/digikam-2.5.0/core/utilities/cameragui/devices/gpcamera.cpp:1772
#17 0x081aff88 in Digikam::DigikamApp::openSolidCamera (this=0x99a6480,
udi=..., cameraLabel=...) at
/build/buildd/digikam-2.5.0/core/digikam/main/digikamapp.cpp:1967
#18 0x081b1585 in Digikam::DigikamApp::slotOpenSolidDevice (this=0x99a6480,
udi=...) at /build/buildd/digikam-2.5.0/core/digikam/main/digikamapp.cpp:1907
#19 0x081b71a6 in Digikam::DigikamApp::qt_static_metacall (_o=0x99a6480,
_c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xb17cc88) at
/build/buildd/digikam-2.5.0/obj-i686-linux-gnu/core/digikam/digikamapp.moc:240
#20 0x02c06331 in QMetaCallEvent::placeMetaCall (this=0xb95ae40,
object=0x99a6480) at kernel/qobject.cpp:525
#21 0x02c0f3ab in QObject::event (this=0x99a6480, e=0xb95ae40) at
kernel/qobject.cpp:1195
#22 0x0188ccb2 in QWidget::event (this=0x99a6480, event=0xb95ae40) at
kernel/qwidget.cpp:8820
#23 0x01cc76ac in QMainWindow::event (this=0x99a6480, event=0xb95ae40) at
widgets/qmainwindow.cpp:1478
#24 0x07e3da24 in KMainWindow::event (this=0x99a6480, ev=0xb95ae40) at
../../kdeui/widgets/kmainwindow.cpp:1084
#25 0x07e865d2 in KXmlGuiWindow::event (this=0x99a6480, ev=0xb95ae40) at
../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#26 0x01832d24 in notify_helper (e=0xb95ae40, receiver=0x99a6480,
this=0x97ddc40) at kernel/qapplication.cpp:4555
#27 QApplicationPrivate::notify_helper (this=0x97ddc40, receiver=0x99a6480,
e=0xb95ae40) at kernel/qapplication.cpp:4527
#28 0x018381f2 in QApplication::notify (this=0x97ddc40, receiver=0x99a6480,
e=0xb95ae40) at kernel/qapplication.cpp:4520
#29 0x07d627b1 in KApplication::notify (this=0xbfff9440, receiver=0x99a6480,
event=0xb95ae40) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x02bf40ae in QCoreApplication::notifyInternal (this=0xbfff9440,
receiver=0x99a6480, event=0xb95ae40) at kernel/qcoreapplication.cpp:876
#31 0x02bf8208 in sendEvent (event=<optimized out>, receiver=<optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x9799388) at kernel/qcoreapplication.cpp:1500
#33 0x02bf853c in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1393
#34 0x02c26bc4 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x97e47c8) at
kernel/qeventdispatcher_glib.cpp:279
#36 0x072f4d8a in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x072f5195 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x072f5271 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#39 0x02c26fb7 in QEventDispatcherGlib::processEvents (this=0x979a100,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x018eb80a in QGuiEventDispatcherGlib::processEvents (this=0x979a100,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x02bf2c3d in QEventLoop::processEvents (this=0xbfff9324, flags=...) at
kernel/qeventloop.cpp:149
#42 0x02bf2ed9 in QEventLoop::exec (this=0xbfff9324, flags=...) at
kernel/qeventloop.cpp:204
#43 0x02bf85ea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#44 0x018308c4 in QApplication::exec () at kernel/qapplication.cpp:3816
#45 0x080b69d4 in main (argc=136598667, argv=0x424448b) at
/build/buildd/digikam-2.5.0/core/digikam/main/main.cpp:232

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list