Summary: | Digikam crash when i try to import photos from my card reader | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Adrien BIGOT <bigot.adrien> |
Component: | Import-UMS | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | marcel.wiesweg |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.0.0 | |
Sentry Crash Report: |
Description
Adrien BIGOT
2009-05-11 08:53:56 UTC
Crash appears in Qt4... there is no more info. Hard to hack. Are you installed debug packages ? Which camera, Which mode (PTP, UMS) ? Which libgphoto2 ? (look Help/Components Infos for details) Gilles Caulier I try on a second computer (at my office) with another cardreader and the problem is the same. I don't have the debbug package but I can install it. It's not a camera, it's two card readers with an SDcard 2GB Sandisk. digiKam version 0.10.0 Exiv2 peut écrire dans un fichier Jp2: Oui Exiv2 peut écrire dans un fichier Jpeg: Oui Exiv2 peut écrire dans un fichier Png: Oui Exiv2 peut écrire dans un fichier Tiff: Oui Exiv2 prend en charge les méta-données XMP: Oui LibCImg: 130 LibExiv2: 0.18 LibJPEG: 62 LibJasper: 1.900.1 LibKDE: 4.2.2 (KDE 4.2.2) LibKExiv2: 0.5.0 LibKdcraw: 0.4.2 LibLCMS: 118 LibPNG: 1.2.27 LibQt: 4.5.0 LibRaw: 0.6.15-Release LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. Élément graphique Marble: 0.7.1 LibGPhoto2: 2.4.2 Libkipi: 0.3.0 Thanks ! I recommend to use Exiv2 0.18.1 instead 0.18.0... Just to be sure... Gilles Same Problem with Exiv2 0.18.1 Here backtrace with debug package installed : Application : digiKam (digikam), signal SIGSEGV [Current thread is 0 (LWP 7661)] Thread 10 (Thread 0xb2f73b90 (LWP 7662)): #0 0xb7fa7430 in __kernel_vsyscall () #1 0xb53fc0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54fe2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb56ea9b2 in QWaitCondition::wait (this=0x8bbb360, mutex=0x8bbb35c, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0x0828f319 in Digikam::ScanController::run (this=0x8bafae8) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:412 #5 0xb56e996e in QThreadPrivate::start (arg=0x8bafae8) at thread/qthread_unix.cpp:189 #6 0xb53f84ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb54ef49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 9 (Thread 0xb2438b90 (LWP 7664)): #0 0xb7fa7430 in __kernel_vsyscall () #1 0xb53fc0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54fe2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb56ea9b2 in QWaitCondition::wait (this=0x8d62098, mutex=0x8d62094, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb71dcd4a in Digikam::LoadSaveThread::run (this=0x8d62088) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131 #5 0xb56e996e in QThreadPrivate::start (arg=0x8d62088) at thread/qthread_unix.cpp:189 #6 0xb53f84ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb54ef49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 8 (Thread 0xb19ffb90 (LWP 7665)): #0 0xb7fa7430 in __kernel_vsyscall () #1 0xb53fc0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54fe2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb56ea9b2 in QWaitCondition::wait (this=0x8dce1a8, mutex=0x8dce1a4, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb71dcd4a in Digikam::LoadSaveThread::run (this=0x8dce198) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131 #5 0xb56e996e in QThreadPrivate::start (arg=0x8dce198) at thread/qthread_unix.cpp:189 #6 0xb53f84ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb54ef49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 7 (Thread 0xaed83b90 (LWP 7666)): #0 0xb7fa7430 in __kernel_vsyscall () #1 0xb53fc412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54fe344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0xafc14ae3 in ?? () from /usr/lib/libxine.so.1 Thread 6 (Thread 0xae0e2b90 (LWP 7667)): #0 0xb7fa7430 in __kernel_vsyscall () #1 0xb54e77b1 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0xafc3e7d6 in xine_usec_sleep () from /usr/lib/libxine.so.1 #3 0x00000000 in ?? () Thread 5 (Thread 0xad8e1b90 (LWP 7668)): #0 0xb4a1a0ac in clock_gettime () from /lib/tls/i686/cmov/librt.so.1 #1 0xb580b06b in QTimerInfoList::getTime (this=0x9345ecc, t=@0x9345ef0) at kernel/qeventdispatcher_unix.cpp:339 #2 0xb580b241 in QTimerInfoList::updateCurrentTime (this=0x9345ecc) at kernel/qeventdispatcher_unix.cpp:297 #3 0xb580ce2c in QTimerInfoList::timerWait (this=0x9345ecc, tm=@0xad8e1124) at kernel/qeventdispatcher_unix.cpp:420 #4 0xb580961a in timerSourcePrepare (source=0xb4a1dff4, timeout=0xad8e1178) at kernel/qeventdispatcher_glib.cpp:140 #5 0xb4ab69c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #6 0xb4ab6dda in ?? () from /usr/lib/libglib-2.0.so.0 #7 0xb4ab7268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #8 0xb5809457 in QEventDispatcherGlib::processEvents (this=0x9345528, flags={i = -1383198104}) at kernel/qeventdispatcher_glib.cpp:325 #9 0xb57dc06a in QEventLoop::processEvents (this=0xad8e12e0, flags={i = -1383198040}) at kernel/qeventloop.cpp:149 #10 0xb57dc4aa in QEventLoop::exec (this=0xad8e12e0, flags={i = -1383197976}) at kernel/qeventloop.cpp:200 #11 0xb56e6639 in QThread::exec (this=0x9345158) at thread/qthread.cpp:481 #12 0xb1b2920a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #13 0xb56e996e in QThreadPrivate::start (arg=0x9345158) at thread/qthread_unix.cpp:189 #14 0xb53f84ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #15 0xb54ef49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (Thread 0xad0e0b90 (LWP 7671)): #0 0xb7fa7430 in __kernel_vsyscall () #1 0xb54dee2b in read () from /lib/tls/i686/cmov/libc.so.6 #2 0xafdd44e2 in ?? () from /usr/lib/libasound.so.2 #3 0xafdd1a2d in snd_ctl_read () from /usr/lib/libasound.so.2 #4 0xafdcddff in snd_hctl_handle_events () from /usr/lib/libasound.so.2 #5 0xafdd9fa1 in snd_mixer_handle_events () from /usr/lib/libasound.so.2 #6 0xae504b69 in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 3 (Thread 0xac6ffb90 (LWP 7672)): #0 0xb7fa7430 in __kernel_vsyscall () #1 0xb53fc0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54fe2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xafc25d8e in ?? () from /usr/lib/libxine.so.1 #4 0x00000001 in ?? () #5 0x00000000 in ?? () Thread 2 (Thread 0xabefeb90 (LWP 8232)): [KCrash Handler] #6 QByteArray::data (this=0xa211275c) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:69 #7 0xb57768c8 in QIODevice::read (this=0x8ec57e0, data=0xabefdbc8 "pf�\b�\237�����\b", maxSize=4) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:111 #8 0xb57612af in QDataStream::operator>> (this=0x8ebebd0, i=@0xabefdbf4) at io/qdatastream.cpp:665 #9 0xb5b01c01 in KSycoca::findEntry (this=0x8ebfef8, offset=828226, type=@0xabefdc54) at /build/buildd/kde4libs-4.2.2/kdecore/sycoca/ksycoca.cpp:365 #10 0xb5a61c0f in KServiceFactory::createEntry (this=0x8ed8860, offset=828226) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservicefactory.cpp:178 #11 0xb5a61491 in KServiceFactory::serviceOffers (this=0x8ed8860, serviceTypeOffset=12506, serviceOffersOffset=<value optimized out>) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservicefactory.cpp:266 #12 0xb5a6fd0a in KServiceTypeTrader::defaultOffers (this=0x8ebb378, serviceType=@0xabefde28, constraint=@0xabefde24) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservicetypetrader.cpp:125 #13 0xb5a705f5 in KServiceTypeTrader::query (this=0x8ebb378, serviceType=@0xabefde28, constraint=@0xabefde24) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservicetypetrader.cpp:141 #14 0x0810a777 in Digikam::UMSCamera::loadKDEThumbCreator (this=0xa8fdf18, folder=@0xabefe274, itemName=@0xabefe26c, thumbnail=@0xabefe104) at /build/buildd/digikam-0.10.0/utilities/cameragui/umscamera.cpp:290 #15 0x0810bb5d in Digikam::UMSCamera::getThumbnail (this=0xa8fdf18, folder=@0xabefe274, itemName=@0xabefe26c, thumbnail=@0xabefe104) at /build/buildd/digikam-0.10.0/utilities/cameragui/umscamera.cpp:270 #16 0x08131ff3 in Digikam::CameraController::executeCommand (this=0xa92f7e0, cmd=0xa71aac8) at /build/buildd/digikam-0.10.0/utilities/cameragui/cameracontroller.cpp:439 #17 0x081335ac in Digikam::CameraController::run (this=0xa92f7e0) at /build/buildd/digikam-0.10.0/utilities/cameragui/cameracontroller.cpp:333 #18 0xb56e996e in QThreadPrivate::start (arg=0xa92f7e0) at thread/qthread_unix.cpp:189 #19 0xb53f84ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #20 0xb54ef49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb46a5920 (LWP 7661)): #0 0xb7fa7430 in __kernel_vsyscall () #1 0xb53fc412 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb54fe344 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb56e9359 in thread_sleep (ti=0xbfcc2340) at thread/qthread_unix.cpp:298 #4 0xb56e948b in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:324 #5 0xb1b4f2d4 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #6 0xb7f3eae2 in ?? () from /usr/lib/libphonon.so.4 #7 0xb7f3bfb5 in ?? () from /usr/lib/libphonon.so.4 #8 0xb7f3965b in ?? () from /usr/lib/libphonon.so.4 #9 0xb5439bb9 in exit () from /lib/tls/i686/cmov/libc.so.6 #10 0xb5d132ab in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707 #11 0xb68d32fa in KApplication::xioErrhandler (this=0xbfcc3474, dpy=0x8af9790) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:413 #12 0xb68d3336 in kde_xio_errhandler (dpy=0x8af9790) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:130 #13 0xb5286f22 in _XIOError () from /usr/lib/libX11.so.6 #14 0xb528e743 in ?? () from /usr/lib/libX11.so.6 #15 0xb528eccd in _XReply () from /usr/lib/libX11.so.6 #16 0xb526b3b9 in XGetImage () from /usr/lib/libX11.so.6 #17 0xb5d9087f in QX11PixmapData::toImage (this=0xab226f8) at image/qpixmap_x11.cpp:1422 #18 0xb5d7e0cb in QPixmap::toImage (this=0xbfcc2954) at image/qpixmap.cpp:447 #19 0x08127f53 in Digikam::CameraIconView::addItem (this=0xa0c8320, info=@0xbfcc2a30) at /build/buildd/digikam-0.10.0/utilities/cameragui/cameraiconview.cpp:328 #20 0x08141ce4 in Digikam::CameraUI::slotFileList (this=0xa6b3f08, fileList=@0xa76ed968) at /build/buildd/digikam-0.10.0/utilities/cameragui/cameraui.cpp:1069 #21 0x081507d6 in Digikam::CameraUI::qt_metacall (this=0xa6b3f08, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0xa76deb00) at /build/buildd/digikam-0.10.0/obj-i486-linux-gnu/digikam/cameraui.moc:191 #22 0xb57ec8fb in QMetaCallEvent::placeMetaCall (this=0xa76dfc38, object=0xa6b3f08) at kernel/qobject.cpp:489 #23 0xb57ee3a0 in QObject::event (this=0xa6b3f08, e=0xa76dfc38) at kernel/qobject.cpp:1118 #24 0xb5d054d0 in QWidget::event (this=0xa6b3f08, event=0xa76dfc38) at kernel/qwidget.cpp:7913 #25 0xb60fd4c7 in QMainWindow::event (this=0xa6b3f08, event=0xa76dfc38) at widgets/qmainwindow.cpp:1396 #26 0xb69b7327 in KMainWindow::event (this=0xa6b3f08, ev=0xa76dfc38) at /build/buildd/kde4libs-4.2.2/kdeui/widgets/kmainwindow.cpp:1094 #27 0xb69fc10c in KXmlGuiWindow::event (this=0xa6b3f08, ev=0xa76dfc38) at /build/buildd/kde4libs-4.2.2/kdeui/xmlgui/kxmlguiwindow.cpp:131 #28 0xb5caef2c in QApplicationPrivate::notify_helper (this=0x8ae37f0, receiver=0xa6b3f08, e=0xa76dfc38) at kernel/qapplication.cpp:4084 #29 0xb5cb7312 in QApplication::notify (this=0xbfcc3474, receiver=0xa6b3f08, e=0xa76dfc38) at kernel/qapplication.cpp:4049 #30 0xb68d394d in KApplication::notify (this=0xbfcc3474, receiver=0xa6b3f08, event=0xa76dfc38) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307 #31 0xb57dda3b in QCoreApplication::notifyInternal (this=0xbfcc3474, receiver=0xa6b3f08, event=0xa76dfc38) at kernel/qcoreapplication.cpp:602 #32 0xb57de695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8abed80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #33 0xb57de88d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132 #34 0xb58097ef in postEventSourceDispatch (s=0x8ae5b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #35 0xb4ab3b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #36 0xb4ab70eb in ?? () from /usr/lib/libglib-2.0.so.0 #37 0xb4ab7268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #38 0xb5809438 in QEventDispatcherGlib::processEvents (this=0x8acf5c0, flags={i = -1077136600}) at kernel/qeventdispatcher_glib.cpp:323 #39 0xb5d503f5 in QGuiEventDispatcherGlib::processEvents (this=0x8acf5c0, flags={i = -1077136552}) at kernel/qguieventdispatcher_glib.cpp:202 #40 0xb57dc06a in QEventLoop::processEvents (this=0xbfcc33d0, flags={i = -1077136488}) at kernel/qeventloop.cpp:149 #41 0xb57dc4aa in QEventLoop::exec (this=0xbfcc33d0, flags={i = -1077136424}) at kernel/qeventloop.cpp:200 #42 0xb57de959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880 #43 0xb5caeda7 in QApplication::exec () at kernel/qapplication.cpp:3553 #44 0x082b4e3b in main (argc=5, argv=0xbfcc36d4) at /build/buildd/digikam-0.10.0/digikam/main.cpp:190 Thanks, Adrien Ah, now, i see what is that: ./../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:111 #8 0xb57612af in QDataStream::operator>> (this=0x8ebebd0, i=@0xabefdbf4) at io/qdatastream.cpp:665 #9 0xb5b01c01 in KSycoca::findEntry (this=0x8ebfef8, offset=828226, type=@0xabefdc54) at /build/buildd/kde4libs-4.2.2/kdecore/sycoca/ksycoca.cpp:365 #10 0xb5a61c0f in KServiceFactory::createEntry (this=0x8ed8860, offset=828226) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservicefactory.cpp:178 You have a viseo file on your CF. I have already fixed this crash in 0.11.0 (code from trunk) Can you checkout code from KDE svn repository, compile/install and test again ? Gilles Caulier I've compiled the 0.11.0-svn version, the problem appear again but sometime no. I've successfuly import photos and video but the bug remains sometime. I can't have backtrace. I've git this message : "Cette pile des appels apparaît être inutilisable. C'est probablement dû au fait que votre paquetage a été construit d'une manière qui empêche de créer des piles d'appels corrects, ou que le cadre de pile a été sérieusement corrompu dans l'incident." I suppose it's because the package digikam-dbg isn't built for this version of digikam. Adrien Just run digikam in a console under gdb like this : http://www.digikam.org/contrib Gilles Here two different backtraces : The first : [New Thread 0xaa7dab90 (LWP 4088)] Object::connect: No such signal Digikam::CameraController::signalDownloadCompleted(const QString&, const QString&, const QString&, const QString&) in /home/adbig/down/svn/graphics/digikam/utilities/cameragui/cameraui.cpp:656 Style reset requested. Style reset requested. Style reset requested. Style reset requested. start generate indexes generated indexes MarblePlacemarkModel (generateIndex): Time elapsed: 17 ms Style reset requested. Style reset requested. timeChanged void SunLocator::update() Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xaa7dab90 (LWP 4088)] 0xb5755848 in QIODevice::seek (this=0xa7ac620, pos=736811) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:377 377 ../../include/QtCore/../../src/corelib/tools/qbytearray.h: No such file or directory. in ../../include/QtCore/../../src/corelib/tools/qbytearray.h The second : [New Thread 0xaaffbb90 (LWP 4302)] Object::connect: No such signal Digikam::CameraController::signalDownloadCompleted(const QString&, const QString&, const QString&, const QString&) in /home/adbig/down/svn/graphics/digikam/utilities/cameragui/cameraui.cpp:656 Style reset requested. Style reset requested. Style reset requested. Style reset requested. start generate indexes generated indexes MarblePlacemarkModel (generateIndex): Time elapsed: 16 ms Style reset requested. Style reset requested. timeChanged void SunLocator::update() Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xaaffbb90 (LWP 4302)] 0xb5440896 in memcpy () from /lib/tls/i686/cmov/libc.so.6 Adrien Cousteau34, Please checkout code from svn agin (new debug string added), and run digiKam from the console. report all messages when you run Camera gui. Gilles OK I have the lastest version compiled Version 0.11.0-svn (rev.: 967214) Below, the gdb output when I click on the import/cardreader/cardreader MMC storage device ......2GB QGridLayout: Multi-cell fromRow greater than toRow QGridLayout: Multi-cell fromRow greater than toRow QGridLayout: Multi-cell fromRow greater than toRow QGridLayout: Multi-cell fromRow greater than toRow Starting to load Plugins. === MarbleDirs: === Local Path: "/home/cousteau/.marble/data" Plugin Local Path: "/home/cousteau/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib/kde4/plugins/marble" =================== "CompassFloatItem.so" - "/usr/lib/kde4/plugins/marble/CompassFloatItem.so" loading: Marble::CompassFloatItem(0x23f17f0) Marble::CompassFloatItem(0x443d640) "MapScaleFloatItem.so" - "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so" loading: Marble::MapScaleFloatItem(0x23f1760) Marble::MapScaleFloatItem(0x5255470) "MarbleCrosshairsPlugin.so" - "/usr/lib/kde4/plugins/marble/MarbleCrosshairsPlugin.so" loading: Marble::MarbleCrosshairsPlugin(0x23fca10) Marble::MarbleCrosshairsPlugin(0x5258050) "MarbleGeoDataPlugin.so" - "/usr/lib/kde4/plugins/marble/MarbleGeoDataPlugin.so" loading: Marble::MarbleGeoDataPlugin(0x23fdc60) Marble::MarbleGeoDataPlugin(0x5253d60) "MarbleOverviewMap.so" - "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so" loading: Marble::MarbleOverviewMap(0x23feda0) Marble::MarbleOverviewMap(0x52582d0) "MarbleStarsPlugin.so" - "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so" loading: Marble::MarbleStarsPlugin(0x2400520) Marble::MarbleStarsPlugin(0x52546f0) "NavigationFloatItem.so" - "/usr/lib/kde4/plugins/marble/NavigationFloatItem.so" loading: Marble::NavigationFloatItem(0x23f45e0) Marble::NavigationFloatItem(0x5055200) Time elapsed: 3 ms Use workaround: 0 loadMapTheme "earth/citylights/citylights.dgml" loadMapTheme "earth/bluemarble/bluemarble.dgml" MapThemeId "earth/srtm/srtm.dgml" loadMapTheme "earth/srtm/srtm.dgml" DGML2 Name : "Atlas" adding container: "cityplacemarks.kml" false [New Thread 0x7ff33094c950 (LWP 27180)] starting parser for "cityplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache" adding container: "baseplacemarks.kml" false [New Thread 0x7ff32f0a3950 (LWP 27181)] starting parser for "baseplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache" Loading ended true [Thread 0x7ff32f0a3950 (LWP 27181) exited] adding container: "elevplacemarks.kml" false [New Thread 0x7ff32f0a3950 (LWP 27182)] starting parser for "elevplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache" Loading ended true [Thread 0x7ff32f0a3950 (LWP 27182) exited] adding container: "otherplacemarks.kml" false [New Thread 0x7ff32f0a3950 (LWP 27183)] starting parser for "otherplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache" Loading ended true [Thread 0x7ff32f0a3950 (LWP 27183) exited] adding container: "boundaryplacemarks" true [New Thread 0x7ff32f0a3950 (LWP 27184)] starting parser for "boundaryplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache" Loading ended true [Thread 0x7ff32f0a3950 (LWP 27184) exited] THEME CHANGED: *** "earth/srtm/srtm.dgml" SunLocator::setBody( QString ) Loading ended true [Thread 0x7ff33094c950 (LWP 27180) exited] [New Thread 0x7ff33094c950 (LWP 27185)] Object::connect: No such signal Digikam::CameraController::signalDownloadCompleted(const QString&, const QString&, const QString&, const QString&) in /home/cousteau/down/svn/graphics/digikam/utilities/cameragui/cameraui.cpp:673 Style reset requested. Style reset requested. Style reset requested. Style reset requested. start generate indexes generated indexes MarblePlacemarkModel (generateIndex): Time elapsed: 11 ms Style reset requested. Style reset requested. timeChanged void SunLocator::update() Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ff33094c950 (LWP 27185)] KServiceFactory::hasOffer (this=0x1cf2300, serviceTypeOffset=12375, serviceOffersOffset=0, testedServiceOffset=359423) at /usr/include/qt4/QtCore/qdatastream.h:195 195 { return dev; } Many thanks for your help ! Adrien This part: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ff33094c950 (LWP 27185)] KServiceFactory::hasOffer (this=0x1cf2300, serviceTypeOffset=12375, serviceOffersOffset=0, testedServiceOffset=359423) at /usr/include/qt4/QtCore/qdatastream.h:195 195 { return dev; } ...is a little bit short... Do you have the rest ? Also, please try with my commit #967265 Gilles Here, using Mandriva 2009.1, i have this messages form the console : digikam(25015)/digikam (core) Digikam::DImg::load: "/mnt/data/photos/Camera//P6090053.MOV" : QIMAGE file identified digikam(25015)/digikam (core) Digikam::QImageLoader::load: Cannot loading " "/mnt/data/photos/Camera//P6090053.MOV" " using DImg::QImageLoader! digikam(25015)/digikam (core) Digikam::UMSCamera::loadKDEThumbCreator: Mimetype : "video/quicktime" digikam(25015)/kdecore (KSycoca): "KServiceFactory: unexpected object entry in KSycoca database (type = 155685)" digikam(25015)/digikam (core) Digikam::UMSCamera::loadKDEThumbCreator: No relevant plugin found It do not crash, but no video thumb is generated as in album icon view. Also this line : digikam(25015)/kdecore (KSycoca): "KServiceFactory: unexpected object entry in KSycoca database (type = 155685)" ...is suspect. Why i have this message here ? The only difference between Camera Icon View and Album icon view is that thumb code run in a separate thread. This can be a problem with KDE code which can be not re-entrant for ex, or require Kapplication instance. Marcel, i would to have your viewpoint here ? I have consolidated KDE thumb creator code from umscamera code here : http://lxr.kde.org/source/extragear/graphics/digikam/utilities/cameragui/umscamera.cpp#276 Crash always appears in this method in Cousteau34 computer. On mine, it never crash (KDE 4.2.2), but do not get video thumb as in album icon view. Note that mplayerthumb is installed here. Gilles Marcel, Note that digiKam code is inspired from KDE Thumbnails kioslave : http://lxr.kde.org/source/KDE/kdebase/runtime/kioslave/thumbnail/thumbnail.cpp#255 Gilles Hi, I've tried with the Version 0.11.0-svn (rev.: 967327). The crash appears but in gdb "bt" doesn't give me intresting information : Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xa90ffb90 (LWP 11075)] 0xb53e3896 in memcpy () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb53e3896 in memcpy () from /lib/tls/i686/cmov/libc.so.6 #1 0x00000000 in ?? () (gdb) I've try again and again and now I think I have some interesting informations : QGridLayout: Multi-cell fromRow greater than toRow QGridLayout: Multi-cell fromRow greater than toRow QGridLayout: Multi-cell fromRow greater than toRow QGridLayout: Multi-cell fromRow greater than toRow Starting to load Plugins. === MarbleDirs: === Local Path: "/home/adbig/.marble/data" Plugin Local Path: "/home/adbig/.marble/plugins" Marble Data Path (Run Time) : "" Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" Marble Plugin Path (Run Time) : "" Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble" System Path: "/usr/share/kde4/apps/marble/data" Plugin System Path: "/usr/lib/kde4/plugins/marble" =================== "CompassFloatItem.so" - "/usr/lib/kde4/plugins/marble/CompassFloatItem.so" loading: Marble::CompassFloatItem(0xa0d5240) Marble::CompassFloatItem(0xba58d48) "MapScaleFloatItem.so" - "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so" loading: Marble::MapScaleFloatItem(0xa0e6900) Marble::MapScaleFloatItem(0xb854670) "MarbleCrosshairsPlugin.so" - "/usr/lib/kde4/plugins/marble/MarbleCrosshairsPlugin.so" loading: Marble::MarbleCrosshairsPlugin(0xa093350) Marble::MarbleCrosshairsPlugin(0xb63caa0) "MarbleGeoDataPlugin.so" - "/usr/lib/kde4/plugins/marble/MarbleGeoDataPlugin.so" loading: Marble::MarbleGeoDataPlugin(0xa0d5410) Marble::MarbleGeoDataPlugin(0xb8774e0) "MarbleOverviewMap.so" - "/usr/lib/kde4/plugins/marble/MarbleOverviewMap.so" loading: Marble::MarbleOverviewMap(0xa0d5d90) Marble::MarbleOverviewMap(0xb5f1188) "MarbleStarsPlugin.so" - "/usr/lib/kde4/plugins/marble/MarbleStarsPlugin.so" loading: Marble::MarbleStarsPlugin(0xa0e2e50) Marble::MarbleStarsPlugin(0xb66d2f0) "NavigationFloatItem.so" - "/usr/lib/kde4/plugins/marble/NavigationFloatItem.so" loading: Marble::NavigationFloatItem(0xa0e3380) Marble::NavigationFloatItem(0xb6a9d30) Time elapsed: 16 ms Use workaround: 0 loadMapTheme "earth/citylights/citylights.dgml" loadMapTheme "earth/bluemarble/bluemarble.dgml" MapThemeId "earth/srtm/srtm.dgml" loadMapTheme "earth/srtm/srtm.dgml" DGML2 Name : "Atlas" adding container: "cityplacemarks.kml" false [New Thread 0xac073b90 (LWP 11304)] adding container: "baseplacemarks.kml" false starting parser for "cityplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/cityplacemarks.cache" [New Thread 0xaa819b90 (LWP 11305)] starting parser for "baseplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/baseplacemarks.cache" Loading ended true [Thread 0xaa819b90 (LWP 11305) exited] adding container: "elevplacemarks.kml" false [New Thread 0xa365bb90 (LWP 11306)] adding container: "otherplacemarks.kml" false [New Thread 0xaa819b90 (LWP 11307)] starting parser for "elevplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/elevplacemarks.cache" Loading ended true starting parser for "otherplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/otherplacemarks.cache" Loading ended true adding container: "boundaryplacemarks" true [Thread 0xaa819b90 (LWP 11307) exited] [Thread 0xa365bb90 (LWP 11306) exited] [New Thread 0xab81bb90 (LWP 11308)] starting parser for "boundaryplacemarks" "Loading Default Placemark Cache File:/usr/share/kde4/apps/marble/data/placemarks/boundaryplacemarks.cache" Loading ended true [Thread 0xab81bb90 (LWP 11308) exited] THEME CHANGED: *** "earth/srtm/srtm.dgml" SunLocator::setBody( QString ) Loading ended true [Thread 0xac073b90 (LWP 11304) exited] [New Thread 0xac073b90 (LWP 11309)] Style reset requested. Style reset requested. Style reset requested. Style reset requested. start generate indexes generated indexes MarblePlacemarkModel (generateIndex): Time elapsed: 16 ms Style reset requested. Style reset requested. timeChanged void SunLocator::update() Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xac073b90 (LWP 11309)] 0xb54608b1 in memcpy () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb54608b1 in memcpy () from /lib/tls/i686/cmov/libc.so.6 #1 0xb576915e in QIODevice::read (this=0x9a34ee8, data=0xa26b285a "", maxSize=20) at /usr/include/bits/string3.h:52 #2 0xb5753fd0 in QDataStream::readRawData (this=0x9a33090, s=0xa26b285a "", len=20) at io/qdatastream.cpp:922 #3 0xb572efd9 in operator>> (in=@0x9a33090, str=@0xac072aa0) at tools/qstring.cpp:7236 #4 0xb5a4ae6b in operator>> (s=@0x9a33090, st=@0xac072a9c) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservice.cpp:52 #5 0xb5a5284a in operator>><KService::ServiceTypeAndPreference> (s=@0x9a33090, v=@0xa26b415c) at /usr/include/qt4/QtCore/qdatastream.h:292 #6 0xb5a4c5b4 in KServicePrivate::load (this=0xa26b4120, s=@0x9a33090) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservice.cpp:326 #7 0xb5a4c83b in KService (this=0xa233a950, _str=@0x9a33090, _offset=353101) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservice_p.h:41 #8 0xb5a54d19 in KServiceFactory::createEntry (this=0x9a4eb18, offset=353101) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservicefactory.cpp:181 #9 0xb5a54491 in KServiceFactory::serviceOffers (this=0x9a4eb18, serviceTypeOffset=59793, serviceOffersOffset=<value optimized out>) at /build/buildd/kde4libs-4.2.2/kdecore/services/kservicefactory.cpp:266 #10 0xb5a44d80 in mimeTypeSycocaServiceOffers (mimeType=@0xac072df0) at /build/buildd/kde4libs-4.2.2/kdecore/services/kmimetypetrader.cpp:76 #11 0xb5a45096 in KMimeTypeTrader::query (this=0xa240efd8, mimeType=@0xac072df0, genericServiceType=@0xac072dcc, constraint=@0xac072dc8) at /build/buildd/kde4libs-4.2.2/kdecore/services/kmimetypetrader.cpp:126 #12 0x0812cc13 in Digikam::UMSCamera::loadKDEThumbCreator (this=0xb8f4ad8, folder=@0xac073284, itemName=@0xac07327c, thumbnail=@0xac073080) at /home/adbig/down/svn/graphics/digikam/utilities/cameragui/umscamera.cpp:297 #13 0x0812e471 in Digikam::UMSCamera::getThumbnail (this=0xb8f4ad8, folder=@0xac073284, itemName=@0xac07327c, thumbnail=@0xac073080) at /home/adbig/down/svn/graphics/digikam/utilities/cameragui/umscamera.cpp:271 #14 0x08163d93 in Digikam::CameraController::executeCommand (this=0xb7c5428, cmd=0xb5a35d8) at /home/adbig/down/svn/graphics/digikam/utilities/cameragui/cameracontroller.cpp:439 #15 0x081675ed in Digikam::CameraController::run (this=0xb7c5428) at /home/adbig/down/svn/graphics/digikam/utilities/cameragui/cameracontroller.cpp:333 #16 0xb56dc96e in QThreadPrivate::start (arg=0xb7c5428) at thread/qthread_unix.cpp:189 #17 0xb53d44ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #18 0xb54cb49e in clone () from /lib/tls/i686/cmov/libc.so.6 I hope this can help. For information I reproduce this crash on my both computer. I will try on the computer of a friend to confirm the crash. Thanks ! Hum, It sound like it crash with this method from KDELibs : KMimeTypeTrader::query() Just to test i have disabled KDE thumbs code in digiKam UMS code with commit #967356. Can you try again ? Gilles Caulier SVN commit 967592 by cgilles: rewrite KDE thumb extraction using std KDE kio slave. Work only with UMS camera. BUG: 192294 M +6 -2 cameracontroller.cpp M +1 -0 cameracontroller.h M +69 -0 cameraui.cpp M +8 -0 cameraui.h M +5 -0 cameraui_p.h M +1 -87 umscamera.cpp M +0 -2 umscamera.h WebSVN link: http://websvn.kde.org/?view=rev&revision=967592 Very Good ! There is no crash ! I've tested revision 967572 I don't know if it's normal but I do not get video thumb. I have also à crash of Digikam at the start of the application but it's another problem I think. Thanks ! To get video thumbs, install mplayerthumbs package. It's the only way for the moment... Work very well here with mov, avi and mpeg files... Gilles Caulier |