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

Emergency stop of ImageMagick after minimizing and maximizing display window #265

Open
Urozhaeva opened this issue Aug 29, 2023 · 6 comments

Comments

@Urozhaeva
Copy link

ImageMagick version

6.9.12-93

Operating system

Linux

Operating system, version and so on

ALT Workstation K 10.1

Description

Emergency stop of ImageMagick after minimizing and maximizing display window

Steps to Reproduce

  1. Open image in ImageMagick:
    $ display *.png/jpg/djvu (and e.t.c)
  2. Left click on display -> File
  3. Minimize and maximize display window

Actual result:
Emergency stop of ImageMagick with message:

display: xcb_io.c:626: _XAllocID: check statement 'ret != inval_id' failed.
Emergency Stop

Expected result:
There is no emergency stop

Images

No response

@urban-warrior
Copy link
Member

It appears to be an issue with your X11/Wayland server or your windows manager. Try a different windows manager and see if that helps.

ImageMagick does not have a xcb_io.c method. Try a debugger and see if you can get a complete stack trace.

@Urozhaeva
Copy link
Author

I've reproduced this behaviour with different windows managers: Xfwm, KWin, Marco.
xcb_io.c method is related to X11/Wayland

@dlemstra
Copy link
Member

dlemstra commented Sep 6, 2023

Would it be possible to get a complete stacktrace?

@Urozhaeva
Copy link
Author

Yes, please
stacktrace.tar.gz

@urban-warrior
Copy link
Member

We have one X11-related fix in ImageMagick-6.9.12-94 Beta @ https://imagemagick.org/archive/beta. Download the source, compile, and run. Can you still reproduce the issue? If so, we're still trending toward a Wayland issue as the stack trace points there rather than ImageMagick. Can you enable the X11 windows system rather than Wayland? Does the issue still persist with the X11 org server?

@Urozhaeva
Copy link
Author

Actually, I use X11 windows system and this problem reproduces on it

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

No branches or pull requests

3 participants