[Digikam-devel] [Bug 211238] Scrolling (shift + mousewheel) through pictures in editor caused crash

Christian riiiis at gmail.com
Wed Oct 21 22:08:01 BST 2009


https://bugs.kde.org/show_bug.cgi?id=211238





--- Comment #2 from Christian <riiiis gmail com>  2009-10-21 23:07:58 ---
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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list