Bug 315709 - Crash in Edit mode when using space bar
Summary: Crash in Edit mode when using space bar
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Models (show other bugs)
Version: 2.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-24 02:20 UTC by Cierra
Modified: 2021-08-26 11:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cierra 2013-02-24 02:20:19 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.4.0 x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed: I was in edit mode using the space bar to move forward through my images and the program crashed.

The crash can be reproduced some of the time.

-- 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 0x7f2930a22a00 (LWP 2184))]

Thread 8 (Thread 0x7f292d7cc700 (LWP 2187)):
#0  0x00007f2946bc0303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f294012d036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f294012d49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f292d7d198b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f294014e9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f29424e1e9a in start_thread (arg=0x7f292d7cc700) at pthread_create.c:308
#6  0x00007f2946bcbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f292cfcb700 (LWP 2188)):
#0  0x00007f2946bc0303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f294012d036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f294012d49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2935f01406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f294014e9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f29424e1e9a in start_thread (arg=0x7f292cfcb700) at pthread_create.c:308
#6  0x00007f2946bcbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f291ad38700 (LWP 2190)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f29479a34db in wait (time=18446744073709551615, this=0x1f90fa0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1f90e98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005ca1d0 in Digikam::ScanController::run (this=0x1f90c30) at /build/buildd/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647
#4  0x00007f29479a2fcb in QThreadPrivate::start (arg=0x1f90c30) at thread/qthread_unix.cpp:298
#5  0x00007f29424e1e9a in start_thread (arg=0x7f291ad38700) at pthread_create.c:308
#6  0x00007f2946bcbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f291a537700 (LWP 2191)):
#0  0x00007f2940168345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f29401685c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f294012c83b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f294012cf5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f294012d164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f2947ad1426 in QEventDispatcherGlib::processEvents (this=0x7f290c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f2947aa0c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f2947aa0ed7 in QEventLoop::exec (this=0x7f291a536b50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f294799ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f2947a809ff in QInotifyFileSystemWatcherEngine::run (this=0x1fb2950) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f29479a2fcb in QThreadPrivate::start (arg=0x1fb2950) at thread/qthread_unix.cpp:298
#11 0x00007f29424e1e9a in start_thread (arg=0x7f291a537700) at pthread_create.c:308
#12 0x00007f2946bcbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2919d36700 (LWP 2193)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f29479a34db in wait (time=18446744073709551615, this=0x229a6b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x229a418, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f294ada9ff1 in Digikam::ParkingThread::run (this=0x229a400) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f29479a2fcb in QThreadPrivate::start (arg=0x229a400) at thread/qthread_unix.cpp:298
#5  0x00007f29424e1e9a in start_thread (arg=0x7f2919d36700) at pthread_create.c:308
#6  0x00007f2946bcbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f28d2ffd700 (LWP 3952)):
#0  QThread::currentThread () at thread/qthread.cpp:360
#1  0x00007f294ad3a14c in Digikam::DatabaseCoreBackendPrivate::setDatabaseErrorForThread (this=0x208f060, lastError=...) at /build/buildd/digikam-2.5.0/core/libs/database/databasecorebackend.cpp:173
#2  0x00007f294ad3ceea in Digikam::DatabaseCoreBackend::queryErrorHandling (this=0x201ff90, query=..., retries=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/database/databasecorebackend.cpp:1309
#3  0x00007f294ad3d203 in exec (query=..., this=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/database/databasecorebackend.cpp:1411
#4  Digikam::DatabaseCoreBackend::exec (this=0x201ff90, query=...) at /build/buildd/digikam-2.5.0/core/libs/database/databasecorebackend.cpp:1389
#5  0x00007f294ad3eafb in Digikam::DatabaseCoreBackend::execQuery (this=0x201ff90, query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-2.5.0/core/libs/database/databasecorebackend.cpp:1077
#6  0x00007f294ad3eb6a in Digikam::DatabaseCoreBackend::execQuery (this=0x201ff90, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-2.5.0/core/libs/database/databasecorebackend.cpp:1022
#7  0x00007f294ad3f295 in Digikam::DatabaseCoreBackend::execSql (this=0x201ff90, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=0x0, lastInsertId=0x7f28d2ffc3e0) at /build/buildd/digikam-2.5.0/core/libs/database/databasecorebackend.cpp:921
#8  0x00007f294ad4aa43 in Digikam::ThumbnailDB::insertThumbnail (this=0x1f6d880, info=..., lastInsertId=0x7f28d2ffc4c0) at /build/buildd/digikam-2.5.0/core/libs/database/thumbnaildb.cpp:262
#9  0x00007f294ad81a58 in Digikam::ThumbnailCreator::storeInDatabase (this=<optimized out>, info=..., image=...) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/thumbnailcreator.cpp:753
#10 0x00007f294ad87199 in Digikam::ThumbnailCreator::load (this=0x2e8e590, path=..., rect=..., pregenerate=false) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/thumbnailcreator.cpp:264
#11 0x00007f294ad87bf2 in Digikam::ThumbnailCreator::load (this=<optimized out>, path=...) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/thumbnailcreator.cpp:196
#12 0x00007f294ad96857 in Digikam::ThumbnailLoadingTask::execute (this=0xbb05140) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/thumbnailtask.cpp:169
#13 0x00007f294ad6668e in Digikam::LoadSaveThread::run (this=0x2e8e710) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/loadsavethread.cpp:118
#14 0x00007f294adabece in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x2e8e810) at /build/buildd/digikam-2.5.0/core/libs/threads/dynamicthread.cpp:328
#15 0x00007f29479964f2 in QThreadPoolThread::run (this=0x5913a10) at concurrent/qthreadpool.cpp:107
#16 0x00007f29479a2fcb in QThreadPrivate::start (arg=0x5913a10) at thread/qthread_unix.cpp:298
#17 0x00007f29424e1e9a in start_thread (arg=0x7f28d2ffd700) at pthread_create.c:308
#18 0x00007f2946bcbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f28d27fc700 (LWP 3955)):
#0  0x00007f2942e643d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f2942e62efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f29424e1e9a in start_thread (arg=0x7f28d27fc700) at pthread_create.c:308
#3  0x00007f2946bcbcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2930a22a00 (LWP 2184)):
[KCrash Handler]
#6  size (this=0x100000003) at ../../include/QtCore/../../src/corelib/tools/qvector.h:137
#7  QSortFilterProxyModelPrivate::proxy_to_source (this=0x3850940, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:370
#8  0x00007f2948a48edd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2502
#9  0x00007f294a7ad8e6 in Digikam::ImageSortFilterModel::mapToSourceImageModel (this=0x3850910, index=...) at /build/buildd/digikam-2.5.0/core/libs/models/imagefiltermodel.cpp:127
#10 0x00007f294a7adb6c in Digikam::ImageSortFilterModel::imageInfo (this=0x3850910, index=...) at /build/buildd/digikam-2.5.0/core/libs/models/imagefiltermodel.cpp:174
#11 0x00000000004902fb in Digikam::ImageWindow::loadIndex (this=<optimized out>, index=...) at /build/buildd/digikam-2.5.0/core/utilities/imageeditor/editor/imagewindow.cpp:768
#12 0x000000000049058d in Digikam::ImageWindow::slotForward (this=0x35e7470) at /build/buildd/digikam-2.5.0/core/utilities/imageeditor/editor/imagewindow.cpp:774
#13 0x00007f2947ab6281 in QMetaObject::activate (sender=0x385c240, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8ec9d0d0) at kernel/qobject.cpp:3547
#14 0x00007f2948495132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#15 0x00007f294849531f in QAction::activate (this=0x385c240, event=<optimized out>) at kernel/qaction.cpp:1257
#16 0x00007f294849548f in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#17 0x00007f29490eca6a in KAction::event (this=<optimized out>, event=0x7fff8ec9d6f0) at ../../kdeui/actions/kaction.cpp:131
#18 0x00007f294849b894 in notify_helper (e=0x7fff8ec9d6f0, receiver=0x385c240, this=0x1d4b040) at kernel/qapplication.cpp:4559
#19 QApplicationPrivate::notify_helper (this=0x1d4b040, receiver=0x385c240, e=0x7fff8ec9d6f0) at kernel/qapplication.cpp:4531
#20 0x00007f29484a0713 in QApplication::notify (this=0x7fff8ec9eca0, receiver=0x385c240, e=0x7fff8ec9d6f0) at kernel/qapplication.cpp:4420
#21 0x00007f29491d53f6 in KApplication::notify (this=0x7fff8ec9eca0, receiver=0x385c240, event=0x7fff8ec9d6f0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007f2947aa1e9c in QCoreApplication::notifyInternal (this=0x7fff8ec9eca0, receiver=0x385c240, event=0x7fff8ec9d6f0) at kernel/qcoreapplication.cpp:876
#23 0x00007f29484cd8b9 in sendEvent (event=0x7fff8ec9d6f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7fff8ec9dc90) at kernel/qshortcutmap.cpp:879
#25 0x00007f29484ced8a in QShortcutMap::tryShortcutEvent (this=0x1d4b160, o=<optimized out>, e=0x7fff8ec9dc90) at kernel/qshortcutmap.cpp:364
#26 0x00007f29484a1f92 in QApplication::notify (this=0x7fff8ec9eca0, receiver=0x35ef380, e=0x7fff8ec9dc90) at kernel/qapplication.cpp:3983
#27 0x00007f29491d53f6 in KApplication::notify (this=0x7fff8ec9eca0, receiver=0x35ef380, event=0x7fff8ec9dc90) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f2947aa1e9c in QCoreApplication::notifyInternal (this=0x7fff8ec9eca0, receiver=0x35ef380, event=0x7fff8ec9dc90) at kernel/qcoreapplication.cpp:876
#29 0x00007f294853fc49 in QKeyMapper::sendKeyEvent (keyWidget=0x35ef380, grab=<optimized out>, type=QEvent::KeyPress, code=32, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866
#30 0x00007f29485400bb in QKeyMapperPrivate::translateKeyEvent (this=0x1d80d70, keyWidget=0x35ef380, event=0x7fff8ec9e780, grab=false) at kernel/qkeymapper_x11.cpp:1836
#31 0x00007f294851a637 in QApplication::x11ProcessEvent (this=0x7fff8ec9eca0, event=0x7fff8ec9e780) at kernel/qapplication_x11.cpp:3625
#32 0x00007f29485440d2 in x11EventSourceDispatch (s=0x1d4c870, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f294012cd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f294012d0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f294012d164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f2947ad13bf in QEventDispatcherGlib::processEvents (this=0x1cebb60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f2948543d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f2947aa0c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f2947aa0ed7 in QEventLoop::exec (this=0x7fff8ec9eb20, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f2947aa5f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#41 0x000000000048bc5d in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.5.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 307398, bug 306162, bug 303174, bug 298953.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-02-24 08:19:18 UTC

*** This bug has been marked as a duplicate of bug 285250 ***
Comment 2 caulier.gilles 2021-08-26 11:33:19 UTC
Fixed with #285250