Bug 284604 - import from EOS 350D does nothing (solid interface relevant)
Summary: import from EOS 350D does nothing (solid interface relevant)
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.1.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 09:55 UTC by Daniel Welch
Modified: 2017-08-16 06:11 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Welch 2011-10-21 09:55:12 UTC
Version:           2.1.1 (using KDE 4.7.2) 
OS:                Linux

Connect camera, on 'PC connection' mode. 
Choose the Digikam menu: import / Cameras / Canon Inc. Canon digital camera (Auto-detected)
nothing happens.
run Digikam from Terminal, message 'digikam(15202)/digikam (core): Failed to detect camera with GPhoto2 from Solid information' 


Reproducible: Always

Steps to Reproduce:
as above

Actual Results:  
as above

Expected Results:  
run the import wizard

OS: Linux (x86_64) release 3.0.0-12-generic
Compiler: gcc
Comment 1 Daniel Welch 2011-10-21 10:01:53 UTC
NB: I can download using `gphoto2 -P` so able to work, but would like to use Digikam interface...
Comment 2 Philip Johnsson 2011-10-21 13:51:14 UTC
It's a packaging issue. The official Digikam 2.1.1 packages from Ubuntu is built intentionally without libgphoto2 support to prevent crashes in libdc1394. Think this was the only way at the moment to be able to get Digikam 2.x into Ubuntu 11.10 before freeze.

I have built my packages on my PPA against OpenCV 2.3.1 and will have patched libdc1394 to solve this issue instead of disable the features that comes with libgphoto2 support.
Comment 3 caulier.gilles 2011-10-21 15:36:39 UTC
Thanks Philips for the feedback. i mark this file as UPSTREAM

Gilles Caulier
Comment 4 Paulius 2011-10-23 16:30:39 UTC
I have the same problem with kubuntu 11.10 and digikam 2.1 
64bit operating system.

My camera is fujifilm finepix s4000
Comment 5 Jack 2011-11-02 23:07:00 UTC
Kubuntu 11.10 32bit.
 Digikam 2.1.1 KDE 4.7.2
Same problem with Kodak Easyshare M341 -detects but will not import
Comment 6 caulier.gilles 2011-11-05 08:19:27 UTC
*** Bug 285795 has been marked as a duplicate of this bug. ***
Comment 7 Brian 2011-11-05 19:08:06 UTC
I followed the instructions here based on this being a duplicate of my issue.
http://scribblesandsnaps.wordpress.com/2011/03/09/install-the-latest-beta-of-digikam-on-ubuntu-10-10/

That crashes. :(

brian@defiant:~$ digikam 
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
digikam: symbol lookup error: digikam: undefined symbol: _ZN11KExiv2Iface14AltLangStrEdit15setLinesVisibleEj
Comment 8 caulier.gilles 2011-11-05 19:31:13 UTC
Brian,

it's a binary compatibility issue with libkexiv2 on your system...

Gilles Caulier
Comment 9 Philip Johnsson 2011-11-05 19:43:40 UTC
Brian, I see that you use my PPA then make sure that you have installed and use my rebuilt versions of libkexiv2-10, libexiv2-11 and libkipi8. They are all newer version than what comes with stock Ubuntu and KDE. My Digikam packages are all built against them and also need them or Digikam will not start with error messages about symbol lookup error. 

/Philip
Comment 10 Brian 2011-11-09 03:16:35 UTC
I installed the packages you mentioned from your PPA, and got digiKam to start successfully.  I tried to import from my camera and the app crashed.


Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5fac8c0 (LWP 4609))]

