Bug 192085 - digiKam suddenly crashed when managing pictures
Summary: digiKam suddenly crashed when managing pictures
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 0.10.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 23:19 UTC by Sergei Andreev
Modified: 2017-08-10 19:42 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments
Cause of crash (109.89 KB, image/jpeg)
2009-05-08 23:34 UTC, Sergei Andreev
Details
another cause of crash (79.61 KB, image/jpeg)
2009-05-09 12:31 UTC, Sergei Andreev
Details
Components info screenshot (23.59 KB, image/png)
2009-05-09 12:57 UTC, Sergei Andreev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Andreev 2009-05-08 23:19:57 UTC
Version:           0.10.0 (using 4.2.3 (KDE 4.2.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-12-generic

digiKam crashed when I was managing pictures in my collection.
I will try to find the last picture to which I switched before crash -- maybe the cause of crash is in it.  
Crash handler said that backtrace is incomplite and badly damaged.
 

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f9044f2c750 (LWP 18720)]
[New Thread 0x7f901def7950 (LWP 19496)]
[New Thread 0x7f901d6f6950 (LWP 19495)]
[New Thread 0x7f9020d2e950 (LWP 18729)]
[New Thread 0x7f9021735950 (LWP 18727)]
[New Thread 0x7f9021f36950 (LWP 18726)]
[New Thread 0x7f9023be2950 (LWP 18725)]
[New Thread 0x7f902b1cc950 (LWP 18724)]
[New Thread 0x7f902bfff950 (LWP 18723)]
[New Thread 0x7f9033e0d950 (LWP 18721)]
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Current language:  auto; currently asm
[Current thread is 0 (LWP 18720)]

Thread 10 (Thread 0x7f9033e0d950 (LWP 18721)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f903e952939 in QWaitCondition::wait (this=0x25949d8, mutex=0x25949d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x000000000064bbb3 in ?? ()
#3  0x00007f903e951952 in QThreadPrivate::start (arg=0x2585ce0) at thread/qthread_unix.cpp:189
#4  0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f902bfff950 (LWP 18723)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f903e952939 in QWaitCondition::wait (this=0x2720260, mutex=0x2720258, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f904222f62c in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007f903e951952 in QThreadPrivate::start (arg=0x2720240) at thread/qthread_unix.cpp:189
#4  0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f902b1cc950 (LWP 18724)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f903e952939 in QWaitCondition::wait (this=0x27287e0, mutex=0x27287d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f904222f62c in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007f903e951952 in QThreadPrivate::start (arg=0x27287c0) at thread/qthread_unix.cpp:189
#4  0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f9023be2950 (LWP 18725)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f9028af5f91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9021f36950 (LWP 18726)):
#0  0x00007f903dea7742 in select () from /lib/libc.so.6
#1  0x00007f9028b1f0a4 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f9028b03deb in ?? () from /usr/lib/libxine.so.1
#3  0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9021735950 (LWP 18727)):
#0  0x00007f903dea5496 in *__GI___poll (fds=0x263a2b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f903898b77f in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f903898ba7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f903ea63e8e in QEventDispatcherGlib::processEvents (this=0x2639ac0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#4  0x00007f903ea39002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 561205200}) at kernel/qeventloop.cpp:149
#5  0x00007f903ea393cd in QEventLoop::exec (this=0x7f9021735010, flags={i = 561205280}) at kernel/qeventloop.cpp:200
#6  0x00007f903e94e9b8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:481
#7  0x00007f9028d5162c in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f903e951952 in QThreadPrivate::start (arg=0x2639fd0) at thread/qthread_unix.cpp:189
#9  0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 4 (Thread 0x7f9020d2e950 (LWP 18729)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f9028b07353 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f901d6f6950 (LWP 19495)):
#0  0x00007f903de70d21 in nanosleep () from /lib/libc.so.6
#1  0x00007f903de70b47 in __sleep (seconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:138
#2  0x00007f9040a7e13f in KCrash::startDrKonqi (argv=0x7f901d6f4628, argc=17) at /build/buildd/kde4libs-4.2.3/kdeui/util/kcrash.cpp:412
#3  0x00007f9040a7ea4a in KCrash::defaultCrashHandler (sig=11) at /build/buildd/kde4libs-4.2.3/kdeui/util/kcrash.cpp:337
#4  <signal handler called>
#5  0x00007f903bbdfde8 in ?? () from /usr/lib/libexiv2.so.5
#6  0x00007f904366585b in KExiv2Iface::KExiv2::getExifTagLong () from /usr/lib/libkexiv2.so.7
#7  0x00007f9043659e40 in KExiv2Iface::KExiv2::getImageColorWorkSpace () from /usr/lib/libkexiv2.so.7
#8  0x00007f90421a4801 in ?? () from /usr/lib/libdigikamcore.so.1
#9  0x00007f90421aa6ea in Digikam::JPEGLoader::load () from /usr/lib/libdigikamcore.so.1
#10 0x00007f9042199595 in Digikam::DImg::load () from /usr/lib/libdigikamcore.so.1
#11 0x00007f904219a00f in Digikam::DImg::load () from /usr/lib/libdigikamcore.so.1
#12 0x00007f9042243e58 in ?? () from /usr/lib/libdigikamcore.so.1
#13 0x00007f904222f636 in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#14 0x00007f903e951952 in QThreadPrivate::start (arg=0x4f829d0) at thread/qthread_unix.cpp:189
#15 0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#16 0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 2 (Thread 0x7f901def7950 (LWP 19496)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f903e952939 in QWaitCondition::wait (this=0x508cf40, mutex=0x508cf38, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f904222f62c in Digikam::LoadSaveThread::run () from /usr/lib/libdigikamcore.so.1
#3  0x00007f903e951952 in QThreadPrivate::start (arg=0x508cf20) at thread/qthread_unix.cpp:189
#4  0x00007f903dbb43ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f903deaefcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 1 (Thread 0x7f9044f2c750 (LWP 18720)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f903e951395 in thread_sleep (ti=0x7fff4cf64170) at thread/qthread_unix.cpp:298
#2  0x00007f903e9514fe in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:324
#3  0x00007f9028d7524a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f90448e8130 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007f903ddff6ed in *__GI_exit (status=1) at exit.c:75
#6  0x00007f903f640e48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007f9040a182f8 in KApplication::xioErrhandler (this=0x7fff4cf6af50, dpy=0x254dcd0) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:413
#8  0x00007f903ca206e4 in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007f903ca27a1f in ?? () from /usr/lib/libX11.so.6
#10 0x00007f903ca28345 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007f903ca13d38 in ?? () from /usr/lib/libX11.so.6
#12 0x00007f903ca14620 in XPutImage () from /usr/lib/libX11.so.6
#13 0x00007f903f6b92a7 in QX11PixmapData::fromImage (this=0x411f7e0, img=<value optimized out>, flags={i = 1291220288}) at image/qpixmap_x11.cpp:563
#14 0x00007f903f6a692f in QPixmap::fromImage (image=@0x7fff4cf67620, flags={i = 1291220560}) at image/qpixmap.cpp:1954
#15 0x00007f903f6eefd9 in QPaintEngine::drawImage (this=0x57e7410, r=@0x7fff4cf678e0, image=<value optimized out>, sr=@0x7fff4cf67900, flags={i = 1291220752}) at painting/qpaintengine.cpp:617
#16 0x00007f903f7c7fe2 in QX11PaintEngine::drawImage (this=0x57e7410, r=@0x7fff4cf678e0, image=@0x7fff4cf67a60, sr=@0x7fff4cf67900, flags={i = 1291221776}) at painting/qpaintengine_x11.cpp:1845
#17 0x00007f903f703baa in QPainterPrivate::draw_helper (this=0x4a66f00, originalPath=@0x7fff4cf67bc0, op=<value optimized out>) at painting/qpainter.cpp:476
#18 0x00007f903f706171 in QPainter::drawRects (this=<value optimized out>, rects=<value optimized out>, rectCount=1) at painting/qpainter.cpp:3421
#19 0x00007f903f7062f1 in QPainter::fillRect (this=0x7fff4cf67fc0, r=@0x7fff4cf67d90, brush=@0x7fff4cf67f60) at ../../include/QtGui/../../src/gui/painting/qpainter.h:615
#20 0x00007f904229766f in Digikam::ThumbBarView::generateFuzzyRect () from /usr/lib/libdigikamcore.so.1
#21 0x000000000062c14b in ?? ()
#22 0x00000000005b7b75 in ?? ()
#23 0x000000000062b626 in ?? ()
#24 0x00007f9042e0eba0 in Q3ScrollView::eventFilter (this=0x271d0a0, obj=0x270d270, e=0x7fff4cf68cf0) at widgets/q3scrollview.cpp:1461
#25 0x00007f903ea39a68 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x270d270, event=0x7fff4cf68cf0) at kernel/qcoreapplication.cpp:718
#26 0x00007f903f5e375c in QApplicationPrivate::notify_helper (this=0x2543ab0, receiver=0x270d270, e=0x7fff4cf68cf0) at kernel/qapplication.cpp:4080
#27 0x00007f903f5eb97a in QApplication::notify (this=0x7fff4cf6af50, receiver=0x270d270, e=0x7fff4cf68cf0) at kernel/qapplication.cpp:4049
#28 0x00007f9040a188db in KApplication::notify (this=0x7fff4cf6af50, receiver=0x270d270, event=0x7fff4cf68cf0) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#29 0x00007f903ea3a75c in QCoreApplication::notifyInternal (this=0x7fff4cf6af50, receiver=0x270d270, event=0x7fff4cf68cf0) at kernel/qcoreapplication.cpp:602
#30 0x00007f903f63b9a5 in QWidgetPrivate::drawWidget (this=0x27dbe40, pdev=0x26819b8, rgn=@0x7fff4cf68f20, offset=@0x7fff4cf68f10, flags=4, sharedPainter=0x0, backingStore=0x2681950)
    at kernel/qwidget.cpp:5046
#31 0x00007f903f63c117 in QWidgetPrivate::paintSiblingsRecursive (this=0x27c87f0, pdev=0x26819b8, siblings=@0x27c8808, index=2, rgn=@0x7fff4cf69010, offset=@0x7fff4cf694f0, flags=4, 
    sharedPainter=0x0, backingStore=0x2681950) at kernel/qwidget.cpp:5156
#32 0x00007f903f63c026 in QWidgetPrivate::paintSiblingsRecursive (this=0x27c87f0, pdev=0x26819b8, siblings=@0x27c8808, index=7, rgn=@0x7fff4cf69100, offset=@0x7fff4cf694f0, flags=4, 
    sharedPainter=0x0, backingStore=0x2681950) at kernel/qwidget.cpp:5147
#33 0x00007f903f63c026 in QWidgetPrivate::paintSiblingsRecursive (this=0x27c87f0, pdev=0x26819b8, siblings=@0x27c8808, index=8, rgn=@0x7fff4cf691f0, offset=@0x7fff4cf694f0, flags=4, 
    sharedPainter=0x0, backingStore=0x2681950) at kernel/qwidget.cpp:5147
