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

Fixes deadloop when abort is called in CI #5197

Merged

Conversation

lygstate
Copy link
Contributor

@lygstate lygstate commented Dec 11, 2024

Disable the debug popup on MSVC/win32 by introduce new jerry_port_init function

For not popup dialog when crash happend on MSVC/win32 Closed: #4463

This is a broadly way to handle abort on CI

such as:
https://github.com/pgspider/pgspider/blob/f33c26e402bd3774a9dc3bfb7476b90afc384344/src/backend/main/main.c#L267

Search SetErrorMode in github also found many other examples

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com

Disable the debug popup on MSVC/win32 by introduce new jerry_port_init function

For not popup dialog when crash happend on MSVC/win32
Closed: jerryscript-project#4463

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
@lygstate lygstate force-pushed the disable-win32-crash-popup branch from 957d7db to c55fed8 Compare December 11, 2024 07:09
@lygstate
Copy link
Contributor Author

#4856 want this, otherwise win32 CI will easily trigger deadloop issue

Copy link
Member

@zherczeg zherczeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@LaszloLango LaszloLango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LaszloLango LaszloLango merged commit 8d44eed into jerryscript-project:master Dec 11, 2024
26 checks passed
@lygstate lygstate deleted the disable-win32-crash-popup branch December 11, 2024 10:01
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

Successfully merging this pull request may close these issues.

Fatal error detected by debug version with MSVC
3 participants