question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App crashes when sending a dbus notification

See original GitHub issue

The issue:

See https://github.com/ciderapp/Cider/issues/1475 for more details.

After playing a few songs with Cider App, the app will crash when changing songs with the following error message in the logs. I am not sure which side is responsible for the bug.

[395803:0929/171008.500207:ERROR:libnotify_notification.cc(49)] notify_notification_close: domain=1236 code=36 message="GDBus.Error:com.dubstepdish.dbus.next.ServiceError: The service interface raised an error: list index out of range.
['  File "/usr/lib/python3.10/site-packages/dbus_next/message_bus.py", line 712, in _process_message\n    handler(msg, send_reply)\n', '  File "/usr/lib/python3.10/site-packages/dbus_next/message_bus.py", line 731, in handler\n    result = method.fn(interface, *args)\n', '  File "/usr/lib/python3.10/site-packages/libqtile/notify.py", line 88, in CloseNotification\n    self.manager.close(nid)\n', '  File "/usr/lib/python3.10/site-packages/libqtile/notify.py", line 203, in close\n    notif = self.notifications[nid]\n']"
Trace/breakpoint trap (core dumped)

Required:

  • I have searched past issues to see if this bug has already been reported.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
DeeeeLANcommented, Nov 8, 2022

You got it handled but for posterity, I got the same type of error and the update definitely fixed it for me too.

method call time=1667940847.287911 sender=:1.64 -> destination=:1.47 serial=22 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=CloseNotification
   uint32 1
1reaction
elParaguayocommented, Nov 6, 2022

Thanks for this.

This does suggest it’s a qtile issue which is what I suspected. I’ll take a look when I can.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to detect when dbus app exits or craches? - Stack Overflow
When an application exits (or crashes), its connection to the message bus will be closed by the operating system kernel. The message bus...
Read more >
Crash from dbus assertion caused by notify plugin · Issue #1077
this is a known bug, i have it on my private todo list. quite simple to repro, just enable OSD notifications, and switch...
Read more >
Get Notified if Your Server App Crashes on Linux
Run sudo nano /lib/systemd/system/notify-email@. service . This will open a new Systemd service file in a text editor.
Read more >
Apps crash randomly on newly installed ubuntu 22.04
Could not find any error logs, it looks like app is closed (in case of webpack dev server the terminal window is closed)....
Read more >
1903356 – mate-notification-daemon won't stay alive, lives 30 ...
M-n-d re-spawned every time an application send a notification Applications call them via dbus-activation. A simple command to send ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found