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

wslg crashed when I want to take a screen shot and window flashed for a while #319

Closed
WhenMelancholy opened this issue Jun 22, 2021 · 6 comments
Labels
bug Something isn't working clipboard-integration Windows clipboard integration

Comments

@WhenMelancholy
Copy link

Environment

Windows build number: Microsoft Windows [Version 10.0.21390.2025]
Your Distribution version: Release:        20.04
Your WSLg version: 1.0.22

Steps to reproduce

  1. display xxx.ppm
  2. take a screen shot by a third-party software (such as,QQ)
  3. the imagemagick crashed, and the window flashed for a moment (I can see the background of windows terminal become transparent and not transparent, and I will lose the focus when I type if the window flashed)

WSL logs:

  • Attach WSLg logs from /mnt/wslg

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

Expected behavior

image

I used imagemagick to display this window and I want to take a screenshot.

Actual behavior

I took the screenshot and found wslg crashed.

@WhenMelancholy WhenMelancholy added the bug Something isn't working label Jun 22, 2021
@onomatopellan
Copy link
Contributor

Your WSLg version: 1.0.22

It could have been fixed already so try installing latest WSLg version 1.0.24 from https://github.com/microsoft/wslg/releases/download/v1.0.24/wsl_graphics_support_x64.msi

@WhenMelancholy
Copy link
Author

WhenMelancholy commented Jun 23, 2021

I installed the latest version and it still crashed and the window still flashed for some seconds.

when@When:/mnt/e/project/C/opengl/smallpt$ display image.ppm
// after I took the screen shot
X connection to :0 broken (explicit kill or server shutdown).

@hideyukn88
Copy link
Member

@WhenMelancholy, do you see any core dumps at /mnt/wslg/dumps? thanks!

@WhenMelancholy
Copy link
Author

@WhenMelancholy, do you see any core dumps at /mnt/wslg/dumps? thanks!

core.weston.zip

@hideyukn88
Copy link
Member

@WhenMelancholy, thank you for core dumps, but due to our side of issue, we haven't enabled debug info in past release of WSLg, would you please collect dump again with WSLg 1.0.26 at https://github.com/microsoft/wslg/releases/tag/v1.0.26 ? thanks you very much for trying out WSLg!

@WhenMelancholy
Copy link
Author

@WhenMelancholy, do you see any core dumps at /mnt/wslg/dumps? thanks!

new-core-weston.zip

By the way, I found my issue was the same as #348 , since I was using QQ to take screenshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working clipboard-integration Windows clipboard integration
Projects
None yet
Development

No branches or pull requests

3 participants