|
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #19 from Philip Johnsson <philip johnsson gmail com> 2011-05-04 23:23:43 --- Yes this is the core of the problem. I'm not sure if it is possible to have some kind of check in digikam if usb is initiated or not as this is the only application that have this problem that i know of. The problem happens if opencv is built with libdc1394 support. If opencv is built without libdc1394 then libgphoto2 works with digikam and doesn't crash. So it's the combination opencv with libdc1394, libgphoto2 and digikam or maybe opencv and libgphoto2 that gives crashes with usb initiation. I guess that opencv is built without libdc1394 support/dependency on fedora and mandriva?! So my question is: is this a upstream problem for opencv, libgphoto2 or digikam or a packaging problem that must turn off libdc1394 support in opencv for all possible application to use it? /Philip On Wed, May 4, 2011 at 8:47 AM, Pierre Hanser <[hidden email]>wrote: > https://bugs.kde.org/show_bug.cgi?id=268267 > > > Pierre Hanser <[hidden email]> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |[hidden email] > > > > > --- Comment #18 from Pierre Hanser <hanser club-internet fr> 2011-05-04 > 08:47:21 --- > I think the problem may come through the following path > > libkface -> libopencv -> gstreamer -> libdc1394 > > libopencv may be linked with gstreamer which calls 1394 functions. > > the problem exist because there are public definitions duplicated between > libusb and libdc1394 > > $ nm -D /usr/lib/libusb.so|grep usb_init > 00001180 T usb_init > > $ nm -D /usr/lib/libdc1394.so.22.1.4|grep usb_init > U libusb_init > 0001f8d0 T usb_init > > ubuntu uses an version 1 of libdc1394 where a version 2 exists > > > > if you look at libkface included libraries, there are a large list which > includes everything > to do audio and video > > $ ldd build-11.04/lib/libkface.so > linux-gate.so.1 => (0xb77aa000) > libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0xb74e8000) > libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0xb713e000) > libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb66bf000) > libcxcore.so.2.1 => /usr/lib/libcxcore.so.2.1 (0xb64fe000) > libcv.so.2.1 => /usr/lib/libcv.so.2.1 (0xb6226000) > libml.so.2.1 => /usr/lib/libml.so.2.1 (0xb61c5000) > libhighgui.so.2.1 => /usr/lib/libhighgui.so.2.1 (0xb6188000) > libcvaux.so.2.1 => /usr/lib/libcvaux.so.2.1 (0xb605d000) > libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb5fe6000) > libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb5d54000) > libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb5d00000) > libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb5c15000) > libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb5bef000) > libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb5a8d000) > libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb5a71000) > libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb5947000) > libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb5932000) > libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb5921000) > liblzma.so.2 => /usr/lib/liblzma.so.2 (0xb58fe000) > libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb58e5000) > libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb58dd000) > libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb58c5000) > libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb57aa000) > libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb5768000) > libattica.so.0 => /usr/lib/libattica.so.0 (0xb56c5000) > libdbusmenu-qt.so.2 => /usr/lib/libdbusmenu-qt.so.2 (0xb5693000) > libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb5689000) > libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 > (0xb565a000) > libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb5642000) > libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb556b000) > libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb5546000) > libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 > (0xb54c0000) > libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 > (0xb5479000) > libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb5469000) > libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb545a000) > libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb5456000) > librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb544d000) > liblapack.so.3gf => /usr/lib/liblapack.so.3gf (0xb4c80000) > libjpeg.so.62 => /usr/lib/i386-linux-gnu/libjpeg.so.62 (0xb4c5f000) > libtiff.so.4 => /usr/lib/i386-linux-gnu/libtiff.so.4 (0xb4c04000) > libjasper.so.1 => /usr/lib/i386-linux-gnu/libjasper.so.1 (0xb4bb8000) > libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb47df000) > libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb4746000) > libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xb4729000) > libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xb4626000) > libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 > (0xb45fe000) > libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 > (0xb45f2000) > libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb45d5000) > libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb4521000) > libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 > (0xb44e1000) > libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 > (0xb44dd000) > libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 > (0xb44d8000) > libavcodec.so.52 => /usr/lib/i686/cmov/libavcodec.so.52 (0xb3b32000) > libavformat.so.52 => /usr/lib/i686/cmov/libavformat.so.52 (0xb3a5f000) > libavutil.so.50 => /usr/lib/i686/cmov/libavutil.so.50 (0xb3a4b000) > libswscale.so.0 => /usr/lib/i686/cmov/libswscale.so.0 (0xb39ef000) > libdc1394.so.22 => /usr/lib/libdc1394.so.22 (0xb397e000) > libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xb3941000) > /lib/ld-linux.so.2 (0xb77ab000) > libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb393b000) > libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb3922000) > libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb38f8000) > libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb38a6000) > libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb38a1000) > libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb3862000) > libblas.so.3gf => /usr/lib/libblas.so.3gf (0xb3562000) > libgfortran.so.3 => /usr/lib/i386-linux-gnu/libgfortran.so.3 > (0xb34a7000) > libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 > (0xb34a3000) > libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb349e000) > libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb3498000) > libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 > (0xb3494000) > libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb348c000) > libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb3482000) > libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb346c000) > libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xb3451000) > libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb33e5000) > libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xb33e1000) > libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 > (0xb33d9000) > libva.so.1 => /usr/lib/libva.so.1 (0xb33b0000) > libdirac_encoder.so.0 => /usr/lib/libdirac_encoder.so.0 (0xb3326000) > libfaad.so.2 => /usr/lib/libfaad.so.2 (0xb32e7000) > libgsm.so.1 => /usr/lib/libgsm.so.1 (0xb32d9000) > libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb3264000) > libopenjpeg.so.2 => /usr/lib/libopenjpeg.so.2 (0xb3244000) > libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 > (0xb31a2000) > libspeex.so.1 => /usr/lib/sse2/libspeex.so.1 (0xb3185000) > libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0xb3141000) > libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0xb3127000) > libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb2fae000) > libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb2f87000) > libvpx.so.0 => /usr/lib/libvpx.so.0 (0xb2eed000) > libx264.so.106 => /usr/lib/i686/sse2/libx264.so.106 (0xb2e09000) > libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb2cfb000) > libraw1394.so.11 => /usr/lib/libraw1394.so.11 (0xb2cec000) > libusb-1.0.so.0 => /lib/libusb-1.0.so.0 (0xb2cdf000) > libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb2cd9000) > liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0xb2c62000) > libogg.so.0 => /usr/lib/libogg.so.0 (0xb2c5a000) > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are the assignee for the bug. > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Pierre Hanser
Yes this is the core of the problem. I'm not sure if it is possible to have some kind of check in digikam if usb is initiated or not as this is the only application that have this problem that i know of.
The problem happens if opencv is built with libdc1394 support. If opencv is built without libdc1394 then libgphoto2 works with digikam and doesn't crash. So it's the combination opencv with libdc1394, libgphoto2 and digikam or maybe opencv and libgphoto2 that gives crashes with usb initiation. I guess that opencv is built without libdc1394 support/dependency on fedora and mandriva?! So my question is: is this a upstream problem for opencv, libgphoto2 or digikam or a packaging problem that must turn off libdc1394 support in opencv for all possible application to use it? /Philip
On Wed, May 4, 2011 at 8:47 AM, Pierre Hanser <[hidden email]> wrote: Pierre Hanser <[hidden email]> changed: _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #20 from Pierre Hanser <hanser club-internet fr> 2011-05-05 06:53:05 --- I think the core of the problem is in libdc1394: looking at the code, it looks like it can use various internal backends, one of which being usb. So the symbol usb_init is not intended to be public! The library leaks internal symbol... There are various solutions, one which which is not a real solution but which involves only digikam would be to have libusb early on the link line; as libraries are guaranteed to be searched from left to right. basically it's what the LD_PRELOAD trick does, but at run time. It would imply modifying the link of digikam, but also of showfoto and may be other binaries I am not aware of. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
Jacob R <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #21 from Jacob R <jacob jacobrask net> 2011-05-26 11:37:13 --- I have the same problem using digikam 2.0 beta5 on openSUSE with the packages in http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/openSUSE_11.4/ Downgraded to 1.9 as supplied in KDE core and it works. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #22 from Gilles Caulier <caulier gilles gmail com> 2011-05-26 11:41:45 --- To Philip #19 : Mandriva crash too when i try to open my Samsung phone by PTP Gphoto driver. Same backtrace. 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #23 from Gilles Caulier <caulier gilles gmail com> 2011-05-26 11:45:50 --- To Pierre #20 : Perhaps we can solve this issue to fix the linking parts from OpenCV used in libkface. The openCV part which use libdc1394 is not used in libkface. Currently, if i understand fine libkface OpenCV linking rules, all OpenCV parts are linked with libkface. This can be a solution to limit to wanted openCV parts in libkface linking rules ? 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Digikam crashes on picture |digiKam crashes on picture |import |import : OpenCV and Gphoto2 | |libraries incompatibility | |through libdc1394 --- Comment #24 from Gilles Caulier <caulier gilles gmail com> 2011-06-07 14:53:08 --- I can reproduce now the problem on my computer. It very simple to reproduce, outside cameragui: Go to digiKam setup, camera section and try to add a new camera manually, or to perform an auto detection. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #25 from Gilles Caulier <caulier gilles gmail com> 2011-06-07 14:56:30 --- I make investiguations around libkface/openCV linking. Currently libkface is linked to OpenCV using CV, CVCORE, CVAUX, and HIGHGUI components. It can be linked using only CVAUX alone. Compilation is under progress. I will see if this will remove libdc1394 depency to libkface and prevent crash with gphoto2. 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #27 from Gilles Caulier <caulier gilles gmail com> 2011-06-08 09:02:22 --- @Pierre #20 : How to specify in cmake to preload libusb on the right way for digiKam, using LD_PRELOAD ? 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #28 from Gilles Caulier <caulier gilles gmail com> 2011-06-08 12:32:02 --- To Philip, #19 : I can confirm that if i compile myself opencv with libdc1394 support, Gphoto2 do not crash into digiKam. My system is Mandriva 2012.0 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #29 from Gilles Caulier <caulier gilles gmail com> 2011-06-08 12:33:54 --- Nicolas, If it's possible, make OpenCV for Mandriva without libdc1394 support, until we found a better way to fix this problem. There is just an option to turn off in cmake configuration... 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #30 from Pierre Hanser <hanser club-internet fr> 2011-06-08 16:40:43 --- Le 08/06/2011 09:02, Gilles Caulier a écrit : > > https://bugs.kde.org/show_bug.cgi?id=268267 > > > > > > --- Comment #27 from Gilles Caulier <caulier gilles gmail com> 2011-06-08 09:02:22 --- > @Pierre #20 : > > How to specify in cmake to preload libusb on the right way for digiKam, using > LD_PRELOAD ? > > Gilles Caulier > i would like to help but does not know cmake. i will have a look but do not expect too much on my side sorry -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #31 from Pierre Hanser <hanser club-internet fr> 2011-06-08 17:52:21 --- a quick and dirty solution is to modify core/digikam/CMakeLists.txt if you add explicitly libusb in the list of libs in libdigikamcore you solve the problem for all programs using it (digikam and showfoto) around line 72 ADD_DEPENDENCIES(digikamcore digikam-gitversion) TARGET_LINK_LIBRARIES(digikamcore /usr/lib/libusb.so ${QT_QT3SUPPORT_LIBRARY} ${QT_QTSQL_LIBRARY} ${KDE4_KDECORE_LIBS} works on Ubuntu 11.04 At least modification is in the right file I think... -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #32 from Gilles Caulier <caulier gilles gmail com> 2011-06-08 19:04:20 --- Pierre, Thanks for the informations. I will test on my computer and use the right cmake way to link digiKam & co with libusb. 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
Marcel Wiesweg <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #33 from Marcel Wiesweg <marcel wiesweg gmx de> 2011-06-11 16:20:34 --- *** Bug 274807 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #34 from Gilles Caulier <caulier gilles gmail com> 2011-06-15 19:05:05 --- *** Bug 275750 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #35 from Gilles Caulier <caulier gilles gmail com> 2011-06-16 17:41:39 --- Git commit 5c8ae642eb0443b68a14716d3c27d66b3e71b705 by Gilles Caulier. Committed on 16/06/2011 at 17:40. Pushed by cgilles into branch 'master'. add libusb as linking dependency for gphoto2 library to prevent crash at libgphoto2 init when OpenCV library is linked against libdc1394. BUGS: 268267 M +11 -6 CMakeLists.txt M +8 -7 README M +6 -0 digikam/CMakeLists.txt http://commits.kde.org/digikam/5c8ae642eb0443b68a14716d3c27d66b3e71b705 -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #36 from _GreyBones <ginolovesyou gmail com> 2011-06-18 03:49:03 --- Created an attachment (id=61103) --> (http://bugs.kde.org/attachment.cgi?id=61103) New crash information added by DrKonqi digikam (2.0.0-rc) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.0 - What I was doing when the application crashed: Well, still has a bug... i just compiled from git today... with libkdcraw and kipi-plugins from git as well.. -- Backtrace (Reduced): #6 tre_free (preg=0x7f7dfbc73b80) at /home/grey/Downloads/digikam/libs/3rdparty/regex/tre-compile.c:2232 #7 0x00007f7e32645966 in gp_port_info_list_lookup_path () from /usr/lib64/libgphoto2_port.so.0 #8 0x000000000073fc57 in Digikam::GPCamera::doConnect (this=0x3614e40) at /home/grey/Downloads/digikam/utilities/cameragui/devices/gpcamera.cpp:209 #9 0x00000000007724df in Digikam::CameraController::executeCommand (this=0x36b95d0, cmd=<value optimized out>) at /home/grey/Downloads/digikam/utilities/cameragui/controller/cameracontroller.cpp:407 #10 0x000000000077c1f9 in Digikam::CameraController::run (this=0x36b95d0) at /home/grey/Downloads/digikam/utilities/cameragui/controller/cameracontroller.cpp:392 -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267
--- Comment #37 from Gilles Caulier <caulier gilles gmail com> 2011-06-18 09:38:07 --- I cannot reproduce the crash here, under Linux and MACOSX. Take a care to make a fresh checkout of source code without any compilation cache. 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
| Free forum by Nabble | Edit this page |
