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

Gilles Caulier caulier.gilles at gmail.com
Tue Jun 7 14:08:51 BST 2011


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





--- Comment #26 from Gilles Caulier <caulier gilles gmail com>  2011-06-07 15:08:44 ---
Same problem if libkface is linked only with CVAUX opencv component :

#0  0xb4d29a96 in mem2chunk_check () from /lib/i686/libc.so.6
#1  0xb4d2f61d in realloc_check () from /lib/i686/libc.so.6
#2  0xb4d2f0b6 in realloc () from /lib/i686/libc.so.6
#3  0xb24fc46e in register_platform () from /usr/lib/libdc1394.so.22
#4  0xb251629f in usb_init () from /usr/lib/libdc1394.so.22
#5  0xa68a8047 in gp_port_library_list () from
/usr/lib/libgphoto2_port/0.8.0/usb.so
#6  0xb7265e44 in ?? () from /usr/lib/libgphoto2_port.so.0
#7  0xb3d63d28 in ?? () from /usr/lib/libltdl.so.7
#8  0xb3d638ea in ?? () from /usr/lib/libltdl.so.7
#9  0xb3d639a6 in lt_dlforeachfile () from /usr/lib/libltdl.so.7
#10 0xb7265d12 in gp_port_info_list_load () from /usr/lib/libgphoto2_port.so.0
#11 0x083b0bdd in Digikam::GPCamera::getSupportedPorts (plist=...)
    at
/mnt/data/Devel/GIT/2.x/core/utilities/cameragui/devices/gpcamera.cpp:1553
#12 0x08133148 in Digikam::CameraSelection::getSerialPortList (this=0xac00e98)
    at /mnt/data/Devel/GIT/2.x/core/utilities/setup/cameraselection.cpp:406
#13 0x081327e4 in Digikam::CameraSelection::CameraSelection (this=0xac00e98,
parent=0x0)
    at /mnt/data/Devel/GIT/2.x/core/utilities/setup/cameraselection.cpp:285
#14 0x0812d825 in Digikam::SetupCamera::slotAddCamera (this=0xa9f2080)
    at /mnt/data/Devel/GIT/2.x/core/utilities/setup/setupcamera.cpp:320
#15 0x0812a9ff in Digikam::SetupCamera::qt_metacall (this=0xa9f2080,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfffc908)
    at /mnt/data/Devel/GIT/2.x/core/digikam/setupcamera.moc:87

This is an indeep incompatibility between opencv and libgphoto2, through
libdc1394. This cannot be fixed into digiKam or libkface (excepted if i import
only relevant opencv code myself in libkface, which i will never do of course)

This problem must be _URGENTLY_ reported to libdc1394 and opencv (and perhaps
gphoto2) projects to find the right solution.

Gilles Caulier

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list