Bug 274807 - digKam Crashes when trying to import Pictures from my camera
Summary: digKam Crashes when trying to import Pictures from my camera
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.0.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 04:00 UTC by Daniel Duncan
Modified: 2022-01-28 04:10 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Duncan 2011-06-03 04:00:34 UTC
Version:           2.0.0 (using KDE 4.6.3) 
OS:                Linux

Digikam crashes when I select  Import -> Cameras -> USB PTP Class Camera.


Reproducible: Always

Steps to Reproduce:
Everything appears to work fine unless I want to import pictures from my camera,  I just select Import -> Cameras -> USB PTP Class Camera while my camera is plugged in and it crashes. I can reproduce this on version 1.9 as well, reverting back to 1.8 resolves the issue.

Actual Results:  
Digikam crashes and presents me with a crash dialog, I recompiled it with debug enabled, but it still didn't find it useful. I posted the results below just in case, and to be thorough anyways. 

Expected Results:  
I would expect a window showing the available photos on my camera to appear.

digiKam
Version 2.0.0-beta6
Using KDE Development Platform 4.6.3 (4.6.3)
Build date: Jun 2 2011 (target: Debug)
Rev.: fatal: Not a git repository: '/tmp/SBo/digikam-2.0.0-beta6/core/.git'

Camra: Nikon CoolPix S8100

Slackware64 13.37
Linux daniel 2.6.38.6 #1 SMP PREEMPT Sun May 15 22:21:29 CDT 2011 x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz GenuineIntel GNU/Linux


Application: digikam (2.0.0-beta6)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.38.6 x86_64

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fbb85b13960 (LWP 19830))]

Thread 10 (Thread 0x7fbb6888e700 (LWP 19831)):
#0  0x00007fbb7de95b7c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbb7e12bfab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt/lib/libQtCore.so.4
#2  0x0000000000593ae4 in ?? ()
#3  0x00007fbb7e12b8be in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#5  0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fbb6808d700 (LWP 19832)):
#0  0x00007fbb783a3ed3 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fbb783a436d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbb7e23f256 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#3  0x00007fbb7e213562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007fbb7e2137ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#5  0x00007fbb7e1290e4 in QThread::exec() () from /usr/lib64/qt/lib/libQtCore.so.4
#6  0x00007fbb7e1f4d48 in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#7  0x00007fbb7e12b8be in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#8  0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#9  0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fbb6788c700 (LWP 19834)):
#0  0x00007fbb7de95b7c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbb7e12bfab in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt/lib/libQtCore.so.4
#2  0x00007fbb825f4472 in ?? () from /usr/lib64/libdigikamcore.so.2
#3  0x00007fbb7e12b8be in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#4  0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#5  0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fbb5da27700 (LWP 19835)):
#0  0x00007fbb7de95efb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbb5fdb78c1 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#3  0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fbb5bfb9700 (LWP 19836)):
#0  0x00007fbb7ceb6843 in select () from /lib64/libc.so.6
#1  0x00007fbb5fddfdd4 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007fbb5fdc5369 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fbb5b7b8700 (LWP 19837)):
#0  0x00007fbb7e23f7d7 in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#1  0x00007fbb783a356c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbb783a3e52 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbb783a436d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbb7e23f256 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#5  0x00007fbb7e213562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#6  0x00007fbb7e2137ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#7  0x00007fbb7e1290e4 in QThread::exec() () from /usr/lib64/qt/lib/libQtCore.so.4
#8  0x00007fbb641c3dfe in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x00007fbb7e12b8be in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#10 0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#11 0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fbb5adae700 (LWP 19840)):
#0  0x00007fbb7de98c7d in read () from /lib64/libpthread.so.0
#1  0x00007fbb646bb125 in ?? () from /usr/lib64/libasound.so.2
#2  0x00007fbb646b6225 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#3  0x00007fbb646c12c9 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007fbb5adb3866 in ?? () from /usr/lib64/xine/plugins/1.29/xineplug_ao_out_alsa.so
#5  0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fbb5a5ad700 (LWP 19841)):
#0  0x00007fbb7de95b7c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbb5fdc967b in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#3  0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbb470f7700 (LWP 19882)):
[KCrash Handler]
#6  0x00007fbb82581a61 in tre_free () from /usr/lib64/libdigikamcore.so.2
#7  0x00007fbb82ca1966 in gp_port_info_list_lookup_path () from /usr/lib64/libgphoto2_port.so.0
#8  0x00000000006ae14f in ?? ()
#9  0x00000000006d7408 in ?? ()
#10 0x00000000006db1ab in ?? ()
#11 0x00007fbb7e12b8be in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#12 0x00007fbb7de90d6b in start_thread () from /lib64/libpthread.so.0
#13 0x00007fbb7cebe75d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbb85b13960 (LWP 19830)):
#0  0x00007fbb74926487 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#1  0x00007fbb7bbfd57d in _XReply () from /usr/lib64/libX11.so.6
#2  0x00007fbb7bbfa84d in XTranslateCoordinates () from /usr/lib64/libX11.so.6
#3  0x00007fbb7eefa43e in QWidget::mapFromGlobal(QPoint const&) const () from /usr/lib64/qt/lib/libQtGui.so.4
#4  0x00007fbb7ee6dac0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt/lib/libQtGui.so.4
#5  0x00007fbb7fb916a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#6  0x00007fbb7e2141ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt/lib/libQtCore.so.4
#7  0x00007fbb7ee69735 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt/lib/libQtGui.so.4
#8  0x00007fbb7eee6f38 in ?? () from /usr/lib64/qt/lib/libQtGui.so.4
#9  0x00007fbb7eee5725 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt/lib/libQtGui.so.4
#10 0x00007fbb7ef0caf2 in ?? () from /usr/lib64/qt/lib/libQtGui.so.4
#11 0x00007fbb783a38f3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fbb783a40d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#13 0x00007fbb783a436d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fbb7e23f1ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#15 0x00007fbb7ef0c79e in ?? () from /usr/lib64/qt/lib/libQtGui.so.4
#16 0x00007fbb7e213562 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#17 0x00007fbb7e2137ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#18 0x00007fbb7e217c4b in QCoreApplication::exec() () from /usr/lib64/qt/lib/libQtCore.so.4
#19 0x00000000006425ef in ?? ()
#20 0x00007fbb7cdf7e5d in __libc_start_main () from /lib64/libc.so.6
#21 0x00000000004921c9 in _start ()

Report to https://bugs.kde.org
Comment 1 caulier.gilles 2011-06-08 14:01:17 UTC
Probably the same problem than 

https://bugs.kde.org/show_bug.cgi?id=268267

... if you use a PTP camera

Gilles Caulier
Comment 2 Marcel Wiesweg 2011-06-11 16:20:34 UTC

*** This bug has been marked as a duplicate of bug 268267 ***
Comment 3 caulier.gilles 2022-01-28 04:10:03 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=268267