Bug 189542 - Crash on opening download dialog
Summary: Crash on opening download dialog
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-UMS (show other bugs)
Version: 0.10.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-13 16:53 UTC by René Krell
Modified: 2017-08-16 09:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René Krell 2009-04-13 16:53:43 UTC
Version:           0.10.0 (using 4.2.2 (KDE 4.2.2) "release 112", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.21-0.1-default

Once Digikam crashed on download it, it crashes repeatedly with the following backtrace on trying to reopen it directly with the "Download photos with Digikam" KDE action.


Application: digiKam (digikam), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
   from /lib64/libpthread.so.0
[Current thread is 1 (Thread 0x7fc8860d5750 (LWP 15808))]

Thread 10 (Thread 0x7fc875184950 (LWP 15810)):
#0  0x00007fc87fb6dd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc87fddef79 in QWaitCondition::wait (this=0xa34838, mutex=0xa34830, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x0000000000640203 in Digikam::ScanController::run (this=0xa2c320) at /usr/src/debug/digikam-0.10.0/digikam/scancontroller.cpp:412
#3  0x00007fc87fdddfc2 in QThreadPrivate::start (arg=0xa2c320) at thread/qthread_unix.cpp:189
#4  0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc87f16310d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fc86cb4a950 (LWP 15813)):
#0  0x00007fc87fb6dd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc87fddef79 in QWaitCondition::wait (this=0xcc6720, mutex=0xcc6718, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fc883257e6c in Digikam::LoadSaveThread::run (this=0xcc6700) at /usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fc87fdddfc2 in QThreadPrivate::start (arg=0xcc6700) at thread/qthread_unix.cpp:189
#4  0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc87f16310d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fc86d34b950 (LWP 15814)):
#0  0x00007fc87fb6dd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc87fddef79 in QWaitCondition::wait (this=0xbfddf0, mutex=0xbfdde8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fc883257e6c in Digikam::LoadSaveThread::run (this=0xbfddd0) at /usr/src/debug/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007fc87fdddfc2 in QThreadPrivate::start (arg=0xbfddd0) at thread/qthread_unix.cpp:189
#4  0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc87f16310d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc865654950 (LWP 15815)):
#0  0x00007fc87fb6dfdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc86a47b631 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fc87f16310d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc863576950 (LWP 15816)):
#0  0x00007fc87fb6dfdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc86a4896a5 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fc87f16310d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc862d75950 (LWP 15817)):
#0  0x00007fc87fb6d130 in pthread_mutex_unlock () from /lib64/libpthread.so.0
#1  0x00007fc87c55a721 in g_main_context_iterate (context=0xb15100, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3090
#2  0x00007fc87c55aa6b in IA__g_main_context_iteration (context=0xb15100, may_block=1) at gmain.c:2841
#3  0x00007fc87fef067e in QEventDispatcherGlib::processEvents (this=0xa6c2e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#4  0x00007fc87fec57d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1658277872}) at kernel/qeventloop.cpp:149
#5  0x00007fc87fec5b9d in QEventLoop::exec (this=0x7fc862d75030, flags={i = 1658277952}) at kernel/qeventloop.cpp:200
#6  0x00007fc87fddb028 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:481
#7  0x00007fc86a6d6b12 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007fc87fdddfc2 in QThreadPrivate::start (arg=0x9fd5d0) at thread/qthread_unix.cpp:189
#9  0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc87f16310d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc8622d1950 (LWP 15820)):
#0  0x00007fc87f15fd69 in syscall () from /lib64/libc.so.6
#1  0x00007fc87ee8a2e6 in v4l2_read () from /usr/lib64/libv4l2.so.0
#2  0x00007fc86ab0ffa5 in snd_ctl_hw_read () from /usr/lib64/libasound.so.2
#3  0x00007fc86ab0ad38 in snd_hctl_handle_events () from /usr/lib64/libasound.so.2
#4  0x00007fc86ab14935 in snd_mixer_handle_events () from /usr/lib64/libasound.so.2
#5  0x00007fc86236fa00 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#6  0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#7  0x00007fc87f16310d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc861ad0950 (LWP 15821)):
#0  0x00007fc87fb6dd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc86a48cc23 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#3  0x00007fc87f16310d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc852438950 (LWP 15832)):
[KCrash Handler]
#5  0x00007fc87f10fd65 in memcpy () from /lib64/libc.so.6
#6  0x00007fc87fe62bed in QIODevice::read (this=0xac1730, data=0x7fc852437060 "`h\222", maxSize=<value optimized out>) at /usr/include/bits/string3.h:52
#7  0x00007fc87fe4f86d in QDataStream::operator>> (this=0xb1b400, i=@0x7fc8524370b0) at io/qdatastream.cpp:665
#8  0x00007fc88054e69d in operator>> (s=@0x7fc852437060, st=@0x0) at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservice.cpp:52
#9  0x00007fc880555fce in operator>><KService::ServiceTypeAndPreference> (s=@0xb1b400, v=@0x1ee13c0) at /usr/include/QtCore/qdatastream.h:286
#10 0x00007fc88054fed5 in KServicePrivate::load (this=0x1ee1350, s=<value optimized out>) at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservice.cpp:351
#11 0x00007fc880550073 in KService (this=0x1e71b30, _str=@0xb1b400, _offset=1030140) at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservice_p.h:41
#12 0x00007fc8805580db in KServiceFactory::createEntry (this=<value optimized out>, offset=1030140) at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservicefactory.cpp:181
#13 0x00007fc880557ab1 in KServiceFactory::serviceOffers (this=0xb29850, serviceTypeOffset=12729, serviceOffersOffset=<value optimized out>)
    at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservicefactory.cpp:266
#14 0x00007fc8805656bf in KServiceTypeTrader::defaultOffers (this=<value optimized out>, serviceType=<value optimized out>, constraint=@0x7fc852437420)
    at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservicetypetrader.cpp:125
#15 0x00007fc880565f63 in KServiceTypeTrader::query (this=0xabb6e0, serviceType=@0x7fc852437430, constraint=@0x7fc852437420)
    at /usr/src/debug/kdelibs-4.2.2/kdecore/services/kservicetypetrader.cpp:141
#16 0x00000000004cb26c in Digikam::UMSCamera::loadKDEThumbCreator (this=<value optimized out>, folder=<value optimized out>, itemName=<value optimized out>, thumbnail=@0x7fc8524379b0)
    at /usr/src/debug/digikam-0.10.0/utilities/cameragui/umscamera.cpp:290
#17 0x00000000004ccf31 in Digikam::UMSCamera::getThumbnail (this=0x1d3ef30, folder=@0x7fc852437e50, itemName=@0x7fc852437e30, thumbnail=@0x7fc8524379b0)
    at /usr/src/debug/digikam-0.10.0/utilities/cameragui/umscamera.cpp:270
#18 0x00000000004f0a55 in Digikam::CameraController::executeCommand (this=0x1da19e0, cmd=<value optimized out>) at /usr/src/debug/digikam-0.10.0/utilities/cameragui/cameracontroller.cpp:439
#19 0x00000000004f1b7a in Digikam::CameraController::run (this=0x1da19e0) at /usr/src/debug/digikam-0.10.0/utilities/cameragui/cameracontroller.cpp:333
#20 0x00007fc87fdddfc2 in QThreadPrivate::start (arg=0x1da19e0) at thread/qthread_unix.cpp:189
#21 0x00007fc87fb6a070 in start_thread () from /lib64/libpthread.so.0
#22 0x00007fc87f16310d in clone () from /lib64/libc.so.6
#23 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc8860d5750 (LWP 15808)):
#0  0x00007fc87fb6dfdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc87fddda05 in thread_sleep (ti=0x7fff8e126b80) at thread/qthread_unix.cpp:298
#2  0x00007fc87fdddb6e in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:324
#3  0x00007fc86a6eef22 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fc8858adfb0 in ?? () from /usr/lib64/libphonon.so.4
#5  0x00007fc87f0c52ed in exit () from /lib64/libc.so.6
#6  0x00007fc880a7f338 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007fc881e1abf8 in KApplication::xioErrhandler (this=0x7fff8e128340, dpy=0x95a020) at /usr/src/debug/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:413
#8  0x00007fc87dcc5cae in _XIOError () from /usr/lib64/libX11.so.6
#9  0x00007fc87dccd01f in ?? () from /usr/lib64/libX11.so.6
#10 0x00007fc87dccd5e0 in _XReply () from /usr/lib64/libX11.so.6
#11 0x00007fc87dca9ab7 in XGetImage () from /usr/lib64/libX11.so.6
#12 0x00007fc880af44de in QX11PixmapData::toImage (this=0x7fc84c05e8b0) at image/qpixmap_x11.cpp:1422
#13 0x00007fc880ae315d in QPixmap::toImage (this=0x7fff8e127240) at image/qpixmap.cpp:447
#14 0x00000000004e7346 in Digikam::CameraIconView::addItem (this=0x1cbd690, info=@0x7fff8e127410) at /usr/src/debug/digikam-0.10.0/utilities/cameragui/cameraiconview.cpp:328
#15 0x00000000004fea60 in Digikam::CameraUI::slotFileList (this=0x1c5e580, fileList=@0x7fc84c002340) at /usr/src/debug/digikam-0.10.0/utilities/cameragui/cameraui.cpp:1069
#16 0x000000000050cd4a in Digikam::CameraUI::qt_metacall (this=0x1c5e580, _c=QMetaObject::InvokeMetaMethod, _id=-516, _a=0x7fc84c00aae0)
    at /usr/src/debug/digikam-0.10.0/build/digikam/cameraui.moc:190
#17 0x00007fc87fed7058 in QObject::event (this=0x1c5e580, e=0x7fc84c067ac0) at kernel/qobject.cpp:1118
#18 0x00007fc880a7261d in QWidget::event (this=0x1c5e580, event=0x7fc84c067ac0) at kernel/qwidget.cpp:7913
#19 0x00007fc880e0c2cb in QMainWindow::event (this=0x1c5e580, event=0x7fc84c067ac0) at widgets/qmainwindow.cpp:1396
#20 0x00007fc881f1f038 in KXmlGuiWindow::event (this=0x7fff8e126b04, ev=0xf74d) at /usr/src/debug/kdelibs-4.2.2/kdeui/xmlgui/kxmlguiwindow.cpp:131
#21 0x00007fc880a21e8d in QApplicationPrivate::notify_helper (this=0x952c50, receiver=0x1c5e580, e=0x7fc84c067ac0) at kernel/qapplication.cpp:4084
#22 0x00007fc880a2a09a in QApplication::notify (this=0x7fff8e128340, receiver=0x1c5e580, e=0x7fc84c067ac0) at kernel/qapplication.cpp:4049
#23 0x00007fc881e1b1db in KApplication::notify (this=0x7fff8e128340, receiver=0x1c5e580, event=0x7fc84c067ac0) at /usr/src/debug/kdelibs-4.2.2/kdeui/kernel/kapplication.cpp:307
#24 0x00007fc87fec6f3c in QCoreApplication::notifyInternal (this=0x7fff8e128340, receiver=0x1c5e580, event=0x7fc84c067ac0) at kernel/qcoreapplication.cpp:602
#25 0x00007fc87fec7bba in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x930dc0) at kernel/qcoreapplication.h:213
#26 0x00007fc87fef09d3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
#27 0x00007fc87c5570db in IA__g_main_context_dispatch (context=0x954da0) at gmain.c:2144
#28 0x00007fc87c55a8ad in g_main_context_iterate (context=0x954da0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2778
#29 0x00007fc87c55aa6b in IA__g_main_context_iteration (context=0x954da0, may_block=1) at gmain.c:2841
#30 0x00007fc87fef065f in QEventDispatcherGlib::processEvents (this=0x93c170, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#31 0x00007fc880ab8b1f in QGuiEventDispatcherGlib::processEvents (this=0x7fff8e126b04, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007fc87fec57d2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1911389632}) at kernel/qeventloop.cpp:149
#33 0x00007fc87fec5b9d in QEventLoop::exec (this=0x7fff8e128280, flags={i = -1911389552}) at kernel/qeventloop.cpp:200
#34 0x00007fc87fec7e84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#35 0x00000000006641d7 in main (argc=3, argv=0x7fff8e128fa8) at /usr/src/debug/digikam-0.10.0/digikam/main.cpp:190
Comment 1 caulier.gilles 2009-04-13 18:40:38 UTC
SVN commit 953293 by cgilles:

fix crash if KServiceTypeTrader is null
BUGS: 189542


 M  +3 -1      umscamera.cpp  
 M  +1 -1      umscamera.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=953293