Bug 335685 - Digikam crashed again (KDE 4.13.1, Kubuntu 14.04)
Summary: Digikam crashed again (KDE 4.13.1, Kubuntu 14.04)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-02 05:55 UTC by Thomas Dreibholz
Modified: 2021-12-17 11:50 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (17.48 KB, text/plain)
2014-06-02 05:56 UTC, Thomas Dreibholz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dreibholz 2014-06-02 05:55:11 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Digikam crashed again (KDE 4.13.1, Kubuntu 14.04) on export to Facebook.

-- 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 0x7fc5d11a4ac0 (LWP 23437))]

Thread 7 (Thread 0x7fc5ac871700 (LWP 23438)):
#0  0x00007fc5cabc3fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc5b141c248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fc5c5e53182 in start_thread (arg=0x7fc5ac871700) at pthread_create.c:312
#3  0x00007fc5cabd130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fc5a5b55700 (LWP 23439)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc5cb9b2816 in wait (time=18446744073709551615, this=0x25017e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x25016f0, mutex=mutex@entry=0x25016e8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x2501460) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fc5cb9b232f in QThreadPrivate::start (arg=0x2501460) at thread/qthread_unix.cpp:349
#5  0x00007fc5c5e53182 in start_thread (arg=0x7fc5a5b55700) at pthread_create.c:312
#6  0x00007fc5cabd130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fc5a5354700 (LWP 23440)):
#0  0x00007fc5cabc3fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc5c367afe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fc5980013b0, timeout=-1, context=0x7fc598002e00) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7fc598002e00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007fc5c367b0ec in g_main_context_iteration (context=0x7fc598002e00, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007fc5cbae17be in QEventDispatcherGlib::processEvents (this=0x7fc598003140, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fc5cbab30af in QEventLoop::processEvents (this=this@entry=0x7fc5a5353ae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc5cbab33a5 in QEventLoop::exec (this=this@entry=0x7fc5a5353ae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc5cb9afc5f in QThread::exec (this=this@entry=0x25214f0) at thread/qthread.cpp:537
#8  0x00007fc5cba94823 in QInotifyFileSystemWatcherEngine::run (this=0x25214f0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fc5cb9b232f in QThreadPrivate::start (arg=0x25214f0) at thread/qthread_unix.cpp:349
#10 0x00007fc5c5e53182 in start_thread (arg=0x7fc5a5354700) at pthread_create.c:312
#11 0x00007fc5cabd130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fc5a4b53700 (LWP 23445)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc5cb9b2816 in wait (time=18446744073709551615, this=0x24e0590) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x28b7680, mutex=mutex@entry=0x28b7678, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc5ce82b79a in Digikam::ParkingThread::run (this=0x28b7660) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fc5cb9b232f in QThreadPrivate::start (arg=0x28b7660) at thread/qthread_unix.cpp:349
#5  0x00007fc5c5e53182 in start_thread (arg=0x7fc5a4b53700) at pthread_create.c:312
#6  0x00007fc5cabd130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fc59f15d700 (LWP 23446)):
#0  0x00007fc5c5e567ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7fc594000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7fc594000a60) at pthread_mutex_unlock.c:310
#2  0x00007fc5c36bc9c1 in g_mutex_unlock (mutex=mutex@entry=0x7fc5940009a0) at /build/buildd/glib2.0-2.40.0/./glib/gthread-posix.c:228
#3  0x00007fc5c367a680 in g_main_context_prepare (context=context@entry=0x7fc5940009a0, priority=priority@entry=0x7fc59f15c9a8) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3350
#4  0x00007fc5c367af03 in g_main_context_iterate (context=context@entry=0x7fc5940009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3714
#5  0x00007fc5c367b0ec in g_main_context_iteration (context=0x7fc5940009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#6  0x00007fc5cbae17be in QEventDispatcherGlib::processEvents (this=0x7fc5940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007fc5cbab30af in QEventLoop::processEvents (this=this@entry=0x7fc59f15cae0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fc5cbab33a5 in QEventLoop::exec (this=this@entry=0x7fc59f15cae0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fc5cb9afc5f in QThread::exec (this=this@entry=0x2be65f0) at thread/qthread.cpp:537
#10 0x00007fc5cba94823 in QInotifyFileSystemWatcherEngine::run (this=0x2be65f0) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007fc5cb9b232f in QThreadPrivate::start (arg=0x2be65f0) at thread/qthread_unix.cpp:349
#12 0x00007fc5c5e53182 in start_thread (arg=0x7fc59f15d700) at pthread_create.c:312
#13 0x00007fc5cabd130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc57a7f4700 (LWP 29014)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc5cb9b2816 in wait (time=18446744073709551615, this=0x6b8cbb0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x6b8bda0, mutex=mutex@entry=0x6b8bd98, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc552dd5c3d in KIPIPlugins::KPRawThumbThread::run (this=0x6b8c220) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007fc5cb9b232f in QThreadPrivate::start (arg=0x6b8c220) at thread/qthread_unix.cpp:349
#5  0x00007fc5c5e53182 in start_thread (arg=0x7fc57a7f4700) at pthread_create.c:312
#6  0x00007fc5cabd130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc5d11a4ac0 (LWP 23437)):
[KCrash Handler]
#6  0x0000000004a811a0 in ?? ()
#7  0x00007fc5b571ddac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fffc2a229c0, pMem2=<optimized out>, pColl=0x79b7a48) at sqlite3.c:60484
#8  0x00007fc5b571df63 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7fc5a012c8af, pPKey2=pPKey2@entry=0x7fffc2a22cc0) at sqlite3.c:64162
#9  0x00007fc5b5732579 in sqlite3BtreeMovetoUnpacked (pCur=0x7a1bb50, pIdxKey=0x7fffc2a22cc0, intKey=0, biasRight=<optimized out>, pRes=0x7fffc2a22cb0) at sqlite3.c:55077
#10 0x00007fc5b575a9c5 in sqlite3VdbeExec (p=p@entry=0x6bd9448) at sqlite3.c:70168
#11 0x00007fc5b5762ed7 in sqlite3Step (p=0x6bd9448) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fc59f9e311c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x7769eb0, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fc59f9e3e48 in QSQLiteResult::exec (this=0x8192370) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fc5d0dd8b7d in QSqlQuery::exec (this=this@entry=0x7fffc2a231f8) at kernel/qsqlquery.cpp:949
#16 0x00007fc5ce7e4a26 in Digikam::DatabaseCoreBackend::exec (this=0x24a0d90, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fc5ce7e4aac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x24a0d90, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0x00007fc5ce7e5b50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x24a0d90, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0x00007fc5ce7e5b99 in Digikam::DatabaseCoreBackend::execSql (this=0x24a0d90, sql=..., boundValue1=..., values=values@entry=0x7fffc2a23240, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0x00007fc5ce1a942e in Digikam::AlbumDB::getSetting (this=this@entry=0x24e1b90, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0x00007fc5ce1a9d5c in Digikam::AlbumDB::getFilterSettings (this=0x24e1b90, imageFilter=imageFilter@entry=0x7fffc2a23480, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#22 0x000000000063a2c0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x24dcc10) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#23 0x0000000000533f42 in Digikam::KipiInterface::hostSetting (this=this@entry=0x2ce0660, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x00000000005339f4 in Digikam::KipiInterface::currentAlbum (this=0x2ce0660) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:110
#25 0x00007fc5520e5d94 in KIPIAdvancedSlideshowPlugin::Plugin_AdvancedSlideshow::slotAlbumChanged (this=0x49954e0, anyAlbum=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/advancedslideshow/plugin/plugin_advancedslideshow.cpp:175
#26 0x00007fc5cbac887a in QMetaObject::activate (sender=0x2ce0660, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc2a237d0) at kernel/qobject.cpp:3539
#27 0x00007fc5cf1284c2 in KIPI::Interface::currentAlbumChanged(bool) () from /usr/lib/libkipi.so.11
#28 0x00007fc5cbac887a in QMetaObject::activate (sender=0x2522fe0, m=m@entry=0x844e60 <Digikam::AlbumManager::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fffc2a23900) at kernel/qobject.cpp:3539
#29 0x00000000005a2e04 in signalAlbumCurrentChanged (_t1=0x4a428e0, this=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/core/digikam/albummanager.moc:267
#30 Digikam::AlbumManager::setCurrentAlbum (this=<optimized out>, album=album@entry=0x4a428e0) at /build/buildd/digikam-3.5.0/core/digikam/album/albummanager.cpp:1846
#31 0x00000000005c81cd in Digikam::AbstractAlbumTreeView::mousePressEvent (this=0x34ac3e0, e=0x7fffc2a24170) at /build/buildd/digikam-3.5.0/core/digikam/album/albumtreeview.cpp:538
#32 0x00007fc5cc4f637b in QWidget::event (this=this@entry=0x34ac3e0, event=event@entry=0x7fffc2a24170) at kernel/qwidget.cpp:8372
#33 0x00007fc5cc897fce in QFrame::event (this=0x34ac3e0, e=0x7fffc2a24170) at widgets/qframe.cpp:557
#34 0x00007fc5cc9a75b3 in QAbstractItemView::viewportEvent (this=this@entry=0x34ac3e0, event=event@entry=0x7fffc2a24170) at itemviews/qabstractitemview.cpp:1644
#35 0x00007fc5cc9e6190 in QTreeView::viewportEvent (this=this@entry=0x34ac3e0, event=0x7fffc2a24170) at itemviews/qtreeview.cpp:1252
#36 0x00000000005c83d5 in Digikam::AbstractAlbumTreeView::viewportEvent (this=this@entry=0x34ac3e0, event=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/album/albumtreeview.cpp:683
#37 0x00000000005c05c0 in Digikam::AlbumSelectionTreeView::viewportEvent (this=0x34ac3e0, event=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/album/albumselectiontreeview.cpp:233
#38 0x00007fc5cbab4646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x22fd450, receiver=receiver@entry=0x34aa4b0, event=event@entry=0x7fffc2a24170) at kernel/qcoreapplication.cpp:1063
#39 0x00007fc5cc4a6e0c in QApplicationPrivate::notify_helper (this=this@entry=0x22fd450, receiver=receiver@entry=0x34aa4b0, e=e@entry=0x7fffc2a24170) at kernel/qapplication.cpp:4563
#40 0x00007fc5cc4ad5dd in QApplication::notify (this=this@entry=0x7fffc2a24de0, receiver=receiver@entry=0x34aa4b0, e=e@entry=0x7fffc2a24170) at kernel/qapplication.cpp:4110
#41 0x00007fc5cd1b1d1a in KApplication::notify (this=0x7fffc2a24de0, receiver=0x34aa4b0, event=0x7fffc2a24170) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007fc5cbab44dd in QCoreApplication::notifyInternal (this=0x7fffc2a24de0, receiver=receiver@entry=0x34aa4b0, event=event@entry=0x7fffc2a24170) at kernel/qcoreapplication.cpp:953
#43 0x00007fc5cc4acd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x34aa4b0, event=event@entry=0x7fffc2a24170, alienWidget=alienWidget@entry=0x34aa4b0, nativeWidget=nativeWidget@entry=0x2a8df10, buttonDown=buttonDown@entry=0x7fc5ccf8c318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#45 0x00007fc5cc5219cb in QETWidget::translateMouseEvent (this=this@entry=0x2a8df10, event=event@entry=0x7fffc2a244f0) at kernel/qapplication_x11.cpp:4634
#46 0x00007fc5cc521269 in QApplication::x11ProcessEvent (this=0x7fffc2a24de0, event=event@entry=0x7fffc2a244f0) at kernel/qapplication_x11.cpp:3627
#47 0x00007fc5cc548b02 in x11EventSourceDispatch (s=0x22fdc80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0x00007fc5c367ae04 in g_main_dispatch (context=0x22fda50) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#49 g_main_context_dispatch (context=context@entry=0x22fda50) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#50 0x00007fc5c367b048 in g_main_context_iterate (context=context@entry=0x22fda50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#51 0x00007fc5c367b0ec in g_main_context_iteration (context=0x22fda50, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#52 0x00007fc5cbae17a1 in QEventDispatcherGlib::processEvents (this=0x2229020, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#53 0x00007fc5cc548bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007fc5cbab30af in QEventLoop::processEvents (this=this@entry=0x7fffc2a248c0, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007fc5cbab33a5 in QEventLoop::exec (this=this@entry=0x7fffc2a248c0, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007fc5cbab8b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#57 0x00007fc5cc4a537c in QApplication::exec () at kernel/qapplication.cpp:3828
#58 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

The reporter indicates this bug may be a duplicate of or related to bug 329697.

Possible duplicates by query: bug 335667, bug 335630, bug 335622, bug 335574, bug 335529.

Reported using DrKonqi
Comment 1 Thomas Dreibholz 2014-06-02 05:56:57 UTC
Created attachment 86963 [details]
New crash information added by DrKonqi

digikam (3.5.0) on KDE Platform 4.13.1 using Qt 4.8.6

- What I was doing when the application crashed:

Using export to Facebook to upload some images.

-- Backtrace (Reduced):
#7  0x00007f8d5e5e0dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff84e2b6a0, pMem2=<optimized out>, pColl=0x5c6d448) at sqlite3.c:60484
#8  0x00007f8d5e5e0f63 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7f8d481ac18f, pPKey2=pPKey2@entry=0x7fff84e2b9a0) at sqlite3.c:64162
#9  0x00007f8d5e5f5579 in sqlite3BtreeMovetoUnpacked (pCur=0x2bef290, pIdxKey=0x7fff84e2b9a0, intKey=0, biasRight=<optimized out>, pRes=0x7fff84e2b990) at sqlite3.c:55077
#10 0x00007f8d5e61d9c5 in sqlite3VdbeExec (p=p@entry=0x5c711e8) at sqlite3.c:70168
#11 0x00007f8d5e625ed7 in sqlite3Step (p=0x5c711e8) at sqlite3.c:64828
Comment 2 caulier.gilles 2014-06-02 06:42:42 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 3 caulier.gilles 2021-12-17 11:50:53 UTC
Fixed with #329697