Bug 292537

Summary: dng tool segfaults
Product: [Applications] digikam Reporter: lootafoytnanrspc
Component: Plugin-Bqm-DngConverterAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 2.6.0
Sentry Crash Report:

Description lootafoytnanrspc 2012-01-26 23:44:46 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.0.17-qux+ x86_64
Distribution: "Fedora release 17 (Rawhide)"

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

I tried to import a couple of .nef files (Nikon D60), then it crashed ....

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f14f2a8ca80 (LWP 23810))]

Thread 6 (Thread 0x7f14e92b6700 (LWP 23811)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003001a7b9cb in wait (time=18446744073709551615, this=0x1baa7d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b93f68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005bcb44 in Digikam::ScanController::run() ()
#4  0x0000003001a7b4cb in QThreadPrivate::start (arg=0x1ba5aa0) at thread/qthread_unix.cpp:298
#5  0x000000300c807d90 in start_thread (arg=0x7f14e92b6700) at pthread_create.c:309
#6  0x0000003004ceeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f14e8ab5700 (LWP 23812)):
#0  0x0000003004ce6443 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003011246ff6 in g_main_context_iterate.isra.21 () from /lib64/libglib-2.0.so.0
#2  0x0000003011247114 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003001ba2976 in QEventDispatcherGlib::processEvents (this=0x7f14dc0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x0000003001b7382f in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003001b73ab8 in QEventLoop::exec (this=0x7f14e8ab4af0, flags=...) at kernel/qeventloop.cpp:204
#6  0x0000003001a78588 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x0000003001b5467f in QInotifyFileSystemWatcherEngine::run (this=0x1ba9c70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003001a7b4cb in QThreadPrivate::start (arg=0x1ba9c70) at thread/qthread_unix.cpp:298
#9  0x000000300c807d90 in start_thread (arg=0x7f14e8ab5700) at pthread_create.c:309
#10 0x0000003004ceeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f14e3fff700 (LWP 23816)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003001a7b9cb in wait (time=18446744073709551615, this=0x1bc7720) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1bd1568, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f14fef90876 in Digikam::ParkingThread::run() () from /usr/lib64/libdigikamcore.so.2
#4  0x0000003001a7b4cb in QThreadPrivate::start (arg=0x1bd1550) at thread/qthread_unix.cpp:298
#5  0x000000300c807d90 in start_thread (arg=0x7f14e3fff700) at pthread_create.c:309
#6  0x0000003004ceeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f14bbfff700 (LWP 24082)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003001a7b9cb in wait (time=18446744073709551615, this=0xd47ff80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xd47f0f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f14d0385731 in KIPIPlugins::LoadRawThumbThread::run() () from /usr/lib64/libkipiplugins.so.2
#4  0x0000003001a7b4cb in QThreadPrivate::start (arg=0xd47f580) at thread/qthread_unix.cpp:298
#5  0x000000300c807d90 in start_thread (arg=0x7f14bbfff700) at pthread_create.c:309
#6  0x0000003004ceeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f14bb7fe700 (LWP 24181)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003001a7b9cb in wait (time=18446744073709551615, this=0xdab45a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xe29d838, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f14ca28a4d6 in KIPIDNGConverterPlugin::ActionThread::run() () from /usr/lib64/kde4/kipiplugin_dngconverter.so
#4  0x0000003001a7b4cb in QThreadPrivate::start (arg=0xdfd78d0) at thread/qthread_unix.cpp:298
#5  0x000000300c807d90 in start_thread (arg=0x7f14bb7fe700) at pthread_create.c:309
#6  0x0000003004ceeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f14f2a8ca80 (LWP 23810)):
[KCrash Handler]
#6  0x00007f14ff948120 in KIPI::ImageInfo::cloneData(KIPI::ImageInfo const&) () from /usr/lib64/libkipi.so.8
#7  0x00007f14ca28c47c in KIPIDNGConverterPlugin::BatchDialog::processed(KUrl const&, QString const&) () from /usr/lib64/kde4/kipiplugin_dngconverter.so
#8  0x00007f14ca28d43d in KIPIDNGConverterPlugin::BatchDialog::slotAction(KIPIDNGConverterPlugin::ActionData const&) () from /usr/lib64/kde4/kipiplugin_dngconverter.so
#9  0x0000003001b890ee in QObject::event (this=0xd03c1c0, e=<optimized out>) at kernel/qobject.cpp:1195
#10 0x0000003003419432 in QWidget::event (this=0xd03c1c0, event=0x7f14a674ba80) at kernel/qwidget.cpp:8820
#11 0x00000030033ca2dc in QApplicationPrivate::notify_helper (this=0x1a241a0, receiver=0xd03c1c0, e=0x7f14a674ba80) at kernel/qapplication.cpp:4550
#12 0x00000030033ce85a in QApplication::notify (this=0x7fff6da45ad0, receiver=0xd03c1c0, e=0x7f14a674ba80) at kernel/qapplication.cpp:4411
#13 0x0000003000644a66 in KApplication::notify (this=0x7fff6da45ad0, receiver=0xd03c1c0, event=0x7f14a674ba80) at /usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#14 0x0000003001b7482e in QCoreApplication::notifyInternal (this=0x7fff6da45ad0, receiver=0xd03c1c0, event=0x7f14a674ba80) at kernel/qcoreapplication.cpp:876
#15 0x0000003001b77fb1 in sendEvent (event=0x7f14a674ba80, receiver=0xd03c1c0) at kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x19c0bd0) at kernel/qcoreapplication.cpp:1500
#17 0x0000003001ba27c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0x1a216c0) at kernel/qeventdispatcher_glib.cpp:279
#19 0x0000003011246c4c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#20 0x0000003011246fa1 in g_main_context_iterate.isra.21 () from /lib64/libglib-2.0.so.0
#21 0x0000003011247114 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#22 0x0000003001ba2956 in QEventDispatcherGlib::processEvents (this=0x19c24b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#23 0x0000003003469c0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#24 0x0000003001b7382f in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x0000003001b73ab8 in QEventLoop::exec (this=0x7fff6da454e0, flags=...) at kernel/qeventloop.cpp:204
#26 0x0000003001b782fc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#27 0x000000000048c9d9 in main ()

Reported using DrKonqi
Comment 1 caulier.gilles 2012-01-27 05:39:15 UTC
It crash into libkipi. It's probably a binary compatibility broken with digiKam, kipi-plugins, and libkipi packages. Check your system...

Gilles Caulier
Comment 2 lootafoytnanrspc 2012-01-27 09:19:41 UTC
I recompiled digikam (again) and now it does not crash