Bug 466808 - Powerdevil repeatedly crashes when logged in via xorgrdp session
Summary: Powerdevil repeatedly crashes when logged in via xorgrdp session
Status: RESOLVED DUPLICATE of bug 466181
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-04 05:58 UTC by Alexander Fritz
Modified: 2023-03-06 22:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Fritz 2023-03-04 05:58:28 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

STEPS TO REPRODUCE
1. Log into system over xrdp using xorg session. 

OBSERVED RESULT
Powerdevil crashes repeatedly upon logging in remotely using xrdp.  Shows crash icon in taskbar which disappears and reappears.  Clicking it opens up kde crash reporter which closes off seconds later.
Functions correctly when logging in locally with same user account.

EXPECTED RESULT
System should log in as normal and not cause the program to crash but function normally.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 37 Kernel 6.1.14
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

Backtrace using coredumpctl gdb

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fe1b34afec3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fe1b345fa76 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fe1b34497fc in __GI_abort () at abort.c:79
#4  0x00007fe1b36d7e80 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*)
    (file=file@entry=0x7fe1a00330a9 "/usr/include/c++/12/optional", line=line@entry=477, function=function@entry=0x7fe1a00332a0 "constexpr _Tp& std::_Optional_base_impl<_Tp, _Dp>::_M_get() [with _Tp = bool; _Dp = std::_Optional_base<bool, true, true>]", condition=condition@entry=0x7fe1a0033093 "this->_M_is_engaged()") at ../../../../../libstdc++-v3/src/c++11/debug.cc:60
#5  0x00007fe1a0032347 in std::_Optional_base_impl<bool, std::_Optional_base<bool, true, true> >::_M_get() (this=<optimized out>) at /usr/include/c++/12/optional:475
#6  std::_Optional_base_impl<bool, std::_Optional_base<bool, true, true> >::_M_get() (this=0x5623cee79a90) at /usr/include/c++/12/optional:475
#7  std::optional<bool>::operator*() & (this=0x5623cee79a90) at /usr/include/c++/12/optional:974
#8  KScreen::AbstractDpmsHelper::isSupported() (this=0x5623cee79a80) at /usr/src/debug/libkscreen-qt5-5.27.2-1.fc37.x86_64/src/libdpms/abstractdpmshelper_p.h:32
#9  KScreen::Dpms::isSupported() const (this=<optimized out>) at /usr/src/debug/libkscreen-qt5-5.27.2-1.fc37.x86_64/src/libdpms/dpms.cpp:45
#10 0x00007fe1b495536f in PowerDevil::ActionPool::init(PowerDevil::Core*) (this=0x5623cee3b790, parent=parent@entry=0x5623ced32e20) at /usr/src/debug/powerdevil-5.27.2-1.fc37.x86_64/daemon/powerdevilactionpool.cpp:93
#11 0x00007fe1b495cded in PowerDevil::Core::onBackendReady() (this=<optimized out>) at /usr/src/debug/powerdevil-5.27.2-1.fc37.x86_64/daemon/powerdevilcore.cpp:191
#12 0x00007fe1b3cd0e96 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffec5743860, r=<optimized out>, this=0x5623cee2e840) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false>(QObject*, int, void**) (sender=0x5623cee2efc0, signal_index=9, argv=0x7ffec5743860) at kernel/qobject.cpp:3923
#14 0x00007fe1b3ccbe27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=sender@entry=0x5623cee2efc0, m=m@entry=0x7fe1b49828a0 <PowerDevil::BackendInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3983
#15 0x00007fe1b4953157 in PowerDevil::BackendInterface::backendReady() (this=this@entry=0x5623cee2efc0)
    at /usr/src/debug/powerdevil-5.27.2-1.fc37.x86_64/redhat-linux-build/daemon/powerdevilcore_autogen/EWIEGA46WW/moc_powerdevilbackendinterface.cpp:385
#16 0x00007fe1b4956b90 in PowerDevil::BackendInterface::setBackendIsReady(QHash<QString, PowerDevil::BackendInterface::BrightnessControlType> const&, QFlags<PowerDevil::BackendInterface::SuspendMethod>)
    (this=this@entry=0x5623cee2efc0, availableBrightnessControls=..., supportedSuspendMethods=..., supportedSuspendMethods@entry=...) at /usr/src/debug/powerdevil-5.27.2-1.fc37.x86_64/daemon/powerdevilbackendinterface.cpp:198
#17 0x00007fe1a0422afa in PowerDevilUPowerBackend::initWithBrightness(bool) (this=<optimized out>, screenBrightnessAvailable=<optimized out>)
    at /usr/src/debug/powerdevil-5.27.2-1.fc37.x86_64/daemon/backends/upower/powerdevilupowerbackend.cpp:284
