[Digikam-devel] [digikam] [Bug 345907] While downloading new pictures from the SD-card of my Canon EOS 650D digicam crashes.

Georg Schilling bugs at george.in-dsl.de
Mon Apr 6 04:08:02 BST 2015


https://bugs.kde.org/show_bug.cgi?id=345907

--- Comment #2 from Georg Schilling <bugs at george.in-dsl.de> ---
Application: digikam (3.5.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-48-generic x86_64
Distribution: Ubuntu 14.04.2 LTS

-- Information about the crash:
a new try will fail also. as far as there where some downloads, it is not in
context to the files

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd0ffe1cac0 (LWP 17993))]

Thread 8 (Thread 0x7fd0db4ad700 (LWP 17995)):
#0  0x00007fd0f983412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd0e005a248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0db4ad700) at
pthread_create.c:312
#3  0x00007fd0f984147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fd0d4a15700 (LWP 17996)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fd0fa620dd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2,
op=0, addr=0x18f9e20) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this at entry=0x18f9e20, timeout=timeout at entry=-1)
at thread/qmutex_unix.cpp:113
#3  0x00007fd0fa61d3bd in QMutex::lock (this=<optimized out>) at
thread/qmutex.cpp:164
#4  0x00007fd0fce45a69 in Digikam::DatabaseAccess::DatabaseAccess
(this=<optimized out>) at
/build/buildd/digikam-3.5.0/core/libs/database/databaseaccess.cpp:101
#5  0x00007fd0fce3a300 in Digikam::CollectionManager::locationForAlbumRootId
(this=0x19af010, id=id at entry=1) at
/build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1287
#6  0x00007fd0fce33742 in Digikam::CollectionScanner::scanForStaleAlbums
(this=this at entry=0x7fd0d4a14ae0, locationIdsToScan=...) at
/build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:876
#7  0x00007fd0fce36e5c in Digikam::CollectionScanner::partialScan
(this=this at entry=0x7fd0d4a14ae0, albumRoot=..., album=...) at
/build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:677
#8  0x00007fd0fce3747c in Digikam::CollectionScanner::partialScan
(this=this at entry=0x7fd0d4a14ae0, filePath=...) at
/build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:617
#9  0x00000000005d5e49 in Digikam::ScanController::run (this=0x19b1030) at
/build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:798
#10 0x00007fd0fa62232f in QThreadPrivate::start (arg=0x19b1030) at
thread/qthread_unix.cpp:349
#11 0x00007fd0f4ac4182 in start_thread (arg=0x7fd0d4a15700) at
pthread_create.c:312
#12 0x00007fd0f984147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fd0cffff700 (LWP 17997)):
#0  0x00007fd0f983412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd0f22ebfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd0f22ec0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd0fa7517be in QEventDispatcherGlib::processEvents
(this=0x7fd0c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fd0fa7230af in QEventLoop::processEvents
(this=this at entry=0x7fd0cfffeae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd0fa7233a5 in QEventLoop::exec (this=this at entry=0x7fd0cfffeae0,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd0fa61fc5f in QThread::exec (this=this at entry=0x190f840) at
thread/qthread.cpp:537
#7  0x00007fd0fa704823 in QInotifyFileSystemWatcherEngine::run (this=0x190f840)
at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fd0fa62232f in QThreadPrivate::start (arg=0x190f840) at
thread/qthread_unix.cpp:349
#9  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0cffff700) at
pthread_create.c:312
#10 0x00007fd0f984147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fd0cf7fe700 (LWP 18122)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd0fa622816 in wait (time=18446744073709551615, this=0x1c90190) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x203d7d0,
mutex=mutex at entry=0x203d7c8, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007fd0fd49b79a in Digikam::ParkingThread::run (this=0x203d7b0) at
/build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fd0fa62232f in QThreadPrivate::start (arg=0x203d7b0) at
thread/qthread_unix.cpp:349
#5  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0cf7fe700) at
pthread_create.c:312
#6  0x00007fd0f984147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fd0c5d95700 (LWP 18123)):
#0  0x00007fd0f983412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd0f22ebfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd0f22ec0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd0fa7517be in QEventDispatcherGlib::processEvents
(this=0x7fd0b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fd0fa7230af in QEventLoop::processEvents
(this=this at entry=0x7fd0c5d94ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd0fa7233a5 in QEventLoop::exec (this=this at entry=0x7fd0c5d94ae0,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd0fa61fc5f in QThread::exec (this=this at entry=0x22377e0) at
thread/qthread.cpp:537
#7  0x00007fd0fa704823 in QInotifyFileSystemWatcherEngine::run (this=0x22377e0)
at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fd0fa62232f in QThreadPrivate::start (arg=0x22377e0) at
thread/qthread_unix.cpp:349
#9  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0c5d95700) at
pthread_create.c:312
#10 0x00007fd0f984147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fd0adffa700 (LWP 18959)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd0fa622816 in wait (time=18446744073709551615, this=0x7fd08c3de3b0)
at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>,
mutex=mutex at entry=0x7fd08c3615c0, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007fd0fa61e95b in QSemaphore::acquire (this=this at entry=0x7fd0adff9580,
n=n at entry=1) at thread/qsemaphore.cpp:144
#4  0x00007fd0fa738cb2 in QMetaObject::activate (sender=sender at entry=0x3ea5f90,
m=m at entry=0x89c980 <Digikam::CameraController::staticMetaObject>,
local_signal_index=local_signal_index at entry=18, argv=argv at entry=0x7fd0adff95d0)
at kernel/qobject.cpp:3513
#5  0x00000000007b68b7 in Digikam::CameraController::signalInternalCheckRename
(this=this at entry=0x3ea5f90, _t1=..., _t2=..., _t3=..., _t4=..., _t5=...) at
/build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:319
#6  0x00000000007bb95f in Digikam::CameraController::executeCommand
(this=this at entry=0x3ea5f90, cmd=cmd at entry=0x6553930) at
/build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:690
#7  0x00000000007be766 in Digikam::CameraController::run (this=0x3ea5f90) at
/build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:402
#8  0x00007fd0fa62232f in QThreadPrivate::start (arg=0x3ea5f90) at
thread/qthread_unix.cpp:349
#9  0x00007fd0f4ac4182 in start_thread (arg=0x7fd0adffa700) at
pthread_create.c:312
#10 0x00007fd0f984147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fd0bbde6700 (LWP 20685)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fd0fa620dd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2,
op=0, addr=0x18f9e20) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this at entry=0x18f9e20, timeout=timeout at entry=-1)
at thread/qmutex_unix.cpp:113
#3  0x00007fd0fa61d3bd in QMutex::lock (this=<optimized out>) at
thread/qmutex.cpp:164
#4  0x00007fd0fce45a69 in Digikam::DatabaseAccess::DatabaseAccess
(this=<optimized out>) at
/build/buildd/digikam-3.5.0/core/libs/database/databaseaccess.cpp:101
#5  0x00007fd0fce3d38a in Digikam::CollectionManager::locationForPath
(this=this at entry=0x19af010, givenPath=...) at
/build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1326
#6  0x00007fd0fce3d72c in Digikam::CollectionManager::locationForUrl
(this=0x19af010, fileUrl=...) at
/build/buildd/digikam-3.5.0/core/libs/database/collectionmanager.cpp:1321
#7  0x00007fd0fce63e79 in Digikam::ImageInfo::ImageInfo (this=0x7fd0bbde55e0,
url=...) at /build/buildd/digikam-3.5.0/core/libs/database/imageinfo.cpp:320
#8  0x00007fd0fce549ca in Digikam::DatabaseThumbnailInfoProvider::thumbnailInfo
(this=<optimized out>, path=...) at
/build/buildd/digikam-3.5.0/core/libs/database/databasethumbnailinfoprovider.cpp:45
#9  0x00007fd0fd483f74 in Digikam::ThumbnailCreator::makeThumbnailInfo
(this=this at entry=0x20c7c70, path=..., rect=...) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:347
#10 0x00007fd0fd488241 in Digikam::ThumbnailCreator::load (this=0x20c7c70,
path=..., rect=..., pregenerate=pregenerate at entry=true) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:228
#11 0x00007fd0fd488be0 in Digikam::ThumbnailCreator::pregenerate
(this=<optimized out>, path=...) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailcreator.cpp:183
#12 0x00007fd0fd497790 in Digikam::ThumbnailLoadingTask::execute
(this=0x6465bd0) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/thumbnailtask.cpp:82
#13 0x00007fd0fd46fa96 in Digikam::LoadSaveThread::run (this=0x2201890) at
/build/buildd/digikam-3.5.0/core/libs/threadimageio/loadsavethread.cpp:136
#14 0x00007fd0fd49d5de in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x2204e60) at
/build/buildd/digikam-3.5.0/core/libs/threads/dynamicthread.cpp:186
#15 0x00007fd0fa615fee in QThreadPoolThread::run (this=0x2ba55c0) at
concurrent/qthreadpool.cpp:108
#16 0x00007fd0fa62232f in QThreadPrivate::start (arg=0x2ba55c0) at
thread/qthread_unix.cpp:349
#17 0x00007fd0f4ac4182 in start_thread (arg=0x7fd0bbde6700) at
pthread_create.c:312
#18 0x00007fd0f984147d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fd0ffe1cac0 (LWP 17993)):
[KCrash Handler]
#6  0x00007fd08c1ecba0 in ?? ()
#7  0x00007fd0e435be85 in sqlite3MemCompare (pMem1=pMem1 at entry=0x7fff6477c1c0,
pMem2=0x6544d40, pColl=0x6517328) at sqlite3.c:60470
#8  0x00007fd0e435bf63 in sqlite3VdbeRecordCompare (nKey1=75, pKey1=0x599c69d,
pPKey2=pPKey2 at entry=0x7fff6477c4d8) at sqlite3.c:64162
#9  0x00007fd0e4370579 in sqlite3BtreeMovetoUnpacked (pCur=0x6b08998,
pIdxKey=0x7fff6477c4d8, intKey=0, biasRight=<optimized out>,
pRes=0x7fff6477c4c0) at sqlite3.c:55077
#10 0x00007fd0e4398848 in sqlite3VdbeExec (p=p at entry=0x5f1ac88) at
sqlite3.c:70345
#11 0x00007fd0e43a0ed7 in sqlite3Step (p=0x5f1ac88) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fd0d401011c in QSQLiteResultPrivate::fetchNext
(this=this at entry=0x3f724f0, values=..., idx=idx at entry=0,
initialFetch=initialFetch at entry=true) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fd0d4010e48 in QSQLiteResult::exec (this=0x6511fc0) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fd0ffa49b7d in QSqlQuery::exec (this=this at entry=0x7fff6477ca38) at
kernel/qsqlquery.cpp:949
#16 0x00007fd0fd454a26 in Digikam::DatabaseCoreBackend::exec (this=0x19bdda0,
query=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fd0fd454cee in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x19bdda0, query=..., boundValue1=..., boundValue2=...,
boundValue3=..., boundValue4=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1085
#18 0x00007fd0fd455d95 in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x19bdda0, sql=..., boundValue1=..., boundValue2=...,
boundValue3=..., boundValue4=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1030
#19 0x00007fd0fd455de9 in Digikam::DatabaseCoreBackend::execSql
(this=0x19bdda0, sql=..., boundValue1=..., boundValue2=..., boundValue3=...,
boundValue4=..., values=values at entry=0x0,
lastInsertId=lastInsertId at entry=0x7fff6477cab0) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:928
#20 0x00007fd0fce07be5 in Digikam::AlbumDB::addToDownloadHistory
(this=0x19fd990, identifier=..., name=..., fileSize=fileSize at entry=22198025,
date=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:3131
#21 0x00007fd0fce55141 in Digikam::DownloadHistory::setDownloaded
(identifier=..., name=..., fileSize=fileSize at entry=22198025, date=...) at
/build/buildd/digikam-3.5.0/core/libs/database/downloadhistory.cpp:52
#22 0x00000000007aa998 in Digikam::ImportUI::slotDownloaded (this=0x59bc2e0,
folder=..., file=..., status=<optimized out>) at
/build/buildd/digikam-3.5.0/core/utilities/importui/main/importui.cpp:1570
#23 0x00000000007ae721 in Digikam::ImportUI::qt_static_metacall (_o=0x59bc2e0,
_c=32, _id=93963939, _a=0x20) at
/build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:210
#24 0x00007fd0fa73887a in QMetaObject::activate (sender=sender at entry=0x3ea5f90,
m=m at entry=0x89c980 <Digikam::CameraController::staticMetaObject>,
local_signal_index=local_signal_index at entry=9, argv=argv at entry=0x7fff6477cef0)
at kernel/qobject.cpp:3539
#25 0x00000000007b6699 in Digikam::CameraController::signalDownloaded
(this=this at entry=0x3ea5f90, _t1=..., _t2=..., _t3=_t3 at entry=1) at
/build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:257
#26 0x00000000007bea9d in Digikam::CameraController::slotCheckRename
(this=0x3ea5f90, folder=..., file=..., destination=..., temp=..., script=...)
at
/build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:898
#27 0x00000000007bfb29 in Digikam::CameraController::qt_static_metacall
(_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized
out>) at
/build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/cameracontroller.moc:141
#28 0x00007fd0fa73cc1e in QObject::event (this=0x3ea5f90, e=<optimized out>) at
kernel/qobject.cpp:1194
#29 0x00007fd0fb116e2c in QApplicationPrivate::notify_helper
(this=this at entry=0x182b7f0, receiver=receiver at entry=0x3ea5f90,
e=e at entry=0x7fd08c42a110) at kernel/qapplication.cpp:4567
#30 0x00007fd0fb11d4a0 in QApplication::notify (this=this at entry=0x7fff6477dda0,
receiver=receiver at entry=0x3ea5f90, e=e at entry=0x7fd08c42a110) at
kernel/qapplication.cpp:4353
#31 0x00007fd0fbe21d1a in KApplication::notify (this=0x7fff6477dda0,
receiver=0x3ea5f90, event=0x7fd08c42a110) at
../../kdeui/kernel/kapplication.cpp:311
#32 0x00007fd0fa7244dd in QCoreApplication::notifyInternal
(this=0x7fff6477dda0, receiver=receiver at entry=0x3ea5f90,
event=event at entry=0x7fd08c42a110) at kernel/qcoreapplication.cpp:953
#33 0x00007fd0fa727b3d in sendEvent (event=0x7fd08c42a110, receiver=0x3ea5f90)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x17afd60) at
kernel/qcoreapplication.cpp:1577
#35 0x00007fd0fa727fe3 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1470
#36 0x00007fd0fa751f83 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0x182a280) at
kernel/qeventdispatcher_glib.cpp:287
#38 0x00007fd0f22ebe04 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fd0f22ec048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fd0f22ec0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fd0fa7517a1 in QEventDispatcherGlib::processEvents (this=0x1758c00,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#42 0x00007fd0fb1b8bb6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fd0fa7230af in QEventLoop::processEvents
(this=this at entry=0x7fff6477d880, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fd0fa7233a5 in QEventLoop::exec (this=this at entry=0x7fff6477d880,
flags=...) at kernel/qeventloop.cpp:204
#45 0x00007fd0fa728b79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#46 0x00007fd0fb11537c in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at
/build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 345907, bug 344587, bug 344216, bug 343243,
bug 343014.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list