Bug 394694

Summary: Showfoto crashes on change picture size
Product: [Applications] digikam Reporter: Luc Sierens <luc>
Component: Showfoto-PluginsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description Luc Sierens 2018-05-26 08:14:50 UTC
Application: showfoto (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 4.4.0-127-generic x86_64
Distribution: Linux Mint 17.3 Rosa

-- Information about the crash:
Trying to chnage the size of my picture Showfoto crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: showFoto (showfoto), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcd8ea52840 (LWP 4248))]

Thread 2 (Thread 0x7fcd6a01d700 (LWP 4251)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcd8bb99816 in wait (time=18446744073709551615, this=0x28590d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2854e80, mutex=mutex@entry=0x2854e78, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fcd8e4758aa in Digikam::ParkingThread::run (this=0x2854e60) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fcd8bb9932f in QThreadPrivate::start (arg=0x2854e60) at thread/qthread_unix.cpp:349
#5  0x00007fcd8962e184 in start_thread (arg=0x7fcd6a01d700) at pthread_create.c:312
#6  0x00007fcd8b02403d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fcd8ea52840 (LWP 4248)):
[KCrash Handler]
#6  Digikam::DImg::getIccProfile (this=0x0) at /build/buildd/digikam-4.0.0/core/libs/dimg/dimg.cpp:990
#7  0x00007fcd8e4c994b in Digikam::ImageGuideWidget::ImageGuideWidget (this=0x2d99990, parent=<optimized out>, spotVisible=<optimized out>, guideMode=0, guideColor=..., guideSize=1, blink=false, type=Digikam::ImageIface::FullImage) at /build/buildd/digikam-4.0.0/core/utilities/imageeditor/widgets/imageguidewidget.cpp:142
#8  0x00007fcd6888ebf9 in DigikamTransformImagePlugin::ResizeTool::ResizeTool (this=0x28401b0, parent=<optimized out>) at /build/buildd/digikam-4.0.0/core/imageplugins/transform/resizetool.cpp:181
#9  0x00007fcd688864f1 in DigikamTransformImagePlugin::ImagePlugin_Transform::slotResize (this=0x2d94740) at /build/buildd/digikam-4.0.0/core/imageplugins/transform/imageplugin_transform.cpp:173
#10 0x00007fcd8bcaf87a in QMetaObject::activate (sender=sender@entry=0x2d9af00, m=m@entry=0x7fcd8d141de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffedfe5c4d0) at kernel/qobject.cpp:3539
#11 0x00007fcd8c691a62 in QAction::triggered (this=this@entry=0x2d9af00, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#12 0x00007fcd8c693433 in QAction::activate (this=this@entry=0x2d9af00, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#13 0x00007fcd8cac1509 in QMenuPrivate::activateCausedStack (this=this@entry=0x2d3d330, causedStack=..., action=action@entry=0x2d9af00, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#14 0x00007fcd8cac5a39 in QMenuPrivate::activateAction (this=0x2d3d330, action=0x2d9af00, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#15 0x00007fcd8cac9405 in QMenu::mouseReleaseEvent (this=this@entry=0x2d2cd30, e=e@entry=0x7ffedfe5cc00) at widgets/qmenu.cpp:2372
#16 0x00007fcd8d45e615 in KMenu::mouseReleaseEvent (this=0x2d2cd30, e=0x7ffedfe5cc00) at ../../kdeui/widgets/kmenu.cpp:464
#17 0x00007fcd8c6e751a in QWidget::event (this=this@entry=0x2d2cd30, event=event@entry=0x7ffedfe5cc00) at kernel/qwidget.cpp:8376
#18 0x00007fcd8cac983b in QMenu::event (this=0x2d2cd30, e=0x7ffedfe5cc00) at widgets/qmenu.cpp:2481
#19 0x00007fcd8c697e2c in QApplicationPrivate::notify_helper (this=this@entry=0x2558790, receiver=receiver@entry=0x2d2cd30, e=e@entry=0x7ffedfe5cc00) at kernel/qapplication.cpp:4567
#20 0x00007fcd8c69e5dd in QApplication::notify (this=this@entry=0x7ffedfe5d580, receiver=receiver@entry=0x2d2cd30, e=e@entry=0x7ffedfe5cc00) at kernel/qapplication.cpp:4110
#21 0x00007fcd8d3a7cca in KApplication::notify (this=0x7ffedfe5d580, receiver=0x2d2cd30, event=0x7ffedfe5cc00) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x00007fcd8bc9b4dd in QCoreApplication::notifyInternal (this=0x7ffedfe5d580, receiver=receiver@entry=0x2d2cd30, event=event@entry=0x7ffedfe5cc00) at kernel/qcoreapplication.cpp:953
#23 0x00007fcd8c69dd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2d2cd30, event=event@entry=0x7ffedfe5cc00, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x2d2cd30, buttonDown=buttonDown@entry=0x7fcd8d17d318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#25 0x00007fcd8c712d1c in QETWidget::translateMouseEvent (this=this@entry=0x2d2cd30, event=event@entry=0x7ffedfe5cf50) at kernel/qapplication_x11.cpp:4568
#26 0x00007fcd8c712289 in QApplication::x11ProcessEvent (this=0x7ffedfe5d580, event=event@entry=0x7ffedfe5cf50) at kernel/qapplication_x11.cpp:3627
#27 0x00007fcd8c739b32 in x11EventSourceDispatch (s=0x25554f0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x00007fcd858aee04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fcd858af048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fcd858af0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fcd8bcc87a1 in QEventDispatcherGlib::processEvents (this=0x24d37e0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#32 0x00007fcd8c739be6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fcd8bc9a0af in QEventLoop::processEvents (this=this@entry=0x7ffedfe5d320, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fcd8bc9a3a5 in QEventLoop::exec (this=this@entry=0x7ffedfe5d320, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007fcd8bc9fb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#36 0x00007fcd8c69637c in QApplication::exec () at kernel/qapplication.cpp:3828
#37 0x0000000000420749 in main (argc=6, argv=0x7ffedfe5d6b8) at /build/buildd/digikam-4.0.0/core/showfoto/main/main.cpp:90

Reported using DrKonqi
Comment 1 Christoph Feck 2018-05-26 11:00:06 UTC
This version is long unmaintained. Please ask in a forum of your distribution how to update to recent KDE and Qt software versions.
Comment 2 caulier.gilles 2018-05-26 17:27:00 UTC
You can also use the Linux AppImage bundle that we provide in digikam.org download area.

Showfoto is available in AppImage through an option to pass in command line interface. See this file for details :

https://files.kde.org/digikam/README.md
Comment 3 caulier.gilles 2018-08-23 08:29:07 UTC
Problem not reproducible with 6.0.0 since we use lcms 2.x

Gilles Caulier