New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Wrong magic code: C2E0E0 #3536

Open
petr-fischer opened this Issue Nov 29, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@petr-fischer

petr-fischer commented Nov 29, 2018

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

when I have this in my i3 config:
for_window [class="(?i)firefox|surf|chromium"] title_format "<span foreground='#C2E0E0'>⚓ %title</span>"

i3bar crashes after some time with error message:

...
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1874] Drawing bars...
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1901] Drawing button for WS 1 at x = 0, len = 8
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1901] Drawing button for WS 7 at x = 28, len = 8
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1901] Drawing button for WS 10 at x = 56, len = 16
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1977] Printing statusline!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:217] Got data!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:136] Got workspace event!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:217] Got data!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:136] Got workspace event!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:217] Got data!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:250] ERROR: Wrong magic code: C2E0E0
 Expected: i3-ipc
Exiting due to signal.

Expected Behavior

Not crash.

Reproduction Instructions

I don't know. Crashes are not predictable.

Environment

i3 4.16 on FreeBSD 11.2 (using default FreeBSD binary package from repo)
Output of i3 --moreversion 2>&-:

i3 version: 
Binary i3 version:  4.16 (2018-11-04) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16 (2018-11-04) (pid 1383)o abort…)
Loaded i3 config: /home/pf/.config/i3/config (Last modified: čt 29 lis 00:33:26 2018, 76312 seconds ago)
only line in my config, where C2E0E0 value is:
...
for_window [class="(?i)firefox|surf|chromium"] title_format "⚓ %title"
...
...
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1874] Drawing bars...
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1901] Drawing button for WS 1 at x = 0, len = 8
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1901] Drawing button for WS 7 at x = 28, len = 8
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1901] Drawing button for WS 10 at x = 56, len = 16
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/xcb.c:1977] Printing statusline!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:217] Got data!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:136] Got workspace event!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:217] Got data!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:136] Got workspace event!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:217] Got data!
[/wrkdirs/usr/ports/x11-wm/i3/work/i3-4.16/../i3-4.16/i3bar/src/ipc.c:250] ERROR: Wrong magic code: C2E0E0
 Expected: i3-ipc
Exiting due to signal.

- Linux Distribution & Version: FreeBSD 11.2
- Are you using a compositor (e.g., xcompmgr or compton): NO
@i3bot

This comment has been minimized.

i3bot commented Nov 29, 2018

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot i3bot added the 4.16 label Nov 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment