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

entered unreachable code: Could not resolve xproto Error #199

Open
unisgn opened this issue Aug 15, 2022 · 1 comment
Open

entered unreachable code: Could not resolve xproto Error #199

unisgn opened this issue Aug 15, 2022 · 1 comment

Comments

@unisgn
Copy link

unisgn commented Aug 15, 2022

xcb: v1.1.1

in my program, i use the composite, render, shape, xfixes entensions.

without connecting with these extensions, the program occasionally run into:

thread 'main' panicked at 'internal error: entered unreachable code: Could not resolve xproto Error with error_code 143 and first_error 0.

panic is annoying.

but with connecting with these extensions, even worse, the program quickly run into:

thread 'main' panicked at 'internal error: entered unreachable code: Could not match extension event.

how to avoid the panic on unresolved xproto error?

@rtbo
Copy link
Collaborator

rtbo commented Oct 8, 2022

This is likely a bug in the error resolution code.
Can you please post the output of:

xdpyinfo -queryExtensions | awk '/^number of extensions:/,/^default screen number/'

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

No branches or pull requests

2 participants