Bug 191522 - Crash on use default action "Download Photos with digiKam"
Summary: Crash on use default action "Download Photos with digiKam"
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 1.0.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 22:21 UTC by René Krell
Modified: 2017-08-16 09:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René Krell 2009-05-03 22:21:13 UTC
Version:           0.11.0-svn (rev.: 962652) (using 4.2.2 (KDE 4.2.2) "release 114", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.21-0.1-default

Launching the "Download Photos with digiKam" action from the Plugged devices dialog in KDE starts DigiKam with the download dialog, even showing the photos on the camera, but after completing this view Digikam crashes:

Application: digiKam (digikam), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
0x00007f1d02b90662 in select () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f1d09fe9750 (LWP 17710))]

Thread 12 (Thread 0x7f1cf8895950 (LWP 17712)):
#0  0x00007f1d035a1d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1d03812f79 in QWaitCondition::wait (this=0xb3da78, mutex=0xb3da70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x0000000000732780 in Digikam::ScanController::run (this=0xc17e70) at /home/rkrell/src/KDE/graphics/digikam/digikam/scancontroller.cpp:443
#3  0x00007f1d03811fc2 in QThreadPrivate::start (arg=0xc17e70) at thread/qthread_unix.cpp:189
#4  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f1ceffff950 (LWP 17715)):
#0  0x00007f1d035a1d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1d03812f79 in QWaitCondition::wait (this=0xe0abb0, mutex=0xe0aba8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1d070e8737 in Digikam::LoadSaveThread::run (this=0xe0ab90) at /home/rkrell/src/KDE/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f1d03811fc2 in QThreadPrivate::start (arg=0xe0ab90) at thread/qthread_unix.cpp:189
#4  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f1cf4b4a950 (LWP 17716)):
#0  0x00007f1d035a1d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1d03812f79 in QWaitCondition::wait (this=0xce1ac0, mutex=0xce1ab8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1d070e8737 in Digikam::LoadSaveThread::run (this=0xce1aa0) at /home/rkrell/src/KDE/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f1d03811fc2 in QThreadPrivate::start (arg=0xce1aa0) at thread/qthread_unix.cpp:189
#4  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f1ce50d9950 (LWP 17717)):
#0  0x00007f1d035a1fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1cedb43631 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f1ce2ffc950 (LWP 17718)):
#0  0x00007f1d035a1fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1cedb516a5 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f1ce27fb950 (LWP 17719)):
#0  0x00007f1d02b8e386 in poll () from /lib64/libc.so.6
#1  0x00007f1cfffa1748 in g_main_context_iterate (context=0xc1b0e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#2  0x00007f1cfffa1a6b in IA__g_main_context_iteration (context=0xc1b0e0, may_block=1) at gmain.c:2841
#3  0x00007f1d0392467e in QEventDispatcherGlib::processEvents (this=0xc1b010, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#4  0x00007f1d038f97d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -494948368}) at kernel/qeventloop.cpp:149
#5  0x00007f1d038f9b9d in QEventLoop::exec (this=0x7f1ce27fb030, flags={i = -494948288}) at kernel/qeventloop.cpp:200
#6  0x00007f1d0380f028 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:481
#7  0x00007f1cedd9eb12 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f1d03811fc2 in QThreadPrivate::start (arg=0xc4ae30) at thread/qthread_unix.cpp:189
#9  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1ce1df0950 (LWP 17722)):
#0  0x00007f1d02b93d69 in syscall () from /lib64/libc.so.6
#1  0x00007f1d028be2e6 in v4l2_read () from /usr/lib64/libv4l2.so.0
#2  0x00007f1cee1d4fa5 in snd_ctl_hw_read () from /usr/lib64/libasound.so.2
#3  0x00007f1cee1cfd38 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007f1cee1d9935 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#5  0x00007f1ce1df5a00 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#6  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1ce15ef950 (LWP 17723)):
#0  0x00007f1d035a1d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1cedb54c23 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1cdffbb950 (LWP 17738)):
#0  0x00007f1d035a1d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1d03812f79 in QWaitCondition::wait (this=0x1a09850, mutex=0x1a09848, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1d070e8737 in Digikam::LoadSaveThread::run (this=0x1a09830) at /home/rkrell/src/KDE/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f1d03811fc2 in QThreadPrivate::start (arg=0x1a09830) at thread/qthread_unix.cpp:189
#4  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1cd6712950 (LWP 17744)):
#0  0x00007f1d035a1fdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f1d03812f57 in QWaitCondition::wait (this=0x2645718, mutex=0x2645710, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  0x00007f1d03808a89 in QThreadPoolThread::run (this=0x2666170) at concurrent/qthreadpool.cpp:140
#3  0x00007f1d03811fc2 in QThreadPrivate::start (arg=0x2666170) at thread/qthread_unix.cpp:189
#4  0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1cddee8950 (LWP 17758)):
[KCrash Handler]
#5  0x00007f1d02b43d65 in memcpy () from /lib64/libc.so.6
#6  0x00007f1d03896bed in QIODevice::read (this=0xc80220, data=0x7f1cddee6ac0 "����\034\177", maxSize=<value optimized out>) at /usr/include/bits/string3.h:52
#7  0x00007f1d0388386d in QDataStream::operator>> (this=0xd21960, i=@0x7f1cddee6b4c) at io/qdatastream.cpp:665
#8  0x00007f1d038602d0 in operator>> (in=@0x7f1cddee6ac0, str=@0x7f1cc80a8280) at ../../src/corelib/io/qdatastream.h:213
#9  0x00007f1d03f83dfa in KServicePrivate::load (this=0x7f1cc80a8240, s=<value optimized out>) at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservice.cpp:351
#10 0x00007f1d03f84073 in KService (this=0x7f1cc80a0300, _str=@0xd21960, _offset=484580) at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservice_p.h:41
#11 0x00007f1d03f8c0db in KServiceFactory::createEntry (this=<value optimized out>, offset=484580) at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservicefactory.cpp:181
#12 0x00007f1d03f8bab1 in KServiceFactory::serviceOffers (this=0xd5e390, serviceTypeOffset=12729, serviceOffersOffset=<value optimized out>)
    at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservicefactory.cpp:266
