[Bug 268267] New: Digikam crashes on picture import

classic Classic list List threaded Threaded
106 messages Options
123456
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #57 from Gilles Caulier <caulier gilles gmail com>  2011-08-22 07:28:40 ---
*** Bug 280557 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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
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 #58 from Gilles Caulier <caulier gilles gmail com>  2011-08-23 07:19:30 ---
*** Bug 280604 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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #59 from Gilles Caulier <caulier gilles gmail com>  2011-08-26 10:00:50 ---
Git commit 772f592f639f52d0c1a991265098b46672fecb6e by Gilles Caulier.
Committed on 26/08/2011 at 11:58.
Pushed by cgilles into branch 'master'.

Fix order to link gphoto2 library with digiKam shared lib. This must be the
last on linker command line...
CCBUGS: 258931
CCBUGS: 268267

M  +3    -1    digikam/CMakeLists.txt

http://commits.kde.org/digikam/772f592f639f52d0c1a991265098b46672fecb6e

--
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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #60 from Gilles Caulier <caulier gilles gmail com>  2011-08-26 10:03:59 ---
Someby in this room who can reproduce the crash due to uncompatibility between
gphoto2 and openCV can check if my last commit (see #59) fix the problem ?

I cannot reproduce since a long time now this crash. So i cannot hack better...

Thanks in advance

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
Reply | Threaded
Open this post in threaded view
|

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

Andreas K. Huettel
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267


Andreas K. Huettel <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #61 from Andreas K. Huettel <dilfridge gentoo org>  2011-08-26 11:33:03 ---
Gilles, Robert,
I'll backport the commit to Gentoo digikam-2.0.0 tonight. We'll hopefully see
then...

--
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
Reply | Threaded
Open this post in threaded view
|

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

Andreas K. Huettel
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #62 from Andreas K. Huettel <dilfridge gentoo org>  2011-08-26 19:48:19 ---
(In reply to comment #61)
> Gilles, Robert,
> I'll backport the commit to Gentoo digikam-2.0.0 tonight. We'll hopefully see
> then...

and is in Gentoo media-gfx/digikam-2.0.0-r1. please test!

--
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
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from tcaswell@gmail.com
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #63 from Thomas Caswell <tcaswell gmail com>  2011-08-27 02:21:09 ---
> --- Comment #60 from Gilles Caulier <caulier gilles gmail com>  2011-08-26
> 10:03:59 --- Someby in this room who can reproduce the crash due to
> uncompatibility between gphoto2 and openCV can check if my last commit (see
> #59) fix the problem ?
>

It still crashes on gphoto init, and LD_PRELOAD still fixes it.

Even moving the libusb linking command to be the first link command that cmake
sees does not seem to help.  Poking at it a bit, the highgui library from
opencv links to libraw1394 and libusb, in that order.

I tried to prevent linking to highgui, but libface uses it.

I also tried linking libusb in to kface and redeye_plugin before they link to
opencv, but it does not seem to make any difference.

I suspect what is going on is that because libusb is already linked into
highgui.so, even though libusb is on the list, it doesn't get re-linked.

If I have time tomorrow I am going to compile opencv and change the link order
there.

--
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
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from hamelg@laposte.net
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #64 from  <hamelg laposte net>  2011-08-27 14:28:31 ---
(In reply to comment #63)
> I suspect what is going on is that because libusb is already linked into
> highgui.so, even though libusb is on the list, it doesn't get re-linked.

Hello,

You can check where usb_init() comes from by setting this environment variable
:
LD_DEBUG=bindings

--
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
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from hamelg@laposte.net
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #65 from  <hamelg laposte net>  2011-08-27 14:45:23 ---
is it possible to change the resolution state to REOPEN ?
This issue is not fixed ...

--
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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #66 from Gilles Caulier <caulier gilles gmail com>  2011-08-27 15:49:23 ---
If you read the story, you will see that i have been able to reproduce the
problem on my Mageia Linux computer. I FIXED that.

Now, i cannot reproduce it.

The question why the problem still exist with some other distro...

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
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from tcaswell@gmail.com
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #67 from Thomas Caswell <tcaswell gmail com>  2011-08-27 16:05:03 ---
re #64

Here are the relevant lines with and with out LD_PRELOAD

with (works properly):
     21105:     binding file /usr/lib/libgphoto2_port/0.8.0/usb.so [0] to
/usr/lib/libusb.so [0]: normal symbol `usb_init'


with out (crashes):
     21068:     binding file /usr/lib/libgphoto2_port/0.8.0/usb.so [0] to
/usr/lib/libdc1394.so.22 [0]: normal symbol `usb_init'


The full dumps are at http://jfi.uchicago.edu/~tcaswell/binding_dump/

sorry if this shows up twice

This is on Ubuntu oneiric (development branch)

--
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
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from hamelg@laposte.net
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #68 from  <hamelg laposte net>  2011-08-27 21:01:09 ---
(In reply to comment #66)
> The question why the problem still exist with some other distro...
>

Somebody has already fixed this issue which comes from libdc1394 :
http://sourceforge.net/tracker/?func=detail&atid=308157&aid=3361405&group_id=8157

I applied the attached patch, then recompiled libdc1394.
The proposed patch definitively fixes the crash :)

--
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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #69 from Gilles Caulier <caulier gilles gmail com>  2011-08-27 21:58:48 ---
So, it's an UPSTREAM fix...

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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
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 #70 from Gilles Caulier <caulier gilles gmail com>  2011-08-28 18:06:35 ---
*** Bug 280927 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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
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 #72 from Gilles Caulier <caulier gilles gmail com>  2011-09-19 10:36:44 ---
*** Bug 282330 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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
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 #73 from Gilles Caulier <caulier gilles gmail com>  2011-09-21 10:08:54 ---
*** Bug 282420 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
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from udo.wolfgramm@netcologne.de
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #74 from  <udo wolfgramm netcologne de>  2011-09-21 16:16:41 ---
Created an attachment (id=63823)
 --> (http://bugs.kde.org/attachment.cgi?id=63823)
New crash information added by DrKonqi

digikam (2.1.0) on KDE Platform 4.7.1 (4.7.1) "release 8" using Qt 4.7.4

- What I was doing when the application crashed:

When I was trying to import pictures wit an usb Camera Digikam 2.1 crashes.

-- Backtrace (Reduced):
#9  0x00007f5582fd0187 in register_platform () from /usr/lib64/libdc1394.so.22
#10 0x00007f555a3f9ec6 in gp_port_library_list (list=0xbc0ea0) at libusb.c:94
#11 0x00007f5591e58568 in foreach_func (filename=0x5750d15
"/usr/lib64/libgphoto2_port/0.8.0/usb", data=0xbc0ea0) at
gphoto2-port-info-list.c:243
#12 0x00007f5589713a41 in foreachfile_callback (dirname=0x52caa60
"/usr/lib64/libgphoto2_port/0.8.0", data1=<value optimized out>,
data2=0xbc0ea0) at libltdl/ltdl.c:1836
#13 0x00007f5589713697 in foreach_dirinpath (search_path=<value optimized out>,
base_name=0x0, func=0x7f5589713770 <foreachfile_callback>,
data1=0x7fff618b19b8, data2=0xbc0ea0) at libltdl/ltdl.c:710

--
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
Reply | Threaded
Open this post in threaded view
|

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

Marcel Wiesweg
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 #75 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-09-24 12:19:23 ---
*** Bug 271047 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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #76 from Gilles Caulier <caulier gilles gmail com>  2011-10-05 17:26:42 ---
*** Bug 283403 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
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier-4
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 #77 from Gilles Caulier <caulier gilles gmail com>  2011-10-19 11:03:51 ---
*** Bug 284447 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
123456