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

Open
ghost opened this issue Oct 28, 2017 · 8 comments
Open

i3 crashes on setting Wine window fullscreen #3032

ghost opened this issue Oct 28, 2017 · 8 comments

Comments

@ghost
Copy link

ghost 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
Copy link

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

@i3bot i3bot added missing-log Read the CONTRIBUTING.md file for instructions 4.14 labels Oct 28, 2017
@Airblader Airblader added the bug label Oct 28, 2017
@ghost
Copy link
Author

ghost commented Oct 28, 2017

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

@Airblader
Copy link
Member

Thanks, that's very useful!

@Airblader
Copy link
Member

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

@ghost
Copy link
Author

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

@orestisfl
Copy link
Member

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

@ghost
Copy link
Author

ghost 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

@ghost ghost closed this as completed Jan 17, 2018
@ghost
Copy link
Author

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

@ghost ghost reopened this Jan 17, 2018
@orestisfl orestisfl removed the missing-log Read the CONTRIBUTING.md file for instructions label Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants