[Digikam-devel] [digikam] [Bug 342143] New: Crashed while downloading from camera

Jeff theonlyjeffjordan at gmail.com
Mon Dec 22 23:50:12 GMT 2014


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

            Bug ID: 342143
           Summary: Crashed while downloading from camera
           Product: digikam
           Version: 3.5.0
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Import
          Assignee: digikam-devel at kde.org
          Reporter: theonlyjeffjordan at gmail.com

pplication: digikam (3.5.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-43-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
Although there are duplicate reports with a similar title, the original report
that they point to says completely different actions. I was simply downloading
files from a camera. There were about 60 photos and 20 movies. It got about 95%
finished before it crashed while downloading one of the movie files. I wasn't
doing anything else like 'browsing folders' which claim to be duplicate
reports.

-- 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 0x7f0eeeb95ac0 (LWP 10901))]

Thread 7 (Thread 0x7f0ec9f87700 (LWP 10910)):
#0  0x00007f0ee854dbad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0eceba6248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f0ee3778182 in start_thread (arg=0x7f0ec9f87700) at
pthread_create.c:312
#3  0x00007f0ee855aefd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f0ec3647700 (LWP 10911)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0ee934b816 in wait (time=18446744073709551615, this=0x24fdc70) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x249d880,
mutex=mutex at entry=0x249d878, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x2505df0) at
/build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f0ee934b32f in QThreadPrivate::start (arg=0x2505df0) at
thread/qthread_unix.cpp:349
#5  0x00007f0ee3778182 in start_thread (arg=0x7f0ec3647700) at
pthread_create.c:312
#6  0x00007f0ee855aefd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f0ec2e46700 (LWP 10912)):
#0  0x00007f0ee0faa61a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0ee0faa9a9 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ee0f680f0 in g_main_context_acquire () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ee0f68ea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0ee0f690ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0ee947a7be in QEventDispatcherGlib::processEvents
(this=0x7f0eb40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f0ee944c0af in QEventLoop::processEvents
(this=this at entry=0x7f0ec2e45ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0ee944c3a5 in QEventLoop::exec (this=this at entry=0x7f0ec2e45ae0,
flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0ee9348c5f in QThread::exec (this=this at entry=0x24782b0) at
thread/qthread.cpp:537
#9  0x00007f0ee942d823 in QInotifyFileSystemWatcherEngine::run (this=0x24782b0)
at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f0ee934b32f in QThreadPrivate::start (arg=0x24782b0) at
thread/qthread_unix.cpp:349
#11 0x00007f0ee3778182 in start_thread (arg=0x7f0ec2e46700) at
pthread_create.c:312
#12 0x00007f0ee855aefd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f0ec2645700 (LWP 10920)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0ee934b816 in wait (time=18446744073709551615, this=0x28c08b0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x2796050,
mutex=mutex at entry=0x2796048, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f0eec1e479a in Digikam::ParkingThread::run (this=0x2796030) at
/build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f0ee934b32f in QThreadPrivate::start (arg=0x2796030) at
thread/qthread_unix.cpp:349
#5  0x00007f0ee3778182 in start_thread (arg=0x7f0ec2645700) at
pthread_create.c:312
#6  0x00007f0ee855aefd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f0ec0f27700 (LWP 10921)):
#0  0x00007f0ee854dbad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0ee0f68fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0ee0f690ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0ee947a7be in QEventDispatcherGlib::processEvents
(this=0x7f0eac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f0ee944c0af in QEventLoop::processEvents
(this=this at entry=0x7f0ec0f26ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0ee944c3a5 in QEventLoop::exec (this=this at entry=0x7f0ec0f26ae0,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0ee9348c5f in QThread::exec (this=this at entry=0x2aee680) at
thread/qthread.cpp:537
#7  0x00007f0ee942d823 in QInotifyFileSystemWatcherEngine::run (this=0x2aee680)
at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f0ee934b32f in QThreadPrivate::start (arg=0x2aee680) at
thread/qthread_unix.cpp:349
#9  0x00007f0ee3778182 in start_thread (arg=0x7f0ec0f27700) at
pthread_create.c:312
#10 0x00007f0ee855aefd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f0e2f7fe700 (LWP 11007)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0ee934b816 in wait (time=18446744073709551615, this=0x7f0e40045380)
at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>,
mutex=mutex at entry=0x7f0e40046e50, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ee934795b in QSemaphore::acquire (this=this at entry=0x7f0e2f7fd580,
n=n at entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f0ee9461cb2 in QMetaObject::activate (sender=sender at entry=0x6d4b480,
m=m at entry=0x89c980 <Digikam::CameraController::staticMetaObject>,
local_signal_index=local_signal_index at entry=18, argv=argv at entry=0x7f0e2f7fd5d0)
at kernel/qobject.cpp:3513
#5  0x00000000007b68b7 in Digikam::CameraController::signalInternalCheckRename
(this=this at entry=0x6d4b480, _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=0x6d4b480, cmd=cmd at entry=0x9dca400) at
/build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:690
#7  0x00000000007be766 in Digikam::CameraController::run (this=0x6d4b480) at
/build/buildd/digikam-3.5.0/core/utilities/importui/backend/cameracontroller.cpp:402
#8  0x00007f0ee934b32f in QThreadPrivate::start (arg=0x6d4b480) at
thread/qthread_unix.cpp:349
#9  0x00007f0ee3778182 in start_thread (arg=0x7f0e2f7fe700) at
pthread_create.c:312
#10 0x00007f0ee855aefd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f0eeeb95ac0 (LWP 10901)):
[KCrash Handler]
#6  0x00007f0e4001bb80 in ?? ()
#7  0x00007f0ed2f17dac in sqlite3MemCompare (pMem1=pMem1 at entry=0x7fff95e4e7a0,
pMem2=<optimized out>, pColl=0x9fa44d8) at sqlite3.c:60484
#8  0x00007f0ed2f17f63 in sqlite3VdbeRecordCompare (nKey1=73,
pKey1=0x7f0ebc2e0dcf, pPKey2=pPKey2 at entry=0x7fff95e4eab8) at sqlite3.c:64162
#9  0x00007f0ed2f2c579 in sqlite3BtreeMovetoUnpacked (pCur=0x925bbf8,
pIdxKey=0x7fff95e4eab8, intKey=0, biasRight=<optimized out>,
pRes=0x7fff95e4eaa0) at sqlite3.c:55077
#10 0x00007f0ed2f54848 in sqlite3VdbeExec (p=p at entry=0xa429898) at
sqlite3.c:70345
#11 0x00007f0ed2f5ced7 in sqlite3Step (p=0xa429898) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007f0ec1c4011c in QSQLiteResultPrivate::fetchNext
(this=this at entry=0x9f14450, values=..., idx=idx at entry=0,
initialFetch=initialFetch at entry=true) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f0ec1c40e48 in QSQLiteResult::exec (this=0x94a47d0) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f0eee7b8b7d in QSqlQuery::exec (this=this at entry=0x7fff95e4f018) at
kernel/qsqlquery.cpp:949
#16 0x00007f0eec19da26 in Digikam::DatabaseCoreBackend::exec (this=0x24b13f0,
query=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007f0eec19dcee in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x24b13f0, query=..., boundValue1=..., boundValue2=...,
boundValue3=..., boundValue4=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1085
#18 0x00007f0eec19ed95 in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x24b13f0, sql=..., boundValue1=..., boundValue2=...,
boundValue3=..., boundValue4=...) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1030
#19 0x00007f0eec19ede9 in Digikam::DatabaseCoreBackend::execSql
(this=0x24b13f0, sql=..., boundValue1=..., boundValue2=..., boundValue3=...,
boundValue4=..., values=values at entry=0x0,
lastInsertId=lastInsertId at entry=0x7fff95e4f090) at
/build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:928
#20 0x00007f0eebb50be5 in Digikam::AlbumDB::addToDownloadHistory
(this=0x24b08d0, identifier=..., name=..., fileSize=fileSize at entry=5436263,
date=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:3131
#21 0x00007f0eebb9e141 in Digikam::DownloadHistory::setDownloaded
(identifier=..., name=..., fileSize=fileSize at entry=5436263, date=...) at
/build/buildd/digikam-3.5.0/core/libs/database/downloadhistory.cpp:52
#22 0x00000000007aa998 in Digikam::ImportUI::slotDownloaded (this=0x880a750,
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=0x880a750,
_c=64, _id=165302904, _a=0x40) at
/build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/utilities/importui/importui.moc:210
#24 0x00007f0ee946187a in QMetaObject::activate (sender=sender at entry=0x6d4b480,
m=m at entry=0x89c980 <Digikam::CameraController::staticMetaObject>,
local_signal_index=local_signal_index at entry=9, argv=argv at entry=0x7fff95e4f4d0)
at kernel/qobject.cpp:3539
#25 0x00000000007b6699 in Digikam::CameraController::signalDownloaded
(this=this at entry=0x6d4b480, _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=0x6d4b480, 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 0x00007f0ee9465c1e in QObject::event (this=0x6d4b480, e=<optimized out>) at
kernel/qobject.cpp:1194
#29 0x00007f0ee9e49e2c in QApplicationPrivate::notify_helper
(this=this at entry=0x231a800, receiver=receiver at entry=0x6d4b480,
e=e at entry=0x7f0e4004cd80) at kernel/qapplication.cpp:4567
#30 0x00007f0ee9e504a0 in QApplication::notify (this=this at entry=0x7fff95e50380,
receiver=receiver at entry=0x6d4b480, e=e at entry=0x7f0e4004cd80) at
kernel/qapplication.cpp:4353
#31 0x00007f0eeab59d1a in KApplication::notify (this=0x7fff95e50380,
receiver=0x6d4b480, event=0x7f0e4004cd80) at
../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f0ee944d4dd in QCoreApplication::notifyInternal
(this=0x7fff95e50380, receiver=receiver at entry=0x6d4b480,
event=event at entry=0x7f0e4004cd80) at kernel/qcoreapplication.cpp:953
#33 0x00007f0ee9450b3d in sendEvent (event=0x7f0e4004cd80, receiver=0x6d4b480)
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=0x229c340) at
kernel/qcoreapplication.cpp:1577
#35 0x00007f0ee9450fe3 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1470
#36 0x00007f0ee947af83 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=0x230e0c0) at
kernel/qeventdispatcher_glib.cpp:287
#38 0x00007f0ee0f68e04 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f0ee0f69048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f0ee0f690ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f0ee947a7a1 in QEventDispatcherGlib::processEvents (this=0x2249d60,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#42 0x00007f0ee9eebbb6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f0ee944c0af in QEventLoop::processEvents
(this=this at entry=0x7fff95e4fe60, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f0ee944c3a5 in QEventLoop::exec (this=this at entry=0x7fff95e4fe60,
flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f0ee9451b79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#46 0x00007f0ee9e4837c 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


Reproducible: Sometimes

Steps to Reproduce:
1.plug camera in
2.select download images using Digikam
3.Import 'all' from camera

Actual Results:  
About 95% through downloading images and movies, DK crashed.

Expected Results:  
Finish downloading all images.

Couldn't find any additional information in any error logs.

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



More information about the Digikam-devel mailing list