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

Idle detection crashes the app on Wayland #363

@Pointedstick

Description

@Pointedstick

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. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions