Bug 211238 - Scrolling (shift + mousewheel) through pictures in editor caused crash
Summary: Scrolling (shift + mousewheel) through pictures in editor caused crash
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Mouse (show other bugs)
Version: 1.1.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 19:53 UTC by Christian
Modified: 2017-08-07 21:03 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian 2009-10-20 19:53:04 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-gentoo-r4 x86_64

What I was doing when the application crashed:
i was simply shift+mousewheel switching pictures in the editor when it segfaulted.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 0 (LWP 15248)]

Thread 13 (Thread 0x7ffce630d950 (LWP 15249)):
#0  0x00007ffcf386ddc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffcf3adb6c9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x000000000064aa93 in ?? ()
#3  0x00007ffcf3ada934 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ffce4e54950 (LWP 15251)):
#0  0x00007ffcf386ddc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffcf3adb6c9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffcf5d98d5c in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#3  0x00007ffcf3ada934 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ffcdffff950 (LWP 15252)):
#0  0x00007ffcf386ddc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffcf3adb6c9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffcf5d98d5c in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#3  0x00007ffcf3ada934 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ffcd9dd2950 (LWP 15253)):
#0  0x00007ffcf386e04d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffcddd05931 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#3  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ffcd8995950 (LWP 15254)):
#0  0x00007ffcf1e22b92 in select () from /lib/libc.so.6
#1  0x00007ffcddd2a544 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007ffcddd11e15 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#4  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ffcd8194950 (LWP 15255)):
#0  0x00007ffcf1e20af6 in poll () from /lib/libc.so.6
#1  0x00007ffcef43b489 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffcef43b77c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffcf3bd4c9e in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffcf3bae232 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007ffcf3bae3cc in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffcf3ad7dcc in QThread::exec () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007ffcddf5c66c in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ffcf3ada934 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#10 0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ffcd7789950 (LWP 15258)):
#0  0x00007ffcf1e20af6 in poll () from /lib/libc.so.6
#1  0x00007ffcd778ea68 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#3  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ffcd6f88950 (LWP 15259)):
#0  0x00007ffcf386ddc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffcddd13790 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007ffcddd1454c in ?? () from /usr/lib64/libxine.so.1
#3  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#4  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffcd4f22950 (LWP 15275)):
#0  0x00007ffcf386ddc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffcf3adb6c9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffcf5d98d5c in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#3  0x00007ffcf3ada934 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffcd2e78950 (LWP 15297)):
[KCrash Handler]
#5  0x00007ffcf5daa748 in ?? () from /usr/lib64/libdigikamcore.so.1
#6  0x00007ffcf5d98d66 in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#7  0x00007ffcf3ada934 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#9  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffcd4721950 (LWP 15298)):
#0  0x00007ffcf386ddc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffcf3adb6c9 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffcf5d98d5c in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#3  0x00007ffcf3ada934 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffcd3e7a950 (LWP 15299)):
#0  0x00007ffcf386ddc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffcf3ad9fdb in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffcf3ad6165 in QMutex::lock () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ffcf5daaabf in ?? () from /usr/lib64/libdigikamcore.so.1
#4  0x00007ffcf5d98d66 in Digikam::LoadSaveThread::run () from /usr/lib64/libdigikamcore.so.1
#5  0x00007ffcf3ada934 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffcf386a017 in start_thread () from /lib/libpthread.so.0
#7  0x00007ffcf1e2948d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffcf8a49750 (LWP 15248)):
#0  0x00007ffcf1e20af6 in poll () from /lib/libc.so.6
#1  0x00007ffcea725ada in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ffcea7260c9 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007ffcea726375 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007ffcf0b8ca16 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007ffcf0b8cfb1 in _XEventsQueued () from /usr/lib64/libX11.so.6
#6  0x00007ffcf0b75b33 in XEventsQueued () from /usr/lib64/libX11.so.6
#7  0x00007ffcf2a78b87 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#8  0x00007ffcef43af02 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#9  0x00007ffcef43b2af in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00007ffcef43b77c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#11 0x00007ffcf3bd4c7f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007ffcf2a787df in ?? () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007ffcf3bae232 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007ffcf3bae3cc in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007ffcf3bb048c in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#16 0x000000000066fb47 in ?? ()
#17 0x00007ffcf1d775c6 in __libc_start_main () from /lib/libc.so.6
#18 0x0000000000457c19 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-21 15:06:28 UTC
The backtrace is a bit generic (not really useful). If you could reproduce the crash at will a full backtrace (and an explanation) would be very useful.
Regards
Comment 2 Christian 2009-10-21 23:07:58 UTC
Reproducable, i and another guy from a irc-channel can get it to segfault by switching fast through pictures with shift+mousewheel.


Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 0 (LWP 21895)]

Thread 11 (Thread 0x7ff7e20a6950 (LWP 21896)):
#0  0x00007ff7ef5f0dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff7ef85e669 in QWaitCondition::wait (this=0x12f0dc8, mutex=0x12f0dc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x0000000000641ce3 in Digikam::ScanController::run (this=0x12f0960) at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0/digikam/scancontroller.cpp:412
#3  0x00007ff7ef85d8d4 in QThreadPrivate::start (arg=0x12f0960) at thread/qthread_unix.cpp:188
#4  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ff7e1004950 (LWP 21898)):
#0  0x00007ff7ef5f0dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff7ef85e669 in QWaitCondition::wait (this=0x15250b0, mutex=0x15250a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007ff7f1b0d30c in Digikam::LoadSaveThread::run (this=0x1525090) at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007ff7ef85d8d4 in QThreadPrivate::start (arg=0x1525090) at thread/qthread_unix.cpp:188
#4  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ff7dbfff950 (LWP 21899)):
#0  0x00007ff7ef5f0dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff7ef85e669 in QWaitCondition::wait (this=0x1554ea0, mutex=0x1554e98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007ff7f1b0d30c in Digikam::LoadSaveThread::run (this=0x1554e80) at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007ff7ef85d8d4 in QThreadPrivate::start (arg=0x1554e80) at thread/qthread_unix.cpp:188
#4  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ff7d5aab950 (LWP 21900)):
#0  0x00007ff7ef5f104d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff7d99b8931 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#3  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff7d466e950 (LWP 21901)):
#0  0x00007ff7edbafb92 in select () from /lib/libc.so.6
#1  0x00007ff7d99dd544 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007ff7d99c4e15 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#4  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff7d3e6d950 (LWP 21902)):
#0  0x00007ff7edbadaf6 in poll () from /lib/libc.so.6
#1  0x00007ff7eb1c9489 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ff7eb1c977c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ff7ef955d5e in QEventDispatcherGlib::processEvents (this=0x1ab8240, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007ff7ef92fb32 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -739848336}) at kernel/qeventloop.cpp:149
#5  0x00007ff7ef92fccc in QEventLoop::exec (this=0x7ff7d3e6cfb0, flags={i = -739848256}) at kernel/qeventloop.cpp:197
#6  0x00007ff7ef85adcc in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007ff7d9c0f66c in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007ff7ef85d8d4 in QThreadPrivate::start (arg=0x1ab7c40) at thread/qthread_unix.cpp:188
#9  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#10 0x00007ff7edbb648d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff7d3462950 (LWP 21905)):
#0  0x00007ff7edbadaf6 in poll () from /lib/libc.so.6
#1  0x00007ff7d3467a68 in ?? () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#3  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff7d2c61950 (LWP 21906)):
#0  0x00007ff7ef5f0dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff7d99c6790 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007ff7d99c754c in ?? () from /usr/lib64/libxine.so.1
#3  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#4  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff7d03fa950 (LWP 21922)):
#0  0x00007ff7ef5f0dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff7ef85e669 in QWaitCondition::wait (this=0x22d4080, mutex=0x22d4078, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007ff7f1b0d30c in Digikam::LoadSaveThread::run (this=0x22d4060) at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007ff7ef85d8d4 in QThreadPrivate::start (arg=0x22d4060) at thread/qthread_unix.cpp:188
#4  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff7cebf7950 (LWP 21940)):
#0  0x00007ff7ef5f0dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff7ef85e669 in QWaitCondition::wait (this=0x346e000, mutex=0x346dff8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007ff7f1b0d30c in Digikam::LoadSaveThread::run (this=0x346dfe0) at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007ff7ef85d8d4 in QThreadPrivate::start (arg=0x346dfe0) at thread/qthread_unix.cpp:188
#4  0x00007ff7ef5ed017 in start_thread () from /lib/libpthread.so.0
#5  0x00007ff7edbb648d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff7f47ac750 (LWP 21895)):
[KCrash Handler]
#5  Digikam::ImageInfo::operator= (this=0x3461ca0, info=@0x1) at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0/digikam/../libs/dimg/dshareddata.h:103
#6  0x000000000045a0ad in Digikam::ImageWindow::slotBackward (this=0x3446a00) at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0/utilities/imageeditor/editor/imagewindow.cpp:618
#7  0x00000000004600f9 in Digikam::ImageWindow::qt_metacall (this=0x3446a00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffadcb8d10)
    at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0_build/digikam/imagewindow.moc:130
#8  0x00007ff7ef942fd7 in QMetaObject::activate (sender=0x346c080, from_signal_index=<value optimized out>, to_signal_index=58, argv=0x3769300) at kernel/qobject.cpp:3101
#9  0x00007ff7f26c6398 in Q3ScrollView::viewportWheelEvent (this=0x346c080, e=0x7fffadcb8de0) at widgets/q3scrollview.cpp:1878
#10 0x00007ff7f26c6459 in Q3ScrollView::wheelEvent (this=0x346c080, e=0x7fffadcb91d0) at widgets/q3scrollview.cpp:1160
#11 0x00007ff7ee7cb716 in QWidget::event (this=0x346c080, event=0x7fffadcb91d0) at kernel/qwidget.cpp:7557
#12 0x00007ff7eeae4b4b in QFrame::event (this=0x346c080, e=0x7fffadcb91d0) at widgets/qframe.cpp:559
#13 0x00007ff7ee77ed0d in QApplicationPrivate::notify_helper (this=0x1146a90, receiver=0x346c080, e=0x7fffadcb91d0) at kernel/qapplication.cpp:4056
#14 0x00007ff7ee78709b in QApplication::notify (this=<value optimized out>, receiver=0x346ca80, e=0x7fffadcb9480) at kernel/qapplication.cpp:3821
#15 0x00007ff7f074e21b in KApplication::notify (this=0x7fffadcbb560, receiver=0x346ca80, event=0x7fffadcb9480)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r2/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#16 0x00007ff7ef93115c in QCoreApplication::notifyInternal (this=0x7fffadcbb560, receiver=0x346ca80, event=0x7fffadcb9480) at kernel/qcoreapplication.cpp:606
#17 0x00007ff7ee7d4612 in QETWidget::translateWheelEvent (this=0x3446a00, global_x=<value optimized out>, global_y=<value optimized out>, delta=120, buttons={i = -1379166064}, modifiers=
      {i = -1379166080}, orient=Qt::Vertical) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#18 0x00007ff7ee7e174d in QETWidget::translateMouseEvent (this=0x3446a00, event=0x7fffadcbb180) at kernel/qapplication_x11.cpp:4219