#18 0x00007fe1b3cd0e96 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffec5743a70, r=<optimized out>, this=0x5623cee32250) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false>(QObject*, int, void**) (sender=0x5623cee2efc0, signal_index=14, argv=0x7ffec5743a70) at kernel/qobject.cpp:3923
#20 0x00007fe1b3ccbe27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=<optimized out>, m=m@entry=0x7fe1a042f4c0 <PowerDevilUPowerBackend::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffec5743a70) at kernel/qobject.cpp:3983
#21 0x00007fe1a0419f53 in PowerDevilUPowerBackend::brightnessSupportQueried(bool) (this=<optimized out>, _t1=<optimized out>)
    at /usr/src/debug/powerdevil-5.27.2-1.fc37.x86_64/redhat-linux-build/daemon/backends/upower/powerdevilupowerbackend_autogen/EWIEGA46WW/moc_powerdevilupowerbackend.cpp:223
#22 0x00007fe1b3cd0e96 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffec5743b80, r=<optimized out>, this=0x5623cee322b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false>(QObject*, int, void**) (sender=0x5623cee393f0, signal_index=6, argv=0x7ffec5743b80) at kernel/qobject.cpp:3923
#24 0x00007fe1b3ccbe27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5623cee393f0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffec5743b80)
    at kernel/qobject.cpp:3983
#25 0x00007fe1b47d43d9 in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x5623cee393f0, _t1=<optimized out>, _t1@entry=0x5623cee393f0, _t2=...)
    at /usr/src/debug/kf5-kcoreaddons-5.103.0-1.fc37.x86_64/redhat-linux-build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#26 0x00007fe1b47d9e3b in KJob::finishJob(bool) (this=0x5623cee393f0, emitResult=<optimized out>) at /usr/src/debug/kf5-kcoreaddons-5.103.0-1.fc37.x86_64/src/lib/jobs/kjob.cpp:98
#27 0x00007fe1b3cd0e96 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffec5743d10, r=<optimized out>, this=0x5623cee3bf30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#28 doActivate<false>(QObject*, int, void**) (sender=0x5623cedfed60, signal_index=4, argv=0x7ffec5743d10) at kernel/qobject.cpp:3923
#29 0x00007fe1b3ccbe27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
    (sender=sender@entry=0x5623cedfed60, m=m@entry=0x7fe1a06cb6e0 <KAuth::HelperProxy::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffec5743d10) at kernel/qobject.cpp:3983
#30 0x00007fe1a06c6863 in KAuth::HelperProxy::actionPerformed(QString const&, KAuth::ActionReply const&) (_t2=..., _t1=..., this=0x5623cedfed60)
    at /usr/src/debug/kf5-kauth-5.103.0-1.fc37.x86_64/redhat-linux-build/src/kauth_helper_plugin_autogen/include/moc_HelperProxy.cpp:190
#31 KAuth::DBusHelperProxy::remoteSignalReceived(int, QString const&, QByteArray) (blob=..., action=..., t=<optimized out>, this=0x5623cedfed60)
    at /usr/src/debug/kf5-kauth-5.103.0-1.fc37.x86_64/src/backends/dbus/DBusHelperProxy.cpp:169
#32 KAuth::DBusHelperProxy::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x5623cedfed60, _id=_id@entry=3, _a=_a@entry=0x7ffec5743e70, _c=<optimized out>)
    at /usr/src/debug/kf5-kauth-5.103.0-1.fc37.x86_64/redhat-linux-build/src/kauth_helper_plugin_autogen/MUU32XXNVO/moc_DBusHelperProxy.cpp:99
#33 0x00007fe1a06c6f41 in KAuth::DBusHelperProxy::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_a=0x7ffec5743e70, _id=3, _c=QMetaObject::InvokeMetaMethod, _o=0x5623cedfed60)
    at /usr/src/debug/kf5-kauth-5.103.0-1.fc37.x86_64/redhat-linux-build/src/kauth_helper_plugin_autogen/MUU32XXNVO/moc_DBusHelperProxy.cpp:89
#34 KAuth::DBusHelperProxy::qt_metacall(QMetaObject::Call, int, void**) (this=0x5623cedfed60, _c=<optimized out>, _id=3, _a=0x7ffec5743e70)
Comment 1 tagwerk19 2023-03-04 07:20:48 UTC
(In reply to Alexander Fritz from comment #0)
> STEPS TO REPRODUCE
> 1. Log into system over xrdp using xorg session. 
Thank you for the backtrace, I think the same as Bug 466697...
Comment 2 tagwerk19 2023-03-04 07:41:31 UTC
(In reply to tagwerk19 from comment #1)
> ... I think the same as Bug 466697
and maybe Bug 466620
Comment 3 Nate Graham 2023-03-06 22:59:01 UTC

*** This bug has been marked as a duplicate of bug 466181 ***