Bug 231763

Summary: crash when closing image viewer
Product: [Applications] digikam Reporter: simon
Component: DImg-PluginsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 1.5.0
Sentry Crash Report:

Description simon 2010-03-22 13:30:28 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.65 (KDE 4.4.65 (KDE 4.5 >= 20100224)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.31-zen7 x86_64
Distribution (Platform): Gentoo Packages

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

i hit esc to end this, well - it ended it all!


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

Thread 15 (Thread 0x7f92e81d5950 (LWP 10119)):
#0  0x00007f92f2975d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92f2c11ed9 in QWaitConditionPrivate::wait (this=0xb8cf20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f92f2c11a36 in QWaitCondition::wait (this=0xb8cdb8, mutex=0xb8cdb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000000000640128 in Digikam::ScanController::run (this=0xb916a0) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/digikam/scancontroller.cpp:516
#4  0x00007f92f2c114ea in QThreadPrivate::start (arg=0xb916a0) at thread/qthread_unix.cpp:244
#5  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 14 (Thread 0x7f92e5025950 (LWP 10124)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f92e5024b50 in ?? ()
#2  0x00007fff71b405ec in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 13 (Thread 0x7f92e3e63950 (LWP 10125)):
#0  0x00007f92f2d79a6b in timerSourceCheck (source=0x10568d0) at kernel/qeventdispatcher_glib.cpp:172
#1  0x00007f92ed20e45b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f92ed20ecf1 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f92ed20ef7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f92f2d7865b in QEventDispatcherGlib::processEvents (this=0xd0de80, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007f92f2d38fb7 in QEventLoop::processEvents (this=0x7f92e3e62ff0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f92f2d391db in QEventLoop::exec (this=0x7f92e3e62ff0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f92f2c0c683 in QThread::exec (this=0xd0e590) at thread/qthread.cpp:487
#8  0x00007f92f2c114ea in QThreadPrivate::start (arg=0xd0e590) at thread/qthread_unix.cpp:244
#9  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#10 0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 12 (Thread 0x7f92e3662950 (LWP 10126)):
#0  0x00007f92f2975d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92f2c11ed9 in QWaitConditionPrivate::wait (this=0x10c17d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f92f2c11a36 in QWaitCondition::wait (this=0x1097e40, mutex=0x1097e38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f92f4b4f70f in Digikam::LoadSaveThread::run (this=0x1097e20) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f92f2c114ea in QThreadPrivate::start (arg=0x1097e20) at thread/qthread_unix.cpp:244
#5  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 11 (Thread 0x7f92e2e61950 (LWP 10127)):
#0  0x00007f92f29734c7 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00007f92ed20ef64 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f92f2d7865b in QEventDispatcherGlib::processEvents (this=0x10eae40, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#3  0x00007f92f2d38fb7 in QEventLoop::processEvents (this=0x7f92e2e60ff0, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f92f2d391db in QEventLoop::exec (this=0x7f92e2e60ff0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f92f2c0c683 in QThread::exec (this=0x109d240) at thread/qthread.cpp:487
#6  0x00007f92f2c114ea in QThreadPrivate::start (arg=0x109d240) at thread/qthread_unix.cpp:244
#7  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#8  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 10 (Thread 0x7f92e2660950 (LWP 10128)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f92e265fb50 in ?? ()
#2  0x00007fff71b405ec in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x7f92dbe18950 (LWP 10130)):
#0  0x00007f92f2975f8d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92dfe31f91 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 8 (Thread 0x7f92da9dc950 (LWP 10131)):
#0  0x00007f92f098ba32 in select () from /lib/libc.so.6
#1  0x00007f92dfe56e64 in xine_usec_sleep () from /usr/lib64/libxine.so.1
#2  0x00007f92dfe3e275 in video_out_loop () from /usr/lib64/libxine.so.1
#3  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 7 (Thread 0x7f92da1db950 (LWP 10132)):
#0  0x00007f92f09899b6 in poll () from /lib/libc.so.6
#1  0x00007f92ed20eca9 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f92ed20ef7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f92f2d7865b in QEventDispatcherGlib::processEvents (this=0x19731e0, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007f92f2d38fb7 in QEventLoop::processEvents (this=0x7f92da1daf90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f92f2d391db in QEventLoop::exec (this=0x7f92da1daf90, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f92f2c0c683 in QThread::exec (this=0x1972b70) at thread/qthread.cpp:487
#7  0x00007f92e008ac60 in Phonon::Xine::XineThread::run() () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f92f2c114ea in QThreadPrivate::start (arg=0x1972b70) at thread/qthread_unix.cpp:244
#9  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#10 0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 6 (Thread 0x7f92d97d0950 (LWP 10135)):
#0  0x00007f92f09899b6 in poll () from /lib/libc.so.6
#1  0x00007f92d97d5a48 in ao_alsa_handle_event_thread () from /usr/lib64/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f92d8fcf950 (LWP 10136)):
#0  0x00007f92f2975d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92dfe3f970 in fifo_peek_int () from /usr/lib64/libxine.so.1
#2  0x00007f92dfe412c4 in ao_loop () from /usr/lib64/libxine.so.1
#3  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f92d8799950 (LWP 10137)):
#0  0x00007f92f2975d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92f2c11ed9 in QWaitConditionPrivate::wait (this=0x1ea93b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f92f2c11a36 in QWaitCondition::wait (this=0x1ea83f0, mutex=0x1ea83e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f92f4b4f70f in Digikam::LoadSaveThread::run (this=0x1ea83d0) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f92f2c114ea in QThreadPrivate::start (arg=0x1ea83d0) at thread/qthread_unix.cpp:244
#5  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f92cbe57950 (LWP 10151)):
#0  0x00007f92f2975d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92f2c11ed9 in QWaitConditionPrivate::wait (this=0x258c280, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f92f2c11a36 in QWaitCondition::wait (this=0x25d7040, mutex=0x25d7038, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f92f4b4f70f in Digikam::LoadSaveThread::run (this=0x25d7020) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f92f2c114ea in QThreadPrivate::start (arg=0x25d7020) at thread/qthread_unix.cpp:244
#5  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f92d7c4a950 (LWP 10152)):
#0  0x00007f92f2975d09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f92f2c11ed9 in QWaitConditionPrivate::wait (this=0x2583110, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f92f2c11a36 in QWaitCondition::wait (this=0x260eae0, mutex=0x260ead8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f92f4b4f70f in Digikam::LoadSaveThread::run (this=0x260eac0) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f92f2c114ea in QThreadPrivate::start (arg=0x260eac0) at thread/qthread_unix.cpp:244
#5  0x00007f92f2971fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007f92f09921fd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f92f7c47780 (LWP 10118)):
[KCrash Handler]
#5  0x0000000000000000 in ?? ()
#6  0x00007f92f045bc25 in jpeg_CreateDecompress () from /usr/lib64/libjpeg.so.8
#7  0x00007f92e73aca7c in read_jpeg_image (device=0x10a4430, outImage=0x7fff71a4e1b0, parameters=..., scaledSize=..., inQuality=-1) at qjpeghandler.cpp:766
#8  0x00007f92e73adaa8 in QJpegHandler::read (this=0xae87550, image=0x7fff71a4e1b0) at qjpeghandler.cpp:1215
#9  0x00007f92f1c47ef0 in QImageReader::read (this=0x7fff71a4e220, image=0x7fff71a4e1b0) at image/qimagereader.cpp:1118
#10 0x00007f92f1c48518 in QImageReader::read (this=0x7fff71a4e220) at image/qimagereader.cpp:1068
#11 0x00007f92f1c3440e in QImage::load (this=0x7fff71a4e300, fileName=..., format=0x0) at image/qimage.cpp:4612
#12 0x00007f92f1c34576 in QImage::QImage (this=0x7fff71a4e300, fileName=..., format=0x0) at image/qimage.cpp:1016
#13 0x00007f92d2234ed9 in KIPIviewer::Texture::load (this=0xb7e2de0, fn=<value optimized out>, size=<value optimized out>, tn=<value optimized out>)
    at /var/tmp/portage/media-plugins/kipi-plugins-9999/work/kipi-plugins-9999/imageviewer/texture.cpp:116
#14 0x00007f92d2236865 in KIPIviewer::ViewerWidget::loadImage (this=0xbe658e0, file_index=<value optimized out>)
    at /var/tmp/portage/media-plugins/kipi-plugins-9999/work/kipi-plugins-9999/imageviewer/viewerwidget.cpp:496
#15 0x00007f92d22371c5 in KIPIviewer::ViewerWidget::keyPressEvent (this=0xbe658e0, k=0x7fff71a4f1d0)
    at /var/tmp/portage/media-plugins/kipi-plugins-9999/work/kipi-plugins-9999/imageviewer/viewerwidget.cpp:314
#16 0x00007f92f1bc1fe4 in QWidget::event (this=0xbe658e0, event=0x7fff71a4f1d0) at kernel/qwidget.cpp:8009
#17 0x00007f92d6b8298f in QGLWidget::event (this=0xbe658e0, e=0x7fff71a4f1d0) at qgl.cpp:3922
#18 0x00007f92f1b5b389 in QApplicationPrivate::notify_helper (this=0xa4d640, receiver=0xbe658e0, e=0x7fff71a4f1d0) at kernel/qapplication.cpp:4242
#19 0x00007f92f1b5bbb8 in QApplication::notify (this=0x7fff71a50480, receiver=0xbe658e0, e=0x7fff71a4f1d0) at kernel/qapplication.cpp:3720
#20 0x00007f92f39b9061 in KApplication::notify (this=0x7fff71a50480, receiver=0xbe658e0, event=0x7fff71a4f1d0)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:302
#21 0x00007f92f2d3cb81 in QCoreApplication::notifyInternal (this=0x7fff71a50480, receiver=0xbe658e0, event=0x7fff71a4f1d0) at kernel/qcoreapplication.cpp:704
#22 0x00007f92f1b6c7b9 in QCoreApplication::sendSpontaneousEvent (receiver=0xbe658e0, event=0x7fff71a4f1d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 0x00007f92f1b5a7ef in qt_sendSpontaneousEvent (receiver=0xbe658e0, event=0x7fff71a4f1d0) at kernel/qapplication.cpp:5219
#24 0x00007f92f1c1da18 in QKeyMapper::sendKeyEvent (keyWidget=0xbe658e0, grab=false, type=KeyPress, code=16777234, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=113, 
    nativeVirtualKey=65361, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#25 0x00007f92f1c1edc4 in QKeyMapperPrivate::translateKeyEvent (this=0xa88dd0, keyWidget=0xbe658e0, event=0x7fff71a4ff40, grab=false) at kernel/qkeymapper_x11.cpp:1831
#26 0x00007f92f1bf550e in QApplication::x11ProcessEvent (this=0x7fff71a50480, event=0x7fff71a4ff40) at kernel/qapplication_x11.cpp:3394
#27 0x00007f92f1c2250a in x11EventSourceDispatch (s=0xa514d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007f92ed20b631 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f92ed20edc8 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f92ed20ef7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f92f2d7863d in QEventDispatcherGlib::processEvents (this=0xa4d600, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#32 0x00007f92f1c21d2f in QGuiEventDispatcherGlib::processEvents (this=0xa4d600, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#33 0x00007f92f2d38fb7 in QEventLoop::processEvents (this=0x7fff71a50350, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f92f2d391db in QEventLoop::exec (this=0x7fff71a50350, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007f92f2d3d5cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0x00007f92f1b5dd16 in QApplication::exec () at kernel/qapplication.cpp:3570
#37 0x00000000006a5194 in main (argc=5, argv=0x7fff71a50a68) at /var/tmp/portage/media-gfx/digikam-9999/work/digikam-9999/digikam/main.cpp:193

Possible duplicates by query: bug 227064, bug 204232.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-04-04 10:47:11 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

Gilles Caulier
Comment 2 caulier.gilles 2010-10-07 09:05:44 UTC
We need feedback using kipi-plugins 1.4.0

Gilles Caulier
Comment 3 simon 2010-10-08 00:00:37 UTC
well, its gone ...