<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>342143</bug_id>
          
          <creation_ts>2014-12-22 23:50:12 +0000</creation_ts>
          <short_desc>Crashed while downloading from camera</short_desc>
          <delta_ts>2021-12-17 11:50:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Database-Sqlite</component>
          <version>3.5.0</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jeff">theonlyjeffjordan</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>7.5.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1487243</commentid>
    <comment_count>0</comment_count>
    <who name="Jeff">theonlyjeffjordan</who>
    <bug_when>2014-12-22 23:50:12 +0000</bug_when>
    <thetext>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&apos;t doing anything else like &apos;browsing folders&apos; which claim to be duplicate reports.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[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@entry=0x249d880, mutex=mutex@entry=0x249d878, time=time@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@entry=0x7f0ec2e45ae0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0ee944c3a5 in QEventLoop::exec (this=this@entry=0x7f0ec2e45ae0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0ee9348c5f in QThread::exec (this=this@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@entry=0x2796050, mutex=mutex@entry=0x2796048, time=time@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@entry=0x7f0ec0f26ae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0ee944c3a5 in QEventLoop::exec (this=this@entry=0x7f0ec0f26ae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0ee9348c5f in QThread::exec (this=this@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=&lt;optimized out&gt;, mutex=mutex@entry=0x7f0e40046e50, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0ee934795b in QSemaphore::acquire (this=this@entry=0x7f0e2f7fd580, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f0ee9461cb2 in QMetaObject::activate (sender=sender@entry=0x6d4b480, m=m@entry=0x89c980 &lt;Digikam::CameraController::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=18, argv=argv@entry=0x7f0e2f7fd5d0) at kernel/qobject.cpp:3513
#5  0x00000000007b68b7 in Digikam::CameraController::signalInternalCheckRename (this=this@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@entry=0x6d4b480, cmd=cmd@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@entry=0x7fff95e4e7a0, pMem2=&lt;optimized out&gt;, pColl=0x9fa44d8) at sqlite3.c:60484
#8  0x00007f0ed2f17f63 in sqlite3VdbeRecordCompare (nKey1=73, pKey1=0x7f0ebc2e0dcf, pPKey2=pPKey2@entry=0x7fff95e4eab8) at sqlite3.c:64162
#9  0x00007f0ed2f2c579 in sqlite3BtreeMovetoUnpacked (pCur=0x925bbf8, pIdxKey=0x7fff95e4eab8, intKey=0, biasRight=&lt;optimized out&gt;, pRes=0x7fff95e4eaa0) at sqlite3.c:55077
#10 0x00007f0ed2f54848 in sqlite3VdbeExec (p=p@entry=0xa429898) at sqlite3.c:70345
#11 0x00007f0ed2f5ced7 in sqlite3Step (p=0xa429898) at sqlite3.c:64828
#12 sqlite3_step (pStmt=&lt;optimized out&gt;) at sqlite3.c:64894
#13 0x00007f0ec1c4011c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x9f14450, values=..., idx=idx@entry=0, initialFetch=initialFetch@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@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@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@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@entry=0x0, lastInsertId=lastInsertId@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@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@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=&lt;optimized out&gt;) 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@entry=0x6d4b480, m=m@entry=0x89c980 &lt;Digikam::CameraController::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x7fff95e4f4d0) at kernel/qobject.cpp:3539
#25 0x00000000007b6699 in Digikam::CameraController::signalDownloaded (this=this@entry=0x6d4b480, _t1=..., _t2=..., _t3=_t3@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=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=&lt;optimized out&gt;, _c=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) at kernel/qobject.cpp:1194
#29 0x00007f0ee9e49e2c in QApplicationPrivate::notify_helper (this=this@entry=0x231a800, receiver=receiver@entry=0x6d4b480, e=e@entry=0x7f0e4004cd80) at kernel/qapplication.cpp:4567
#30 0x00007f0ee9e504a0 in QApplication::notify (this=this@entry=0x7fff95e50380, receiver=receiver@entry=0x6d4b480, e=e@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@entry=0x6d4b480, event=event@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@entry=0x0, event_type=event_type@entry=0, data=0x229c340) at kernel/qcoreapplication.cpp:1577
#35 0x00007f0ee9450fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@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=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f0ee944c0af in QEventLoop::processEvents (this=this@entry=0x7fff95e4fe60, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f0ee944c3a5 in QEventLoop::exec (this=this@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=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) 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 &apos;all&apos; from camera

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

Expected Results:  
Finish downloading all images.

Couldn&apos;t find any additional information in any error logs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1487251</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-12-23 00:27:09 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 329697 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2086305</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2021-12-17 11:50:43 +0000</bug_when>
    <thetext>Fixed with #329697</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>