Bug 359977 - the sudden closure of digikam when browsing directories
Summary: the sudden closure of digikam when browsing directories
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.0.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-03-02 00:03 UTC by Jarek
Modified: 2020-07-26 12:49 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarek 2016-03-02 00:03:09 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.13.0-46-generic i686
Distribution: Linux Mint 17.1 Rebecca

-- Information about the crash:
- What I was doing when the application crashed:
For unknown reasons, the program closes several times over several hours, during continuous conversion of file names.
But never on the "rename", but after returning to the main screen and you select the next directory.

Or CPU or memory is not overloaded.

The crash can be reproduced sometimes.

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

Thread 7 (Thread 0xa8250b40 (LWP 16232)):
#0  0xb77d8424 in __kernel_vsyscall ()
#1  0xb3651d4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4770dcc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb554e0f5 in wait (time=4294967295, this=0x9c52a20) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9be624c, mutex=0x9be6248, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0821c064 in ?? ()
#6  0xb554db6f in QThreadPrivate::start (arg=0x9c564b0) at thread/qthread_unix.cpp:349
#7  0xb35122d1 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x5c8b0824 in ?? ()
#9  0xbab80424 in ?? ()
#10 0x65000000 in ?? ()
#11 0x001015ff in ?? ()
#12 0xd3890000 in ?? ()
#13 0xfff0013d in ?? ()
#14 0xc30173ff in ?? ()
#15 0x0f79fae8 in ?? ()
#16 0xabc18100 in ?? () from /usr/lib/i386-linux-gnu/sse2/libspeex.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xa78ffb40 (LWP 16233)):
#0  0xb568fd44 in idleTimerSourceCheck (source=0xa6f01f68) at kernel/qeventdispatcher_glib.cpp:229
#1  0xb3117dff in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb311837a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb3118528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb568f95f in QEventDispatcherGlib::processEvents (this=0xa6f00488, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0xb565e823 in QEventLoop::processEvents (this=this@entry=0xa78fefe8, flags=...) at kernel/qeventloop.cpp:149
#6  0xb565eb49 in QEventLoop::exec (this=this@entry=0xa78fefe8, flags=...) at kernel/qeventloop.cpp:204
#7  0xb554b23d in QThread::exec (this=this@entry=0x9be6588) at thread/qthread.cpp:537
#8  0xb563ec44 in QInotifyFileSystemWatcherEngine::run (this=0x9be6588) at io/qfilesystemwatcher_inotify.cpp:265
#9  0xb554db6f in QThreadPrivate::start (arg=0x9be6588) at thread/qthread_unix.cpp:349
#10 0xb35122d1 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#11 0x5c8b0824 in ?? ()
#12 0xbab80424 in ?? ()
#13 0x65000000 in ?? ()
#14 0x001015ff in ?? ()
#15 0xd3890000 in ?? ()
#16 0xfff0013d in ?? ()
#17 0xc30173ff in ?? ()
#18 0x0f79fae8 in ?? ()
#19 0xabc18100 in ?? () from /usr/lib/i386-linux-gnu/sse2/libspeex.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa6effb40 (LWP 16237)):
#0  0xb3651194 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb4771014 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb315d120 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb31182cf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb311876b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xac37636a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb313e9aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb35122d1 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x5c8b0824 in ?? ()
#9  0xbab80424 in ?? ()
#10 0x65000000 in ?? ()
#11 0x001015ff in ?? ()
#12 0xd3890000 in ?? ()
#13 0xfff0013d in ?? ()
#14 0xc30173ff in ?? ()
#15 0x0f79fae8 in ?? ()
#16 0xabc18100 in ?? () from /usr/lib/i386-linux-gnu/sse2/libspeex.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 4 (Thread 0xa606eb40 (LWP 16238)):
#0  0xb315cff7 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb315d618 in g_private_get () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb313ef1e in g_thread_self () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb311734b in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3118288 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb3118528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb311857e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb313e9aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb35122d1 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#9  0x5c8b0824 in ?? ()
#10 0xbab80424 in ?? ()
#11 0x65000000 in ?? ()
#12 0x001015ff in ?? ()
#13 0xd3890000 in ?? ()
#14 0xfff0013d in ?? ()
#15 0xc30173ff in ?? ()
#16 0x0f79fae8 in ?? ()
#17 0xabc18100 in ?? () from /usr/lib/i386-linux-gnu/sse2/libspeex.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa5395b40 (LWP 16240)):
#0  0xb77d8424 in __kernel_vsyscall ()
#1  0xb3651d4b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb4770dcc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb554e0f5 in wait (time=4294967295, this=0x9bb0990) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa00c698, mutex=0xa00c694, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6adef34 in ?? () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#6  0xb554db6f in QThreadPrivate::start (arg=0xa00c688) at thread/qthread_unix.cpp:349
#7  0xb35122d1 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#8  0x5c8b0824 in ?? ()
#9  0xbab80424 in ?? ()
#10 0x65000000 in ?? ()
#11 0x001015ff in ?? ()
#12 0xd3890000 in ?? ()
#13 0xfff0013d in ?? ()
#14 0xc30173ff in ?? ()
#15 0x0f79fae8 in ?? ()
#16 0xabc18100 in ?? () from /usr/lib/i386-linux-gnu/sse2/libspeex.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa4a26b40 (LWP 16241)):
#0  0xb315cd13 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb315d118 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb3117df2 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb311837a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb3118528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb568f95f in QEventDispatcherGlib::processEvents (this=0xa6f029f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb565e823 in QEventLoop::processEvents (this=this@entry=0xa4a25fe8, flags=...) at kernel/qeventloop.cpp:149
#7  0xb565eb49 in QEventLoop::exec (this=this@entry=0xa4a25fe8, flags=...) at kernel/qeventloop.cpp:204
#8  0xb554b23d in QThread::exec (this=this@entry=0xa2c5728) at thread/qthread.cpp:537
#9  0xb563ec44 in QInotifyFileSystemWatcherEngine::run (this=0xa2c5728) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb554db6f in QThreadPrivate::start (arg=0xa2c5728) at thread/qthread_unix.cpp:349
#11 0xb35122d1 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0f79fae8 in ?? ()
#20 0xabc18100 in ?? () from /usr/lib/i386-linux-gnu/sse2/libspeex.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xab5ca900 (LWP 16230)):
[KCrash Handler]
#7  0x0000012c in ?? ()
#8  0xaccd92cd in sqlite3MemCompare (pMem1=pMem1@entry=0xbfe25088, pMem2=<optimized out>, pColl=0xbe50790) at sqlite3.c:60495
#9  0xaccd94a4 in sqlite3VdbeRecordCompare (nKey1=40, pKey1=0xbd4cac2, pPKey2=pPKey2@entry=0xbfe2531c) at sqlite3.c:64173
#10 0xacceea62 in sqlite3BtreeMovetoUnpacked (pCur=0xaefeef0, pIdxKey=0xbfe2531c, intKey=0, biasRight=0, pRes=0xbfe25310) at sqlite3.c:55088
#11 0xacd18e1d in sqlite3VdbeExec (p=p@entry=0xae97960) at sqlite3.c:70179
#12 0xacd21a66 in sqlite3Step (p=0xae97960) at sqlite3.c:64839
#13 sqlite3_step (pStmt=0xae97960) at sqlite3.c:64905
#14 0xa8366e9c in QSQLiteResultPrivate::fetchNext (this=this@entry=0xa9600f8, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#15 0xa8367ebd in QSQLiteResult::exec (this=0xb785488) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#16 0xb7784e60 in QSqlQuery::exec (this=0xbfe257b8) at kernel/qsqlquery.cpp:949
#17 0xb6a92ea1 in Digikam::DatabaseCoreBackend::exec(Digikam::SqlQuery&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#18 0xb6a93045 in Digikam::DatabaseCoreBackend::execQuery(Digikam::SqlQuery&, QVariant const&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#19 0xb6a93fca in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#20 0xb6a9402e in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#21 0xb6aa1960 in Digikam::ThumbnailDB::findByHash(QString const&, long long) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#22 0xb6ac607c in Digikam::ThumbnailCreator::loadDatabaseThumbnailInfo(Digikam::ThumbnailInfo const&) const () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#23 0xb6ac62fd in Digikam::ThumbnailCreator::isInDatabase(Digikam::ThumbnailInfo const&) const () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#24 0xb6acc4d2 in Digikam::ThumbnailCreator::store(QString const&, QImage const&, QRect const&) const () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#25 0xb6acc653 in Digikam::ThumbnailCreator::store(QString const&, QImage const&) const () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#26 0xb6ad3b72 in Digikam::ThumbnailLoadThread::gotKDEPreview(KFileItem const&, QPixmap const&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#27 0xb6ad3fae in ?? () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#28 0xb56750f7 in QMetaObject::activate (sender=sender@entry=0xbed9a78, m=m@entry=0xb6116fdc <KIO::PreviewJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0xbfe25c84) at kernel/qobject.cpp:3539
#29 0xb5fdbffd in KIO::PreviewJob::gotPreview (this=0xbed9a78, _t1=..., _t2=...) at ./previewjob.moc:112
#30 0xb5fdf41d in KIO::PreviewJobPrivate::emitPreview (this=this@entry=0xbed9fb8, thumb=...) at ../../kio/kio/previewjob.cpp:732
#31 0xb5fe052c in KIO::PreviewJobPrivate::slotThumbData (this=0xbed9fb8, data=...) at ../../kio/kio/previewjob.cpp:720
#32 0xb5fe1133 in KIO::PreviewJob::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfe25ea4, _c=<optimized out>) at ./previewjob.moc:61
#33 0xb56750f7 in QMetaObject::activate (sender=sender@entry=0xc890638, m=m@entry=0xb611572c <KIO::TransferJob::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0xbfe25ea4) at kernel/qobject.cpp:3539
#34 0xb5f52b7d in KIO::TransferJob::data (this=this@entry=0xc890638, _t1=_t1@entry=0xc890638, _t2=...) at ./jobclasses.moc:446
#35 0xb5f55b9c in KIO::TransferJob::slotData (this=0xc890638, _data=...) at ../../kio/kio/job.cpp:999
#36 0xb5f596f7 in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfe25ff8, _c=<optimized out>) at ./jobclasses.moc:388
#37 0xb56750f7 in QMetaObject::activate (sender=sender@entry=0xbec93d0, m=m@entry=0xb61177a0 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0xbfe25ff8) at kernel/qobject.cpp:3539
#38 0xb60035c5 in KIO::SlaveInterface::data (this=this@entry=0xbec93d0, _t1=...) at ./slaveinterface.moc:159
#39 0xb6005504 in KIO::SlaveInterface::dispatch (this=0xbec93d0, _cmd=100, rawdata=...) at ../../kio/kio/slaveinterface.cpp:164
#40 0xb60024ae in KIO::SlaveInterface::dispatch (this=0xbec93d0) at ../../kio/kio/slaveinterface.cpp:92
#41 0xb5ff5ad0 in KIO::Slave::gotInput (this=this@entry=0xbec93d0) at ../../kio/kio/slave.cpp:344
#42 0xb5ff5c7c in KIO::Slave::qt_static_metacall (_o=_o@entry=0xbec93d0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe26208) at ./slave.moc:56
#43 0xb56750f7 in QMetaObject::activate (sender=sender@entry=0xbec8ad0, m=m@entry=0xb61144b0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#44 0xb5f1eaa5 in KIO::Connection::readyRead (this=0xbec8ad0) at ./connection.moc:105
#45 0xb5f1f250 in KIO::ConnectionPrivate::dequeue (this=0xb33b448) at ../../kio/kio/connection.cpp:82
#46 0xb56718aa in QMetaCallEvent::placeMetaCall (this=0xc79b228, object=0xbec8ad0) at kernel/qobject.cpp:524
#47 0xb56796fb in QObject::event (this=0xbec8ad0, e=0xc79b228) at kernel/qobject.cpp:1194
#48 0xb4aee7f4 in QApplicationPrivate::notify_helper (this=0x9b44ba0, receiver=0xbec8ad0, e=0xc79b228) at kernel/qapplication.cpp:4567
#49 0xb4af52d3 in QApplication::notify (this=0xbfe269d8, receiver=receiver@entry=0xbec8ad0, e=e@entry=0xc79b228) at kernel/qapplication.cpp:4353
#50 0xb5c571b4 in KApplication::notify (this=0xbfe269d8, receiver=0xbec8ad0, event=0xc79b228) at ../../kdeui/kernel/kapplication.cpp:311
#51 0xb565fe4a in QCoreApplication::notifyInternal (this=0xbfe269d8, receiver=receiver@entry=0xbec8ad0, event=event@entry=0xc79b228) at kernel/qcoreapplication.cpp:953
#52 0xb566370d in sendEvent (event=0xc79b228, receiver=0xbec8ad0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9ad17c8) at kernel/qcoreapplication.cpp:1577
#54 0xb5663c1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#55 0xb569023e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#56 postEventSourceDispatch (s=0x9b399e8) at kernel/qeventdispatcher_glib.cpp:287
#57 0xb31181e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#58 0xb3118468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#59 0xb3118528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#60 0xb568f93b in QEventDispatcherGlib::processEvents (this=this@entry=0x9abf358, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#61 0xb4ba360e in QGuiEventDispatcherGlib::processEvents (this=0x9abf358, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0xb565e823 in QEventLoop::processEvents (this=this@entry=0xbfe26808, flags=...) at kernel/qeventloop.cpp:149
#63 0xb565eb49 in QEventLoop::exec (this=this@entry=0xbfe26808, flags=...) at kernel/qeventloop.cpp:204
#64 0xb56648fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#65 0xb4aeca24 in QApplication::exec () at kernel/qapplication.cpp:3828
#66 0x080be1a0 in ?? ()
#67 0xb4691a83 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#68 0x080c0d67 in _start ()

Possible duplicates by query: bug 359540, bug 358832, bug 358829, bug 358488, bug 358356.

Reported using DrKonqi
Comment 1 caulier.gilles 2016-03-02 04:07:32 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2020-07-26 12:49:55 UTC
Fixed with #329697