https://bugs.kde.org/show_bug.cgi?id=482077

--- Comment #44 from Dāvis <davis...@gmail.com> ---
Hmm my backtrace is different than Jonathan's.

#0  KWin::IdleDetector::IdleDetector (this=0x55b8773c4220,
timeout=std::chrono::duration = { 4294967295ms }, parent=0x55b877124e50,
this=<optimized out>, timeout=std::chrono::duration = { <optimized out>ms },
parent=<optimized out>) at
/usr/src/debug/kwin/kwin-6.0.1/src/idledetector.cpp:13
#1  0x00007d066e8580d6 in
KWin::IdleNotificationV1Interface::IdleNotificationV1Interface
(timeout=std::chrono::duration = { <optimized out>ms }, id=<optimized out>,
version=1, client=<optimized out>, this=0x55b877124e50) at
/usr/src/debug/kwin/kwin-6.0.1/src/wayland/idlenotify_v1.cpp:59
#2 
KWin::IdleNotifyV1InterfacePrivate::ext_idle_notifier_v1_get_idle_notification
(this=<optimized out>, resource=<optimized out>, id=<optimized out>,
timeout=<optimized out>, seat=<optimized out>) at
/usr/src/debug/kwin/kwin-6.0.1/src/wayland/idlenotify_v1.cpp:53
#3  0x00007d066a230596 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#4  0x00007d066a22d00e in ffi_call_int (cif=cif@entry=0x7ffd7e8cfa00,
fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>,
closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#5  0x00007d066a22fbd3 in ffi_call (cif=cif@entry=0x7ffd7e8cfa00, fn=<optimized
out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffd7e8cfad0) at
../src/x86/ffi64.c:710
#6  0x00007d066db1bada in wl_closure_invoke
(closure=closure@entry=0x55b877c2f510, target=<optimized out>,
target@entry=0x55b876c7f520, opcode=opcode@entry=1, data=<optimized out>,
data@entry=0x55b876a3fa80, flags=2) at ../wayland-1.22.0/src/connection.c:1025
#7  0x00007d066db20180 in wl_client_connection_data (fd=<optimized out>,
mask=<optimized out>, data=<optimized out>) at
../wayland-1.22.0/src/wayland-server.c:438
#8  0x00007d066db1eae2 in wl_event_loop_dispatch (loop=0x55b875540920,
timeout=<optimized out>) at ../wayland-1.22.0/src/event-loop.c:1027
#9  0x00007d066e848487 in KWin::Display::dispatchEvents (this=<optimized out>)
at /usr/src/debug/kwin/kwin-6.0.1/src/wayland/display.cpp:118
#10 0x00007d066bf90ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffd7e8d0110,
r=0x55b875540670, this=0x55b875aa3330, this=<optimized out>, r=<optimized out>,
a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#11 doActivate<false> (sender=0x55b8758cb410, signal_index=3,
argv=0x7ffd7e8d0110) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#12 0x00007d066bf98530 in QSocketNotifier::activated (_t3=..., _t2=<optimized
out>, _t1=..., this=0x55b8758cb410) at
/usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:231
#13 QSocketNotifier::event (this=0x55b8758cb410, e=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qsocketnotifier.cpp:326
#14 0x00007d066cef438b in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55b8758cb410, e=0x7ffd7e8d0210) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:3296
#15 0x00007d066bf39818 in QCoreApplication::notifyInternal2
(receiver=0x55b8758cb410, event=0x7ffd7e8d0210) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1121
#16 0x00007d066c09e749 in QCoreApplication::sendEvent (event=0x7ffd7e8d0210,
receiver=<optimized out>) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qcoreapplication.cpp:1539
#17 QEventDispatcherUNIXPrivate::activateSocketNotifiers
(this=this@entry=0x55b8754712b0) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_unix.cpp:267
#18 0x00007d066c09fbac in QEventDispatcherUNIX::processEvents (this=<optimized
out>, flags=..., flags@entry=...) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventdispatcher_unix.cpp:476
#19 0x00007d066c9b26e2 in QUnixEventDispatcherQPA::processEvents
(this=<optimized out>, flags=...) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/gui/platform/unix/qunixeventdispatcher.cpp:27
#20 0x00007d066bf43d6e in QEventLoop::processEvents (flags=...,
this=0x7ffd7e8d03f0) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:100
#21 QEventLoop::exec (this=0x7ffd7e8d03f0, flags=...) at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qeventloop.cpp:182
#22 0x00007d066bf3c2b8 in QCoreApplication::exec () at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/global/qflags.h:74
#23 0x00007d066cef0f0a in QApplication::exec () at
/usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/widgets/kernel/qapplication.cpp:2574
#24 0x000055b8740b4dee in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kwin/kwin-6.0.1/src/main_wayland.cpp:609


It looks like some application is using
ext_idle_notifier_v1::get_idle_notification() with 4294967295ms as timeout
value, it's uint so this is kinda valid...
I don't know how to find out who is sending this message? But it seems like
assert() would be wrong for this case and KWin probably should just drop such
silly request.

Nothing special in my config:

$ cat ~/.config/powerdevilrc
[AC][Display]
TurnOffDisplayWhenIdle=false

[AC][SuspendAndShutdown]
AutoSuspendAction=0

[Battery][Display]
DisplayBrightness=60
UseProfileSpecificDisplayBrightness=true


$ cat ~/.config/kscreenlockerrc
[$Version]
update_info=kscreenlocker.upd:0.1-autolock

[Daemon]
Autolock=true
LockOnResume=true

[Greeter][Wallpaper][org.kde.image][General]
SlidePaths=/usr/share/wallpapers


Also to reproduce set lock screen time to 1min, then wait till lock screen
comes and move mouse to unlock - now I start getting spammed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to