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 crashes on setting Wine window fullscreen #3032

Open
deterenkelt opened this Issue Oct 28, 2017 · 8 comments

Comments

Projects
None yet
4 participants
@deterenkelt

deterenkelt commented Oct 28, 2017

Output of i3 --moreversion 2>&- || i3 --version:

Binary i3 version: 4.14.1 (2017-09-24) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.14.1 (2017-09-24) (pid 25785)bort…)
Loaded i3 config: /home/dtr/.env/i3.config (Last modified: Сб 28 окт 2017 17:50:44, 240 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3

URL to a logfile as per https://i3wm.org/docs/debugging.html:

https://logs.i3wm.org/logs/5763859801440256.bz2

What I did:

$ wine Setup.exe

What I saw:

I configured wine to run applications inside an emulated desktop window, ‘Wine desktop’ and I’ve seen it appearing on the same workspace, then freezing. A black window appeared and it said that i3 crashed and I can save backtrace, attach gdb or restart i3 in place.

What I expected instead:

Wine Desktop window appearing on the designated workspace "7:Wine" instead of the current one. And i3 continuing to work.

Here’s the backtrace: https://pastebin.com/raw/tJmpwt0j

@i3bot

This comment has been minimized.

Show comment
Hide comment
@i3bot

i3bot Oct 28, 2017

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 commented Oct 28, 2017

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

@deterenkelt

This comment has been minimized.

Show comment
Hide comment
@deterenkelt

deterenkelt Oct 28, 2017

I’ve misread log for config, attached the full log as the guide recommends, also the backtrace.

deterenkelt commented Oct 28, 2017

I’ve misread log for config, attached the full log as the guide recommends, also the backtrace.

@Airblader

This comment has been minimized.

Show comment
Hide comment
@Airblader

Airblader Oct 28, 2017

Member

Thanks, that's very useful!

Member

Airblader commented Oct 28, 2017

Thanks, that's very useful!

@Airblader

This comment has been minimized.

Show comment
Hide comment
@Airblader

Airblader Oct 28, 2017

Member

So the problem is the assertion in con_get_output that fails. We have to investigate why.

Member

Airblader commented Oct 28, 2017

So the problem is the assertion in con_get_output that fails. We have to investigate why.

@deterenkelt

This comment has been minimized.

Show comment
Hide comment
@deterenkelt

deterenkelt Oct 29, 2017

I’ve noticed one tiny, but important detail:

$ wine Setup.exe

crashes i3, while

$ wine ./Setup.exe

does not, but it still doesn’t move the window to the corresponding workspace, and after I quit from the wine application, that workspace looks frozen, I can’t switch focus to another window neither with keyboard nor with mouse (wine window is still there blocking the desktop?) – but i3 doesn’t crash, I can switch to another workspace, then back, and everything’s normal again.

deterenkelt commented Oct 29, 2017

I’ve noticed one tiny, but important detail:

$ wine Setup.exe

crashes i3, while

$ wine ./Setup.exe

does not, but it still doesn’t move the window to the corresponding workspace, and after I quit from the wine application, that workspace looks frozen, I can’t switch focus to another window neither with keyboard nor with mouse (wine window is still there blocking the desktop?) – but i3 doesn’t crash, I can switch to another workspace, then back, and everything’s normal again.

@orestisf1993

This comment has been minimized.

Show comment
Hide comment
@orestisf1993

orestisf1993 Dec 8, 2017

Member

Can you reliably reproduce this? Where is Setup.exe from?

Member

orestisf1993 commented Dec 8, 2017

Can you reliably reproduce this? Where is Setup.exe from?

@deterenkelt

This comment has been minimized.

Show comment
Hide comment
@deterenkelt

deterenkelt Jan 17, 2018

I got a system message, that the glibc (or binutils?) version I was using is faulty, so upgrade is recommended. Now after I rebuilt toolchain, X and i3, it works as expected with wine windows.

Currently running:

sys-devel/binutils-2.29.1-r1
sys-devel/binutils-config-5-r3
sys-devel/gcc-6.4.0
sys-devel/gcc-config-1.8-r1
sys-kernel/linux-headers-4.14
sys-libs/binutils-libs-2.28.1
sys-libs/glibc-2.25-r9

deterenkelt commented Jan 17, 2018

I got a system message, that the glibc (or binutils?) version I was using is faulty, so upgrade is recommended. Now after I rebuilt toolchain, X and i3, it works as expected with wine windows.

Currently running:

sys-devel/binutils-2.29.1-r1
sys-devel/binutils-config-5-r3
sys-devel/gcc-6.4.0
sys-devel/gcc-config-1.8-r1
sys-kernel/linux-headers-4.14
sys-libs/binutils-libs-2.28.1
sys-libs/glibc-2.25-r9
@deterenkelt

This comment has been minimized.

Show comment
Hide comment
@deterenkelt

deterenkelt Jan 17, 2018

Hmm, it worked just once, then it’s back again. I reopen it.

I suspect, that the issue may be in running wine from another user (for security). My X server has in autostart

xhost +si:localuser:wineuser > /dev/null

where wineuser is that user through which wine binaries is launched.
When I run wine locally, the windows never crash and follow the WM_CLASS to workspace bindings.

deterenkelt commented Jan 17, 2018

Hmm, it worked just once, then it’s back again. I reopen it.

I suspect, that the issue may be in running wine from another user (for security). My X server has in autostart

xhost +si:localuser:wineuser > /dev/null

where wineuser is that user through which wine binaries is launched.
When I run wine locally, the windows never crash and follow the WM_CLASS to workspace bindings.

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