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

--- Comment #1 from Bojidar Marinov [:bojidar-bg] 
<[email protected]> ---
Actually, here's a bit of logs captured by journalctl right before the crash:

Oct 20 13:57:21 BojidarPC kwin_wayland[1774]:
file:///home/bobo/.local/share/kwin/scripts/FocusNotifier/contents/code/main.js:9:
TypeError: Cannot read property 'captionChanged' of null
Oct 20 14:02:15 BojidarPC kwin_wayland_wrapper[1774]: dbus[1774]: arguments to
dbus_pending_call_block() were incorrect, assertion "pending != NULL" failed in
file ../dbus/dbus/dbus-pending-call.c line 768.
Oct 20 14:02:15 BojidarPC kwin_wayland_wrapper[1774]: This is normally a bug in
some application using the D-Bus library.
Oct 20 14:02:15 BojidarPC kwin_wayland_wrapper[1774]:   D-Bus not built with
-rdynamic so unable to print a backtrace
Oct 20 14:02:15 BojidarPC kwin_wayland_wrapper[1774]: KCrash: Application
'kwin_wayland' crashing... crashRecursionCounter = 2
Oct 20 14:02:19 BojidarPC systemd-coredump[2451327]: Process 1774
(kwin_wayland) of user 1000 dumped core.
<snip>


And, just for completeness' sake, here's the main.js referenced by the JS error
(which did not cause the crash):
```
workspace.windowActivated.connect(update);
var captionConnection;
function update(client) {
    if (captionConnection) {
        captionConnection.disconnect();
    }
    captionConnection = client.captionChanged.connect(function()
{sendUpdate(client)});
    sendUpdate(client)
}
function sendUpdate(client) {
    var output = `\n§ ${client.resourceName}: ${client.caption}\n`;
    callDBus("scot.massie.FocusNotifier",
            "/scot/massie/FocusNotifier",
            "scot.massie.FocusNotifier",
            "notifyOfFocus",
            output);
}
```

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

Reply via email to