Bug 288735

Summary: digiKam crashes without exception
Product: [Applications] digikam Reporter: debeerjohann
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description debeerjohann 2011-12-11 15:37:47 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:  Selecting menu item 'Import' and then connecting to a Canon device, resulted in a crash.

The crash can be reproduced every time.

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

Thread 7 (Thread 0xad7ffb70 (LWP 3912)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb483140e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb321d34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb320e896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb320ef9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xaf599cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb32355f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb3572d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb48400ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xac232b70 (LWP 3913)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb3576a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb484dcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4b03cc0 in wait (time=4294967295, this=0x9d6e878) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9d6e7a4, mutex=0x9d6e7a0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081e4b3d in Digikam::ScanController::run (this=0x9d4ca40) at /home/johann/digikam-software-compilation/core/digikam/database/scancontroller.cpp:647
#6  0xb4b037b3 in QThreadPrivate::start (arg=0x9d4ca40) at thread/qthread_unix.cpp:331
#7  0xb3572d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb48400ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xaba31b70 (LWP 3914)):
#0  0xb3575d19 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb484df54 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb320e785 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb320ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4c2cb37 in QEventDispatcherGlib::processEvents (this=0xace004a8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0xb4bfd1dd in QEventLoop::processEvents (this=0xaba31100, flags=...) at kernel/qeventloop.cpp:149
#6  0xb4bfd421 in QEventLoop::exec (this=0xaba31100, flags=...) at kernel/qeventloop.cpp:201
#7  0xb4b0090b in QThread::exec (this=0x9d74518) at thread/qthread.cpp:498
#8  0xb4bdde2d in QInotifyFileSystemWatcherEngine::run (this=0x9d74518) at io/qfilesystemwatcher_inotify.cpp:248
#9  0xb4b037b3 in QThreadPrivate::start (arg=0x9d74518) at thread/qthread_unix.cpp:331
#10 0xb3572d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0xb48400ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xab230b70 (LWP 3916)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb3576a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb484dcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4b03cc0 in wait (time=4294967295, this=0x9f1fe38) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9f1c328, mutex=0x9f1c324, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb6ab1bac in Digikam::ParkingThread::run (this=0x9f1c318) at /home/johann/digikam-software-compilation/core/libs/threads/threadmanager.cpp:119
#6  0xb4b037b3 in QThreadPrivate::start (arg=0x9f1c318) at thread/qthread_unix.cpp:331
#7  0xb3572d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb48400ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xa0ee7b70 (LWP 3927)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb3576e04 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb484dd54 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb4b03c4e in wait (time=30000, this=0x9f79c00) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9f79bcc, mutex=0x9f79bc8, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0xb4af76e4 in QThreadPoolThread::run (this=0xa8e69e8) at concurrent/qthreadpool.cpp:140
#6  0xb4b037b3 in QThreadPrivate::start (arg=0xa8e69e8) at thread/qthread_unix.cpp:331
#7  0xb3572d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb48400ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xa5799b70 (LWP 3932)):
[KCrash Handler]
#7  0xb47e0a06 in realloc () from /lib/i386-linux-gnu/libc.so.6
#8  0xb12ce24e in register_platform (d=0xace53ee0, dispatch=0xb12f7380, name=0xb12ee726 "usb") at control.c:2015
#9  0xb12e189f in usb_init (d=0xace53ee0) at control.c:383
#10 0xa3dec832 in gp_port_library_list () from /usr/lib/libgphoto2_port/0.8.0/usb.so
#11 0xb653481c in ?? () from /usr/lib/libgphoto2_port.so.0
#12 0xb3537340 in ?? () from /usr/lib/libltdl.so.7
#13 0xb3536857 in ?? () from /usr/lib/libltdl.so.7
#14 0xb3537ae6 in lt_dlforeachfile () from /usr/lib/libltdl.so.7
#15 0xb6534ca0 in gp_port_info_list_load () from /usr/lib/libgphoto2_port.so.0
#16 0x0831b6be in Digikam::GPCamera::doConnect (this=0xb1ab610) at /home/johann/digikam-software-compilation/core/utilities/cameragui/devices/gpcamera.cpp:203
#17 0x083417c5 in Digikam::CameraController::executeCommand (this=0xb1614d0, cmd=0xb2e6e70) at /home/johann/digikam-software-compilation/core/utilities/cameragui/controller/cameracontroller.cpp:414
#18 0x08341693 in Digikam::CameraController::run (this=0xb1614d0) at /home/johann/digikam-software-compilation/core/utilities/cameragui/controller/cameracontroller.cpp:396
#19 0xb4b037b3 in QThreadPrivate::start (arg=0xb1614d0) at thread/qthread_unix.cpp:331
#20 0xb3572d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#21 0xb48400ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xae770af0 (LWP 3910)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb483140e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb2dd6000 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0xb2dd660c in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0xb2dd66c1 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
#5  0xb43b00d0 in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0xb43a45c2 in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6
#7  0xb43a47f3 in XPutImage () from /usr/lib/i386-linux-gnu/libX11.so.6
#8  0xb525eee8 in QX11PixmapData::fromImage (this=0xb1f0d30, img=..., flags=...) at image/qpixmap_x11.cpp:1132
#9  0xb524669f in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:2061
#10 0xb5526936 in QGtkPainter::renderTheme (this=0xbfc554ac, bdata=0xb1fb4c8 "\302\305\310\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\366\366\367\377\260\264\270\377\260\264\270\377\260\264\270\377\260\264\270\377\260\264\270\377\260\264\270\377\260\264\270\377\260\264\270\377\260\264\270\377"..., wdata=0x0, rect=...) at styles/qgtkpainter.cpp:102
#11 0xb55279b5 in QGtkPainter::paintBoxGap (this=0xbfc554ac, gtkWidget=0x9c42b20, part=0xb58a43d9 "notebook", paintRect=..., state=GTK_STATE_NORMAL, shadow=GTK_SHADOW_OUT, gap_side=GTK_POS_TOP, x=0, width=42, style=0x1) at styles/qgtkpainter.cpp:250
#12 0xb5517517 in QGtkStyle::drawPrimitive (this=0x9bd29d8, element=QStyle::PE_FrameTabWidget, option=0xbfc5573c, painter=0x9cc4808, widget=0xb2c55c8) at styles/qgtkstyle.cpp:1068
#13 0xb562f456 in drawPrimitive (opt=..., pe=QStyle::PE_FrameTabWidget, this=0xbfc55844) at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:84
#14 QTabWidget::paintEvent (this=0xb2c55c8) at widgets/qtabwidget.cpp:1204
#15 0xb51b3f3e in QWidget::event (this=0xb2c55c8, event=0xbfc55cb4) at kernel/qwidget.cpp:8441
#16 0xb562e355 in QTabWidget::event (this=0xb2c55c8, ev=0xbfc55cb4) at widgets/qtabwidget.cpp:1014
#17 0xb5159d54 in notify_helper (e=0xbfc55cb4, receiver=0xb2c55c8, this=0x9ba4b20) at kernel/qapplication.cpp:4486
#18 QApplicationPrivate::notify_helper (this=0x9ba4b20, receiver=0xb2c55c8, e=0xbfc55cb4) at kernel/qapplication.cpp:4458
#19 0xb515f1a8 in QApplication::notify (this=0x9ba4b20, receiver=0xb2c55c8, e=0xbfc55cb4) at kernel/qapplication.cpp:4451
#20 0xb5caf681 in KApplication::notify (this=0xbfc57910, receiver=0xb2c55c8, event=0xbfc55cb4) at ../../kdeui/kernel/kapplication.cpp:311
#21 0xb4bfe19e in QCoreApplication::notifyInternal (this=0xbfc57910, receiver=0xb2c55c8, event=0xbfc55cb4) at kernel/qcoreapplication.cpp:787
#22 0xb51b0deb in sendSpontaneousEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 QWidgetPrivate::drawWidget (this=0xb2bcf70, pdev=0xb16e8ec, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5528
#24 0xb51b1ae4 in QWidgetPrivate::paintSiblingsRecursive (this=0xb2ec518, pdev=0xb16e8ec, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5735
#25 0xb51b0b48 in QWidgetPrivate::drawWidget (this=0xb2ec518, pdev=0xb16e8ec, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5581
#26 0xb51b1ae4 in QWidgetPrivate::paintSiblingsRecursive (this=0xb2e73a8, pdev=0xb16e8ec, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5735
#27 0xb51b19aa in QWidgetPrivate::paintSiblingsRecursive (this=0xb2e73a8, pdev=0xb16e8ec, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5722
#28 0xb51b19aa in QWidgetPrivate::paintSiblingsRecursive (this=0xb2e73a8, pdev=0xb16e8ec, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5722
#29 0xb51b0b48 in QWidgetPrivate::drawWidget (this=0xb2e73a8, pdev=0xb16e8ec, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5581
#30 0xb51b1ae4 in QWidgetPrivate::paintSiblingsRecursive (this=0xb2e7150, pdev=0xb16e8ec, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5735
#31 0xb51b19aa in QWidgetPrivate::paintSiblingsRecursive (this=0xb2e7150, pdev=0xb16e8ec, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5722
#32 0xb51b0b48 in QWidgetPrivate::drawWidget (this=0xb2e7150, pdev=0xb16e8ec, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5581
#33 0xb51b1ae4 in QWidgetPrivate::paintSiblingsRecursive (this=0xb2e9928, pdev=0xb16e8ec, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5735
#34 0xb51b19aa in QWidgetPrivate::paintSiblingsRecursive (this=0xb2e9928, pdev=0xb16e8ec, siblings=..., index=40, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5722
#35 0xb51b19aa in QWidgetPrivate::paintSiblingsRecursive (this=0xb2e9928, pdev=0xb16e8ec, siblings=..., index=51, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5722
#36 0xb51b0b48 in QWidgetPrivate::drawWidget (this=0xb2e9928, pdev=0xb16e8ec, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0xb16e8b8) at kernel/qwidget.cpp:5581
#37 0xb539aa83 in QWidgetBackingStore::sync (this=0xb16e8b8) at painting/qbackingstore.cpp:1338
#38 0xb539ae2b in QWidgetBackingStore::sync (this=0xb16e8b8, exposedWidget=0xb1a8810, exposedRegion=...) at painting/qbackingstore.cpp:1135
#39 0xb51a65f4 in QWidgetPrivate::syncBackingStore (this=0xb1c3e28, region=...) at kernel/qwidget.cpp:1877
#40 0xb51e52a4 in QETWidget::translatePaintEvent (this=0xb1a8810, event=0xbfc574dc) at kernel/qapplication_x11.cpp:5535
#41 0xb51e6448 in QApplication::x11ProcessEvent (this=0xbfc57910, event=0xbfc574dc) at kernel/qapplication_x11.cpp:3590
#42 0xb521224c in x11EventSourceDispatch (s=0x9ba76f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0xb320e25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0xb320e990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0xb320ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb4c2cada in QEventDispatcherGlib::processEvents (this=0x9ba43f8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#47 0xb5211e3a in QGuiEventDispatcherGlib::processEvents (this=0x9ba43f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0xb4bfd1dd in QEventLoop::processEvents (this=0xbfc577e4, flags=...) at kernel/qeventloop.cpp:149
#49 0xb4bfd421 in QEventLoop::exec (this=0xbfc577e4, flags=...) at kernel/qeventloop.cpp:201
#50 0xb4c0219d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#51 0xb51578f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#52 0x082a313c in main (argc=1, argv=0xbfc57b64) at /home/johann/digikam-software-compilation/core/digikam/main/main.cpp:232

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

Reported using DrKonqi
Comment 1 caulier.gilles 2011-12-11 15:56:07 UTC

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