polybar: firefox notification crashes polybar

Having a difficult time identifying an issue. When using firefox-51.0.2 (with pushbullet plugin) on my latest gentoo install, i now get a push count notification icon on polybar (just like the steam icon). Whenever this icon shows up polybar crashes. Well, after the icon is either just sitting there for a bit, or if i click the icon and try to clear the notifications. I’m assuming when it’s just sitting there it has it’s own timeout to clear the icon, so it crashes just like when clicking the icon and hitting clear notifications.

here’s an info log output of the crash

(normal startup)
...
(normal run procedure)
...
polybar|info:  module/temperature: Rebuilding cache
polybar|info:  Redrawing bar window
polybar|info:  module/cmus: Invoking shell command: "zscroll "$(cat /home/p3pt/.tmp/now-playing)""
polybar|info:  module/wlan: Invoking shell command: "nmcli d show wlp0s26u1u3 | grep 'GENERAL.CONNECTION' | awk '{print $2}'"
...
(crash with push bullet notification in icon tray)

polybar|info:  Redraw tray container (id=0x3600005)
terminate called after throwing an instance of 'xpp::x::error::window'
  what():  XCB_WINDOW (3)
[1]+  Aborted                 (core dumped) polybar -l info -c .config/i3/polybar/topbar.ini topbar &> polybarlog

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 29 (10 by maintainers)

Commits related to this issue

Most upvoted comments

I just wanted to chime in and say that I’ve noticed that the icon for the powermenu module sometimes disappears and while I haven’t yet pinned down the cause, I did just manage to capture an error message:

error: Failed to query _XEMBED_INFO, removing client... (XCB_WINDOW (3))

which is the same error as what @borysn mentioned a few comments above. For what it’s worth, clicking on the empty area (where the power icon used to be) doesn’t produce any output.

Version:

λ polybar --version
polybar 3.0.5

Features: +alsa +curl -i3 -mpd -network

Launch it using gdb

$ gdb -ex run -args polybar mybar

and when it crashes, get the stack trace by typing bt