Bug 430094 - Crash when opening configure dialog
Summary: Crash when opening configure dialog
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Setup (show other bugs)
Version: 7.1.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-06 21:17 UTC by Antonio Rojas
Modified: 2022-02-04 22:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2020-12-06 21:17:22 UTC
SUMMARY
Showfoto crashes when opening the configure dialog

(gdb) bt
#0  0x000055555558928d in ShowFoto::Setup::Setup(QWidget*, ShowFoto::Setup::Page) (this=0x555556fc7630, parent=<optimized out>, page=<optimized out>)
    at /usr/src/debug/digikam/core/showfoto/setup/showfotosetup.cpp:195
#1  0x00005555555aae61 in ShowFoto::ShowFoto::setup(bool) (this=0x555555ab70a0, iccSetupPage=<optimized out>)
    at /usr/src/debug/digikam/core/showfoto/main/showfoto_config.cpp:41
#2  0x00007ffff602b761 in doActivate<false>(QObject*, int, void**) (sender=0x555556197c00, signal_index=4, argv=0x7fffffffdb30)
    at kernel/qobject.cpp:3898
#3  0x00007ffff6022995 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=sender@entry=0x555556197c00, m=m@entry=0x7ffff703fb20 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffffffdb30) at kernel/qobject.cpp:3946
#4  0x00007ffff6aa1f97 in QAction::triggered(bool) (this=this@entry=0x555556197c00, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#5  0x00007ffff6aa5234 in QAction::activate(QAction::ActionEvent) (this=0x555556197c00, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1161
#6  0x00007ffff6c667c4 in QAction::trigger() (this=<optimized out>) at ../../include/QtWidgets/../../src/widgets/kernel/qaction.h:187
#7  0x00007ffff6c6677d in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (QAction::*)()>::call(void (QAction::*)(), QAction*, void**) (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:152
#8  QtPrivate::FunctionPointer<void (QAction::*)()>::call<QtPrivate::List<>, void>(void (QAction::*)(), QAction*, void**)
    (arg=<optimized out>, o=<optimized out>, f=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:185
#9  QtPrivate::QSlotObject<void (QAction::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
    (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:418
#10 0x00007ffff601bb95 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=<optimized out>, r=0x555556197c00, this=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 QMetaCallEvent::placeMetaCall(QObject*) (this=0x7fff9c00ebe0, object=0x555556197c00) at kernel/qobject.cpp:615
#12 0x00007ffff60234db in QObject::event(QEvent*) (this=this@entry=0x555556197c00, e=e@entry=0x7fff9c00ebe0) at kernel/qobject.cpp:1314
#13 0x00007ffff6aa5c80 in QAction::event(QEvent*) (this=0x555556197c00, e=0x7fff9c00ebe0) at kernel/qaction.cpp:1090
#14 0x00007ffff6aa9bea in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=
    0x555555632200, receiver=receiver@entry=0x555556197c00, e=e@entry=0x7fff9c00ebe0) at kernel/qapplication.cpp:3632
#15 0x00007ffff6ab2460 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffe360, receiver=0x555556197c00, e=0x7fff9c00ebe0)
    at kernel/qapplication.cpp:2972
#16 0x00007ffff5fe8eda in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555556197c00, event=0x7fff9c00ebe0)
    at kernel/qcoreapplication.cpp:1063
#17 0x00007ffff5fe90ee in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x555556197c00, event=event@entry=0x7fff9c00ebe0)
    at kernel/qcoreapplication.cpp:1458
#18 0x00007ffff5fecdd2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
    (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5555555eb160) at kernel/qcoreapplication.cpp:1817
#19 0x00007ffff5fed0e2 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0)
    at kernel/qcoreapplication.cpp:1676
#20 0x00007ffff6053ba7 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55555575b420) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007fffe3a418f4 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#22 0x00007fffe3a95821 in  () at /usr/lib/libglib-2.0.so.0
#23 0x00007fffe3a40121 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#24 0x00007ffff60534c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x555555774370, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#25 0x00007fffbba0cde2 in QXcbGlibEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...)
    at qxcbeventdispatcher.cpp:143
#26 0x00007ffff5fe698d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffe260, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:139
#27 0x00007ffff5fe6fd1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffe260, flags=flags@entry=...)
    at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#28 0x00007ffff5ff15d6 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#29 0x00007ffff63bbaa2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#30 0x00007ffff6aa9b5f in QApplication::exec() () at kernel/qapplication.cpp:2824
#31 0x000055555557e547 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam/core/showfoto/main/main.cpp:198

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.9.12
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Comment 1 Maik Qualmann 2020-12-06 21:20:12 UTC
Fixed with this commit:

https://invent.kde.org/graphics/digikam/-/commit/c79a1c6bf9f2eaf2500c9c64d55adcd7c2f52c2e

Maik