Thread 5 (Thread 0xb5360b70 (LWP 4610)):
#0  0x009f1416 in __kernel_vsyscall ()
#1  0x00a6aa5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x02f7dcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x020b2cc0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0x081ffc05 in ?? ()
#5  0x020b27b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x00a66d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x02f700ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb4b5fb70 (LWP 4611)):
#0  0x01560d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x021097d5 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#2  0x021dc4b6 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0x021dc80a in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0x021db053 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0x021db0ed in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x029dd88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x029de637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x029dec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x021dbb37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x021ac1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0x021ac421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0x020af90b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0x0218ce2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#14 0x020b27b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#15 0x00a66d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x02f700ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb41ffb70 (LWP 4613)):
#0  0x009f1416 in __kernel_vsyscall ()
#1  0x00a6aa5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x02f7dcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x020b2cc0 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0x01e2b284 in ?? () from /usr/lib/libdigikamcore.so.2
#5  0x020b27b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x00a66d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#7  0x02f700ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb2710b70 (LWP 4614)):
#0  0x00a68dbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x02f7df14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x029dd8bb in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x029de637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x029dec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x021dbb37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x021ac1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0x021ac421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0x020af90b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0x0218ce2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x020b27b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0x00a66d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x02f700ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb5fac8c0 (LWP 4609)):
[KCrash Handler]
#7  0x02f10a06 in realloc () from /lib/i386-linux-gnu/libc.so.6
#8  0x02dca24e in register_platform () from /usr/lib/libdc1394.so.22
#9  0x02ddd89f in usb_init () from /usr/lib/libdc1394.so.22
#10 0x097c2832 in gp_port_library_list () from /usr/lib/libgphoto2_port/0.8.0/usb.so
#11 0x0029c81c in ?? () from /usr/lib/libgphoto2_port.so.0
#12 0x00565340 in ?? () from /usr/lib/libltdl.so.7
#13 0x00564857 in ?? () from /usr/lib/libltdl.so.7
#14 0x00565ae6 in lt_dlforeachfile () from /usr/lib/libltdl.so.7
#15 0x0029cca0 in gp_port_info_list_load () from /usr/lib/libgphoto2_port.so.0
#16 0x083a64d5 in ?? ()
#17 0x081adf58 in ?? ()
#18 0x081ae858 in ?? ()
#19 0x081b5046 in ?? ()
#20 0x021b3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#21 0x021c2a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#22 0x08a01875 in QActionGroup::triggered(QAction*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#23 0x08a01919 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0x08a01be3 in QActionGroup::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0x021b3b7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#26 0x021c2a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#27 0x089fe83d in QAction::triggered(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0x089feadb in QAction::activate(QAction::ActionEvent) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0x08ea7b13 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0x08eae3af in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0x08eb10f5 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32 0x03eeeb8c in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#33 0x08a5ff98 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#34 0x08eafb6c in QMenu::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0x08a05d54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#36 0x08a0bdbb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#37 0x03e10681 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#38 0x021ad19e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#39 0x08a06d15 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#40 0x08a939fa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#41 0x08a91e4d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#42 0x08abe24c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#43 0x029de25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x029de990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x029dec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x021dbada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#47 0x08abde3a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#48 0x021ac1dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#49 0x021ac421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#50 0x021b119d in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#51 0x08a038f4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#52 0x080b65b4 in ?? ()
#53 0x02eb7113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#54 0x080b7f21 in _start ()
Comment 11 Philip Johnsson 2011-11-09 08:30:45 UTC
Did you also update libdc1394-22 from my PPA? 

I think crashes like this was the reason they disabled gphoto2 support in Digikam 2.1.1 with Ubuntu 11.10, but as far as I know it should work with a package update from my PPA on Ubuntu 11.10. 

If it's not a new bug somehow but I think this is the infamous libdc1394, libphoto2 and opencv bug.
Comment 12 Jack 2011-11-09 09:42:08 UTC
Kubuntu 11.10
KDE 4.7.2

I completely removed Digikam & Kipi including configuration files via synaptic package manager and then I followed Philip's instructions at 
http://scribblesandsnaps.wordpress.com/2011/03/09/install-the-latest-beta-of-digikam-on-ubuntu-10-10/
Can't remember whether or not it required reboot

Digikam 2.3.0 is now working excellently - thanks Philip
Comment 13 Philip Johnsson 2011-11-09 16:36:58 UTC
This is off topic for this bug report and are Ubuntu packaging issues but if anyone read this here we go. 

Installing the packages named digikam2 and kipi-plugins2 is depreciated since digikam 2.1.1 with my PPA (that guide is a bit old) and you should now install package names digikam and kipi-plugins. digikam2 and kipi-plugins2 was only transitional names between the digikam 1.x and 2.x shift.

I have left digikam2 and kipi-plugins2 in my own packages for backward compatibility so it works but are no official package names.
Comment 14 Brian 2011-11-10 02:55:04 UTC
Thanks Phillip, upgrading libdc1394-22 to your PPA version resolved the issue, and I am now able to import from my camera! :)

Are these fixes planned to get into Ubuntu repos in the future?

(In reply to comment #11)
> Did you also update libdc1394-22 from my PPA? 
> 
> I think crashes like this was the reason they disabled gphoto2 support in
> Digikam 2.1.1 with Ubuntu 11.10, but as far as I know it should work with a
> package update from my PPA on Ubuntu 11.10. 
> 
> If it's not a new bug somehow but I think this is the infamous libdc1394,
> libphoto2 and opencv bug.
Comment 15 mrowkawielka 2012-01-18 04:24:49 UTC
Mint 12 KDE RC
Thanks, after the update programs and libdc from Phillip's PPA, Digikam can  import photos from FinePix s3200.