#19 0x00007ff7ee7dffc6 in QApplication::x11ProcessEvent (this=0x7fffadcbb560, event=0x7fffadcbb180) at kernel/qapplication_x11.cpp:3545
#20 0x00007ff7ee804bbc in x11EventSourceDispatch (s=0x114a700, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#21 0x00007ff7eb1c5e81 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0x00007ff7eb1c95b8 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0x00007ff7eb1c977c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0x00007ff7ef955d3f in QEventDispatcherGlib::processEvents (this=0x1146210, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#25 0x00007ff7ee80447f in QGuiEventDispatcherGlib::processEvents (this=0x3461ca0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007ff7ef92fb32 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1379158928}) at kernel/qeventloop.cpp:149
#27 0x00007ff7ef92fccc in QEventLoop::exec (this=0x7fffadcbb4b0, flags={i = -1379158848}) at kernel/qeventloop.cpp:197
#28 0x00007ff7ef931d2c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x00000000006663af in main (argc=<value optimized out>, argv=0x7fffadcbbce8) at /var/tmp/portage/media-gfx/digikam-0.10.0-r1/work/digikam-0.10.0/digikam/main.cpp:190
Comment 3 Dario Andres 2009-10-21 23:18:14 UTC
Mh, the backtrace seems to be a bit different...
Thanks. Reopening
Comment 4 caulier.gilles 2009-10-21 23:22:13 UTC
dshareddata trace have been already seen in this room. Fixed by marcel wirh 1.0.0. Please test with beta5 or current code from svn.

Gilles Caulier
Comment 5 caulier.gilles 2009-12-25 20:07:31 UTC
digiKam 1.0.0 is out since few days...

http://www.digikam.org/drupal/node/491

Please try with this version coming with more than 400 bug-fixes.

Thanks in advance

Gilles Caulier
Comment 6 Bartek Pietrasiak 2010-01-04 23:04:13 UTC
I had the same today:

Application that crashed: digikam
Version of the application: 1.1.0 (rev.: 1069651)
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.3
Operating System: Linux 2.6.30.9-102.fc11.i686.PAE i686
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
<In detail, tell us what you were doing  when the application crashed.>

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0xb78427b0 (LWP 3151))]