#34 0x00007f903f63c026 in QWidgetPrivate::paintSiblingsRecursive (this=0x27c87f0, pdev=0x26819b8, siblings=@0x27c8808, index=10, rgn=@0x7fff4cf69500, offset=@0x7fff4cf694f0, flags=4, 
    sharedPainter=0x0, backingStore=0x2681950) at kernel/qwidget.cpp:5147
#35 0x00007f903f63b617 in QWidgetPrivate::drawWidget (this=0x27c87f0, pdev=0x26819b8, rgn=@0x7fff4cf69500, offset=@0x7fff4cf694f0, flags=4, sharedPainter=0x0, backingStore=0x2681950)
    at kernel/qwidget.cpp:5095
#36 0x00007f903f63c117 in QWidgetPrivate::paintSiblingsRecursive (this=0x271ed20, pdev=0x26819b8, siblings=@0x271ed38, index=7, rgn=@0x7fff4cf69810, offset=@0x7fff4cf69800, flags=4, 
    sharedPainter=0x0, backingStore=0x2681950) at kernel/qwidget.cpp:5156
#37 0x00007f903f63b617 in QWidgetPrivate::drawWidget (this=0x271ed20, pdev=0x26819b8, rgn=@0x7fff4cf69810, offset=@0x7fff4cf69800, flags=4, sharedPainter=0x0, backingStore=0x2681950)
    at kernel/qwidget.cpp:5095
#38 0x00007f903f63c117 in QWidgetPrivate::paintSiblingsRecursive (this=0x271a690, pdev=0x26819b8, siblings=@0x271a6a8, index=1, rgn=@0x7fff4cf69b20, offset=@0x7fff4cf69b10, flags=4, 
    sharedPainter=0x0, backingStore=0x2681950) at kernel/qwidget.cpp:5156
#39 0x00007f903f63b617 in QWidgetPrivate::drawWidget (this=0x271a690, pdev=0x26819b8, rgn=@0x7fff4cf69b20, offset=@0x7fff4cf69b10, flags=4, sharedPainter=0x0, backingStore=0x2681950)
    at kernel/qwidget.cpp:5095
#40 0x00007f903f63c117 in QWidgetPrivate::paintSiblingsRecursive (this=0x271ad20, pdev=0x26819b8, siblings=@0x271ad38, index=2, rgn=@0x7fff4cf69e30, offset=@0x7fff4cf69e20, flags=4, 
    sharedPainter=0x0, backingStore=0x2681950) at kernel/qwidget.cpp:5156
#41 0x00007f903f63b617 in QWidgetPrivate::drawWidget (this=0x271ad20, pdev=0x26819b8, rgn=@0x7fff4cf69e30, offset=@0x7fff4cf69e20, flags=4, sharedPainter=0x0, backingStore=0x2681950)
    at kernel/qwidget.cpp:5095
#42 0x00007f903f63c117 in QWidgetPrivate::paintSiblingsRecursive (this=0x26badc0, pdev=0x26819b8, siblings=@0x26badd8, index=11, rgn=@0x7fff4cf6a2a0, offset=@0x2681994, flags=4, sharedPainter=0x0, 
    backingStore=0x2681950) at kernel/qwidget.cpp:5156
#43 0x00007f903f63b617 in QWidgetPrivate::drawWidget (this=0x26badc0, pdev=0x26819b8, rgn=@0x7fff4cf6a2a0, offset=@0x2681994, flags=4, sharedPainter=0x0, backingStore=0x2681950)
    at kernel/qwidget.cpp:5095
#44 0x00007f903f7df362 in QWidgetBackingStore::sync (this=0x2681950) at painting/qbackingstore.cpp:1266
#45 0x00007f903f62d050 in QWidgetPrivate::syncBackingStore (this=0x26badc0) at kernel/qwidget.cpp:1603
#46 0x00007f903f63457d in QWidget::event (this=0x267aae0, event=0x46f79c0) at kernel/qwidget.cpp:7794
#47 0x00007f903f9e8d9b in QMainWindow::event (this=0x267aae0, event=0x46f79c0) at widgets/qmainwindow.cpp:1396
#48 0x00007f9040b24068 in KXmlGuiWindow::event (this=0x7fff4cf640f4, ev=0x0) at /build/buildd/kde4libs-4.2.3/kdeui/xmlgui/kxmlguiwindow.cpp:131
#49 0x00007f903f5e378d in QApplicationPrivate::notify_helper (this=0x2543ab0, receiver=0x267aae0, e=0x46f79c0) at kernel/qapplication.cpp:4084
#50 0x00007f903f5eb97a in QApplication::notify (this=0x7fff4cf6af50, receiver=0x267aae0, e=0x46f79c0) at kernel/qapplication.cpp:4049
#51 0x00007f9040a188db in KApplication::notify (this=0x7fff4cf6af50, receiver=0x267aae0, event=0x46f79c0) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#52 0x00007f903ea3a75c in QCoreApplication::notifyInternal (this=0x7fff4cf6af50, receiver=0x267aae0, event=0x46f79c0) at kernel/qcoreapplication.cpp:602
#53 0x00007f903ea3b3ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2513760) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#54 0x00007f903ea641e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#55 0x00007f903898820a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0x00007f903898b8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#57 0x00007f903898ba7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0x00007f903ea63e6f in QEventDispatcherGlib::processEvents (this=0x252ccb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#59 0x00007f903f67bbef in QGuiEventDispatcherGlib::processEvents (this=0x7fff4cf640f4, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#60 0x00007f903ea39002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1291234896}) at kernel/qeventloop.cpp:149
#61 0x00007f903ea393cd in QEventLoop::exec (this=0x7fff4cf6ae90, flags={i = 1291234976}) at kernel/qeventloop.cpp:200
#62 0x00007f903ea3b694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#63 0x0000000000671a37 in ?? ()
#64 0x00007f903dde75a6 in __libc_start_main (main=0x670690, argc=5, ubp_av=0x7fff4cf6b6d8, init=0x6733b0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff4cf6b6c8) at libc-start.c:220
#65 0x0000000000458839 in _start ()
Current language:  auto; currently asm
217	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Comment 1 Sergei Andreev 2009-05-08 23:29:13 UTC
Proper backtrace:
Приложение: digiKam (digikam), сигнал SIGSEGV
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Current language:  auto; currently asm
[Current thread is 0 (LWP 31399)]

Thread 10 (Thread 0x7f311c744950 (LWP 31400)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3127289939 in QWaitCondition::wait (this=0x1881c68, mutex=0x1881c60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x000000000064bbb3 in Digikam::ScanController::run (this=0x1881860) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:412
#3  0x00007f3127288952 in QThreadPrivate::start (arg=0x1881860) at thread/qthread_unix.cpp:189
#4  0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f3118cb5950 (LWP 31402)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3127289939 in QWaitCondition::wait (this=0x1a774b0, mutex=0x1a774a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f312ab6662c in Digikam::LoadSaveThread::run (this=0x1a77490) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f3127288952 in QThreadPrivate::start (arg=0x1a77490) at thread/qthread_unix.cpp:189
#4  0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3113be7950 (LWP 31403)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3127289939 in QWaitCondition::wait (this=0x1a2d520, mutex=0x1a2d518, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f312ab6662c in Digikam::LoadSaveThread::run (this=0x1a2d500) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f3127288952 in QThreadPrivate::start (arg=0x1a2d500) at thread/qthread_unix.cpp:189
#4  0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f310c5fd950 (LWP 31404)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f3111510f91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f310a951950 (LWP 31405)):
#0  0x00007f31267de742 in select () from /lib/libc.so.6
#1  0x00007f311153a0a4 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f311151edeb in ?? () from /usr/lib/libxine.so.1
#3  0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f310a150950 (LWP 31406)):
#0  0x00007f31264eca54 in __pthread_mutex_lock (mutex=0x1936158) at pthread_mutex_lock.c:51
#1  0x00007f31212c2724 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f31212c2a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f312739ae8e in QEventDispatcherGlib::processEvents (this=0x1936080, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#4  0x00007f3127370002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 169148368}) at kernel/qeventloop.cpp:149
#5  0x00007f31273703cd in QEventLoop::exec (this=0x7f310a150010, flags={i = 169148448}) at kernel/qeventloop.cpp:200
#6  0x00007f31272859b8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:481
#7  0x00007f311176c62c in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f3127288952 in QThreadPrivate::start (arg=0x193c580) at thread/qthread_unix.cpp:189
#9  0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 4 (Thread 0x7f3109749950 (LWP 31408)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3111522353 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3107113950 (LWP 31443)):
[KCrash Handler]
#5  0x00007f3124516de8 in ?? () from /usr/lib/libexiv2.so.5
#6  0x00007f312bf9c85b in KExiv2Iface::KExiv2::getExifTagLong () from /usr/lib/libkexiv2.so.7
#7  0x00007f312bf90e40 in KExiv2Iface::KExiv2::getImageColorWorkSpace () from /usr/lib/libkexiv2.so.7
#8  0x00007f312aadb801 in Digikam::DImgLoader::checkExifWorkingColorSpace (this=0x7f31071129e0) at /build/buildd/digikam-0.10.0/libs/dimg/loaders/dimgloader.cpp:196
#9  0x00007f312aae16ea in Digikam::JPEGLoader::load (this=0x7f31071129e0, filePath=<value optimized out>, observer=0x3dbf630) at /build/buildd/digikam-0.10.0/libs/dimg/loaders/jpegloader.cpp:511
#10 0x00007f312aad0595 in Digikam::DImg::load (this=0x7f3107112fd0, filePath=@0x3dbf638, loadFlagsInt=31, observer=0x3dbf630, rawDecodingSettings=
          {<KDcrawIface::RawDecodingSettings> = {_vptr.RawDecodingSettings = 0x7f3107112b70, gamma16bit = 48, sixteenBitsImage = 246, halfSizeColorImage = 219, whiteBalance = KDcrawIface::RawDecodingSettings::NONE, customWhiteBalance = -256795968, customWhiteBalanceGreen = 0, RGBInterpolate4Colors = 80, DontStretchPixels = 80, unclipColors = 32560, RAWQuality = 609776911, medianFilterPasses = 32561, enableNoiseReduction = 240, NRThreshold = 32561, enableCACorrection = 80, caMultiplier = {6.9094363528438433e-310, 6.9094606033394766e-310}, brightness = 1.35481571e-38, enableBlackPoint = false, blackPoint = 654141885, enableWhitePoint = 49, whitePoint = 9668288, inputColorSpace = KDcrawIface::RawDecodingSettings::NOINPUTCS, inputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 213349}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f312766743a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x0, static codecForCStrings = 0x0}, outputColorSpace = 4028997384, outputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 213349}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f312766743a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f312452d5c8, static codecForCStrings = 0x0}, deadPixelMap = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 213349}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f312766743a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9386c0, static codecForCStrings = 0x0}, whiteBalanceArea = {x1 = -265969912, y1 = 32560, x2 = 1, y2 = 0}}, lightness = 6.9094178131150671e-310, contrast = 3.9525251667299724e-322, gamma = 1.2731974745791634e-313, saturation = 1.1857575500189917e-322, exposureComp = 6.9094172324899107e-310, curveAdjust = {<QVector<QPoint>> = {{p = 0x0, d = 0x0}}, <No data fields>}, levelsAdjust = {{p = {static shared_null = {ref = {_q_value = 40869}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7f30f0b23a95}, d = 0x7f30f0b23a95}}}) at /build/buildd/digikam-0.10.0/libs/dimg/dimg.cpp:357
#11 0x00007f312aad100f in Digikam::DImg::load (this=0x7f3107112fd0, filePath=@0x3dbf638, observer=0x3dbf630, rawDecodingSettings=
          {<KDcrawIface::RawDecodingSettings> = {_vptr.RawDecodingSettings = 0x7f3107112da0, gamma16bit = 2, sixteenBitsImage = false, halfSizeColorImage = false, whiteBalance = KDcrawIface::RawDecodingSettings::NONE, customWhiteBalance = -265941400, customWhiteBalanceGreen = 0, RGBInterpolate4Colors = 80, DontStretchPixels = 12, unclipColors = 32560, RAWQuality = 118565744, medianFilterPasses = 32561, enableNoiseReduction = 112, NRThreshold = 32561, enableCACorrection = false, caMultiplier = {0, 6.9094172324954442e-310}, brightness = 4.54127186e-17, enableBlackPoint = 49, blackPoint = 6842624, enableWhitePoint = false, whitePoint = 64747056, inputColorSpace = KDcrawIface::RawDecodingSettings::NOINPUTCS, inputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 213349}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f312766743a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3dbf638, static codecForCStrings = 0x0}, outputColorSpace = 118566864, outputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 213349}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f312766743a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f312aad100f, static codecForCStrings = 0x0}, deadPixelMap = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 213349}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f312766743a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3300000206, static codecForCStrings = 0x0}, whiteBalanceArea = {x1 = 43, y1 = 0, x2 = 0, y2 = 0}}, lightness = 0, contrast = 0, gamma = 0, saturation = 0, exposureComp = 0, curveAdjust = {<QVector<QPoint>> = {{p = 0x0, d = 0x0}}, <No data fields>}, levelsAdjust = {{p = {static shared_null = {ref = {_q_value = 40869}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x0}, d = 0x0}}})
    at /build/buildd/digikam-0.10.0/libs/dimg/dimg.cpp:332
