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

Judge0 not returning correct description for code that returns Segmentation Fault! #443

Open
harshitsingh1902 opened this issue Nov 9, 2023 · 0 comments

Comments

@harshitsingh1902
Copy link

harshitsingh1902 commented Nov 9, 2023

I have used Judge0 api to create online compiler but for the below python code

import ctypes

def cause_segfault():
    ctypes.string_at(0)

cause_segfault()

Judge0 returns the description as "Runtime Error (NZEC)" and exit signal as null rather than 11 (the one for SIGSEGV).
Ideally it should return the description as "Runtime Error (SIGSEGV)" for above code.

I tested the same code on ide.judge0.com the same description is there.

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

1 participant