Thread 16 (Thread 0xb625cb70 (LWP 3152)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac035 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x066f0307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x082ec5d8 in Digikam::ScanController::run (this=0x90cf700) at /home/work/projects/os/digikam/graphics/digikam/digikam/scancontroller.cpp:502
#4  0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#6  0x00a5db0e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb55dbb70 (LWP 3153)):
#0  0x007f7f66 in clock_gettime () from /lib/librt.so.1
#1  0x0680b743 in ?? () from /usr/lib/libQtCore.so.4
#2  0x0680b931 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0680baca in ?? () from /usr/lib/libQtCore.so.4
#4  0x06809d60 in ?? () from /usr/lib/libQtCore.so.4
#5  0x047f2240 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x047f2601 in ?? () from /lib/libglib-2.0.so.0
#7  0x047f2b13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x06809bb7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x067dd639 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x067dda8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x066ebfc3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0x004d3619 in Digikam::ImageFilterModelWorker::Thread::run (this=0x92422a8)
    at /home/work/projects/os/digikam/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66
#13 0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#14 0x007a79a5 in start_thread () from /lib/libpthread.so.0
#15 0x00a5db0e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb4bdab70 (LWP 3154)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x00a53236 in poll () from /lib/libc.so.6
#2  0xffffffff in ?? ()
#3  0x00000001 in ?? ()
#4  0x048981a4 in freopen64 () from /lib/libglib-2.0.so.0
#5  0xb3e004d8 in ?? ()
#6  0x00000001 in ?? ()
#7  0xb4bda088 in ?? ()
#8  0x047ffadb in g_poll () from /lib/libglib-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 13 (Thread 0xb3dffb70 (LWP 3155)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac035 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x066f0307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x010e7f83 in Digikam::LoadSaveThread::run (this=0x9250918) at /home/work/projects/os/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#6  0x00a5db0e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb33feb70 (LWP 3156)):
#0  0x007f7f66 in clock_gettime () from /lib/librt.so.1
#1  0x0680b743 in ?? () from /usr/lib/libQtCore.so.4
#2  0x0680b931 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0680baca in ?? () from /usr/lib/libQtCore.so.4
#4  0x06809d60 in ?? () from /usr/lib/libQtCore.so.4
#5  0x047f2240 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x047f2601 in ?? () from /lib/libglib-2.0.so.0
#7  0x047f2b13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x06809bb7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x067dd639 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x067dda8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x066ebfc3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0x082e3bcb in Digikam::MetadataManagerWorker::Thread::run (this=0x9353dd8) at /home/work/projects/os/digikam/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:143
#13 0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#14 0x007a79a5 in start_thread () from /lib/libpthread.so.0
#15 0x00a5db0e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb29fdb70 (LWP 3157)):
#0  0x047f1fa1 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x047f272c in ?? () from /lib/libglib-2.0.so.0
#2  0x047f2b13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x06809bb7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x067dd639 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x067dda8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x066ebfc3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x082e3bcb in Digikam::MetadataManagerWorker::Thread::run (this=0x9354a18) at /home/work/projects/os/digikam/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:143
#8  0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#9  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#10 0x00a5db0e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb1ffcb70 (LWP 3158)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac035 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x066f0307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x010e7f83 in Digikam::LoadSaveThread::run (this=0x9357468) at /home/work/projects/os/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#6  0x00a5db0e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb0126b70 (LWP 3159)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac362 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0729a74d in ?? () from /usr/lib/libxine.so.1
#3  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#4  0x00a5db0e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xaf31ab70 (LWP 3160)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x00a56211 in select () from /lib/libc.so.6
#2  0x072c533c in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x072a90d3 in ?? () from /usr/lib/libxine.so.1
#4  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#5  0x00a5db0e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xae919b70 (LWP 3161)):
#0  0x007f7f66 in clock_gettime () from /lib/librt.so.1
#1  0x0680b743 in ?? () from /usr/lib/libQtCore.so.4
#2  0x0680b931 in ?? () from /usr/lib/libQtCore.so.4
#3  0x0680baca in ?? () from /usr/lib/libQtCore.so.4
#4  0x06809d60 in ?? () from /usr/lib/libQtCore.so.4
#5  0x047f2240 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x047f2601 in ?? () from /lib/libglib-2.0.so.0
#7  0x047f2b13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x06809bb7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x067dd639 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x067dda8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x066ebfc3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0x07c007ca in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#14 0x007a79a5 in start_thread () from /lib/libpthread.so.0
#15 0x00a5db0e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa9f09b70 (LWP 3167)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac035 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x072ac918 in ?? () from /usr/lib/libxine.so.1
#3  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#4  0x00a5db0e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xadef7b70 (LWP 3168)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac035 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x066f0307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x010e7f83 in Digikam::LoadSaveThread::run (this=0x9b55c90) at /home/work/projects/os/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#6  0x00a5db0e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xad4f6b70 (LWP 3171)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac362 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x066f028f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x066e58f6 in ?? () from /usr/lib/libQtCore.so.4
#4  0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#6  0x00a5db0e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaaa5eb70 (LWP 3175)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac362 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x066f028f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x066e58f6 in ?? () from /usr/lib/libQtCore.so.4
#4  0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#6  0x00a5db0e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa4f65b70 (LWP 3181)):
#0  0x00952424 in __kernel_vsyscall ()
#1  0x007ac035 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x066f0307 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x010e7f83 in Digikam::LoadSaveThread::run (this=0xa597948) at /home/work/projects/os/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x066ef2c2 in ?? () from /usr/lib/libQtCore.so.4
#5  0x007a79a5 in start_thread () from /lib/libpthread.so.0
#6  0x00a5db0e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb78427b0 (LWP 3151)):
[KCrash Handler]
#6  0x00952424 in __kernel_vsyscall ()
#7  0x009ab831 in raise () from /lib/libc.so.6
#8  0x009ad0fa in abort () from /lib/libc.so.6
#9  0x066e6f5c in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#10 0x066e704e in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x066e70fc in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQtCore.so.4
#12 0x080a6ae6 in QList<Digikam::ImageInfo>::operator[] (this=0xa64a740, i=-1) at /usr/include/QtCore/qlist.h:403
#13 0x080a15f9 in Digikam::ImageWindow::slotBackward (this=0xa1584d8) at /home/work/projects/os/digikam/graphics/digikam/utilities/imageeditor/editor/imagewindow.cpp:658
#14 0x0809d890 in Digikam::ImageWindow::qt_metacall (this=0xa1584d8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf8f8a4c)
    at /home/work/projects/os/digikam/graphics/build/digikam/digikam/imagewindow.moc:130
#15 0x067f4dc3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x067f5a22 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x011ef4f5 in Digikam::Canvas::signalShowPrevImage (this=0xa127520) at /home/work/projects/os/digikam/graphics/build/digikam/digikam/canvas.moc:241
#18 0x011f4a1a in Digikam::Canvas::contentsWheelEvent (this=0xa127520, e=0xbf8f8b1c) at /home/work/projects/os/digikam/graphics/digikam/utilities/imageeditor/canvas/canvas.cpp:982
#19 0x063278ac in Q3ScrollView::viewportWheelEvent(QWheelEvent*) () from /usr/lib/libQt3Support.so.4
#20 0x06327987 in Q3ScrollView::wheelEvent(QWheelEvent*) () from /usr/lib/libQt3Support.so.4
#21 0x4162f5f9 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x419dcb83 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x415da8b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x415e26de in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x04ae97ba in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x067df0ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x4163e2c3 in ?? () from /usr/lib/libQtGui.so.4
#28 0x41650617 in ?? () from /usr/lib/libQtGui.so.4
#29 0x4164f483 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#30 0x4167a562 in ?? () from /usr/lib/libQtGui.so.4
#31 0x047ef308 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x047f29e0 in ?? () from /lib/libglib-2.0.so.0
#33 0x047f2b13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x06809b7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x41679c45 in ?? () from /usr/lib/libQtGui.so.4
#36 0x067dd639 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x067dda8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x067dff0f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0x415da737 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0x0837aace in main (argc=1, argv=0xbf8fad64) at /home/work/projects/os/digikam/graphics/digikam/digikam/main.cpp:195

This bug may be a duplicate of or related to bug 211238

Report to https://bugs.kde.org
Comment 7 Jens Mueller 2010-01-04 23:21:44 UTC
First I can not reproduce this crash, but in imagewindow.cpp line 651: If current index is 0, we are doing --index and then check if index is not size()? Index will be -1 in this case and we will crash. So we have to check for not below 0, right?
Comment 8 Bartek Pietrasiak 2010-01-04 23:36:35 UTC
The picture which is currently edited must be the first picture on the thumbbar list and I have to go up to get this crash. Until I reach the up border everything is ok.
Comment 9 Bartek Pietrasiak 2010-01-04 23:38:35 UTC
if you think that some dependencies of digikam are to blame, I can upgrade to try. But which? :]
Comment 10 caulier.gilles 2010-01-05 08:12:13 UTC
Bartek,

No backtrace is clear. it's in editor.

Jens,

Yes, test is require there...

Gilles
Comment 11 Jens Mueller 2010-01-05 18:08:35 UTC
SVN commit 1070435 by jmueller:

fix prooving of previous index in slotBackward()
BUGS: 211238

 M  +2 -1      NEWS  
 M  +1 -1      utilities/imageeditor/editor/imagewindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1070435
Comment 12 Marcel Wiesweg 2010-02-16 18:37:11 UTC
*** Bug 226770 has been marked as a duplicate of this bug. ***