Bug 336514 - crashed while clicking on a folder
Summary: crashed while clicking on a folder
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-20 16:59 UTC by David King
Modified: 2021-05-10 14:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David King 2014-06-20 16:59:28 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-27-lowlatency x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I just clicked on a folder on the tree on the left. It then crashed. Previously I had a problem with it freezing when starting, so I renamed the database files and restarted and it seemed okay for a while until it crashed.

-- 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 0x7ff9935bdac0 (LWP 24148))]

Thread 6 (Thread 0x7ff96e387700 (LWP 24149)):
#0  0x00007ff98c6a5fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff97382e248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007ff988678182 in start_thread (arg=0x7ff96e387700) at pthread_create.c:312
#3  0x00007ff98c6b330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7ff96433f700 (LWP 24150)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff98d4a3816 in wait (time=18446744073709551615, this=0x1039c90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1039b98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3cbe in ?? ()
#4  0x00007ff98d4a332f in QThreadPrivate::start (arg=0x1038af0) at thread/qthread_unix.cpp:349
#5  0x00007ff988678182 in start_thread (arg=0x7ff96433f700) at pthread_create.c:312
#6  0x00007ff98c6b330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7ff963b3e700 (LWP 24151)):
#0  0x00007ff98558a8b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff98558ad39 in g_private_get () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff98556e3b0 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff98554809c in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff985548ea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff9855490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ff98d5d27be in QEventDispatcherGlib::processEvents (this=0x7ff9540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007ff98d5a40af in QEventLoop::processEvents (this=this@entry=0x7ff963b3dae0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007ff98d5a43a5 in QEventLoop::exec (this=this@entry=0x7ff963b3dae0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007ff98d4a0c5f in QThread::exec (this=this@entry=0x103ff30) at thread/qthread.cpp:537
#10 0x00007ff98d585823 in QInotifyFileSystemWatcherEngine::run (this=0x103ff30) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007ff98d4a332f in QThreadPrivate::start (arg=0x103ff30) at thread/qthread_unix.cpp:349
#12 0x00007ff988678182 in start_thread (arg=0x7ff963b3e700) at pthread_create.c:312
#13 0x00007ff98c6b330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7ff96333d700 (LWP 24162)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff98d4a3816 in wait (time=18446744073709551615, this=0x1581fe0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1581df8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff990c0f31a in ?? () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#4  0x00007ff98d4a332f in QThreadPrivate::start (arg=0x1581de0) at thread/qthread_unix.cpp:349
#5  0x00007ff988678182 in start_thread (arg=0x7ff96333d700) at pthread_create.c:312
#6  0x00007ff98c6b330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ff8b7fff700 (LWP 28440)):
#0  0x00007ff98c6a5fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff985548fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff9855490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff98d5d27be in QEventDispatcherGlib::processEvents (this=0x7ff934002840, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007ff98d5a40af in QEventLoop::processEvents (this=this@entry=0x7ff8b7ffeaa0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff98d5a43a5 in QEventLoop::exec (this=0x7ff8b7ffeaa0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007ff990c0e9e3 in ?? () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#7  0x00007ff98d496fee in QThreadPoolThread::run (this=0x404b0a0) at concurrent/qthreadpool.cpp:108
#8  0x00007ff98d4a332f in QThreadPrivate::start (arg=0x404b0a0) at thread/qthread_unix.cpp:349
#9  0x00007ff988678182 in start_thread (arg=0x7ff8b7fff700) at pthread_create.c:312
#10 0x00007ff98c6b330d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ff9935bdac0 (LWP 24148)):
[KCrash Handler]
#10 0x0000006400000021 in ?? ()
#11 0x00007ff977b9fdac in sqlite3MemCompare (pMem1=pMem1@entry=0x7ffff668a7f0, pMem2=<optimized out>, pColl=0x1252e68) at sqlite3.c:60484
#12 0x00007ff977b9ff63 in sqlite3VdbeRecordCompare (nKey1=24, pKey1=0x7ff95c65ebce, pPKey2=pPKey2@entry=0x7ffff668aaf0) at sqlite3.c:64162
#13 0x00007ff977bb4579 in sqlite3BtreeMovetoUnpacked (pCur=0x40b5cb0, pIdxKey=0x7ffff668aaf0, intKey=0, biasRight=<optimized out>, pRes=0x7ffff668aae0) at sqlite3.c:55077
#14 0x00007ff977bdc9c5 in sqlite3VdbeExec (p=p@entry=0x73118e8) at sqlite3.c:70168
#15 0x00007ff977be4ed7 in sqlite3Step (p=0x73118e8) at sqlite3.c:64828
#16 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#17 0x00007ff96293811c in QSQLiteResultPrivate::fetchNext (this=this@entry=0xc38ac00, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#18 0x00007ff962938e48 in QSQLiteResult::exec (this=0x1d5fbb0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#19 0x00007ff9931e8b7d in QSqlQuery::exec (this=0x7ffff668b028) at kernel/qsqlquery.cpp:949
#20 0x00007ff990bc8646 in Digikam::DatabaseCoreBackend::exec(Digikam::SqlQuery&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#21 0x00007ff990bc86cc in Digikam::DatabaseCoreBackend::execQuery(Digikam::SqlQuery&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#22 0x00007ff990bc9760 in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#23 0x00007ff990bc97a9 in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib/digikam/libdigikamcore.so.4.0.0
#24 0x00007ff990582c7e in Digikam::AlbumDB::getSetting(QString const&) () from /usr/lib/digikam/libdigikamdatabase.so.4.0.0
#25 0x00007ff990583589 in Digikam::AlbumDB::getFilterSettings(QStringList*, QStringList*, QStringList*) () from /usr/lib/digikam/libdigikamdatabase.so.4.0.0
#26 0x00000000006580c0 in ?? ()
#27 0x000000000053dc62 in ?? ()
#28 0x000000000053ea87 in ?? ()
#29 0x00007ff8ab38ed94 in ?? () from /usr/lib/kde4/kipiplugin_advancedslideshow.so
#30 0x00007ff98d5b987a in QMetaObject::activate (sender=0x2712450, m=m@entry=0x7ff99171fe60 <KIPI::Interface::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffff668b600) at kernel/qobject.cpp:3539
#31 0x00007ff99150c4c2 in KIPI::Interface::currentAlbumChanged (this=<optimized out>, _t1=true) at ./interface.moc:128
#32 0x000000000053e9c6 in ?? ()
#33 0x00007ff98d5b987a in QMetaObject::activate (sender=0xfef670, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff668b760) at kernel/qobject.cpp:3539
#34 0x00000000005b63f5 in ?? ()
#35 0x00000000005d3b1c in ?? ()
#36 0x00000000005d58d5 in ?? ()
#37 0x00007ff98d5b987a in QMetaObject::activate (sender=sender@entry=0x2572530, m=m@entry=0x7ff98ea68fc0 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffff668b930) at kernel/qobject.cpp:3539
#38 0x00007ff98e4ea857 in QItemSelectionModel::selectionChanged (this=this@entry=0x2572530, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:165
#39 0x00007ff98e4efe77 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x2572530, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1600
#40 0x00007ff98e4f0683 in QItemSelectionModel::select (this=0x2572530, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
#41 0x00007ff98e4dc67a in QTreeViewPrivate::select (this=this@entry=0x25753f0, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3683
#42 0x00007ff98e4dcf7c in QTreeView::setSelection (this=<optimized out>, rect=..., command=...) at itemviews/qtreeview.cpp:2293
#43 0x00007ff98e49cd9a in QAbstractItemView::mousePressEvent (this=0x2578490, event=<optimized out>) at itemviews/qabstractitemview.cpp:1690
#44 0x00000000005d5d5f in ?? ()
#45 0x00007ff98dff137b in QWidget::event (this=this@entry=0x2578490, event=event@entry=0x7ffff668c8b0) at kernel/qwidget.cpp:8372
#46 0x00007ff98e392fce in QFrame::event (this=0x2578490, e=0x7ffff668c8b0) at widgets/qframe.cpp:557
#47 0x00007ff98e4a25b3 in QAbstractItemView::viewportEvent (this=this@entry=0x2578490, event=event@entry=0x7ffff668c8b0) at itemviews/qabstractitemview.cpp:1644
#48 0x00007ff98e4e1190 in QTreeView::viewportEvent (this=0x2578490, event=0x7ffff668c8b0) at itemviews/qtreeview.cpp:1252
#49 0x00000000005cd6a0 in ?? ()
#50 0x00007ff98d5a5646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0xd85400, receiver=receiver@entry=0x2575ac0, event=event@entry=0x7ffff668c8b0) at kernel/qcoreapplication.cpp:1063
#51 0x00007ff98dfa1e0c in QApplicationPrivate::notify_helper (this=this@entry=0xd85400, receiver=receiver@entry=0x2575ac0, e=e@entry=0x7ffff668c8b0) at kernel/qapplication.cpp:4563
#52 0x00007ff98dfa85dd in QApplication::notify (this=<optimized out>, receiver=0x2575ac0, e=0x7ffff668c8b0) at kernel/qapplication.cpp:4110
#53 0x00007ff98ecb1baa in detach_helper (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:725
#54 detach (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:139
#55 end (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:270
#56 remove (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:903
#57 KApplication::removeX11EventFilter (this=<optimized out>, filter=0x7ffff668d520) at ../../kdeui/kernel/kapplication.cpp:280
#58 0x0000000000cf3670 in ?? ()
#59 0x00007ff98ea87318 in qt_last_mouse_receiver () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#60 0x00007ff98d5a54dd in QCoreApplication::notifyInternal (this=0x7ffff668c8b0, receiver=0x7304bc0, receiver@entry=0x2575ac0, event=0x2575ac0, event@entry=0x7ffff668c8b0) at kernel/qcoreapplication.cpp:953
#61 0x00007ff98dfa7d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#62 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2575ac0, event=event@entry=0x7ffff668c8b0, alienWidget=alienWidget@entry=0x2575ac0, nativeWidget=nativeWidget@entry=0x138cda0, buttonDown=buttonDown@entry=0x7ff98ea87318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#63 0x00007ff98e01c9cb in QETWidget::translateMouseEvent (this=this@entry=0x138cda0, event=event@entry=0x7ffff668cc30) at kernel/qapplication_x11.cpp:4634
#64 0x00007ff98e01c269 in QApplication::x11ProcessEvent (this=0x7ffff668d520, event=event@entry=0x7ffff668cc30) at kernel/qapplication_x11.cpp:3627
#65 0x00007ff98e043b02 in x11EventSourceDispatch (s=0xd86920, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#66 0x00007ff985548e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007ff985549048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007ff9855490ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007ff98d5d27a1 in QEventDispatcherGlib::processEvents (this=0xcb0250, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#70 0x00007ff98e043bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#71 0x00007ff98d5a40af in QEventLoop::processEvents (this=this@entry=0x7ffff668d000, flags=...) at kernel/qeventloop.cpp:149
#72 0x00007ff98d5a43a5 in QEventLoop::exec (this=this@entry=0x7ffff668d000, flags=...) at kernel/qeventloop.cpp:204
#73 0x00007ff98d5a9b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#74 0x00000000004948f0 in ?? ()
#75 0x00007ff98c5d9ec5 in __libc_start_main (main=0x4936a0, argc=3, argv=0x7ffff668d718, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff668d708) at libc-start.c:287
#76 0x0000000000496f1f in _start ()

Possible duplicates by query: bug 336262, bug 336261, bug 336260, bug 336259, bug 336208.

Reproducible: Couldn't Reproduce

Actual Results:  
Digikam crashed

Expected Results:  
Digikam should have shown contents of folder
Comment 1 caulier.gilles 2014-06-20 20:52:38 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-05-10 14:55:10 UTC
Fixed with #329697