#12 0x00007f312ab7ae58 in Digikam::PreviewLoadingTask::execute (this=0x3dbf620) at /build/buildd/digikam-0.10.0/libs/threadimageio/previewtask.cpp:188
#13 0x00007f312ab66636 in Digikam::LoadSaveThread::run (this=0x3bc3670) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:134
#14 0x00007f3127288952 in QThreadPrivate::start (arg=0x3bc3670) at thread/qthread_unix.cpp:189
#15 0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#16 0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 2 (Thread 0x7f3107914950 (LWP 31444)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f3127289939 in QWaitCondition::wait (this=0x7f30e827ab30, mutex=0x7f30e827ab28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f312ab6662c in Digikam::LoadSaveThread::run (this=0x7f30e827ab10) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f3127288952 in QThreadPrivate::start (arg=0x7f30e827ab10) at thread/qthread_unix.cpp:189
#4  0x00007f31264eb3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f31267e5fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 1 (Thread 0x7f312d863750 (LWP 31399)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f3127288395 in thread_sleep (ti=0x7fff3589ed00) at thread/qthread_unix.cpp:298
#2  0x00007f31272884fe in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:324
#3  0x00007f311179024a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f312d21f130 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007f31267366ed in *__GI_exit (status=1) at exit.c:75
#6  0x00007f3127f77e48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007f312934f2f8 in KApplication::xioErrhandler (this=0x7fff358a29e0, dpy=0x1849cd0) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:413
#8  0x00007f31253576e4 in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007f312535ea1f in ?? () from /usr/lib/libX11.so.6
#10 0x00007f312535f345 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007f3125356980 in _XData32 () from /usr/lib/libX11.so.6
#12 0x00007f3122249d49 in ?? () from /usr/lib/libXrender.so.1
#13 0x00007f3122249e11 in XRenderChangePicture () from /usr/lib/libXrender.so.1
#14 0x00007f3128106f7c in QX11PaintEngine::updatePen (this=0x3770dd0, pen=<value optimized out>) at painting/qpaintengine_x11.cpp:194
#15 0x00007f3128107758 in QX11PaintEngine::updateState (this=0x3770dd0, state=@0x3dbbe58) at painting/qpaintengine_x11.cpp:1060
#16 0x00007f312803263c in QPainterPrivate::updateStateImpl (this=0x3d88840, newState=0x3dbbe50) at painting/qpainter.cpp:899
#17 0x00007f312803273e in QPainterPrivate::updateState (this=0x3d88840, newState=0x3dbbe50) at painting/qpainter.cpp:927
#18 0x00007f312803cfdd in QPainter::drawRects (this=<value optimized out>, rects=0x7fff3589f810, rectCount=1) at painting/qpainter.cpp:3392
#19 0x00007f312803d2f1 in QPainter::fillRect (this=0x7fff3589fa50, r=@0x7fff3589f810, brush=@0x7fff3589f9e0) at ../../include/QtGui/../../src/gui/painting/qpainter.h:615
#20 0x00007f312abce724 in Digikam::ThumbBarView::generateFuzzyRect (size=@0x7fff3589faf0, color=@0x7fff3589fad0, radius=3) at /usr/include/qt4/QtGui/qpainter.h:738
#21 0x000000000062c14b in Digikam::IconView::thumbnailBorderPixmap (this=0x1af3a60, pixSize=@0x7fff3589ffc0) at /build/buildd/digikam-0.10.0/digikam/iconview.cpp:2083
#22 0x00000000005b7b75 in Digikam::AlbumIconItem::paintItem (this=0x3b61bd0, p=0x7fff358a01d0) at /build/buildd/digikam-0.10.0/digikam/albumiconitem.cpp:282
#23 0x000000000062b626 in Digikam::IconView::viewportPaintEvent (this=0x1af3a60, pe=0x7fff358a0780) at /build/buildd/digikam-0.10.0/digikam/iconview.cpp:861
#24 0x00007f312b745ba0 in Q3ScrollView::eventFilter (this=0x1af3a60, obj=0x1a2e380, e=0x7fff358a0780) at widgets/q3scrollview.cpp:1461
#25 0x00007f3127370a68 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1a2e380, event=0x7fff358a0780) at kernel/qcoreapplication.cpp:718
#26 0x00007f3127f1a75c in QApplicationPrivate::notify_helper (this=0x183fab0, receiver=0x1a2e380, e=0x7fff358a0780) at kernel/qapplication.cpp:4080
#27 0x00007f3127f2297a in QApplication::notify (this=0x7fff358a29e0, receiver=0x1a2e380, e=0x7fff358a0780) at kernel/qapplication.cpp:4049
#28 0x00007f312934f8db in KApplication::notify (this=0x7fff358a29e0, receiver=0x1a2e380, event=0x7fff358a0780) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#29 0x00007f312737175c in QCoreApplication::notifyInternal (this=0x7fff358a29e0, receiver=0x1a2e380, event=0x7fff358a0780) at kernel/qcoreapplication.cpp:602
#30 0x00007f3127f729a5 in QWidgetPrivate::drawWidget (this=0x1a321b0, pdev=0x1a0baa8, rgn=@0x7fff358a09b0, offset=@0x7fff358a09a0, flags=4, sharedPainter=0x0, backingStore=0x19f4dc0)
    at kernel/qwidget.cpp:5046
#31 0x00007f3127f73117 in QWidgetPrivate::paintSiblingsRecursive (this=0x1a34690, pdev=0x1a0baa8, siblings=@0x1a346a8, index=2, rgn=@0x7fff358a0aa0, offset=@0x7fff358a0f80, flags=4, 
    sharedPainter=0x0, backingStore=0x19f4dc0) at kernel/qwidget.cpp:5156
#32 0x00007f3127f73026 in QWidgetPrivate::paintSiblingsRecursive (this=0x1a34690, pdev=0x1a0baa8, siblings=@0x1a346a8, index=7, rgn=@0x7fff358a0b90, offset=@0x7fff358a0f80, flags=4, 
    sharedPainter=0x0, backingStore=0x19f4dc0) at kernel/qwidget.cpp:5147
#33 0x00007f3127f73026 in QWidgetPrivate::paintSiblingsRecursive (this=0x1a34690, pdev=0x1a0baa8, siblings=@0x1a346a8, index=8, rgn=@0x7fff358a0c80, offset=@0x7fff358a0f80, flags=4, 
    sharedPainter=0x0, backingStore=0x19f4dc0) at kernel/qwidget.cpp:5147
#34 0x00007f3127f73026 in QWidgetPrivate::paintSiblingsRecursive (this=0x1a34690, pdev=0x1a0baa8, siblings=@0x1a346a8, index=10, rgn=@0x7fff358a0f90, offset=@0x7fff358a0f80, flags=4, 
    sharedPainter=0x0, backingStore=0x19f4dc0) at kernel/qwidget.cpp:5147
#35 0x00007f3127f72617 in QWidgetPrivate::drawWidget (this=0x1a34690, pdev=0x1a0baa8, rgn=@0x7fff358a0f90, offset=@0x7fff358a0f80, flags=4, sharedPainter=0x0, backingStore=0x19f4dc0)
    at kernel/qwidget.cpp:5095
#36 0x00007f3127f73117 in QWidgetPrivate::paintSiblingsRecursive (this=0x1a336e0, pdev=0x1a0baa8, siblings=@0x1a336f8, index=7, rgn=@0x7fff358a12a0, offset=@0x7fff358a1290, flags=4, 
    sharedPainter=0x0, backingStore=0x19f4dc0) at kernel/qwidget.cpp:5156
#37 0x00007f3127f72617 in QWidgetPrivate::drawWidget (this=0x1a336e0, pdev=0x1a0baa8, rgn=@0x7fff358a12a0, offset=@0x7fff358a1290, flags=4, sharedPainter=0x0, backingStore=0x19f4dc0)
    at kernel/qwidget.cpp:5095
#38 0x00007f3127f73117 in QWidgetPrivate::paintSiblingsRecursive (this=0x1b502c0, pdev=0x1a0baa8, siblings=@0x1b502d8, index=1, rgn=@0x7fff358a15b0, offset=@0x7fff358a15a0, flags=4, 
    sharedPainter=0x0, backingStore=0x19f4dc0) at kernel/qwidget.cpp:5156
#39 0x00007f3127f72617 in QWidgetPrivate::drawWidget (this=0x1b502c0, pdev=0x1a0baa8, rgn=@0x7fff358a15b0, offset=@0x7fff358a15a0, flags=4, sharedPainter=0x0, backingStore=0x19f4dc0)
    at kernel/qwidget.cpp:5095
#40 0x00007f3127f73117 in QWidgetPrivate::paintSiblingsRecursive (this=0x1a37010, pdev=0x1a0baa8, siblings=@0x1a37028, index=2, rgn=@0x7fff358a18c0, offset=@0x7fff358a18b0, flags=4, 
    sharedPainter=0x0, backingStore=0x19f4dc0) at kernel/qwidget.cpp:5156
#41 0x00007f3127f72617 in QWidgetPrivate::drawWidget (this=0x1a37010, pdev=0x1a0baa8, rgn=@0x7fff358a18c0, offset=@0x7fff358a18b0, flags=4, sharedPainter=0x0, backingStore=0x19f4dc0)
    at kernel/qwidget.cpp:5095
#42 0x00007f3127f73117 in QWidgetPrivate::paintSiblingsRecursive (this=0x19f42b0, pdev=0x1a0baa8, siblings=@0x19f42c8, index=11, rgn=@0x7fff358a1d30, offset=@0x19f4e04, flags=4, sharedPainter=0x0, 
    backingStore=0x19f4dc0) at kernel/qwidget.cpp:5156
#43 0x00007f3127f72617 in QWidgetPrivate::drawWidget (this=0x19f42b0, pdev=0x1a0baa8, rgn=@0x7fff358a1d30, offset=@0x19f4e04, flags=4, sharedPainter=0x0, backingStore=0x19f4dc0)
    at kernel/qwidget.cpp:5095
#44 0x00007f3128116362 in QWidgetBackingStore::sync (this=0x19f4dc0) at painting/qbackingstore.cpp:1266
#45 0x00007f3127f64050 in QWidgetPrivate::syncBackingStore (this=0x19f42b0) at kernel/qwidget.cpp:1603
#46 0x00007f3127f6b57d in QWidget::event (this=0x197bc10, event=0x3da4a60) at kernel/qwidget.cpp:7794
#47 0x00007f312831fd9b in QMainWindow::event (this=0x197bc10, event=0x3da4a60) at widgets/qmainwindow.cpp:1396
#48 0x00007f312945b068 in KXmlGuiWindow::event (this=0x7fff3589ec84, ev=0x0) at /build/buildd/kde4libs-4.2.3/kdeui/xmlgui/kxmlguiwindow.cpp:131
#49 0x00007f3127f1a78d in QApplicationPrivate::notify_helper (this=0x183fab0, receiver=0x197bc10, e=0x3da4a60) at kernel/qapplication.cpp:4084
#50 0x00007f3127f2297a in QApplication::notify (this=0x7fff358a29e0, receiver=0x197bc10, e=0x3da4a60) at kernel/qapplication.cpp:4049
#51 0x00007f312934f8db in KApplication::notify (this=0x7fff358a29e0, receiver=0x197bc10, event=0x3da4a60) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#52 0x00007f312737175c in QCoreApplication::notifyInternal (this=0x7fff358a29e0, receiver=0x197bc10, event=0x3da4a60) at kernel/qcoreapplication.cpp:602
#53 0x00007f31273723ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x180f760) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#54 0x00007f312739b1e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#55 0x00007f31212bf20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0x00007f31212c28e0 in ?? () from /usr/lib/libglib-2.0.so.0
#57 0x00007f31212c2a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0x00007f312739ae6f in QEventDispatcherGlib::processEvents (this=0x1828cb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#59 0x00007f3127fb2bef in QGuiEventDispatcherGlib::processEvents (this=0x7fff3589ec84, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#60 0x00007f3127370002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 898246880}) at kernel/qeventloop.cpp:149
#61 0x00007f31273703cd in QEventLoop::exec (this=0x7fff358a2920, flags={i = 898246960}) at kernel/qeventloop.cpp:200
#62 0x00007f3127372694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#63 0x0000000000671a37 in main (argc=<value optimized out>, argv=0x7fff358a3168) at /build/buildd/digikam-0.10.0/digikam/main.cpp:190
Current language:  auto; currently asm
217	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Comment 2 Sergei Andreev 2009-05-08 23:34:22 UTC
Created attachment 33480 [details]
Cause of crash
Comment 3 caulier.gilles 2009-05-09 09:33:28 UTC
Thanks for the image to test.

Crash appears in Exiv2. If you use 0.18.0, please update to last stable 0.18.1 and recompile libkexiv2, digiKam and kipi-plugins.

Can you reproduce the crash with Exiv2 command line tools ?

Gilles Caulier
Comment 4 Sergei Andreev 2009-05-09 11:24:53 UTC
My version is:
$ exiv2 -V 
exiv2 0.18

>Can you reproduce the crash with Exiv2 command line tools ?

Can you provide a proper command to test?

BTW I've find another picture on which digiKam crashes.
Don't no is this the same problem.

>please update to last stable 0.18.1 and recompile libkexiv2, digiKam and kipi-plugins.

This is not an easy task and I prefer to use capabilities of package manager.

There is "PPA for Digikam and KIPI-Plugins Experimental packages" but packages in this repository only for kubuntu 8.10 (mine is 9.04).
Also I found PPA with exiv2 0.18.1 -- would it be enough?
Comment 5 caulier.gilles 2009-05-09 11:42:59 UTC
Luka, 

any tips for Debian packages ?

Gilles
Comment 6 Sergei Andreev 2009-05-09 12:27:05 UTC
I've installed exiv2 0.18.1 but digikam still crashes.
Comment 7 Sergei Andreev 2009-05-09 12:28:30 UTC
Another picture and  backtrace:

Приложение: digiKam (digikam), сигнал SIGSEGV
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Current language:  auto; currently asm
[Current thread is 0 (LWP 11493)]

Thread 10 (Thread 0x7f05837e5950 (LWP 11494)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f058e336939 in QWaitCondition::wait (this=0x2519c58, mutex=0x2519c50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x000000000064bbb3 in Digikam::ScanController::run (this=0x251c8b0) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:412
#3  0x00007f058e335952 in QThreadPrivate::start (arg=0x251c8b0) at thread/qthread_unix.cpp:189
#4  0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f057b331950 (LWP 11496)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f058e336939 in QWaitCondition::wait (this=0x2620070, mutex=0x2620068, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f0591c1362c in Digikam::LoadSaveThread::run (this=0x2620050) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f058e335952 in QThreadPrivate::start (arg=0x2620050) at thread/qthread_unix.cpp:189
#4  0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f057ab30950 (LWP 11497)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f058e336939 in QWaitCondition::wait (this=0x261a570, mutex=0x261a568, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f0591c1362c in Digikam::LoadSaveThread::run (this=0x261a550) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f058e335952 in QThreadPrivate::start (arg=0x261a550) at thread/qthread_unix.cpp:189
#4  0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f056f516950 (LWP 11498)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f05785fcf91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f056d86a950 (LWP 11499)):
#0  0x00007f058d88b742 in select () from /lib/libc.so.6
#1  0x00007f05786260a4 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f057860adeb in ?? () from /usr/lib/libxine.so.1
#3  0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f056d069950 (LWP 11500)):
#0  pthread_mutex_lock (mutex=0x24cff38) at forward.c:182
#1  0x00007f0588363061 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f05883635ff in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0588363a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f058e447e8e in QEventDispatcherGlib::processEvents (this=0x250e4a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#5  0x00007f058e41d002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1829146576}) at kernel/qeventloop.cpp:149
#6  0x00007f058e41d3cd in QEventLoop::exec (this=0x7f056d069010, flags={i = 1829146656}) at kernel/qeventloop.cpp:200
#7  0x00007f058e3329b8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:481
#8  0x00007f057885862c in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x00007f058e335952 in QThreadPrivate::start (arg=0x250e3a0) at thread/qthread_unix.cpp:189
#10 0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 4 (Thread 0x7f056c662950 (LWP 11502)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f057860e353 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f05692e8950 (LWP 11543)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f058e336939 in QWaitCondition::wait (this=0x4b40dc0, mutex=0x4b40db8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f0591c1362c in Digikam::LoadSaveThread::run (this=0x4b40da0) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f058e335952 in QThreadPrivate::start (arg=0x4b40da0) at thread/qthread_unix.cpp:189
#4  0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 2 (Thread 0x7f0569ae9950 (LWP 11544)):
[KCrash Handler]
#5  0x00007f058b5bc528 in ?? () from /usr/lib/libexiv2.so.5
#6  0x00007f059304985b in KExiv2Iface::KExiv2::getExifTagLong (this=0x7f0569ae7de0, exifTagName=0x7f0593064f90 "Exif.Photo.ColorSpace", val=@0x7f0569ae7db0)
    at /build/buildd/kdegraphics-4.2.3/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:563
#7  0x00007f059303de40 in KExiv2Iface::KExiv2::getImageColorWorkSpace (this=0x7f055473c300) at /build/buildd/kdegraphics-4.2.3/libs/libkexiv2/libkexiv2/kexiv2image.cpp:371
#8  0x00007f0591b88801 in Digikam::DImgLoader::checkExifWorkingColorSpace (this=0x7f0569ae89e0) at /build/buildd/digikam-0.10.0/libs/dimg/loaders/dimgloader.cpp:196
#9  0x00007f0591b8e6ea in Digikam::JPEGLoader::load (this=0x7f0569ae89e0, filePath=<value optimized out>, observer=0x48bf730) at /build/buildd/digikam-0.10.0/libs/dimg/loaders/jpegloader.cpp:511
#10 0x00007f0591b7d595 in Digikam::DImg::load (this=0x7f0569ae8fd0, filePath=@0x48bf738, loadFlagsInt=31, observer=0x48bf730, rawDecodingSettings=
          {<KDcrawIface::RawDecodingSettings> = {_vptr.RawDecodingSettings = 0x7f0569ae8b70, gamma16bit = 48, sixteenBitsImage = 247, halfSizeColorImage = 139, whiteBalance = KDcrawIface::RawDecodingSettings::NONE, customWhiteBalance = 1417292864, customWhiteBalanceGreen = 0, RGBInterpolate4Colors = 160, DontStretchPixels = 214, unclipColors = 32517, RAWQuality = 2338526319, medianFilterPasses = 32517, enableNoiseReduction = 240, NRThreshold = 32517, enableCACorrection = 16, caMultiplier = {6.9001813135808375e-310, 6.9002092325423494e-310}, brightness = 1.35481571e-38, enableBlackPoint = false, blackPoint = -1802346496, enableWhitePoint = 5, whitePoint = 9668288, inputColorSpace = KDcrawIface::RawDecodingSettings::NOINPUTCS, inputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205382}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f058e71443a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xffffffff, static codecForCStrings = 0x0}, outputColorSpace = 75145208, outputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205382}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f058e71443a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x39d5a0, static codecForCStrings = 0x0}, deadPixelMap = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205382}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f058e71443a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9386c0, static codecForCStrings = 0x0}, whiteBalanceArea = {x1 = 1, y1 = 0, x2 = -1957344384, y2 = 32517}}, lightness = 6.9002167657102123e-310, contrast = 3.9525251667299724e-322, gamma = 1.2752872358989536e-313, saturation = 2.3221085354538588e-322, exposureComp = 6.6204796542727037e-322, curveAdjust = {<QVector<QPoint>> = {{p = 0xcad84bcb, d = 0xcad84bcb}}, <No data fields>}, levelsAdjust = {{p = {static shared_null = {ref = {_q_value = 34217}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7f059473a0f0}, d = 0x7f059473a0f0}}}) at /build/buildd/digikam-0.10.0/libs/dimg/dimg.cpp:357
