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

crash on escape #283

Closed
petelomax opened this issue Nov 10, 2017 · 3 comments
Closed

crash on escape #283

petelomax opened this issue Nov 10, 2017 · 3 comments

Comments

@petelomax
Copy link

I have ported a libui language binding to my own, Phix, and got everything apparently working apart from one thing: while the 64-bit version seems fine, when I press escape on the 32-bit version it crashes with an int3 in KERNELBA, with this on the stack:

000DFCE8 6EBF154F RETURN to libui32g.6EBF154F from libui32g.6EBFA6F0
000DFCEC 6EC11DC4 ASCII "Z:\Documents\Projects\libui\windows\menu.cpp"
000DFCF0 6EC12168 ASCII "296"
000DFCF4 6EC12158 ASCII "runMenuEvent"
000DFCF8 6EC0C744 ASCII "POSSIBLE IMPLEMENTATION BUG; CONTACT ANDLABS:"
000DFCFC 6EC12130 ASCII "unknown menu ID %hu in runMenuEvent()"
000DFD00 000DFD18
000DFD04 6EC03206 RETURN to libui32g.6EC03206 from libui32g.6EBF1530
000DFD08 6EC11DC4 ASCII "Z:\Documents\Projects\libui\windows\menu.cpp"
000DFD0C 6EC12168 ASCII "296"
000DFD10 6EC12158 ASCII "runMenuEvent"
000DFD14 6EC12130 ASCII "unknown menu ID %hu in runMenuEvent()"

Why it would be looking for a menu entry because I pressed escape is beyond me. Is there anything I can do about deliberately catching/handling that escape?

Pete

@andlabs
Copy link
Owner

andlabs commented Nov 10, 2017

There's a PR I need to merge that fixes this.

@zhaozg
Copy link
Contributor

zhaozg commented Nov 11, 2017

dup #255

@PaluMacil
Copy link

Fixed! This is ready to close.

@andlabs andlabs closed this as completed Feb 18, 2018
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

4 participants