Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Idle detection crashes the app on Wayland #363

Open
Pointedstick opened this issue Apr 7, 2021 · 3 comments
Open

Idle detection crashes the app on Wayland #363

Pointedstick opened this issue Apr 7, 2021 · 3 comments

Comments

@Pointedstick
Copy link

Reduced backtrace:

Thread 1 "charmtimetracker" received signal SIGSEGV, Segmentation fault.
0x000000000045f7ad in X11IdleDetector::checkIdleness (this=0x9e5520)
    at /home/nate/kde/src/charm/Charm/Idle/X11IdleDetector.cpp:61
61          const int idleSecs = info->ms_since_user_input / 1000;
Missing separate debuginfos, use: zypper install Mesa-libEGL1-debuginfo-20.3.4-272.5.x86_64
(gdb) bt
#0  0x000000000045f7ad in X11IdleDetector::checkIdleness() (this=0x9e5520)
    at /home/nate/kde/src/charm/Charm/Idle/X11IdleDetector.cpp:61
#1  0x00007ffff6b89946 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
    (a=0x7fffffffd210, r=0x9e5520, this=0xa42ab0)
    at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#2  doActivate<false>(QObject*, int, void**)
    (sender=0x9e5548, signal_index=3, argv=argv@entry=0x7fffffffd210) at kernel/qobject.cpp:3886

Clearly X11IdleDetector is not going to work on Wayland. :)

@frankosterfeld
Copy link
Member

frankosterfeld commented Apr 8, 2021

Which version are you using? A crash like this has been fixed in commit fe99a13 (latest master, unreleased)

@Pointedstick
Copy link
Author

I'm building it from git master, so I guess that fix didn't work for me. :(

@bam80
Copy link

bam80 commented Apr 16, 2021

Isn't it another crash? #364
Need to check on KWin yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants