Bug 286065 - Digikam crash when I delete a photograph
Summary: Digikam crash when I delete a photograph
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Trash (show other bugs)
Version: 2.1.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 00:05 UTC by Autiwa
Modified: 2020-09-13 02:03 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Autiwa 2011-11-08 00:05:39 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
I was sorting my pictures. When I pressed delete for one photo (it was not the first I deleted) the application crashed. That all I can remember.

I use Ubuntu 11.10 with unity-2D

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1e53117a20 (LWP 14143))]

Thread 14 (Thread 0x7f1e2bfff700 (LWP 14147)):
#0  0x00007f1e4cd2c773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1e468b0f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1e468b1792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1e3c869516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f1e468d62b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1e487d3efc in start_thread (arg=0x7f1e2bfff700) at pthread_create.c:304
#6  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f1e27daf700 (LWP 14151)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1e4da961ab in wait (time=18446744073709551615, this=0x19bebd0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x19bea78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c2e20 in Digikam::ScanController::run (this=0x19be6f0) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4  0x00007f1e4da95d05 in QThreadPrivate::start (arg=0x19be6f0) at thread/qthread_unix.cpp:331
#5  0x00007f1e487d3efc in start_thread (arg=0x7f1e27daf700) at pthread_create.c:304
#6  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f1e275ae700 (LWP 14152)):
#0  0x00007f1e4cd46a86 in pthread_mutex_lock (mutex=0x19e15e8) at forward.c:182
#1  0x00007f1e468b075f in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1e468b0f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1e468b1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1e4dba7f3e in QEventDispatcherGlib::processEvents (this=0x19e1430, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f1e4db7bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1e4db7bef7 in QEventLoop::exec (this=0x7f1e275adb30, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f1e4da9327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f1e4db5ecbf in QInotifyFileSystemWatcherEngine::run (this=0x19da6e0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f1e4da95d05 in QThreadPrivate::start (arg=0x19da6e0) at thread/qthread_unix.cpp:331
#10 0x00007f1e487d3efc in start_thread (arg=0x7f1e275ae700) at pthread_create.c:304
#11 0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f1e26dad700 (LWP 14156)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1e4da961ab in wait (time=18446744073709551615, this=0x1df2e10) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1df2998, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1e509da737 in Digikam::ParkingThread::run (this=0x1df2980) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007f1e4da95d05 in QThreadPrivate::start (arg=0x1df2980) at thread/qthread_unix.cpp:331
#5  0x00007f1e487d3efc in start_thread (arg=0x7f1e26dad700) at pthread_create.c:304
#6  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f1e1dc61700 (LWP 14157)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f1e235987d1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f1e487d3efc in start_thread (arg=0x7f1e1dc61700) at pthread_create.c:304
#3  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f1e1c9fd700 (LWP 14158)):
#0  0x00007f1e4cd31913 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f1e235bff34 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f1e235a5211 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f1e487d3efc in start_thread (arg=0x7f1e1c9fd700) at pthread_create.c:304
#4  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f1e1c1fc700 (LWP 14159)):
#0  0x00007f1e468afe6a in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1e468b0dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1e468b1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1e4dba7f3e in QEventDispatcherGlib::processEvents (this=0x26528a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1e4db7bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1e4db7bef7 in QEventLoop::exec (this=0x7f1e1c1fbb10, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1e4da9327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f1e237f439e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f1e4da95d05 in QThreadPrivate::start (arg=0x2652260) at thread/qthread_unix.cpp:331
#9  0x00007f1e487d3efc in start_thread (arg=0x7f1e1c1fc700) at pthread_create.c:304
#10 0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f1e1b7f6700 (LWP 14160)):
#0  0x00007f1e4cd2c773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1e4c53903f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f1e4c52a45c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f1e4c52aac9 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f1e4c52ab80 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f1e4c538fef in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f1e44523c78 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#7  0x00007f1e487d3efc in start_thread (arg=0x7f1e1b7f6700) at pthread_create.c:304
#8  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1e16ff4700 (LWP 14161)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1e235a9793 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f1e487d3efc in start_thread (arg=0x7f1e16ff4700) at pthread_create.c:304
#3  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1e159b1700 (LWP 14169)):
#0  0x00007f1e4cd2c773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1e468b0f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1e468b1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1e4dba7f3e in QEventDispatcherGlib::processEvents (this=0x29b4020, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1e4db7bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1e4db7bef7 in QEventLoop::exec (this=0x7f1e159b0b30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1e4da9327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f1e4db5ecbf in QInotifyFileSystemWatcherEngine::run (this=0x2b54540) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1e4da95d05 in QThreadPrivate::start (arg=0x2b54540) at thread/qthread_unix.cpp:331
#9  0x00007f1e487d3efc in start_thread (arg=0x7f1e159b1700) at pthread_create.c:304
#10 0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1e167f3700 (LWP 14482)):
#0  0x00007f1e491543b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f1e49152ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f1e487d3efc in start_thread (arg=0x7f1e167f3700) at pthread_create.c:304
#3  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1e00cf2700 (LWP 14483)):
#0  0x00007f1e491543b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f1e49152ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f1e487d3efc in start_thread (arg=0x7f1e00cf2700) at pthread_create.c:304
#3  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1dfbfff700 (LWP 14484)):
#0  0x00007f1e491543b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f1e49152ede in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f1e487d3efc in start_thread (arg=0x7f1dfbfff700) at pthread_create.c:304
#3  0x00007f1e4cd3889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1e53117a20 (LWP 14143)):
[KCrash Handler]
#6  QAbstractScrollArea::viewport (this=0x0) at widgets/qabstractscrollarea.cpp:574
#7  0x00007f1e26157744 in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#8  0x00007f1e2615860a in QSpiAccessibleBridge::notifyAboutCreation(QSpiAdaptor*) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#9  0x00007f1e26157bd8 in QSpiAccessibleBridge::interfaceToAccessible(QAccessibleInterface*, int, bool) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#10 0x00007f1e26159086 in QSpiAccessibleBridge::notifyAccessibilityUpdate(int, QAccessibleInterface*, int) () from /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so
#11 0x00007f1e4ea83299 in QAccessible::updateAccessibility (o=<optimized out>, who=0, reason=QAccessible::NameChanged) at accessible/qaccessible_unix.cpp:107
#12 0x00007f1e4e934594 in QAbstractButton::setText (this=0x712ba10, text=...) at widgets/qabstractbutton.cpp:647
#13 0x00000000004976cf in Digikam::DeleteWidget::DeleteWidget (this=0x7f1dfc0282b0, parent=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/dialogs/deletedialog.cpp:142
#14 0x00000000004983b7 in Digikam::DeleteDialog::DeleteDialog (this=0x7ffff4c12ef0, parent=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/dialogs/deletedialog.cpp:339
#15 0x00000000005fe5c4 in Digikam::ImageViewUtilities::deleteImages (this=0x1f4b060, infos=<optimized out>, deletePermanently=false) at /build/buildd/digikam-2.1.1/core/digikam/items/imageviewutilities.cpp:145
#16 0x00000000005ed26f in Digikam::DigikamImageView::deleteSelected (this=0x1c37580, permanently=false) at /build/buildd/digikam-2.1.1/core/digikam/items/digikamimageview.cpp:559
#17 0x0000000000647e8d in Digikam::DigikamView::qt_metacall (this=0x1a195e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffff4c13100) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/digikamview.moc:320
#18 0x00007f1e4db8feba in QMetaObject::activate (sender=0x2a0a540, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff4c13100) at kernel/qobject.cpp:3278
#19 0x00007f1e4e576b62 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#20 0x00007f1e4e576d4f in QAction::activate (this=0x2a0a540, event=<optimized out>) at kernel/qaction.cpp:1257
#21 0x00007f1e4e576ebf in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1183
#22 0x00007f1e4f1aa86a in KAction::event (this=<optimized out>, event=0x7ffff4c13590) at ../../kdeui/actions/kaction.cpp:131
#23 0x00007f1e4e57d424 in notify_helper (e=0x7ffff4c13590, receiver=0x2a0a540, this=0x16bf0f0) at kernel/qapplication.cpp:4486
#24 QApplicationPrivate::notify_helper (this=0x16bf0f0, receiver=0x2a0a540, e=0x7ffff4c13590) at kernel/qapplication.cpp:4458
#25 0x00007f1e4e582291 in QApplication::notify (this=0x7ffff4c14930, receiver=0x2a0a540, e=0x7ffff4c13590) at kernel/qapplication.cpp:4365
#26 0x00007f1e4f291126 in KApplication::notify (this=0x7ffff4c14930, receiver=0x2a0a540, event=0x7ffff4c13590) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f1e4db7cafc in QCoreApplication::notifyInternal (this=0x7ffff4c14930, receiver=0x2a0a540, event=0x7ffff4c13590) at kernel/qcoreapplication.cpp:787
#28 0x00007f1e4e5af499 in sendEvent (event=0x7ffff4c13590, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7ffff4c139a0) at kernel/qshortcutmap.cpp:879
#30 0x00007f1e4e5b096a in QShortcutMap::tryShortcutEvent (this=0x16bf218, o=<optimized out>, e=0x7ffff4c139a0) at kernel/qshortcutmap.cpp:364
#31 0x00007f1e4e583b12 in QApplication::notify (this=0x7ffff4c14930, receiver=0x1dee640, e=0x7ffff4c139a0) at kernel/qapplication.cpp:3928
#32 0x00007f1e4f291126 in KApplication::notify (this=0x7ffff4c14930, receiver=0x1dee640, event=0x7ffff4c139a0) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007f1e4db7cafc in QCoreApplication::notifyInternal (this=0x7ffff4c14930, receiver=0x1dee640, event=0x7ffff4c139a0) at kernel/qcoreapplication.cpp:787
#34 0x00007f1e4e620f99 in QKeyMapper::sendKeyEvent (keyWidget=0x1dee640, grab=<optimized out>, type=QEvent::KeyPress, code=16777223, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=119, nativeVirtualKey=65535, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#35 0x00007f1e4e62140b in QKeyMapperPrivate::translateKeyEvent (this=0x16feff0, keyWidget=0x1dee640, event=0x7ffff4c143e0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#36 0x00007f1e4e5fc347 in QApplication::x11ProcessEvent (this=0x7ffff4c14930, event=0x7ffff4c143e0) at kernel/qapplication_x11.cpp:3583
#37 0x00007f1e4e625412 in x11EventSourceDispatch (s=0x16c36a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007f1e468b0a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f1e468b1258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f1e468b1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f1e4dba7ed6 in QEventDispatcherGlib::processEvents (this=0x1664270, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007f1e4e62507e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f1e4db7bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f1e4db7bef7 in QEventLoop::exec (this=0x7ffff4c147b0, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007f1e4db80789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#46 0x00000000004893fd in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 Pierre Hanser 2011-11-08 18:54:45 UTC
try shooting away

/usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so

and confirm it works (perhaps)
Comment 2 Autiwa 2011-11-08 18:57:55 UTC
Thanks for your response, but I don't understand. 

You want me to remove the file /usr/lib/qt4/plugins/accessiblebridge/libqspiaccessiblebridge.so ?

If so, how am I supposed to do this? Is there a proper way to do it, or I just delete it via 'rm' in command line? Is there any risk to broke my system?
Comment 3 Autiwa 2011-11-08 19:39:51 UTC
Ok. I did : 
sudo mv libqspiaccessiblebridge.so{,.bak}

Thanks for your help !
Comment 4 caulier.gilles 2011-11-09 08:35:15 UTC
Autiwa,

And it's work ? And can close this file now ?

Gilles Caulier
Comment 5 Autiwa 2011-11-09 16:19:56 UTC
I don't know yet because I didn't use digikam again. The problem is that it did not crash every time I wanted to delete a photograph, that's why it might be tricky to know if it solve my problem or not. For the moment let's consider the problem is solved. I'll add some comments on the contrary.
Comment 6 caulier.gilles 2011-11-09 16:45:27 UTC

*** This bug has been marked as a duplicate of bug 285742 ***
Comment 7 caulier.gilles 2020-09-13 02:03:14 UTC
Fixed with #285742