#13 0x00007f1d03f996bf in KServiceTypeTrader::defaultOffers (this=<value optimized out>, serviceType=<value optimized out>, constraint=@0x7f1cddee6fc0)
    at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservicetypetrader.cpp:125
#14 0x00007f1d03f99f63 in KServiceTypeTrader::query (this=0xc770d0, serviceType=@0x7f1cddee6fd0, constraint=@0x7f1cddee6fc0)
    at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservicetypetrader.cpp:141
#15 0x00000000004fe43a in Digikam::UMSCamera::loadKDEThumbCreator (this=0x2c7e9d0, folder=@0x7f1cddee7910, itemName=@0x7f1cddee7900, thumbnail=@0x7f1cddee78e0)
    at /home/rkrell/src/KDE/graphics/digikam/utilities/cameragui/umscamera.cpp:292
#16 0x00000000004fff04 in Digikam::UMSCamera::getThumbnail (this=0x2c7e9d0, folder=@0x7f1cddee7910, itemName=@0x7f1cddee7900, thumbnail=@0x7f1cddee78e0)
    at /home/rkrell/src/KDE/graphics/digikam/utilities/cameragui/umscamera.cpp:270
#17 0x0000000000536e55 in Digikam::CameraController::executeCommand (this=0x2c73600, cmd=0x3116ea0) at /home/rkrell/src/KDE/graphics/digikam/utilities/cameragui/cameracontroller.cpp:439
#18 0x000000000053a468 in Digikam::CameraController::run (this=0x2c73600) at /home/rkrell/src/KDE/graphics/digikam/utilities/cameragui/cameracontroller.cpp:333
#19 0x00007f1d03811fc2 in QThreadPrivate::start (arg=0x2c73600) at thread/qthread_unix.cpp:189
#20 0x00007f1d0359e070 in start_thread () from /lib64/libpthread.so.0
#21 0x00007f1d02b9710d in clone () from /lib64/libc.so.6
#22 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1d09fe9750 (LWP 17710)):
#0  0x00007f1d02b90662 in select () from /lib64/libc.so.6
#1  0x00007f1cfbd40850 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f1cfbd42374 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#3  0x00007f1d017015c4 in _XReply () from /usr/lib64/libX11.so.6
#4  0x00007f1d016ddab7 in XGetImage () from /usr/lib64/libX11.so.6
#5  0x00007f1d045284de in QX11PixmapData::toImage (this=0x30575d0) at image/qpixmap_x11.cpp:1422
#6  0x00007f1d0451715d in QPixmap::toImage (this=0x7fff1203c780) at image/qpixmap.cpp:447
#7  0x00000000005256be in Digikam::CameraIconView::addItem (this=0x29d53b0, info=@0x7fff1203c8c0) at /home/rkrell/src/KDE/graphics/digikam/utilities/cameragui/cameraiconview.cpp:337
#8  0x0000000000542d0d in Digikam::CameraUI::slotFileList (this=0xd129f0, fileList=@0x7f1cc0f676d0) at /home/rkrell/src/KDE/graphics/digikam/utilities/cameragui/cameraui.cpp:1075
#9  0x000000000055081c in Digikam::CameraUI::qt_metacall (this=0xd129f0, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7f1cc0f478a0)
    at /home/rkrell/src/KDE/graphics/build/digikam/digikam/cameraui.moc:191
#10 0x00007f1d0390b058 in QObject::event (this=0xd129f0, e=0x7f1cc0f5edd0) at kernel/qobject.cpp:1118
#11 0x00007f1d044a661d in QWidget::event (this=0xd129f0, event=0x7f1cc0f5edd0) at kernel/qwidget.cpp:7913
#12 0x00007f1d048402cb in QMainWindow::event (this=0xd129f0, event=0x7f1cc0f5edd0) at widgets/qmainwindow.cpp:1396
#13 0x00007f1d05953038 in KXmlGuiWindow::event (this=0x8, ev=0x7fff1203c010) at /usr/src/debug/kdelibs-4.2.2/kdeui/xmlgui/kxmlguiwindow.cpp:131
#14 0x00007f1d04455e8d in QApplicationPrivate::notify_helper (this=0xaed1f0, receiver=0xd129f0, e=0x7f1cc0f5edd0) at kernel/qapplication.cpp:4084
#15 0x00007f1d0445e09a in QApplication::notify (this=0x7fff1203d940, receiver=0xd129f0, e=0x7f1cc0f5edd0) at kernel/qapplication.cpp:4049
#16 0x00007f1d0584f1db in KApplication::notify (this=0x7fff1203d940, receiver=0xd129f0, event=0x7f1cc0f5edd0) at /usr/src/debug/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#17 0x00007f1d038faf3c in QCoreApplication::notifyInternal (this=0x7fff1203d940, receiver=0xd129f0, event=0x7f1cc0f5edd0) at kernel/qcoreapplication.cpp:602
#18 0x00007f1d038fbbba in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xabcf40) at kernel/qcoreapplication.h:213
#19 0x00007f1d039249d3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#20 0x00007f1cfff9e0db in IA__g_main_context_dispatch (context=0xaefd20) at gmain.c:2144
#21 0x00007f1cfffa18ad in g_main_context_iterate (context=0xaefd20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#22 0x00007f1cfffa1a6b in IA__g_main_context_iteration (context=0xaefd20, may_block=1) at gmain.c:2841
#23 0x00007f1d0392465f in QEventDispatcherGlib::processEvents (this=0xad6510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#24 0x00007f1d044ecb1f in QGuiEventDispatcherGlib::processEvents (this=0x8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#25 0x00007f1d038f97d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 302241360}) at kernel/qeventloop.cpp:149
#26 0x00007f1d038f9b9d in QEventLoop::exec (this=0x7fff1203d690, flags={i = 302241440}) at kernel/qeventloop.cpp:200
#27 0x00007f1d038fbe84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#28 0x0000000000770242 in main (argc=3, argv=0x7fff1203deb8) at /home/rkrell/src/KDE/graphics/digikam/digikam/main.cpp:183
Comment 1 Christophe Marin 2009-05-31 13:50:46 UTC
*** Bug 194684 has been marked as a duplicate of this bug. ***
Comment 2 Marcel Wiesweg 2009-06-14 16:03:44 UTC
The relevant code was removed on May 13th. Please try again.
Comment 3 René Krell 2009-07-10 10:08:12 UTC
You are right, this does no longer happen for me in 1.0.0 Beta 2 (on OpenSUSE 11.2 Factory Milestone3 using KDE 4.3 RC1). No crashes seen the last time at all since using this combination.
Comment 4 caulier.gilles 2009-07-10 14:42:53 UTC
Thanks René.

I close this file now.

Gilles Caulier