Skip to content
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

I3 crash on some message commands #3825

Chimrod opened this issue Oct 13, 2019 · 4 comments


Copy link

@Chimrod Chimrod commented Oct 13, 2019

I'm submitting a

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

Current Behavior

I'm running a script which automaticaly arrange the containers following some specific rules. The commands given to ipc looks like :

[con_id=94800575960816] focus,move left;[con_id=94800576165168] focus,split vertical;[con_id=94800575774320] focus,move up;[con_id=94800575924928] focus,split horizontal;[con_id=94800575773856] focus,split horizontal;

Reproduction Instructions

This seems to crash with an interraction with fullscreen windows. I'm trying to identify the exact way it occurs.


Output of i3 --moreversion 2>&-:

Binary i3 version:  4.17-191-g5f549714 (2019-10-11, branch "next") © 2009 Michael Stapelberg and contributors
Running i3 version: 4.17-191-g5f549714 (2019-10-11, branch "next") (pid 17861)

Logfile URL:
- Linux Distribution & Version:
- Are you using a compositor (e.g., xcompmgr or compton): compton

Here is the workspace tree just before the crash

before gv

@i3bot i3bot added bug 4.17 labels Oct 13, 2019

This comment has been minimized.

Copy link

@Chimrod Chimrod commented Oct 13, 2019

Here is a stacktrace from a bug : (not the same as the one in the log, but in the same conditions)



This comment has been minimized.


This comment has been minimized.

Copy link

@Chimrod Chimrod commented Oct 13, 2019

I'm trying to make i3 act as a dynamic tiling WM, and automaticaly rearange the workspace tree when a new window is created.

It operate by :

  • reducing the tree (if a container has only one child, move all the subchild under the grand parent)
  • changing the layout (a splitv container should have a splith child and vice versa)

It preprocess the tree, then create a command throught ipc in order to reorganize all the windows. All the operations are chained in a single command.

I see this error in the backtrace :

#8  0x00007f77d41c6c1a in malloc_printerr (str=str@entry=0x7f77d42c9393 "corrupted double-linked list") at malloc.c:5341
#9  0x00007f77d41ca231 in _int_malloc (av=av@entry=0x7f77d4302c40 <main_arena>, bytes=bytes@entry=448) at malloc.c:3931

The only one commands sent are the one I've given in example :

  • [con_id=…] focus,move {up/left}
  • [con_id=…] focus,split {horizontal/vertical}

This comment has been minimized.

Copy link

@orestisfl orestisfl commented Oct 14, 2019

Can you share the script?

@orestisfl orestisfl added the waiting label Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.