Bug 231584 - Digikam crashes when asked to print image.
Summary: Digikam crashes when asked to print image.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-PrintCreator (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-21 20:56 UTC by jbrsubscribe
Modified: 2017-07-04 03:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jbrsubscribe 2010-03-21 20:56:57 UTC
Application: digikam (1.1.0)
KDE Platform Version: 4.4.1 (KDE 4.4.1) "release 228"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.1-default x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
Digikam crashes when asked to print image. Selected the image to print and it crashed.

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

Thread 15 (Thread 0x7fd8cc75b710 (LWP 30709)):
#0  0x00007fd8d945738c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8db5e585b in wait (time=18446744073709551615, this=0xcd1b10) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=0xcd1b10) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006c8d0b in Digikam::ScanController::run (this=0xcd1e30) at /home/jerome/Downloads/Utilities/digikam-1.1.0/digikam/scancontroller.cpp:502
#4  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0xcd1e30) at thread/qthread_unix.cpp:248
#5  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fd8cba2f710 (LWP 30711)):
#0  0x00007fd8d5e3a15b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fd8d5e3aa32 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd8d5e3af4d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd8db6f6f06 in QEventDispatcherGlib::processEvents (this=0xc6e090, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fd8db6cd8a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd8db6cdadc in QEventLoop::exec (this=0x7fd8cba2ed20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd8db5e2a19 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0x1482fc0) at thread/qthread_unix.cpp:248
#8  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fd8cb22e710 (LWP 30712)):
#0  0x00007fd8da8e6a53 in poll () from /lib64/libc.so.6
#1  0x00007fd8d5e3aa14 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd8d5e3af4d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd8db6f6f06 in QEventDispatcherGlib::processEvents (this=0xe67bd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fd8db6cd8a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd8db6cdadc in QEventLoop::exec (this=0x7fd8cb22dd20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd8db5e2a19 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0xd0e1b0) at thread/qthread_unix.cpp:248
#8  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fd8caa2d710 (LWP 30713)):
#0  0x00007fd8d945738c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8db5e585b in wait (time=18446744073709551615, this=0xd69a60) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=0xd69a60) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8ddf9e7b2 in Digikam::LoadSaveThread::run (this=0xe5c100) at /home/jerome/Downloads/Utilities/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0xe5c100) at thread/qthread_unix.cpp:248
#5  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fd8ca22c710 (LWP 30714)):
#0  0x00007fd8da8e6a53 in poll () from /lib64/libc.so.6
#1  0x00007fd8d5e3aa14 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd8d5e3af4d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd8db6f6f06 in QEventDispatcherGlib::processEvents (this=0xcc9090, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fd8db6cd8a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd8db6cdadc in QEventLoop::exec (this=0x7fd8ca22bd20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd8db5e2a19 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0xe6d1c0) at thread/qthread_unix.cpp:248
#8  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fd8c9a2b710 (LWP 30715)):
#0  0x00007fd8da8e6a53 in poll () from /lib64/libc.so.6
#1  0x00007fd8d5e3aa14 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd8d5e3af4d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd8db6f6f06 in QEventDispatcherGlib::processEvents (this=0xceb220, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fd8db6cd8a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd8db6cdadc in QEventLoop::exec (this=0x7fd8c9a2ad20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fd8db5e2a19 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0xced750) at thread/qthread_unix.cpp:248
#8  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fd8c917a710 (LWP 30716)):
#0  0x00007fd8d945738c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8db5e585b in wait (time=18446744073709551615, this=0xdacf30) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=0xdacf30) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8ddf9e7b2 in Digikam::LoadSaveThread::run (this=0xdee030) at /home/jerome/Downloads/Utilities/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0xdee030) at thread/qthread_unix.cpp:248
#5  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fd8bc690710 (LWP 30719)):
#0  0x00007fd8d94576f9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8c27b7671 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#3  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fd8bac1b710 (LWP 30720)):
#0  0x00007fd8d94576f9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8c27c2e69 in interruptable_sleep () from /usr/lib64/libxine.so.1
#2  0x00007fd8c27c5621 in video_out_loop () from /usr/lib64/libxine.so.1
#3  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fd8ba41a710 (LWP 30721)):
#0  0x00007fd8d94550a4 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fd8d5e3a182 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd8d5e3aa32 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd8d5e3af4d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd8db6f6f06 in QEventDispatcherGlib::processEvents (this=0x26ddfa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007fd8db6cd8a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd8db6cdadc in QEventLoop::exec (this=0x7fd8ba419cc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fd8db5e2a19 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007fd8c2a8f286 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0x262f310) at thread/qthread_unix.cpp:248
#10 0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd8b9a0f710 (LWP 30725)):
#0  0x00007fd8d945738c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8c27c8713 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#3  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd8b920e710 (LWP 30726)):
#0  0x00007fd8d945738c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8db5e585b in wait (time=18446744073709551615, this=0x300ca90) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=0x300ca90) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8ddf9e7b2 in Digikam::LoadSaveThread::run (this=0x300be80) at /home/jerome/Downloads/Utilities/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0x300be80) at thread/qthread_unix.cpp:248
#5  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd8b8a0d710 (LWP 30783)):
#0  0x00007fd8d945738c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8db5e585b in wait (time=18446744073709551615, this=0x2d04820) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=0x2d04820) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8ddf9e7b2 in Digikam::LoadSaveThread::run (this=0x2ea7800) at /home/jerome/Downloads/Utilities/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0x2ea7800) at thread/qthread_unix.cpp:248
#5  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd8a811f710 (LWP 30784)):
#0  0x00007fd8d945738c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fd8db5e585b in wait (time=18446744073709551615, this=0x38e9e20) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=0x38e9e20) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fd8ddf9e7b2 in Digikam::LoadSaveThread::run (this=0x378dec0) at /home/jerome/Downloads/Utilities/digikam-1.1.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fd8db5e5195 in QThreadPrivate::start (arg=0x378dec0) at thread/qthread_unix.cpp:248
#5  0x00007fd8d9452a3f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd8da8efc1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd8e0a32860 (LWP 30708)):
[KCrash Handler]
#5  0x00007fd8da1055ec in jpeg_CreateDecompress () from /usr/lib64/libjpeg.so.62
#6  0x00007fd8cede4480 in ?? () from /usr/lib64/qt4/plugins/imageformats/libqjpeg.so
#7  0x00007fd8cede542e in ?? () from /usr/lib64/qt4/plugins/imageformats/libqjpeg.so
#8  0x00007fd8dc334bdb in QImageReader::read(QImage*) () from /usr/lib64/libQtGui.so.4
#9  0x00007fd8dc33515c in QImageReader::read() () from /usr/lib64/libQtGui.so.4
#10 0x00007fd8dc327176 in QImage::load(QString const&, char const*) () from /usr/lib64/libQtGui.so.4
#11 0x00007fd8b6e3769d in KIPIPrintImagesPlugin::TPhoto::loadPhoto (this=0x349ff40) at /usr/src/debug/kipi-plugins-1.1.0/printimages/tphoto.cpp:131
#12 0x00007fd8b6e37707 in KIPIPrintImagesPlugin::TPhoto::loadCache (this=0x349ff40) at /usr/src/debug/kipi-plugins-1.1.0/printimages/tphoto.cpp:101
#13 0x00007fd8b6e37885 in KIPIPrintImagesPlugin::TPhoto::thumbnail (this=0x349ff40) at /usr/src/debug/kipi-plugins-1.1.0/printimages/tphoto.cpp:117
#14 0x00007fd8b6e4fcc5 in KIPIPrintImagesPlugin::PrintOptionsPage::imagePreview (this=0x34cd320) at /usr/src/debug/kipi-plugins-1.1.0/printimages/printoptionspage.cpp:311
#15 0x00007fd8b6e5012e in KIPIPrintImagesPlugin::PrintOptionsPage::PrintOptionsPage (this=0x34cd320, parent=<value optimized out>, photoList=<value optimized out>)
    at /usr/src/debug/kipi-plugins-1.1.0/printimages/printoptionspage.cpp:150
#16 0x00007fd8b6e35e1c in KIPIPrintImagesPlugin::PrintHelper::print (this=0x7fff323442f0, fileList=) at /usr/src/debug/kipi-plugins-1.1.0/printimages/printhelper.cpp:214
#17 0x00007fd8b6e34188 in Plugin_PrintImages::slotPrintImagesActivate (this=<value optimized out>) at /usr/src/debug/kipi-plugins-1.1.0/printimages/plugin_printimages.cpp:130
#18 0x00007fd8b6e34b70 in Plugin_PrintImages::qt_metacall (this=0x3324a40, _c=InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kipi-plugins-1.1.0/build/printimages/plugin_printimages.moc:76
#19 0x00007fd8db6e247f in QMetaObject::activate (sender=0x33100a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff32344490) at kernel/qobject.cpp:3293
#20 0x00007fd8dc26df12 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#21 0x00007fd8dc26e10a in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#22 0x00007fd8dc69553b in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007fd8dc69b56a in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007fd8dcec126e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#25 0x00007fd8dc2c41b2 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007fd8dc69c78b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007fd8dc2747b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x00007fd8dc27911a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007fd8dcedc456 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#30 0x00007fd8db6ce4bc in QCoreApplication::notifyInternal (this=0x7fff32345e40, receiver=0x3284760, event=0x7fff32345110) at kernel/qcoreapplication.cpp:704
#31 0x00007fd8dc275705 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#32 0x00007fd8dc2efcd4 in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007fd8dc2ee1d9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#34 0x00007fd8dc314332 in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007fd8d5e3a4d3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fd8d5e3acb0 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fd8d5e3af4d in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fd8db6f6eaf in QEventDispatcherGlib::processEvents (this=0xa95040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#39 0x00007fd8dc313fee in ?? () from /usr/lib64/libQtGui.so.4
#40 0x00007fd8db6cd8a2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fd8db6cdadc in QEventLoop::exec (this=0x7fff32345d70, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007fd8db6d1e0b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x000000000076ac9b in main (argc=<value optimized out>, argv=<value optimized out>) at /home/jerome/Downloads/Utilities/digikam-1.1.0/digikam/main.cpp:195

Possible duplicates by query: bug 227064, bug 204232.

Reported using DrKonqi
Comment 1 Johannes Wienke 2010-03-21 21:00:25 UTC
This looks like a libjpeg or Qt bug.
Comment 2 caulier.gilles 2010-03-22 09:38:34 UTC
Yes, crash come from Qt image loader with libjpeg. it's a problem in your system.

Gilles Caulier
Comment 3 caulier.gilles 2010-04-04 10:47:07 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

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

Gilles Caulier
Comment 5 caulier.gilles 2015-06-28 10:03:28 UTC
New Kipiplugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 6 caulier.gilles 2015-08-23 14:34:32 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 7 caulier.gilles 2016-07-09 15:47:26 UTC
This problem is not reproducible with last 5.0.0.
I close this file now. Don't hesitate to re-open it if necessary.
Gilles Caulier