[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

Bugzilla from ginolovesyou@gmail.com
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #38 from _GreyBones <ginolovesyou gmail com>  2011-06-18 10:03:57 ---
Thanks for all your help Gilles..

Do you see any reason I should suspect packages outside of digikam? should i
recompile gphoto2 or anything else??

I recompiled, but still getting this error.. I also see this in the console
output.. i'll try recompiling gstreamer as well..
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/grey/.kde/socket-greyblue/kdeinit4__0
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
digikam: Fatal IO error: client killed

(<unknown>:17003): GStreamer-WARNING **: gstsystemclock: write control failed
in wakeup_async, trying again : 9:Bad file descriptor

--
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 #39 from Gilles Caulier <caulier gilles gmail com>  2011-06-18 10:13:07 ---
GreyBones,

I don't recompile OpenCV and Gphoto2 to kill this crash. I just apply my
previous patch, used offical OpenCV and Gphoto2 from Mandriva repository
(OpenCV compiled with libdc1394 support), and now digiKam do not crash when
Gphoto2 API is called.

Note : at startup, i can see that digiKam try to init libdc1394 now, which
prevent conflict between OpenCV and Gphoto2 :


[gilles@localhost 2.x]$ digikam
libdc1394 error: Failed to initialize libdc1394
digikam(468)/digikam (core) Digikam::AlbumManager::setDatabase:
DatabaseParameters: [ Type "QSQLITE", Name "/media/win_d/Photos/digikam4.db"
(Thumbnails Name "/media/win_d/Photos/thumbnails-digikam.db"); ]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
digikam(468)/digikam (core) Digikam::DatabaseConfigElementLoader::readConfig:
Loading SQL code from config file
"/usr/share/apps/digikam/database/dbconfig.xml"
digikam(468)/digikam (core) Digikam::DatabaseConfigElementLoader::readConfig:
false "1" 1 1
digikam(468)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater
update
digikam(468)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a
database structure version  6
digikam(468)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates  6
 to  6
digikam(468)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation:
Creating new Location  "/Photos"  uuid  "volumeid:?uuid=f4900df5900dbf5c"
digikam(468)/digikam (core) Digikam::CollectionManager::updateLocations:
location for  "/media/win_d/Photos"  is available  true
digikam(468)/digikam (core) Digikam::LoadingCache::setCacheSize: Allowing a
cache size of 144 MB
digikam(468)/digikam (core) Digikam::ThumbnailSchemaUpdater::startUpdates: Have
a database structure version  "2"
digikam(468)/digikam (core)
Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail db ready
for use
digikam(468)/digikam (core) Digikam::AlbumManager::checkNepomukService:
digikamnepomukservice is not available in NepomukServer
digikam(468)/digikam (core)
Digikam::CollectionScanner::completeHistoryScanning: items to tag ()
digikam(468)/digikam (core) Digikam::CollectionScanner::completeScan: Complete
scan took: 6154 msecs.
digikam(468)/digikam (core)
Digikam::IccSettings::IccSettingsPriv::scanDirectories:
("/usr/share/color/icc")
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions:
(Digikam::AlbumFolderViewSideBarWidget(0x94bde50, name = "AlbumFolderView
Sidebar") ,  Digikam::TagViewSideBarWidget(0x95186a0, name = "TagView Sidebar")
,  Digikam::DateFolderViewSideBarWidget(0x952cf40, name = "DateFolderView
Sidebar") ,  Digikam::TimelineSideBarWidget(0x953a218, name = "TimeLine
Sidebar") ,  Digikam::SearchSideBarWidget(0x9518600, name = "Search Sidebar") ,
 Digikam::FuzzySearchSideBarWidget(0x9561228, name = "Fuzzy Search Sidebar") ,
Digikam::GPSSearchSideBarWidget(0x95bf7c0, name = "GPS Search Sidebar") ,
Digikam::PeopleSideBarWidget(0x9600558, name = "People Sidebar") )
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions: "browse_album"
"AlbumFolderView Sidebar"
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions: "browse_tag"
"TagView Sidebar"
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions: "browse_date"
"DateFolderView Sidebar"
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions:
"browse_timeline" "TimeLine Sidebar"
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions: "browse_search"
"Search Sidebar"
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions:
"browse_fuzzysearch" "Fuzzy Search Sidebar"
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions:
"browse_gpssearch" "GPS Search Sidebar"
digikam(468)/digikam (core) Digikam::DigikamApp::setupActions: "browse_people"
"People Sidebar"
digikam(468)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
digikam(468)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
digikam(468)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""

... look the first line at startup. You must see the same. My patch just link
digiKam with libusb when Gphoto2 support is enabled. OpenCV is always used with
digiKam 2.0.0, for face detection support (it's not optional)

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

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 #40 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-26 18:32:54 ---
*** Bug 278336 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 #41 from Gilles Caulier <caulier gilles gmail com>  2011-08-05 15:16:44 ---
*** Bug 279458 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

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





--- Comment #42 from Anders Lund <anders alweb dk>  2011-08-05 15:48:45 ---
Is there a fix for this on the way? I will report to archlinux packagers, maybe
they can disable libdc1394 support in OpenCV.

for now, downloading in cli with gphoto2 does not exacely feel professional ;)

--
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

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





--- Comment #43 from Anders Lund <anders alweb dk>  2011-08-05 16:07:02 ---
Uhm, what is required to make this work? This is marked as fixed, but where
lies the fix?

--
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 ginolovesyou@gmail.com
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #44 from _GreyBones <ginolovesyou gmail com>  2011-08-05 16:08:59 ---
The most current git is supposed to be fixed, but mine still crashed
too.. I think it's an opencv and 1394 issue, but no release of either
I have tried seems to resolve the issue..



On Aug 5, 2011, at 9:07 AM, Anders Lund <[hidden email]> wrote:

> https://bugs.kde.org/show_bug.cgi?id=268267
>
>
>
>
>
> --- Comment #43 from Anders Lund <anders alweb dk>  2011-08-05 16:07:02 ---
> Uhm, what is required to make this work? This is marked as fixed, but where
> lies the fix?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the 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

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





--- Comment #45 from Pierre Hanser <hanser club-internet fr>  2011-08-05 20:19:49 ---
fix is in the link commands where the order of the libraries has been modified
to garantee than libusb is linked before libdc1394.

This should avoid that the function usb_init from libusb si called instead of
the one from libdc1394.

please use ldd command on the binary to see if this is really the case.

if libusb is before libdc1394 there is an other problem.

if it is after, this problem should be solved first

--
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 #46 from Gilles Caulier <caulier gilles gmail com>  2011-08-05 22:34:21 ---
*** Bug 279111 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

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





--- Comment #47 from Anders Lund <anders alweb dk>  2011-08-06 08:15:18 ---
As can be seen below, the linking order seems to be the problem.

[anders@katja ~]$ ldd /usr/lib/libopencv_contrib.so
        linux-gate.so.1 =>  (0xb77cb000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb774c000)
        libopencv_core.so.2.3 => /usr/lib/libopencv_core.so.2.3 (0xb7569000)
        libopencv_imgproc.so.2.3 => /usr/lib/libopencv_imgproc.so.2.3
(0xb7309000)
        libopencv_calib3d.so.2.3 => /usr/lib/libopencv_calib3d.so.2.3
(0xb7258000)
        libopencv_highgui.so.2.3 => /usr/lib/libopencv_highgui.so.2.3
(0xb720e000)
        libm.so.6 => /lib/libm.so.6 (0xb71e4000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb70f6000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb70d9000)
        libc.so.6 => /lib/libc.so.6 (0xb6f71000)
        /lib/ld-linux.so.2 (0xb77cc000)
        librt.so.1 => /lib/librt.so.1 (0xb6f68000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb6f52000)
        libopencv_features2d.so.2.3 => /usr/lib/libopencv_features2d.so.2.3
(0xb6e5f000)
        libopencv_flann.so.2.3 => /usr/lib/libopencv_flann.so.2.3 (0xb6e58000)
        libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0xb6e07000)
        libpng14.so.14 => /usr/lib/libpng14.so.14 (0xb6ddb000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb6d80000)
        libjasper.so.1 => /usr/lib/libjasper.so.1 (0xb6d34000)
        libIlmImf.so.6 => /usr/lib/libIlmImf.so.6 (0xb6c6e000)
        libHalf.so.6 => /usr/lib/libHalf.so.6 (0xb6c2b000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb67d0000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb6721000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb66d3000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb66ce000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb65e0000)
        libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0xb64f9000)
        libgstapp-0.10.so.0 => /usr/lib/libgstapp-0.10.so.0 (0xb64ed000)
        libgstvideo-0.10.so.0 => /usr/lib/libgstvideo-0.10.so.0 (0xb64e0000)
        libavcodec.so.52 => /usr/lib/libavcodec.so.52 (0xb5963000)
        libavformat.so.52 => /usr/lib/libavformat.so.52 (0xb585f000)
        libavutil.so.50 => /usr/lib/libavutil.so.50 (0xb583d000)
        libswscale.so.0 => /usr/lib/libswscale.so.0 (0xb57fc000)
        libdc1394.so.22 => /usr/lib/libdc1394.so.22 (0xb578a000)
        libxine.so.1 => /usr/lib/libxine.so.1 (0xb5734000)
        libv4l1.so.0 => /usr/lib/libv4l1.so.0 (0xb572e000)
        libImath.so.6 => /usr/lib/libImath.so.6 (0xb5728000)
        libIex.so.6 => /usr/lib/libIex.so.6 (0xb5710000)
        libIlmThread.so.6 => /usr/lib/libIlmThread.so.6 (0xb5709000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb56fd000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb55c7000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb55c2000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb55a3000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb5502000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb54e0000)
        libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb53b4000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb5388000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb533f000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb5310000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb530c000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb52fa000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb52f2000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb52ef000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb52df000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb52d7000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb52cd000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb52ca000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb52c7000)
        libpcre.so.0 => /lib/libpcre.so.0 (0xb5289000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb5162000)
        libdl.so.2 => /lib/libdl.so.2 (0xb515d000)
        libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0xb5105000)
        libva.so.1 => /usr/lib/libva.so.1 (0xb50da000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb4fba000)
        libx264.so.115 => /usr/lib/libx264.so.115 (0xb4ee3000)
        libvpx.so.0 => /usr/lib/libvpx.so.0 (0xb4e3e000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb4cc8000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb4ca2000)
        libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0xb4c5e000)
        libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0xb4c45000)
        libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0
(0xb4b91000)
        libopenjpeg.so.2 => /usr/lib/libopenjpeg.so.2 (0xb4b74000)
        libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0xb4b5f000)
        libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0xb4b33000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb4abf000)
        librtmp.so.0 => /usr/lib/librtmp.so.0 (0xb4aa6000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb4a96000)
        libraw1394.so.11 => /usr/lib/libraw1394.so.11 (0xb4a89000)
        libusb-1.0.so.0 => /usr/lib/libusb-1.0.so.0 (0xb4a7d000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb4a65000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb4a4c000)
        libv4l2.so.0 => /usr/lib/libv4l2.so.0 (0xb4a41000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb49a8000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb498a000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb4907000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb48df000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb48d9000)
        liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0xb484e000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb47fd000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb4683000)
        libv4lconvert.so.0 => /usr/lib/libv4lconvert.so.0 (0xb460c000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb4609000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb4604000)
[anders@katja ~]$

I will make the archlinux digikam packager aware of this bug, is there anything
more I can do?

--
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 #48 from Gilles Caulier <caulier gilles gmail com>  2011-08-06 08:41:35 ---
To solve this issue on my computer in the past, i forced libusb to be
initialized at startup of digiKam. Yes, linking order is important here.

When you start digiKam from a console, do you see this line :


[gilles@localhost build]$ digikam
libdc1394 error: Failed to initialize libdc1394                    <==========
digikam(27438)/digikam (core) Digikam::AlbumManager::setDatabase:
DatabaseParameters: [ Type "QSQLITE", Name "/media/win_d/Photos/digikam4.db"
(Thumbnails Name "/media/win_d/Photos/thumbnails-digikam.db"); ]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in
use, all queries will cease to work.
digikam(27438)/digikam (core) Digikam::DatabaseConfigElementLoader::readConfig:
Loading SQL code from config file
"/usr/share/apps/digikam/database/dbconfig.xml"
digikam(27438)/digikam (core) Digikam::DatabaseConfigElementLoader::readConfig:
false "1" 1 1
digikam(27438)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater
update
digikam(27438)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a
database structure version  6
digikam(27438)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates
6  to  6
^C

Do you have a dc1394 device on your computer. I don't have one, and digiKam do
not crash.

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





--- Comment #49 from Gilles Caulier <caulier gilles gmail com>  2011-08-06 08:43:35 ---
Look at this place in source code (cmake)

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/CMakeLists.txt#L269

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/CMakeLists.txt#L291

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

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 #50 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-08-08 09:31:27 ---
*** Bug 279616 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 #51 from Gilles Caulier <caulier gilles gmail com>  2011-08-08 10:02:16 ---
*** Bug 279646 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 dagger@gentoo.org
In reply to this post by Bugzilla from shughes2@charter.net
https://bugs.kde.org/show_bug.cgi?id=268267





--- Comment #52 from Robet Piasek <dagger gentoo org>  2011-08-12 09:33:02 ---
Created an attachment (id=62770)
 --> (http://bugs.kde.org/attachment.cgi?id=62770)
New crash information added by DrKonqi

digikam (2.0.0) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.3

- What I was doing when the application crashed:

Selected Import and clicked on my camera.

-- Backtrace (Reduced):
#7  0x00007f69df655101 in register_platform () from /usr/lib64/libdc1394.so.22
#8  0x00007f6981db8895 in gp_port_library_list (list=0x7f69c4051820) at
libusb.c:94
#9  0x00007f69ee9ec788 in foreach_func (filename=0x7f69c4062935
"/usr/lib64/libgphoto2_port/0.8.0/usb", data=0x7f69c4051820) at
gphoto2-port-info-list.c:243
#10 0x00007f69ea5691c1 in foreachfile_callback () from /usr/lib64/libltdl.so.7
#11 0x00007f69ea5687cf in foreach_dirinpath () from /usr/lib64/libltdl.so.7

--
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
----------------------------------------------------------------------------
          Component|Camera GUI                  |Import




--
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


[hidden email] changed:

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




--- Comment #53 from  <hamelg laposte net>  2011-08-18 18:45:42 ---
(In reply to comment #45)
> if it is after, this problem should be solved first

launching digikam like that still crashing :

LD_PRELOAD=/usr/lib/libusb-1.0.so digikam --download-from-udi
/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.4

-- Backtrace (Reduced):
#7  0xb47fca36 in realloc () from /lib/libc.so.6
#8  0xb1654041 in register_platform () from /usr/lib/libdc1394.so.22
#9  0xb1667691 in usb_init () from /usr/lib/libdc1394.so.22
#10 0xa5abbe5c in gp_port_library_list () from
/usr/lib/libgphoto2_port/0.8.0/usb.so
#11 0xb4782872 in ?? () from /usr/lib/libgphoto2_port.so.0
#12 0xb37015b0 in ?? () from /usr/lib/libltdl.so.7

--
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 #54 from  <hamelg laposte net>  2011-08-18 19:01:23 ---
(In reply to comment #53)
> (In reply to comment #45)
> > if it is after, this problem should be solved first
>
> launching digikam like that still crashing :
>
> LD_PRELOAD=/usr/lib/libusb-1.0.so digikam --download-from-udi
> /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.4
>

However, if I preload the libusb v0.1, it fixes the crash :
LD_PRELOAD=/usr/lib/libusb-0.1.so.4 digikam --download-from-udi
/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.4

--
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 #55 from Gilles Caulier <caulier gilles gmail com>  2011-08-19 07:56:29 ---
*** Bug 280396 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 #56 from Gilles Caulier <caulier gilles gmail com>  2011-08-19 15:35:02 ---
*** Bug 269626 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