Comments (6)
Yikes, I can reproduce and it looks like a segfault. It most likely has to with interfacing with wlc, somehow we are using a view handle after it has been deleted. I also noticed that the scaling factor went back down to 0.5 when I logged in on mine, which is new to rustwlc and not something we have made changes to in Way Cooler, so it could perhaps be that.
We'll look into this, can you reproduce this on other programs other than mpv? I assume it has to do with some special way mpv closes that's causing this issue.
from way-cooler.
We'll look into this, can you reproduce this on other programs other than mpv?
From the few programs I tested, mpv
was the only naughty one.
from way-cooler.
Can reproduce on release build, isn't validation checks on the tree causing the problem
from way-cooler.
Stepping through the stack frame, it looks like it was a double free on the handle, somehow mpv is closing itself and then we respond to the event by trying to close it as well.
It looks like for the most part that when a program has already closed itself (e.g the view_destroyed
callback is triggered), calling view.close
on that view is technically undefined behaviour since it's not guaranteed to point to a valid view.
The fix can be complete once we have the kill window command working again, since I can't test when I actually have to call view.close
without, since in all other causes it's the window telling Way Cooler it's closing which will trigger this undefined behaviour.
Blocking until #57 is resolved.
from way-cooler.
Oh, retrorach will also cause way-cooler to crash when I try to open some game.
from way-cooler.
Perfect. mpv
and retroarch
are working sound now.
from way-cooler.
Related Issues (20)
- Implement Pixbuf to surface for latest Awesome
- Restart Lua cleanly HOT 6
- Split Compositor and Awesome compatibility up HOT 17
- The Tiling Layer HOT 6
- Use Wayland for timed callbacks instead of GLib HOT 8
- Cannot install way-cooler via cargo HOT 1
- How can we help? HOT 4
- Won't start HOT 2
- Using https on way-cooler.org HOT 1
- Executable naming conflict with AwesomeWM HOT 5
- Tests for awesome/root.rs don't use the latest API HOT 1
- Design - Class builder and wrappers in awesome APIs HOT 11
- Race condition with awesome part HOT 7
- error: multiple applicable items in scope HOT 7
- Error loudly when XWayland isn't installed HOT 2
- Thoughts on Smithhay 0.2 HOT 4
- Pin rustfmt version on CI
- wlroots 0.6 HOT 1
- Doesn't build the client, build.rs problem
- Fix CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from way-cooler.