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

Recreating a simple layout with specific program causes a crash #3610

Open
TheSilvus opened this Issue Feb 2, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@TheSilvus
Copy link

TheSilvus commented Feb 2, 2019

I'm submitting a

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

Current Behavior

Creating a layout with at least two windows, one of them being Discord (only program I've been able to reproduce this with), recreating the layout and launching the programs (all within the i3 config) causes i3 to crash. If Discord is already running in the background this does not happen. It does not make a difference if the other program is running already or not.

Expected Behavior

i3 should not crash.

Reproduction Instructions

To reproduce on Linux Arch

  1. Install discord (I'm using the discord-ptb AUR package) and firefox
  2. Insert the config and layout files
  3. Ensure Discord is not started already
  4. Restart/Reload i3 (Mod-Shift-R is enough)

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16.1 (2019-01-27) (pid 22042)bort…)
Loaded i3 config: /home/silvus/.config/i3/config (Last modified: Sat Feb  2 19:27:16 2019, 200 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3
# Default config until here

exec_always --no-startup-id "i3-msg 'workspace 3; append_layout /home/silvus/.config/i3/layouts/workspace-3.json'"
exec_always --no-startup-id firefox
exec_always --no-startup-id /usr/bin/discord-ptb

Layout file:

{
    "border": "normal",
    "floating": "auto_off",
    "layout": "tabbed",
    "percent": null,
    "type": "con",
    "nodes": [
        {
            "border": "pixel",
            "current_border_width": 0,
            "floating": "auto_off",
            "geometry": {
               "height": 1009,
               "width": 1892,
               "x": 0,
               "y": 0
            },
            "name": "Abos - YouTube - Mozilla Firefox",
            "percent": 0.25,
            "swallows": [
               {
               "class": "^Firefox$"
               }
            ],
            "type": "con"
        },
        {
            "border": "pixel",
            "current_border_width": 0,
            "floating": "auto_off",
            "geometry": {
               "height": 1009,
               "width": 1892,
               "x": 14,
               "y": 57
            },
            "name": "Discord",
            "percent": 0.25,
            "swallows": [
               {
               "class": "^discord$"

               }
            ],
            "type": "con"
        }
    ]
}

- Linux Distribution & Version: Linux Arch 
- No Compositor

Backtrace: i3-backtrace.22042.1.txt

@i3bot i3bot added the bug label Feb 2, 2019

@i3bot

This comment has been minimized.

Copy link

i3bot commented Feb 2, 2019

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.)

@TheSilvus

This comment has been minimized.

Copy link
Author

TheSilvus commented Feb 2, 2019

i3-backtrace.788.0.txt

Accidentally generated the backtrace with a stripped i3 build. This backtrace was created with the i3-git package on Linux Arch, version:

Binary i3 version:  4.16-84-ge2d6117b (2019-02-01, branch "next") © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16-84-ge2d6117b (2019-02-01, branch "next") (pid 788)
Loaded i3 config: /home/silvus/.config/i3/config (Last modified: Sat Feb  2 19:27:16 2019, 622 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment