Bug 281724

Summary: Crashed when saving a version file
Product: [Applications] digikam Reporter: Ken Jarvis <kenjarvis>
Component: ImageEditor-VersioningAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.3.0
Sentry Crash Report:

Description Ken Jarvis 2011-09-10 00:12:20 UTC
Application: digikam (2.0.0)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I was working on a RAW file picture and had been saving to a version of the original. I had the history screen up to see what filters were being used at the time. I went to save the file before going to the effects menu and it crashed and closed.

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb55f0b70 (LWP 3151)):
#0  0x006c1416 in __kernel_vsyscall ()
#1  0x07003f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x01bff84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01bef1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01bef92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02f2d304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x01c182df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x00765e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0701273e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb27a6b70 (LWP 3155)):
#0  0x006c1416 in __kernel_vsyscall ()
#1  0x0076a48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x070203fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x01352467 in wait (this=0x93df3e4, mutex=0x93df3e0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x93df3e4, mutex=0x93df3e0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081e4d09 in Digikam::ScanController::run (this=0x93df1b0) at /build/buildd/digikam2-2.0.0/core/digikam/database/scancontroller.cpp:618
#6  0x01351da2 in QThreadPrivate::start (arg=0x93df1b0) at thread/qthread_unix.cpp:320
#7  0x00765e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0701273e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb1fa5b70 (LWP 3156)):
#0  0x01cb6d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x013a7dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x014744f2 in updateCurrentTime (this=0x93e2c74, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x93e2c74, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01472d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb1fa4f2c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01472dcd in timerSourcePrepare (source=0x93e2c40, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x01bedfd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01beee63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x01bef524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01473577 in QEventDispatcherGlib::processEvents (this=0x93e2a30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x01445289 in QEventLoop::processEvents (this=0xb1fa50e0, flags=...) at kernel/qeventloop.cpp:149
#12 0x01445522 in QEventLoop::exec (this=0xb1fa50e0, flags=...) at kernel/qeventloop.cpp:201
#13 0x0134f2a0 in QThread::exec (this=0x93513e8) at thread/qthread.cpp:492
#14 0x01426fdb in QInotifyFileSystemWatcherEngine::run (this=0x93513e8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x01351da2 in QThreadPrivate::start (arg=0x93513e8) at thread/qthread_unix.cpp:320
#16 0x00765e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x0701273e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb17a4b70 (LWP 3159)):
#0  0x006c1416 in __kernel_vsyscall ()
#1  0x0076a48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x070203fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x01352467 in wait (this=0x95f1360, mutex=0x95f135c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x95f1360, mutex=0x95f135c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x024ca82a in Digikam::ParkingThread::run (this=0x95f1350) at /build/buildd/digikam2-2.0.0/core/libs/threads/threadmanager.cpp:119
#6  0x01351da2 in QThreadPrivate::start (arg=0x95f1350) at thread/qthread_unix.cpp:320
#7  0x00765e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0701273e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa9b54b70 (LWP 3287)):
[KCrash Handler]
#7  Digikam::ImageHistogram::calculate (this=0xa805de8) at /build/buildd/digikam2-2.0.0/core/libs/dimg/filters/levels/imagehistogram.cpp:209
#8  0x023a78ed in Digikam::ImageHistogram::run (this=0xa805de8) at /build/buildd/digikam2-2.0.0/core/libs/dimg/filters/levels/imagehistogram.cpp:174
#9  0x024cc010 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0xa974990) at /build/buildd/digikam2-2.0.0/core/libs/threads/dynamicthread.cpp:328
#10 0x01345866 in QThreadPoolThread::run (this=0xac37648) at concurrent/qthreadpool.cpp:106
#11 0x01351da2 in QThreadPrivate::start (arg=0xac37648) at thread/qthread_unix.cpp:320
#12 0x00765e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x0701273e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb58b1b00 (LWP 3149)):
#0  0x006c1416 in __kernel_vsyscall ()
#1  0x07003f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x01e8ffe0 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#3  0x01e905b5 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
#4  0x01e90667 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
#5  0x090ab42b in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#6  0x0909fd75 in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6
#7  0x0909ff2b in XPutImage () from /usr/lib/i386-linux-gnu/libX11.so.6
#8  0x03533a35 in QX11PixmapData::fromImage (this=0xab20698, img=..., flags=...) at image/qpixmap_x11.cpp:612
#9  0x0351cfa9 in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:2059
#10 0x0380c735 in QCleanlooksStyle::drawPrimitive (this=0x95745f0, elem=QStyle::PE_PanelButtonCommand, option=0xbfb04c20, painter=0xbfb05cc0, widget=0xac76f28) at styles/qcleanlooksstyle.cpp:1234
#11 0x03814f75 in QCleanlooksStyle::drawComplexControl (this=0x95745f0, control=QStyle::CC_ComboBox, option=0xbfb05e28, painter=0xbfb05e84, widget=0xac76f28) at styles/qcleanlooksstyle.cpp:3312
#12 0x0384f99f in drawComplexControl (this=0xac76f28) at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:94
#13 QComboBox::paintEvent (this=0xac76f28) at widgets/qcombobox.cpp:2769
#14 0x0348a18e in QWidget::event (this=0xac76f28, event=0xbfb06464) at kernel/qwidget.cpp:8405
#15 0x03850704 in QComboBox::event (this=0xac76f28, event=0xbfb06464) at widgets/qcombobox.cpp:2834
#16 0x03431d24 in QApplicationPrivate::notify_helper (this=0x92419c8, receiver=0xac76f28, e=0xbfb06464) at kernel/qapplication.cpp:4462
#17 0x0343697b in QApplication::notify (this=0xbfb09b4c, receiver=0xac76f28, e=0xbfb06464) at kernel/qapplication.cpp:4427
#18 0x0410432a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x014460bb in QCoreApplication::notifyInternal (this=0xbfb09b4c, receiver=0xac76f28, event=0xbfb06464) at kernel/qcoreapplication.cpp:731
#20 0x03486f0c in sendSpontaneousEvent (this=0xab26ab8, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#21 QWidgetPrivate::drawWidget (this=0xab26ab8, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5492
#22 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xaa3f5b0, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#23 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xaa3f5b0, pdev=0xa12e2dc, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#24 0x03486c80 in QWidgetPrivate::drawWidget (this=0xaa3f5b0, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#25 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xac2de90, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#26 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xac2de90, pdev=0xa12e2dc, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#27 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xac2de90, pdev=0xa12e2dc, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#28 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xac2de90, pdev=0xa12e2dc, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#29 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xac2de90, pdev=0xa12e2dc, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#30 0x03486c80 in QWidgetPrivate::drawWidget (this=0xac2de90, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#31 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xac23a40, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#32 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xac23a40, pdev=0xa12e2dc, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#33 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xac23a40, pdev=0xa12e2dc, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#34 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xac23a40, pdev=0xa12e2dc, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#35 0x03486c80 in QWidgetPrivate::drawWidget (this=0xac23a40, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#36 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xa90a5f0, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#37 0x03486c80 in QWidgetPrivate::drawWidget (this=0xa90a5f0, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#38 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xac37f60, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#39 0x03486c80 in QWidgetPrivate::drawWidget (this=0xac37f60, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#40 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xa13bce0, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#41 0x03486c80 in QWidgetPrivate::drawWidget (this=0xa13bce0, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#42 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xa12e0a0, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#43 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xa12e0a0, pdev=0xa12e2dc, siblings=..., index=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#44 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xa12e0a0, pdev=0xa12e2dc, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#45 0x03486c80 in QWidgetPrivate::drawWidget (this=0xa12e0a0, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#46 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xa12dea0, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#47 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xa12dea0, pdev=0xa12e2dc, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#48 0x03486c80 in QWidgetPrivate::drawWidget (this=0xa12dea0, pdev=0xa12e2dc, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#49 0x03487b7c in QWidgetPrivate::paintSiblingsRecursive (this=0xa114dc0, pdev=0xa12e2dc, siblings=..., index=<value optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5699
#50 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xa114dc0, pdev=0xa12e2dc, siblings=..., index=70, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#51 0x03487a42 in QWidgetPrivate::paintSiblingsRecursive (this=0xa114dc0, pdev=0xa12e2dc, siblings=..., index=87, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5686
#52 0x03486c80 in QWidgetPrivate::drawWidget (this=0xa114dc0, pdev=0xa12e2dc, rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0xa0cdaa0) at kernel/qwidget.cpp:5545
#53 0x03665398 in QWidgetBackingStore::sync (this=0xa0cdaa0) at painting/qbackingstore.cpp:1333
#54 0x0347c843 in QWidgetPrivate::syncBackingStore (this=0xa114dc0) at kernel/qwidget.cpp:1842
#55 0x0348a7e5 in QWidget::event (this=0xa109cd0, event=0x95550b8) at kernel/qwidget.cpp:8552
#56 0x0389b527 in QMainWindow::event (this=0xa109cd0, event=0x95550b8) at widgets/qmainwindow.cpp:1480
#57 0x041df1ec in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#58 0x0421fa8f in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#59 0x03431d24 in QApplicationPrivate::notify_helper (this=0x92419c8, receiver=0xa109cd0, e=0x95550b8) at kernel/qapplication.cpp:4462
#60 0x0343697b in QApplication::notify (this=0xbfb09b4c, receiver=0xa109cd0, e=0x95550b8) at kernel/qapplication.cpp:4427
#61 0x0410432a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#62 0x014460bb in QCoreApplication::notifyInternal (this=0xbfb09b4c, receiver=0xa109cd0, event=0x95550b8) at kernel/qcoreapplication.cpp:731
#63 0x01449c79 in sendEvent (receiver=0x0, event_type=0, data=0x91e5f88) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#64 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x91e5f88) at kernel/qcoreapplication.cpp:1372
#65 0x01449e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#66 0x014733c4 in sendPostedEvents (s=0x92444d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#67 postEventSourceDispatch (s=0x92444d0) at kernel/qeventdispatcher_glib.cpp:277
#68 0x01beeaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#69 0x01bef270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#70 0x01bef524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#71 0x0147353c in QEventDispatcherGlib::processEvents (this=0x91e5ae0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#72 0x034e81e5 in QGuiEventDispatcherGlib::processEvents (this=0x91e5ae0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#73 0x01445289 in QEventLoop::processEvents (this=0xbfb09a14, flags=...) at kernel/qeventloop.cpp:149
#74 0x01445522 in QEventLoop::exec (this=0xbfb09a14, flags=...) at kernel/qeventloop.cpp:201
#75 0x01449ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#76 0x0342f8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#77 0x082be083 in main (argc=) at /build/buildd/digikam2-2.0.0/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 278748, bug 275299, bug 274555, bug 273130, bug 261896.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-09-10 07:16:18 UTC

*** This bug has been marked as a duplicate of bug 278748 ***
Comment 2 caulier.gilles 2019-08-13 20:58:42 UTC
Fixed with bug #278748