Bug 197537 - program crashes when starting import from usb camera (canon 450d)
Summary: program crashes when starting import from usb camera (canon 450d)
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 0.10.0
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 20:54 UTC by Peter
Modified: 2017-08-16 05:50 UTC (History)
2 users (show)

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


Attachments
backtrace (5.07 KB, application/octet-stream)
2009-06-22 20:56 UTC, Peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2009-06-22 20:54:04 UTC
Version:           0.10.0 (using KDE 4.2.2)
OS:                Linux
Installed from:    Mandriva RPMs

mandriva 2009.1 live 
digikam package installed  from mandriva download site.
application will crash when trying to import from camera , instant crash.
Simply to reproduce , just plug my camera in and do import.
Comment 1 Peter 2009-06-22 20:56:24 UTC
Created attachment 34750 [details]
backtrace
Comment 2 Dario Andres 2009-06-23 03:44:08 UTC
Pasted backtrace from comment 1:
-----------

Application: digiKam (digikam), signal SIGSEGV
[Current thread is 1 (Thread 0xb46678e0 (LWP 13851))]

Thread 6 (Thread 0xb3193b90 (LWP 13852)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb54fac45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb55f38dd in pthread_cond_wait () from /lib/i686/libc.so.6
#3  0xb57cc5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0x0828ed12 in ?? ()
#5  0xb57cb4df in ?? () from /usr/lib/libQtCore.so.4
#6  0xb54f7315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb55e625e in clone () from /lib/i686/libc.so.6

Thread 5 (Thread 0xb25a4b90 (LWP 13865)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb54fac45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb55f38dd in pthread_cond_wait () from /lib/i686/libc.so.6
#3  0xb57cc5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71672fc in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb57cb4df in ?? () from /usr/lib/libQtCore.so.4
#6  0xb54f7315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb55e625e in clone () from /lib/i686/libc.so.6

Thread 4 (Thread 0xb1da3b90 (LWP 13866)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb54fac45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb55f38dd in pthread_cond_wait () from /lib/i686/libc.so.6
#3  0xb57cc5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71672fc in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb57cb4df in ?? () from /usr/lib/libQtCore.so.4
#6  0xb54f7315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb55e625e in clone () from /lib/i686/libc.so.6

Thread 3 (Thread 0xac91bb90 (LWP 13889)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb54fac45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb55f38dd in pthread_cond_wait () from /lib/i686/libc.so.6
#3  0xb57cc5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb71672fc in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#5  0xb57cb4df in ?? () from /usr/lib/libQtCore.so.4
#6  0xb54f7315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb55e625e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xad146b90 (LWP 14268)):
[KCrash Handler]
#6  0x0420164b in ?? ()
#7  0xb4fbe1da in tryall_dlopen (phandle=0xad13d090, filename=0xcfe5a10 "dlopen.a", padvise=0x0, vtable=0x0) at libltdl/ltdl.c:430
#8  0xb4fbeb64 in try_dlopen (phandle=0xad13d0d8, filename=<value optimized out>, ext=0xd0638ee ".a", advise=0x0) at libltdl/ltdl.c:1430
#9  0xb4fbf165 in lt_dlopenadvise (filename=0xb4fc087a "dlopen.a", advise=0x0) at libltdl/ltdl.c:1607
#10 0xb4fbf305 in lt_dlopen (filename=0xb4fc087a "dlopen.a") at libltdl/ltdl.c:1563
#11 0xb4fbba95 in lt_dlpreload_open (originator=0xb4fc0559 "libltdl", func=0xb4fbf620 <loader_init_callback>) at libltdl/loaders/preopen.c:353
#12 0xb4fbf611 in lt_dlinit () at libltdl/ltdl.c:237
#13 0xb730b085 in ?? () from /usr/lib/libgphoto2.so.2
#14 0xb730b445 in gp_abilities_list_load () from /usr/lib/libgphoto2.so.2
#15 0x0810dc43 in ?? ()
#16 0x0812b492 in ?? ()
#17 0x0812d90a in ?? ()
#18 0xb57cb4df in ?? () from /usr/lib/libQtCore.so.4
#19 0xb54f7315 in start_thread () from /lib/i686/libpthread.so.0
#20 0xb55e625e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb46678e0 (LWP 13851)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb55de4c1 in select () from /lib/i686/libc.so.6
#2  0xb4aa4086 in ?? () from /usr/lib/libxcb.so.1
#3  0xb4aa5f65 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0xb52c1da4 in _XReply () from /usr/lib/libX11.so.6
#5  0xb52b4823 in XTranslateCoordinates () from /usr/lib/libX11.so.6
#6  0xb5e31ae8 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#7  0xb5e31b42 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#8  0xb5e31b42 in QWidget::mapFromGlobal () from /usr/lib/libQtGui.so.4
#9  0xb5da5cf5 in QApplication::notify () from /usr/lib/libQtGui.so.4
#10 0xb6887c21 in KApplication::notify () from /usr/lib/libkdeui.so.5
#11 0xb58c733e in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#12 0xb5da4a61 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#13 0xb5e1828d in ?? () from /usr/lib/libQtGui.so.4
#14 0xb5e1777c in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#15 0xb5e41714 in ?? () from /usr/lib/libQtGui.so.4
#16 0xb4bc0cea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb4bc4354 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0xb4bc44df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0xb58f41da in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#20 0xb5e40e6a in ?? () from /usr/lib/libQtGui.so.4
#21 0xb58c5903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#22 0xb58c5d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#23 0xb58c82b6 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#24 0xb5d9c804 in QApplication::exec () from /usr/lib/libQtGui.so.4
#25 0x082b4774 in ?? ()
#26 0xb55206a5 in __libc_start_main () from /lib/i686/libc.so.6
#27 0x08088a21 in _start ()
Comment 3 Marcel Wiesweg 2009-06-23 16:51:59 UTC
Seems to crash on gphoto2 initialization.
Recommend to check you have the latest stable version of the gphoto2 package installed.
Comment 4 Peter 2009-06-23 23:54:51 UTC
On Tuesday 23 June 2009 15:52:00 Marcel Wiesweg wrote:
> https://bugs.kde.org/show_bug.cgi?id=197537
>
Tried uninstalling gphoto2 libs and re-installing , still crashes.
gtkam works OK if run from the command line. [ has always ].
The version of gphoto libraries is 2.4.4 .

Thanks for the advise , if you do not believe this is a digikam issue , then I 
just rebuild my system on another machine to test.


Thanks

Peter.




>
> Marcel Wiesweg <marcel.wiesweg@gmx.de> changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- CC|                            |marcel.wiesweg@gmx.de
>
>
>
>
> --- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-06-23
> 16:51:59 --- Seems to crash on gphoto2 initialization.
> Recommend to check you have the latest stable version of the gphoto2
> package installed.
Comment 5 Marcel Wiesweg 2009-06-24 10:30:21 UTC
What you could try is installing debug info for digikam, if you look at #15-#17 in Thread 2 this is where digikam code would fit in but there is no info.
It may be that there is a problem in the way we use gphoto2, given it works well with other apps.
Comment 6 Nicolas L. 2009-07-16 23:50:02 UTC
peter, can you test to update to latest digikam ( from mandriva main/testing repository) and tell if this still crashes ?
Comment 7 Peter 2009-08-28 20:11:02 UTC
Sorry for the late reply,

I found that my problem was due to a new version of ltdl , once I removed this 
form /usr/local/lib , digikam started to work fine.


Thanks for your help

Regards

Peter.





On Thursday 16 Jul 2009 22:50:57 Nicolas Lécureuil wrote:
> https://bugs.kde.org/show_bug.cgi?id=197537
>
>
> Nicolas Lécureuil <neoclust@mandriva.org> changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- CC|                            |neoclust@mandriva.org
>
>
>
>
> --- Comment #6 from Nicolas Lécureuil <neoclust mandriva org>  2009-07-16
> 23:50:02 --- peter, can you test to update to latest digikam ( from
> mandriva main/testing repository) and tell if this still crashes ?
Comment 8 caulier.gilles 2009-08-28 22:19:37 UTC
Thanks for the feedback.

I close this file now...

Gilles Caulier
Comment 9 Andi Clemens 2009-10-01 16:17:55 UTC
Well you haven't :-) I'll close it now, definitely :)