Bug 288310

Summary: digiKam crash when attempting to download from Canon EOS 1100D
Product: [Applications] digikam Reporter: Rodney Baker <rodney.baker>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Rodney Baker 2011-12-06 06:00:39 UTC
Application: digikam (2.3.0)
KDE Platform Version: 4.6.5 (4.6.5) "release 7"
Qt Version: 4.7.3
Operating System: Linux 3.1.0-3-desktop-vk5ztv i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed: Camera plugged in, tried to import images from camera. Crashed twice in a row.

The crash can be reproduced every time.

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

Thread 9 (Thread 0xae48cb70 (LWP 10343)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4230105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4885aec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb55e5200 in wait (this=0x862827c, mutex=0x8628278, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x862827c, mutex=0x8628278, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081fc46d in _start ()

Thread 8 (Thread 0xadc8bb70 (LWP 10345)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4230105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4885aec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb55e5200 in wait (this=0x863ffc0, mutex=0x863ffbc, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x863ffc0, mutex=0x863ffbc, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb6a15628 in ?? () from /usr/lib/libdigikamcore.so.2
#6  0xb55e4b13 in QThreadPrivate::start (arg=0x863ffb0) at thread/qthread_unix.cpp:320
#7  0xb422bb05 in start_thread () from /lib/libpthread.so.0
#8  0xb4877d5e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xa91b1b70 (LWP 10346)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4230432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4885b44 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb258f353 in ?? () from /usr/lib/libxine.so.1
#4  0xb422bb05 in start_thread () from /lib/libpthread.so.0
#5  0xb4877d5e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa8530b70 (LWP 10347)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4230432 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4885b44 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb259dbc1 in ?? () from /usr/lib/libxine.so.1
#4  0xb422bb05 in start_thread () from /lib/libpthread.so.0
#5  0xb4877d5e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa7d2fb70 (LWP 10348)):
#0  0xb30cd6ee in ?? () from /lib/libglib-2.0.so.0
#1  0xb30cdbee in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0xb5710167 in QEventDispatcherGlib::processEvents (this=0x8918fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#3  0xb56e0bed in QEventLoop::processEvents (this=0xa7d2f230, flags=...) at kernel/qeventloop.cpp:149
#4  0xb56e0e19 in QEventLoop::exec (this=0xa7d2f230, flags=...) at kernel/qeventloop.cpp:201
#5  0xb55e1ec9 in QThread::exec (this=0x890e240) at thread/qthread.cpp:492
#6  0xad2530f8 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#7  0xb55e4b13 in QThreadPrivate::start (arg=0x890e240) at thread/qthread_unix.cpp:320
#8  0xb422bb05 in start_thread () from /lib/libpthread.so.0
#9  0xb4877d5e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa752eb70 (LWP 10361)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb486d03e in poll () from /lib/libc.so.6
#2  0xa89ab04c in ?? () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
#3  0xb422bb05 in start_thread () from /lib/libpthread.so.0
#4  0xb4877d5e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa6d2db70 (LWP 10362)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4230105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4885aec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb25a258c in ?? () from /usr/lib/libxine.so.1
#4  0xb422bb05 in start_thread () from /lib/libpthread.so.0
#5  0xb4877d5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x9efaab70 (LWP 10380)):
[KCrash Handler]
#7  0xb4816b31 in realloc () from /lib/libc.so.6
#8  0xb25eac5e in register_platform (d=0x9fc01570, dispatch=0xb2614600, name=0xb260b5dd "usb") at control.c:2015
#9  0xb25fe73f in usb_init (d=0x9fc01570) at control.c:383
#10 0xa356fff7 in gp_port_library_list (list=0x9fc01570) at libusb.c:94
#11 0xb64f8c98 in foreach_func (filename=0x9fc0c8cf "/usr/lib/libgphoto2_port/0.8.0/usb", data=0x9fc01570) at gphoto2-port-info-list.c:243
#12 0xb3450378 in foreachfile_callback (dirname=0x9fc042c8 "/usr/lib/libgphoto2_port/0.8.0", data1=0x9efa8d94, data2=0x9fc01570) at libltdl/ltdl.c:1836
#13 0xb344ff79 in foreach_dirinpath (search_path=<value optimized out>, base_name=0x0, func=0xb3450090 <foreachfile_callback>, data1=0x9efa8d94, data2=0x9fc01570) at libltdl/ltdl.c:710
#14 0xb3451146 in lt_dlforeachfile (search_path=0xb64fd0a8 "/usr/lib/libgphoto2_port/0.8.0", func=0xb64f8b90 <foreach_func>, data=0x9fc01570) at libltdl/ltdl.c:1865
#15 0xb64f9150 in gp_port_info_list_load (list=0x9fc01570) at gphoto2-port-info-list.c:290
#16 0x08395cd8 in ?? ()
#17 0x083be8fc in ?? ()
#18 0x083c6ee2 in ?? ()
#19 0xb55e4b13 in QThreadPrivate::start (arg=0xa068c90) at thread/qthread_unix.cpp:320
#20 0xb422bb05 in start_thread () from /lib/libpthread.so.0
#21 0xb4877d5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb0629790 (LWP 10342)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb486d03e in poll () from /lib/libc.so.6
#2  0xb2cb5480 in ?? () from /usr/lib/libxcb.so.1
#3  0xb2cb6ef0 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0xb43aef92 in _XReply () from /usr/lib/libX11.so.6
#5  0xb4392b67 in XGetImage () from /usr/lib/libX11.so.6
#6  0xb4c8b68d in QX11PixmapData::toImage (this=0xa15bf90, rect=...) at image/qpixmap_x11.cpp:1545
#7  0xb4c873cd in QX11PixmapData::toImage (this=0xa15bf90) at image/qpixmap_x11.cpp:1576
#8  0xb4c736fd in QPixmap::toImage (this=0xbff1aa38) at image/qpixmap.cpp:487
#9  0xb4c7457e in operator<< (stream=..., pixmap=...) at image/qpixmap.cpp:1315
#10 0xb5d37026 in KIconLoaderPrivate::insertCachedPixmapWithPath (this=0x85bb5e0, key=..., data=..., path=...) at /usr/src/debug/kdelibs-4.6.5/kdeui/icons/kiconloader.cpp:836
#11 0xb5d3f744 in KIconLoader::loadIcon (this=0x85d8ac0, _name=..., group=KIconLoader::Desktop, size=22, state=2, overlays=..., path_store=0x0, canReturnNull=false) at /usr/src/debug/kdelibs-4.6.5/kdeui/icons/kiconloader.cpp:1319
#12 0xb5d40456 in KIconEngine::pixmap (this=0xa111e88, size=..., mode=QIcon::Disabled, state=QIcon::Off) at /usr/src/debug/kdelibs-4.6.5/kdeui/icons/kiconengine.cpp:103
#13 0xb4c40f24 in QIcon::pixmap (this=0xbff1be24, size=..., mode=QIcon::Disabled, state=QIcon::Off) at image/qicon.cpp:676
#14 0xb4edbf3a in QCommonStyle::drawControl (this=0x86770d8, element=-1074678952, opt=0xbff1bdec, p=0xbff1c1e4, widget=0xa09b798) at styles/qcommonstyle.cpp:1599
#15 0xb5bf881f in KStyle::drawControl (this=0x86770d8, element=QStyle::CE_ToolButtonLabel, option=0xbff1bdec, p=0xbff1c1e4, widget=0xa09b798) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kstyle.cpp:2508
#16 0xae4fb68f in ?? () from /usr/lib/kde4/plugins/styles/nitrogen.so
#17 0xb5bff7b4 in KStyle::drawComplexControl (this=0x86770d8, cc=QStyle::CC_ToolButton, opt=0xbff1c184, p=0xbff1c1e4, w=0xa09b798) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kstyle.cpp:3479
#18 0xae4f9a0b in ?? () from /usr/lib/kde4/plugins/styles/nitrogen.so
#19 0xb507fe93 in drawComplexControl (this=0xa09b798) at ../../src/gui/painting/qstylepainter.h:94
#20 QToolButton::paintEvent (this=0xa09b798) at widgets/qtoolbutton.cpp:556
#21 0xb4be313a in QWidget::event (this=0xa09b798, event=0xbff1c7c4) at kernel/qwidget.cpp:8405
#22 0xb4fa6be0 in QAbstractButton::event (this=0xa09b798, e=0xbff1c7c4) at widgets/qabstractbutton.cpp:1080
#23 0xb50807bc in QToolButton::event (this=0xa09b798, event=0xbff1c7c4) at widgets/qtoolbutton.cpp:1163
#24 0xb4b87c74 in QApplicationPrivate::notify_helper (this=0x85762a0, receiver=0xa09b798, e=0xbff1c7c4) at kernel/qapplication.cpp:4462
#25 0xb4b90ac4 in QApplication::notify (this=0xbff1e3ec, receiver=0xa09b798, e=0xbff1c7c4) at kernel/qapplication.cpp:4341
#26 0xb5c00c61 in KApplication::notify (this=0xbff1e3ec, receiver=0xa09b798, event=0xbff1c7c4) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#27 0xb56e190e in QCoreApplication::notifyInternal (this=0xbff1e3ec, receiver=0xa09b798, event=0xbff1c7c4) at kernel/qcoreapplication.cpp:731
#28 0xb4bdfdd2 in sendSpontaneousEvent (this=0xa1229f8, pdev=0xa0f9474, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at ../../src/corelib/kernel/qcoreapplication.h:218
#29 QWidgetPrivate::drawWidget (this=0xa1229f8, pdev=0xa0f9474, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5492
#30 0xb4be0b27 in QWidgetPrivate::paintSiblingsRecursive (this=0xa12f490, pdev=0xa0f9474, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5699
#31 0xb4be09ed in QWidgetPrivate::paintSiblingsRecursive (this=0xa12f490, pdev=0xa0f9474, siblings=..., index=7, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5686
#32 0xb4be09ed in QWidgetPrivate::paintSiblingsRecursive (this=0xa12f490, pdev=0xa0f9474, siblings=..., index=8, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5686
#33 0xb4be09ed in QWidgetPrivate::paintSiblingsRecursive (this=0xa12f490, pdev=0xa0f9474, siblings=..., index=10, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5686
#34 0xb4be09ed in QWidgetPrivate::paintSiblingsRecursive (this=0xa12f490, pdev=0xa0f9474, siblings=..., index=11, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5686
#35 0xb4be09ed in QWidgetPrivate::paintSiblingsRecursive (this=0xa12f490, pdev=0xa0f9474, siblings=..., index=13, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5686
#36 0xb4be09ed in QWidgetPrivate::paintSiblingsRecursive (this=0xa12f490, pdev=0xa0f9474, siblings=..., index=14, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5686
#37 0xb4be09ed in QWidgetPrivate::paintSiblingsRecursive (this=0xa12f490, pdev=0xa0f9474, siblings=..., index=15, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5686
#38 0xb4bdfb28 in QWidgetPrivate::drawWidget (this=0xa12f490, pdev=0xa0f9474, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5545
#39 0xb4be0b27 in QWidgetPrivate::paintSiblingsRecursive (this=0x9fc5788, pdev=0xa0f9474, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5699
#40 0xb4bdfb28 in QWidgetPrivate::drawWidget (this=0x9fc5788, pdev=0xa0f9474, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0xa0f9440) at kernel/qwidget.cpp:5545
#41 0xb4dce9f8 in QWidgetBackingStore::sync (this=0xa0f9440) at painting/qbackingstore.cpp:1333
#42 0xb4dced55 in QWidgetBackingStore::sync (this=0xa0f9440, exposedWidget=0xa11a470, exposedRegion=...) at painting/qbackingstore.cpp:1130
#43 0xb4bd4974 in QWidgetPrivate::syncBackingStore (this=0xa11b588, region=...) at kernel/qwidget.cpp:1857
#44 0xb4c12c0c in QETWidget::translatePaintEvent (this=0xa11a470, event=0xbff1dffc) at kernel/qapplication_x11.cpp:5175
#45 0xb4c13a60 in QApplication::x11ProcessEvent (this=0xbff1e3ec, event=0xbff1dffc) at kernel/qapplication_x11.cpp:3487
#46 0xb4c3ee40 in x11EventSourceDispatch (s=0x85797a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0xb30cd129 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0xb30cd930 in ?? () from /lib/libglib-2.0.so.0
#49 0xb30cdbee in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0xb571011b in QEventDispatcherGlib::processEvents (this=0x8572c90, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0xb4c3ea3a in QGuiEventDispatcherGlib::processEvents (this=0x8572c90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0xb56e0bed in QEventLoop::processEvents (this=0xbff1e2b4, flags=...) at kernel/qeventloop.cpp:149
#53 0xb56e0e19 in QEventLoop::exec (this=0xbff1e2b4, flags=...) at kernel/qeventloop.cpp:201
#54 0xb56e58c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#55 0xb4b859c4 in QApplication::exec () at kernel/qapplication.cpp:3736
#56 0x082d2893 in ?? ()
#57 0xb47bac2e in __libc_start_main () from /lib/libc.so.6
#58 0x080bbcb1 in _start ()

This bug may be a duplicate of or related to bug 268267.

Possible duplicates by query: bug 282420, bug 280927, bug 279458, bug 279111, bug 271610.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-12-06 06:20:56 UTC

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