Bug 271269 - crash occured when trying to import pictures from Finepix 6500fd
Summary: crash occured when trying to import pictures from Finepix 6500fd
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 06:44 UTC by m.wege
Modified: 2017-08-16 06:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments
New crash information added by DrKonqi (9.80 KB, text/plain)
2011-04-19 07:17 UTC, m.wege
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2011-04-19 06:44:25 UTC
Application: digikam (2.0.0-beta4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: crash occured when trying to import pictures from Finepix 6500fd. I selected Import-Cameras-USB PTP Camera, then digikam crashed. The same happens to Gwenview. Import via Dolphin works.

The crash can be reproduced every time.

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

Thread 5 (Thread 0xacfc9b70 (LWP 10294)):
#0  0xb7753424 in __kernel_vsyscall ()
#1  0xb31444dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb414dd9d in __pthread_cond_wait (cond=0x98b0740, mutex=0x98b0728) at forward.c:139
#3  0xb44cf9c7 in wait (this=0x9917f74, mutex=0x9917f70, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9917f74, mutex=0x9917f70, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x08237d09 in Digikam::ScanController::run (this=0x98b1ef0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/database/scancontroller.cpp:602
#6  0xb44cedf9 in QThreadPrivate::start (arg=0x98b1ef0) at thread/qthread_unix.cpp:266
#7  0xb313fcc9 in start_thread (arg=0xacfc9b70) at pthread_create.c:304
#8  0xb414069e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaafc8b70 (LWP 10295)):
#0  0xb2b22e36 in clock_gettime (clock_id=-1296928780, tp=0xaafc7de0) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb452a50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb46016e5 in QTimerInfoList::updateCurrentTime (this=0xa8e01834) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb460172a in QTimerInfoList::timerWait (this=0xa8e01834, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb45ff7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaafc7f0c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb45ff83d in timerSourcePrepare (source=0x0, timeout=0xb2b26ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb2f14e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb2f15279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb2f15848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb45ff59f in QEventDispatcherGlib::processEvents (this=0xa8e00468, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb45cf609 in QEventLoop::processEvents (this=0xaafc80e0, flags=) at kernel/qeventloop.cpp:149
#12 0xb45cfa8a in QEventLoop::exec (this=0xaafc80e0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb44cbb7e in QThread::exec (this=0x98a21b0) at thread/qthread.cpp:490
#14 0xb45ae35b in QInotifyFileSystemWatcherEngine::run (this=0x98a21b0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb44cedf9 in QThreadPrivate::start (arg=0x98a21b0) at thread/qthread_unix.cpp:266
#16 0xb313fcc9 in start_thread (arg=0xaafc8b70) at pthread_create.c:304
#17 0xb414069e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa8dffb70 (LWP 10297)):
#0  0xb7753424 in __kernel_vsyscall ()
#1  0xb31444dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb414dd9d in __pthread_cond_wait (cond=0x9c20b88, mutex=0x9c20b70) at forward.c:139
#3  0xb44cf9c7 in wait (this=0x9c20880, mutex=0x9c2087c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c20880, mutex=0x9c2087c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb64e271a in Digikam::ParkingThread::run (this=0x9c20870) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threads/threadmanager.cpp:119
#6  0xb44cedf9 in QThreadPrivate::start (arg=0x9c20870) at thread/qthread_unix.cpp:266
#7  0xb313fcc9 in start_thread (arg=0xa8dffb70) at pthread_create.c:304
#8  0xb414069e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa5769b70 (LWP 10298)):
#0  0xb7753424 in __kernel_vsyscall ()
#1  0xb4131df6 in __poll (fds=0xb41c8ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb2f22a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb2f1543c in ?? () from /lib/libglib-2.0.so.0
#4  0xb2f15848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb45ff59f in QEventDispatcherGlib::processEvents (this=0x9d3cbd0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0xb45cf609 in QEventLoop::processEvents (this=0xa57690e0, flags=) at kernel/qeventloop.cpp:149
#7  0xb45cfa8a in QEventLoop::exec (this=0xa57690e0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb44cbb7e in QThread::exec (this=0x9d48dc8) at thread/qthread.cpp:490
#9  0xb45ae35b in QInotifyFileSystemWatcherEngine::run (this=0x9d48dc8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb44cedf9 in QThreadPrivate::start (arg=0x9d48dc8) at thread/qthread_unix.cpp:266
#11 0xb313fcc9 in start_thread (arg=0xa5769b70) at pthread_create.c:304
#12 0xb414069e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xaf5098c0 (LWP 10293)):
[KCrash Handler]
#7  __libc_realloc (oldmem=0xe, bytes=3052563728) at malloc.c:3769
#8  0xb16a9a1d in register_platform (d=0xa98b878, dispatch=0xb16d4380, name=0xb16d02db "usb") at control.c:2015
#9  0xb16c3061 in usb_init (d=0xa98b878) at control.c:383
#10 0xa6bf108b in gp_port_library_list () from /usr/lib/libgphoto2_port/0.8.0/usb.so
#11 0xb5fecb93 in ?? () from /usr/lib/libgphoto2_port.so.0
#12 0xb2ea0c50 in ?? () from /usr/lib/libltdl.so.7
#13 0xb2ea084c in ?? () from /usr/lib/libltdl.so.7
#14 0xb2ea08ff in lt_dlforeachfile () from /usr/lib/libltdl.so.7
#15 0xb5feca70 in gp_port_info_list_load () from /usr/lib/libgphoto2_port.so.0
#16 0x083fa820 in Digikam::GPCamera::findConnectedUsbCamera (vendorId=1227, productId=447, model=..., port=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/utilities/cameragui/devices/gpcamera.cpp:1761
#17 0x081dbe1e in Digikam::DigikamApp::openSolidCamera (this=0x98f0da0, udi=..., cameraLabel=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/main/digikamapp.cpp:1833
#18 0x081dc843 in Digikam::DigikamApp::slotOpenSolidCamera (this=0x98f0da0, action=0xa97e580) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/main/digikamapp.cpp:1780
#19 0x081f296a in Digikam::DigikamApp::qt_metacall (this=0x98f0da0, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbff0a758) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/digikamapp.moc:232
#20 0xb45d68ca in QMetaObject::metacall (object=0x98f0da0, cl=190785232, idx=77, argv=0xbff0a758) at kernel/qmetaobject.cpp:237
#21 0xb45e96ad in QMetaObject::activate (sender=0xa4986d0, m=0xb54b03e4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#22 0xb4b2f253 in QActionGroup::triggered (this=0xa4986d0, _t1=0xa97e580) at .moc/release-shared/moc_qactiongroup.cpp:146
#23 0xb4b2f6a8 in QActionGroupPrivate::_q_actionTriggered (this=0xb639890) at kernel/qactiongroup.cpp:93
#24 0xb4b2f996 in QActionGroup::qt_metacall (this=0xa4986d0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbff0a8b8) at .moc/release-shared/moc_qactiongroup.cpp:101
#25 0xb45d68ca in QMetaObject::metacall (object=0xa4986d0, cl=190785232, idx=11, argv=0xbff0a8b8) at kernel/qmetaobject.cpp:237
#26 0xb45e96ad in QMetaObject::activate (sender=0xa97e580, m=0x8582200, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3280
#27 0xb4b29f99 in QAction::triggered (this=0xa97e580, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#28 0xb4b2b8dc in QAction::activate (this=0xa97e580, event=QAction::Trigger) at kernel/qaction.cpp:1256
#29 0xb4ff77ef in QMenuPrivate::activateCausedStack (this=0xa509d10, causedStack=..., action=0xa97e580, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#30 0xb4ffda4b in QMenuPrivate::activateAction (this=0xa509d10, action=0xa97e580, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#31 0xb4ffe5e0 in QMenu::mouseReleaseEvent (this=0xa4ce8c0, e=0xbff0b160) at widgets/qmenu.cpp:2301
#32 0xb57ca9a5 in KMenu::mouseReleaseEvent (this=0xa4ce8c0, e=0xbff0b160) at ../../kdeui/widgets/kmenu.cpp:458
#33 0xb4b8fe08 in QWidget::event (this=0xa4ce8c0, event=0xbff0b160) at kernel/qwidget.cpp:8187
#34 0xb500002f in QMenu::event (this=0xa4ce8c0, e=0xbff0b160) at widgets/qmenu.cpp:2410
#35 0xb4b31fdc in QApplicationPrivate::notify_helper (this=0x9832bc8, receiver=0xa4ce8c0, e=0xbff0b160) at kernel/qapplication.cpp:4396
#36 0xb4b38c2e in QApplication::notify (this=0xbff0ba90, receiver=0xa4ce8c0, e=0xbff0b160) at kernel/qapplication.cpp:3959
#37 0xb56d982a in KApplication::notify (this=0xbff0ba90, receiver=0xa4ce8c0, event=0xbff0b160) at ../../kdeui/kernel/kapplication.cpp:311
#38 0xb45d0b3b in QCoreApplication::notifyInternal (this=0xbff0ba90, receiver=0xa4ce8c0, event=0xbff0b160) at kernel/qcoreapplication.cpp:732
#39 0xb4b37094 in sendEvent (receiver=0xa4ce8c0, event=0xbff0b160, alienWidget=0x0, nativeWidget=0xa4ce8c0, buttonDown=0xb54cc3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QApplicationPrivate::sendMouseEvent (receiver=0xa4ce8c0, event=0xbff0b160, alienWidget=0x0, nativeWidget=0xa4ce8c0, buttonDown=0xb54cc3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#41 0xb4bc6261 in QETWidget::translateMouseEvent (this=0xa4ce8c0, event=0xbff0b67c) at kernel/qapplication_x11.cpp:4337
#42 0xb4bc5151 in QApplication::x11ProcessEvent (this=0xbff0ba90, event=0xbff0b67c) at kernel/qapplication_x11.cpp:3414
#43 0xb4bf436a in x11EventSourceDispatch (s=0x9835e40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0xb2f11855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0xb2f15668 in ?? () from /lib/libglib-2.0.so.0
#46 0xb2f15848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0xb45ff565 in QEventDispatcherGlib::processEvents (this=0x97e55e8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#48 0xb4bf3be5 in QGuiEventDispatcherGlib::processEvents (this=0x97e55e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0xb45cf609 in QEventLoop::processEvents (this=0xbff0b974, flags=) at kernel/qeventloop.cpp:149
#50 0xb45cfa8a in QEventLoop::exec (this=0xbff0b974, flags=...) at kernel/qeventloop.cpp:201
#51 0xb45d400f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#52 0xb4b30e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#53 0x0832cbdb in main (argc=1, argv=0xbff0bd34) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 m.wege 2011-04-19 07:17:39 UTC
Created attachment 59116 [details]
New crash information added by DrKonqi

digikam (2.0.0-beta4) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.0

- What I was doing when the application crashed: Seems that the problem is not limited to the camera model. It also accurs on a Nikon Coolpix

-- Backtrace (Reduced):
#7  __libc_realloc (oldmem=0xe, bytes=3122125968) at malloc.c:3769
#8  0xb1762a1d in register_platform (d=0xa102d58, dispatch=0xb178d380, name=0xb17892db "usb") at control.c:2015
#9  0xb177c061 in usb_init (d=0xa102d58) at control.c:383
#10 0xa1ee908b in gp_port_library_list () from /usr/lib/libgphoto2_port/0.8.0/usb.so
[...]
#14 0xb2f598ff in lt_dlforeachfile () from /usr/lib/libltdl.so.7
Comment 2 Marcel Wiesweg 2011-04-24 15:16:25 UTC
Crash seems to happen inside gphoto2.
Comment 3 caulier.gilles 2011-07-02 09:57:44 UTC
This one have been fixed with 2.0.0 RC. Look report #268267 for details

Gilles Caulier