#11 0x00007f0591b7e00f in Digikam::DImg::load (this=0x7f0569ae8fd0, filePath=@0x48bf738, observer=0x48bf730, rawDecodingSettings=
          {<KDcrawIface::RawDecodingSettings> = {_vptr.RawDecodingSettings = 0x7f0569ae8da0, gamma16bit = 2, sixteenBitsImage = false, halfSizeColorImage = false, whiteBalance = KDcrawIface::RawDecodingSettings::NONE, customWhiteBalance = 1419324136, customWhiteBalanceGreen = 0, RGBInterpolate4Colors = false, DontStretchPixels = 195, unclipColors = 32517, RAWQuality = 1773046640, medianFilterPasses = 32517, enableNoiseReduction = 112, NRThreshold = 32517, enableCACorrection = false, caMultiplier = {0, 6.9001633414757816e-310}, brightness = -4.23261661e-32, enableBlackPoint = 5, blackPoint = 6842624, enableWhitePoint = false, whitePoint = 76281648, inputColorSpace = KDcrawIface::RawDecodingSettings::NOINPUTCS, inputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205382}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f058e71443a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x48bf738, static codecForCStrings = 0x0}, outputColorSpace = 1773047760, outputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205382}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f058e71443a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f0591b7e00f, static codecForCStrings = 0x0}, deadPixelMap = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205382}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 193}, alloc = 0, size = 0, data = 0x7f058e71443a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3300000206, static codecForCStrings = 0x0}, whiteBalanceArea = {x1 = 43, y1 = 0, x2 = 0, y2 = 0}}, lightness = 0, contrast = 0, gamma = 0, saturation = 0, exposureComp = 0, curveAdjust = {<QVector<QPoint>> = {{p = 0x0, d = 0x0}}, <No data fields>}, levelsAdjust = {{p = {static shared_null = {ref = {_q_value = 34217}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x0}, d = 0x0}}})
    at /build/buildd/digikam-0.10.0/libs/dimg/dimg.cpp:332
#12 0x00007f0591c27e58 in Digikam::PreviewLoadingTask::execute (this=0x48bf720) at /build/buildd/digikam-0.10.0/libs/threadimageio/previewtask.cpp:188
#13 0x00007f0591c13636 in Digikam::LoadSaveThread::run (this=0x7f05547a3ab0) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:134
#14 0x00007f058e335952 in QThreadPrivate::start (arg=0x7f05547a3ab0) at thread/qthread_unix.cpp:189
#15 0x00007f058d5983ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#16 0x00007f058d892fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0594910750 (LWP 11493)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f058e335395 in thread_sleep (ti=0x7fff9c94d5e0) at thread/qthread_unix.cpp:298
#2  0x00007f058e3354fe in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:324
#3  0x00007f057887c24a in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f05942cc130 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007f058d7e36ed in *__GI_exit (status=1) at exit.c:75
#6  0x00007f058f024e48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007f05903fc2f8 in KApplication::xioErrhandler (this=0x7fff9c94da90, dpy=0x23f4cf0) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:413
#8  0x00007f058c4046e4 in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007f058c40ba1f in ?? () from /usr/lib/libX11.so.6
#10 0x00007f058c40c345 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007f058c3f4ed3 in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f058f05fe07 in x11EventSourcePrepare (s=0x23dc6e0, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#13 0x00007f05883631e2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#14 0x00007f05883635ff in ?? () from /usr/lib/libglib-2.0.so.0
#15 0x00007f0588363a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#16 0x00007f058e447e6f in QEventDispatcherGlib::processEvents (this=0x23c1c80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#17 0x00007f058f05fbef in QGuiEventDispatcherGlib::processEvents (this=0x7fff9c94d564, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#18 0x00007f058e41d002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1667966576}) at kernel/qeventloop.cpp:149
#19 0x00007f058e41d3cd in QEventLoop::exec (this=0x7fff9c94d9d0, flags={i = -1667966496}) at kernel/qeventloop.cpp:200
#20 0x00007f058e41f694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#21 0x0000000000671a37 in main (argc=<value optimized out>, argv=0x7fff9c94e218) at /build/buildd/digikam-0.10.0/digikam/main.cpp:190
Current language:  auto; currently c
217	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Current language:  auto; currently asm
Comment 8 Sergei Andreev 2009-05-09 12:31:37 UTC
Created attachment 33484 [details]
another cause of crash

Some mature content
Comment 9 caulier.gilles 2009-05-09 12:41:35 UTC
Sergei,

Go to Help/Components Info to see if digiKam use Exiv2 0.18.1

Gilles
Comment 10 Sergei Andreev 2009-05-09 12:57:08 UTC
Created attachment 33486 [details]
Components info screenshot
Comment 11 Sergei Andreev 2009-05-09 12:59:55 UTC
Overlooked "Copy to clipboard button":
digiKam version 0.10.0
Exiv2 can write to Jp2: Да
Exiv2 can write to Jpeg: Да
Exiv2 can write to Png: Да
Exiv2 can write to Tiff: Да
Exiv2 support XMP metadata: Да
LibCImg: 130
LibExiv2: 0.18.1
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.2.3 (KDE 4.2.3)
LibKExiv2: 0.5.0
LibKdcraw: 0.4.2
LibLCMS: 118
LibPNG: 1.2.27
LibQt: 4.5.0
LibRaw: 0.6.15-Release
LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Marble widget: 0.7.1
LibGphoto2: 2.4.2
LibKipi: 0.3.0
Comment 12 Andreas Huggel 2009-05-09 15:30:42 UTC
We need more info. This is what we know:

[KCrash Handler]
#5  0x00007f058b5bc528 in ?? () from /usr/lib/libexiv2.so.5
#6  0x00007f059304985b in KExiv2Iface::KExiv2::getExifTagLong
(this=0x7f0569ae7de0, exifTagName=0x7f0593064f90 "Exif.Photo.ColorSpace",
val=@0x7f0569ae7db0)
    at
/build/buildd/kdegraphics-4.2.3/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:563

and it doesn't tell me anything about the crash. Just by playing with the sample I couldn't get the command line exiv2 tool to crash.

Gilles,
What is digiKam trying to do here? Can you reproduce the problem in digiKam with the sample image? I notice it has this tag:

Exif.Photo.ColorSpace                        Short       0  

i.e., a tag Exif.Photo.ColorSpace with no value, I remember there have been issues with such cases before.

Sergei,
1) If you run this command on the image(s) which cause the crash:

   $ exiv2 -M 'set Exif.Photo.ColorSpace 0' image.jpg

Do you still get the crash afterwards? 

2) It seems the exiv2 library that you're using has no symbols. Can you download exiv2 from http://www.exiv2.org/download.html, compile it and use that to create a new backtrace with more debug info?

Andreas
Comment 13 Sergei Andreev 2009-05-09 16:55:11 UTC
>1) If you run this command on the image(s) which cause the crash:
> $ exiv2 -M 'set Exif.Photo.ColorSpace 0' image.jpg

I have 2 copies of crash picture #1
On one of copies I did exiv2 -M 'set Exif.Photo.ColorSpace 0' then I started digiKam.

After clicking on modified picture digiKam crashed, but this time picture was fully opened. 
If I click on unmodified picture -- it crashes immediately.

>2) It seems the exiv2 library that you're using has no symbols. Can you
download exiv2 from http://www.exiv2.org/download.html, compile it and use that
to create a new backtrace with more debug info?

I'm using exiv2 package from "PPA for Luka Renko"  https://launchpad.net/~lure/+archive/ppa and I saw his e-mail in CC of this bug. Maybe he could update his repository to iclude package with debug symbols?
Comment 14 caulier.gilles 2009-06-12 17:40:56 UTC
Sergei,

Do you have tested with Exiv2 0.18.1 now ? Crash still reproducible ?

Gilles Caulier
Comment 15 Sergei Andreev 2009-06-12 18:15:19 UTC
$ exiv2 -V
exiv2 0.18.1
Copyright (C) 2004-2009 Andreas Huggel.

$ digikam -v
Qt: 4.5.1
KDE: 4.2.4 (KDE 4.2.4)
digiKam: 0.10.0

And yes, it still crashes:
Приложение: digiKam (digikam), сигнал SIGSEGV
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Current language:  auto; currently asm
[Current thread is 0 (LWP 7370)]

Thread 10 (Thread 0x7f892698d950 (LWP 7371)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f89314d0ce9 in QWaitCondition::wait (this=0x1c4c998, mutex=0x1c4c990, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x000000000064bbb3 in Digikam::ScanController::run (this=0x1c5e4a0) at /build/buildd/digikam-0.10.0/digikam/scancontroller.cpp:412
#3  0x00007f89314cfd02 in QThreadPrivate::start (arg=0x1c5e4a0) at thread/qthread_unix.cpp:189
#4  0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f8922ef9950 (LWP 7373)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f89314d0ce9 in QWaitCondition::wait (this=0x1d6c8b0, mutex=0x1d6c8a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8934d6762c in Digikam::LoadSaveThread::run (this=0x1d6c890) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f89314cfd02 in QThreadPrivate::start (arg=0x1d6c890) at thread/qthread_unix.cpp:189
#4  0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f8921d08950 (LWP 7374)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f89314d0ce9 in QWaitCondition::wait (this=0x1dd8b10, mutex=0x1dd8b08, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8934d6762c in Digikam::LoadSaveThread::run (this=0x1dd8af0) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f89314cfd02 in QThreadPrivate::start (arg=0x1dd8af0) at thread/qthread_unix.cpp:189
#4  0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f891674f950 (LWP 7375)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f891b662f91 in metronom_sync_loop (this=0x2006ae0) at metronom.c:870
#2  0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8914aa3950 (LWP 7376)):
#0  0x00007f8930a33742 in select () from /lib/libc.so.6
#1  0x00007f891b68c0a4 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2  0x00007f891b670deb in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3  0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f89142a2950 (LWP 7377)):
#0  0x00007f8930a31496 in *__GI___poll (fds=0x1f87da0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f892b50b77f in g_main_context_iterate (context=0x1f86340, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2761
#2  0x00007f892b50ba7c in IA__g_main_context_iteration (context=0x1f86340, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#3  0x00007f89315e254e in QEventDispatcherGlib::processEvents (this=0x1f86270, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:326
#4  0x00007f89315b76a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 338304976}) at kernel/qeventloop.cpp:149
#5  0x00007f89315b7a6d in QEventLoop::exec (this=0x7f89142a2010, flags={i = 338305056}) at kernel/qeventloop.cpp:200
#6  0x00007f89314ccd68 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f891b8be62c in Phonon::Xine::XineThread::run (this=0x1f85c70) at /build/buildd/phonon-4.3.1/xine/xinethread.cpp:143
#8  0x00007f89314cfd02 in QThreadPrivate::start (arg=0x1f85c70) at thread/qthread_unix.cpp:189
#9  0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#10 0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Current language:  auto; currently c

Thread 4 (Thread 0x7f891389b950 (LWP 7379)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f891b674353 in ao_loop (this_gen=<value optimized out>) at audio_out.c:348
#2  0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8912267950 (LWP 7765)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f89314d0ce9 in QWaitCondition::wait (this=0x261bf50, mutex=0x261bf48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f8934d6762c in Digikam::LoadSaveThread::run (this=0x261bf30) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f89314cfd02 in QThreadPrivate::start (arg=0x261bf30) at thread/qthread_unix.cpp:189
#4  0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
Current language:  auto; currently asm

Thread 2 (Thread 0x7f890a7fc950 (LWP 7766)):
[KCrash Handler]
#5  0x00007f892e764528 in ?? () from /usr/lib/libexiv2.so.5
#6  0x00007f893618285b in KExiv2Iface::KExiv2::getExifTagLong (this=0x7f890a7fade0, exifTagName=0x7f893619df90 "Exif.Photo.ColorSpace", val=@0x7f890a7fadb0)
    at /build/buildd/kdegraphics-4.2.4/libs/libkexiv2/libkexiv2/kexiv2exif.cpp:563
#7  0x00007f8936176e40 in KExiv2Iface::KExiv2::getImageColorWorkSpace (this=0x7f8900256760) at /build/buildd/kdegraphics-4.2.4/libs/libkexiv2/libkexiv2/kexiv2image.cpp:371
#8  0x00007f8934cdc801 in Digikam::DImgLoader::checkExifWorkingColorSpace (this=0x7f890a7fb9e0) at /build/buildd/digikam-0.10.0/libs/dimg/loaders/dimgloader.cpp:196
#9  0x00007f8934ce26ea in Digikam::JPEGLoader::load (this=0x7f890a7fb9e0, filePath=<value optimized out>, observer=0x2675250) at /build/buildd/digikam-0.10.0/libs/dimg/loaders/jpegloader.cpp:511
#10 0x00007f8934cd1595 in Digikam::DImg::load (this=0x7f890a7fbfd0, filePath=@0x2675258, loadFlagsInt=31, observer=0x2675250, rawDecodingSettings=
          {<KDcrawIface::RawDecodingSettings> = {_vptr.RawDecodingSettings = 0x7f890a7fbb70, gamma16bit = 80, sixteenBitsImage = 82, halfSizeColorImage = 103, whiteBalance = KDcrawIface::RawDecodingSettings::NONE, customWhiteBalance = 2479504, customWhiteBalanceGreen = 0, RGBInterpolate4Colors = 16, DontStretchPixels = 18, unclipColors = 32649, RAWQuality = 779981935, medianFilterPasses = 32649, enableNoiseReduction = 240, NRThreshold = 32649, enableCACorrection = 48, caMultiplier = {6.9281127605094267e-310, 6.9281425746593257e-310}, brightness = 1.35481571e-38, enableBlackPoint = false, blackPoint = 824359357, enableWhitePoint = 137, whitePoint = 9668288, inputColorSpace = KDcrawIface::RawDecodingSettings::NOINPUTCS, inputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205918}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 194}, alloc = 0, size = 0, data = 0x7f89318ac83a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x0, static codecForCStrings = 0x0}, outputColorSpace = 2462840, outputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205918}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 194}, alloc = 0, size = 0, data = 0x7f89318ac83a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f892e77af18, static codecForCStrings = 0x0}, deadPixelMap = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205918}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 194}, alloc = 0, size = 0, data = 0x7f89318ac83a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9386c0, static codecForCStrings = 0x0}, whiteBalanceArea = {x1 = 2462840, y1 = 32649, x2 = 1, y2 = 0}}, lightness = 6.9281041804215491e-310, contrast = 3.9525251667299724e-322, gamma = 1.2731974745791634e-313, saturation = 1.1857575500189917e-322, exposureComp = 6.9281040579240986e-310, curveAdjust = {<QVector<QPoint>> = {{p = 0x0, d = 0x0}}, <No data fields>}, levelsAdjust = {{p = {static shared_null = {ref = {_q_value = 35259}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7f89002dcf05}, d = 0x7f89002dcf05}}}) at /build/buildd/digikam-0.10.0/libs/dimg/dimg.cpp:357
#11 0x00007f8934cd200f in Digikam::DImg::load (this=0x7f890a7fbfd0, filePath=@0x2675258, observer=0x2675250, rawDecodingSettings=
          {<KDcrawIface::RawDecodingSettings> = {_vptr.RawDecodingSettings = 0x7f890a7fbda0, gamma16bit = 2, sixteenBitsImage = false, halfSizeColorImage = false, whiteBalance = KDcrawIface::RawDecodingSettings::NONE, customWhiteBalance = 2482936, customWhiteBalanceGreen = 0, RGBInterpolate4Colors = 96, DontStretchPixels = 103, unclipColors = 32649, RAWQuality = 176143216, medianFilterPasses = 32649, enableNoiseReduction = 112, NRThreshold = 32649, enableCACorrection = false, caMultiplier = {0, 6.9281040579296321e-310}, brightness = 5.59953195e-11, enableBlackPoint = 137, blackPoint = 6842624, enableWhitePoint = false, whitePoint = 40325712, inputColorSpace = KDcrawIface::RawDecodingSettings::NOINPUTCS, inputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205918}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 194}, alloc = 0, size = 0, data = 0x7f89318ac83a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x2675258, static codecForCStrings = 0x0}, outputColorSpace = 176144336, outputProfile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205918}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 194}, alloc = 0, size = 0, data = 0x7f89318ac83a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f8934cd200f, static codecForCStrings = 0x0}, deadPixelMap = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 205918}, alloc = 0, size = 0, data = 0x93843a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 194}, alloc = 0, size = 0, data = 0x7f89318ac83a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x3300000206, static codecForCStrings = 0x0}, whiteBalanceArea = {x1 = 43, y1 = 0, x2 = 0, y2 = 0}}, lightness = 0, contrast = 0, gamma = 0, saturation = 0, exposureComp = 0, curveAdjust = {<QVector<QPoint>> = {{p = 0x0, d = 0x0}}, <No data fields>}, levelsAdjust = {{p = {static shared_null = {ref = {_q_value = 35259}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x0}, d = 0x0}}})
    at /build/buildd/digikam-0.10.0/libs/dimg/dimg.cpp:332
#12 0x00007f8934d7be58 in Digikam::PreviewLoadingTask::execute (this=0x2675240) at /build/buildd/digikam-0.10.0/libs/threadimageio/previewtask.cpp:188
#13 0x00007f8934d67636 in Digikam::LoadSaveThread::run (this=0x7f88f0edc210) at /build/buildd/digikam-0.10.0/libs/threadimageio/loadsavethread.cpp:134
#14 0x00007f89314cfd02 in QThreadPrivate::start (arg=0x7f88f0edc210) at thread/qthread_unix.cpp:189
#15 0x00007f89307403ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#16 0x00007f8930a3afcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8937a47750 (LWP 7370)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f89314cf745 in thread_sleep (ti=0x7fff3fa8a670) at thread/qthread_unix.cpp:298
#2  0x00007f89314cf8ae in QThread::msleep (msecs=200) at thread/qthread_unix.cpp:324
#3  0x00007f891b8e224a in ~Backend (this=0x1f93420) at /build/buildd/phonon-4.3.1/xine/backend.cpp:108
#4  0x00007f8937407130 in ~FactoryPrivate (this=0x1f27360) at /build/buildd/phonon-4.3.1/phonon/factory.cpp:199
#5  0x00007f893098b6ed in *__GI_exit (status=1) at exit.c:75
#6  0x00007f8932181308 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#7  0x00007f8933550268 in KApplication::xioErrhandler (this=0x7fff3fa8ab10, dpy=0x1b3fc30) at /build/buildd/kde4libs-4.2.4/kdeui/kernel/kapplication.cpp:413
#8  0x00007f892f5ac6e4 in _XIOError () from /usr/lib/libX11.so.6
#9  0x00007f892f5b3a1f in ?? () from /usr/lib/libX11.so.6
#10 0x00007f892f5b4345 in _XEventsQueued () from /usr/lib/libX11.so.6
#11 0x00007f892f59ced3 in XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f89321bc8cc in x11EventSourceCheck (s=0x1b39680) at kernel/qguieventdispatcher_glib.cpp:87
#13 0x00007f892b50aed2 in IA__g_main_context_check (context=0x1b38520, max_priority=2147483647, fds=<value optimized out>, n_fds=-1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2323
#14 0x00007f892b50b7c9 in g_main_context_iterate (context=0x1b38520, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2445
#15 0x00007f892b50ba7c in IA__g_main_context_iteration (context=0x1b38520, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#16 0x00007f89315e252f in QEventDispatcherGlib::processEvents (this=0x1b1ec10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#17 0x00007f89321bc70f in QGuiEventDispatcherGlib::processEvents (this=0x7fff3fa8a5f4, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#18 0x00007f89315b76a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1068018192}) at kernel/qeventloop.cpp:149
#19 0x00007f89315b7a6d in QEventLoop::exec (this=0x7fff3fa8aa50, flags={i = 1068018272}) at kernel/qeventloop.cpp:200
#20 0x00007f89315b9d34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#21 0x0000000000671a37 in main (argc=<value optimized out>, argv=0x7fff3fa8b298) at /build/buildd/digikam-0.10.0/digikam/main.cpp:190
Current language:  auto; currently c
217	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
Current language:  auto; currently asm
Comment 16 caulier.gilles 2009-06-12 18:27:03 UTC
Sergei,

Look strange...

Please, in digiKam, go to Help/components info and copy and paste here all text...

Gilles Caulier
Comment 17 Sergei Andreev 2009-06-12 18:31:48 UTC
digiKam version 0.10.0
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 support XMP metadata: Yes
LibCImg: 130
LibExiv2: 0.18.1
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.2.4 (KDE 4.2.4)
LibKExiv2: 0.5.0
LibKdcraw: 0.4.2
LibLCMS: 118
LibPNG: 1.2.27
LibQt: 4.5.1
LibRaw: 0.6.15-Release
LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Marble widget: 0.7.1
LibGphoto2: 2.4.2
LibKipi: 0.3.0
Comment 18 caulier.gilles 2009-06-12 19:04:26 UTC
Ok, now, i can reproduce the crash here. 

I investigate...

Gilles Caulier
Comment 19 caulier.gilles 2009-06-12 19:17:31 UTC
Andreas,

libexiv2 crash with this call:

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2exif.cpp#563

when digiKam ask exif color space tag value from this call :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/dimg/loaders/dimgloader.cpp#196

and this one :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp#371

I can reproduce with image provided by Sergei.

The question is why Exiv2 crash when i try to convert this tag value to long.

Look image content :

[gilles@localhost test]$ exiv2 -pv BKO192085.jpeg
0x0112 Image        Orientation                 Short       1  1
0x011a Image        XResolution                 Rational    1  960000/10000
0x011b Image        YResolution                 Rational    1  960000/10000
0x0128 Image        ResolutionUnit              Short       1  2
0x0131 Image        Software                    Ascii      28  ACD Systems
Digital Imaging
0x0132 Image        DateTime                    Ascii      20  2008:12:22
23:02:48
0x0213 Image        YCbCrPositioning            Short       1  1
0x8769 Image        ExifTag                     Long        1  174
0x9290 Photo        SubSecTime                  Ascii       4  140
0xa001 Photo        ColorSpace                  Short       0
0xa002 Photo        PixelXDimension             Long        1  850
0xa003 Photo        PixelYDimension             Long        1  680
0x0103 Thumbnail    Compression                 Short       1  6
0x0201 Thumbnail    JPEGInterchangeFormat       Long        1  270
0x0202 Thumbnail    JPEGInterchangeFormatLength Long        1  8313
[gilles@localhost test]$

... or perhaps it's due to try to convert short value to long ??? Why... It's
not illegal. And i use this function with other image without problem. It due
because tag has a null value ?

Gilles Caulier
Comment 20 caulier.gilles 2009-06-14 08:05:44 UTC
Andreas,

do you see my previous message ?

Gilles
Comment 21 Andreas Huggel 2009-06-14 09:29:07 UTC
No, I missed this one.

What happens if you try with this change in getExifTagLong() on line 561:

    if (it != exifData.end() && it->count() > 0)

to make sure toLong is not called when there is no value.

Andreas
Comment 22 caulier.gilles 2009-06-14 10:06:16 UTC
Yes, It do not crash in this case. thanks Andreas !

Gilles
Comment 23 caulier.gilles 2009-06-14 10:06:59 UTC
SVN commit 981717 by cgilles:

check tag size before to convert to long with Exiv2
BUG: 192085


 M  +1 -1      kexiv2exif.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=981717