Bug 181871 - ShowFoto crashes while trying to save as jpg
Summary: ShowFoto crashes while trying to save as jpg
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Save (show other bugs)
Version: 0.10.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 15:39 UTC by Sputnik
Modified: 2022-02-05 04:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sputnik 2009-01-25 15:39:44 UTC
Version:           0.10.0-rc1 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-11-generic

While trying to save an image as jpg showfoto crashed reproducable.

The oringal has been a tiff-image. There where some options on the foot of the window that only make sense for tiff images. Showfoto just crashed.

However I got a backtrace:

Anwendung: showFoto (showfoto), Signal SIGABRT
[Current thread is 0 (LWP 18733)]

Thread 5 (Thread 0xb32d6b90 (LWP 18734)):
#0  0xb7f5b430 in __kernel_vsyscall ()
#1  0xb57c6075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a49ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb668e6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7d921f2 in Digikam::LoadSaveThread::run (this=0x9c449d8) at /build/buildd/digikam-0.10.0~rc1/libs/threadimageio/loadsavethread.cpp:129
#5  0xb668d6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb57c250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb64967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb2a7fb90 (LWP 18735)):
#0  0xb7f5b430 in __kernel_vsyscall ()
#1  0xb57c6075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a49ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb668e6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7d921f2 in Digikam::LoadSaveThread::run (this=0x9dd91e8) at /build/buildd/digikam-0.10.0~rc1/libs/threadimageio/loadsavethread.cpp:129
#5  0xb668d6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb57c250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb64967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb223db90 (LWP 18736)):
#0  0xb7f5b430 in __kernel_vsyscall ()
#1  0xb57c6075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a49ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb668e6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7d921f2 in Digikam::LoadSaveThread::run (this=0x9dd8de0) at /build/buildd/digikam-0.10.0~rc1/libs/threadimageio/loadsavethread.cpp:129
#5  0xb668d6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb57c250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb64967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xae82db90 (LWP 18757)):
#0  0xb7f5b430 in __kernel_vsyscall ()
#1  0xb57c6075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb64a49ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb668e6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7d921f2 in Digikam::LoadSaveThread::run (this=0xbc0edb8) at /build/buildd/digikam-0.10.0~rc1/libs/threadimageio/loadsavethread.cpp:129
#5  0xb668d6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb57c250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb64967ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4bb56c0 (LWP 18733)):
[KCrash Handler]
#6  0xb7f5b430 in __kernel_vsyscall ()
#7  0xb63e0880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb63e2248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb6685795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb6685872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb6685915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7a4e36c in KDirModelPrivate::_k_slotDeleteItems (this=0xbbdce60, items=@0xbfe5a0b8) at /build/buildd/kde4libs-4.1.96/kio/kio/kdirmodel.cpp:485
#13 0xb7a50515 in KDirModel::qt_metacall (this=0xbbdcd28, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe59fec) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kio/kdirmodel.moc:78
#14 0xb6792a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb67937e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7a32053 in KDirLister::itemsDeleted (this=0xbbdd678, _t1=@0xbfe5a0b8) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kio/kdirlister.moc:287
#17 0xb7a3c46e in KDirLister::Private::emitChanges (this=0xbc469f0) at /build/buildd/kde4libs-4.1.96/kio/kio/kdirlister.cpp:1958
#18 0xb7a3cb50 in KDirLister::emitChanges (this=0xbbdd678) at /build/buildd/kde4libs-4.1.96/kio/kio/kdirlister.cpp:1910
#19 0xb4f22bbb in KDirOperator::updateDir (this=0xbbcc988) at /build/buildd/kde4libs-4.1.96/kfile/kdiroperator.cpp:1105
#20 0xb4f45977 in KFileWidgetPrivate::_k_slotFilterChanged (this=0xbd825e8) at /build/buildd/kde4libs-4.1.96/kfile/kfilewidget.cpp:1316
#21 0xb4f45c37 in KFileWidget::qt_metacall (this=0xbd450c0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfe5a208) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kfile/kfilewidget.moc:129
#22 0xb6792a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb67937e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb4f39a07 in KFileFilterCombo::filterChanged (this=0xbd1cae0) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kfile/kfilefiltercombo.moc:80
#25 0xb4f39b39 in KFileFilterCombo::setCurrentFilter (this=0xbd1cae0, filter=@0xbfe5a2d4) at /build/buildd/kde4libs-4.1.96/kfile/kfilefiltercombo.cpp:134
#26 0xb4f423da in KFileWidgetPrivate::updateFilter (this=0xbd825e8) at /build/buildd/kde4libs-4.1.96/kfile/kfilewidget.cpp:2249
#27 0xb4f42648 in KFileWidgetPrivate::_k_slotLocationChanged (this=0xbd825e8, text=@0xbfe5a634) at /build/buildd/kde4libs-4.1.96/kfile/kfilewidget.cpp:1483
#28 0xb4f45cb8 in KFileWidget::qt_metacall (this=0xbd450c0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfe5a45c) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kfile/kfilewidget.moc:124
#29 0xb6792a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb67937e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb6f9ff33 in QComboBox::editTextChanged () from /usr/lib/libQtGui.so.4
#32 0xb6fa9b5e in QComboBox::qt_metacall () from /usr/lib/libQtGui.so.4
#33 0xb7824a3a in KComboBox::qt_metacall (this=0xbd24af0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfe5a5ec) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kdeui/kcombobox.moc:99
#34 0xb7b6d8fa in KUrlComboBox::qt_metacall (this=0xbd24af0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfe5a5ec) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kio/kurlcombobox.moc:69
#35 0xb6792a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0xb67937e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#37 0xb6fe2893 in QLineEdit::textChanged () from /usr/lib/libQtGui.so.4
#38 0xb6fe8d24 in ?? () from /usr/lib/libQtGui.so.4
#39 0xb6fea97b in QLineEdit::insert () from /usr/lib/libQtGui.so.4
#40 0xb6feb618 in QLineEdit::keyPressEvent () from /usr/lib/libQtGui.so.4
#41 0xb784787a in KLineEdit::keyPressEvent (this=0xbd25428, e=0xbfe5aeec) at /build/buildd/kde4libs-4.1.96/kdeui/widgets/klineedit.cpp:871
#42 0xb6c9d81e in QWidget::event () from /usr/lib/libQtGui.so.4
#43 0xb6fe9157 in QLineEdit::event () from /usr/lib/libQtGui.so.4
#44 0xb78492ea in KLineEdit::event (this=0xbd25428, ev=0xbfe5aeec) at /build/buildd/kde4libs-4.1.96/kdeui/widgets/klineedit.cpp:1300
#45 0xb6fa6164 in QComboBox::keyPressEvent () from /usr/lib/libQtGui.so.4
#46 0xb6c9d81e in QWidget::event () from /usr/lib/libQtGui.so.4
#47 0xb6fa482f in QComboBox::event () from /usr/lib/libQtGui.so.4
#48 0xb6c458ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#49 0xb6c4e806 in QApplication::notify () from /usr/lib/libQtGui.so.4
#50 0xb776604d in KApplication::notify (this=0xbfe5cd80, receiver=0xbd24af0, event=0xbfe5aeec) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#51 0xb677de61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#52 0xb6ca63de in ?? () from /usr/lib/libQtGui.so.4
#53 0xb6cdcbb0 in ?? () from /usr/lib/libQtGui.so.4
#54 0xb6cded26 in ?? () from /usr/lib/libQtGui.so.4
#55 0xb6cb5af5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#56 0xb6ce07aa in ?? () from /usr/lib/libQtGui.so.4
#57 0xb512d6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#58 0xb5130da3 in ?? () from /usr/lib/libglib-2.0.so.0
#59 0xb5130f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#60 0xb67a8478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#61 0xb6cdfea5 in ?? () from /usr/lib/libQtGui.so.4
#62 0xb677c52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#63 0xb677c6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#64 0xb70b2987 in QDialog::exec () from /usr/lib/libQtGui.so.4
#65 0xb7ea3020 in Digikam::EditorWindow::startingSaveAs (this=0x9b84288, url=@0xbfe5bc88) at /build/buildd/digikam-0.10.0~rc1/utilities/imageeditor/editor/editorwindow.cpp:1532
#66 0x0807bf1d in ShowFoto::ShowFoto::saveAs (this=0x9b84288) at /build/buildd/digikam-0.10.0~rc1/showfoto/showfoto.cpp:1077
#67 0xb7ea7323 in Digikam::EditorWindow::qt_metacall (this=0x9b84288, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfe5bdec)
    at /build/buildd/digikam-0.10.0~rc1/utilities/imageeditor/editor/editorwindow.h:178
#68 0x0807e37f in ShowFoto::ShowFoto::qt_metacall (this=0x9b84288, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfe5bdec)
    at /build/buildd/digikam-0.10.0~rc1/obj-i486-linux-gnu/showfoto/showfoto.moc:93
#69 0xb6792a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#70 0xb6792e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#71 0xb6c3f5f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#72 0xb6c3ff5f in QAction::activate () from /usr/lib/libQtGui.so.4
#73 0xb701d564 in ?? () from /usr/lib/libQtGui.so.4
#74 0xb701dff2 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#75 0xb7853065 in KMenu::mouseReleaseEvent (this=0xb48d0a8, e=0xbfe5c4c8) at /build/buildd/kde4libs-4.1.96/kdeui/widgets/kmenu.cpp:454
#76 0xb6c9d962 in QWidget::event () from /usr/lib/libQtGui.so.4
#77 0xb70202e9 in QMenu::event () from /usr/lib/libQtGui.so.4
#78 0xb6c458ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#79 0xb6c4e0e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#80 0xb776604d in KApplication::notify (this=0xbfe5cd80, receiver=0xb48d0a8, event=0xbfe5c4c8) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#81 0xb677de61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#82 0xb6c4d36e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#83 0xb6cb78de in ?? () from /usr/lib/libQtGui.so.4
#84 0xb6cb69e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#85 0xb6ce07aa in ?? () from /usr/lib/libQtGui.so.4
#86 0xb512d6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#87 0xb5130da3 in ?? () from /usr/lib/libglib-2.0.so.0
#88 0xb5130f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#89 0xb67a8478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#90 0xb6cdfea5 in ?? () from /usr/lib/libQtGui.so.4
#91 0xb677c52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#92 0xb677c6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#93 0xb677eda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#94 0xb6c45767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#95 0x080760b1 in main (argc=5, argv=0xbfe5d054) at /build/buildd/digikam-0.10.0~rc1/showfoto/main.cpp:87



Thanks for work & attention!
All the best!
Comment 1 Dario Andres 2009-01-25 15:45:16 UTC

*** This bug has been marked as a duplicate of bug 176916 ***
Comment 2 Joe Biden 2009-04-01 08:43:58 UTC
How is this a dupe of a bug on a PDF bug on Okular?
Comment 3 Dario Andres 2009-04-01 19:02:06 UTC
The bug is not in Okular nor ShowFoto, but in the file dialog ("KFile") and the internal KIO(input/output/file listing) methods
Comment 4 caulier.gilles 2017-08-08 11:55:04 UTC
Since digiKam 5.0.0, KDirWatch was been replaced by QFileSytemWatcher. It will
not reproducible.

Gilles Caulier