Bug 289644 - digikam crashes while resizing pictures
Summary: digikam crashes while resizing pictures
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Resize (show other bugs)
Version: 2.4.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 08:15 UTC by Christopher Bräuer
Modified: 2017-07-08 05:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Bräuer 2011-12-23 08:15:59 UTC
Application: digikam (2.4.1)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

I wanted to resize some pictures, but after the first picture was resized, digikam crashes. :-(

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7eff50118700 (LWP 23584)):
#0  0x00007eff671d7e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007eff6ae244bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005d22e0 in ?? ()
#3  0x00007eff6ae24025 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007eff5ea762da in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007eff671d3f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007eff6946453d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7eff4f90c700 (LWP 23585)):
#0  0x00007eff6945b423 in poll () from /lib64/libc.so.6
#1  0x00007eff616d6a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007eff616d6f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007eff6af35576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007eff6af09a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007eff6af09c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007eff6ae215df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007eff6aeecaef in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007eff6ae24025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007eff5ea762da in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007eff671d3f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007eff6946453d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7eff4f10b700 (LWP 23596)):
#0  0x00007eff671d7e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007eff6ae244bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007eff6d54c8b7 in ?? () from /usr/lib64/libdigikamcore.so.2
#3  0x00007eff6ae24025 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007eff5ea762da in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007eff671d3f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007eff6946453d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7eff3d033700 (LWP 23603)):
#0  0x00007eff6945b423 in poll () from /lib64/libc.so.6
#1  0x00007eff616d6a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007eff616d6f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007eff6af35576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007eff6af09a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007eff6af09c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007eff6ae215df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007eff6aeecaef in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007eff6ae24025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007eff5ea762da in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007eff671d3f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007eff6946453d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7eff36269700 (LWP 23604)):
#0  0x00007eff616d6247 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x00007eff616d6ab2 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007eff616d6f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007eff6af35576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007eff6af09a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007eff6af09c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007eff6ae215df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007eff6aeecaef in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007eff6ae24025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007eff5ea762da in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007eff671d3f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007eff6946453d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7eff6fc9a800 (LWP 23582)):
[KCrash Handler]
#6  0x00007eff6dedc310 in KIPI::ImageInfo::cloneData(KIPI::ImageInfo const&) () from /usr/lib64/libkipi.so.8
#7  0x00007eff0d349e89 in KIPIBatchProcessImagesPlugin::BatchProcessImagesDialog::slotFinished (this=0x74e9110) at /usr/src/debug/digikam-2.3.0/extra/kipi-plugins/batchprocessimages/common/batchprocessimagesdialog.cpp:630
#8  0x00007eff0d34a584 in KIPIBatchProcessImagesPlugin::BatchProcessImagesDialog::qt_metacall (this=0x74e9110, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff804e8060) at /usr/src/debug/digikam-2.3.0/extra/kipi-plugins/build/batchprocessimages/batchprocessimagesdialog.moc:105
#9  0x00007eff0d372b18 in KIPIBatchProcessImagesPlugin::ResizeImagesDialog::qt_metacall (this=0x74e9110, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/digikam-2.3.0/extra/kipi-plugins/build/batchprocessimages/resizeimagesdialog.moc:69
#10 0x00007eff6af1d59a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#11 0x00007eff6aeaa60f in QProcess::finished(int, QProcess::ExitStatus) () from /usr/lib64/libQtCore.so.4
#12 0x00007eff6aeaf316 in ?? () from /usr/lib64/libQtCore.so.4
#13 0x00007eff6aeaf919 in QProcess::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtCore.so.4
#14 0x00007eff6b3607f8 in KProcess::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdecore.so.5
#15 0x00007eff6af1d59a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007eff6af6716e in QSocketNotifier::activated(int) () from /usr/lib64/libQtCore.so.4
#17 0x00007eff6af2524b in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#18 0x00007eff6a061c34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007eff6a066ac1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007eff6b95be36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007eff6af0a81c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#22 0x00007eff6af34c27 in ?? () from /usr/lib64/libQtCore.so.4
#23 0x00007eff616d658d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007eff616d6d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007eff616d6f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007eff6af3550f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00007eff6a104f9e in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007eff6af09a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007eff6af09c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007eff6af0dde7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#31 0x00000000004949ad in ?? ()
#32 0x00007eff693ac23d in __libc_start_main () from /lib64/libc.so.6
#33 0x0000000000496185 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2011-12-23 08:43:17 UTC
It crash in libkipi interface.

Perhaps it you have a broken binary compatibility with digiKam and libkipi. I cannot reproduce it.

Also, try to use digiKam Batch Queue Manager to resize image in batch instead kipi-plugins batch tool.

Gilles Caulier
Comment 2 Christopher Bräuer 2011-12-27 10:36:39 UTC
Thanks Gilles!

You saved my day! It realy was a broken compatibility with libkipi, I did not noticed!

Now everything works fine again!

Thanks again and I wish you a happy new year 2012!

Chris