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

Exam Rank 05, segfault with same main, depending on its location #169

Open
Ariouz opened this issue Jun 4, 2024 · 0 comments
Open

Exam Rank 05, segfault with same main, depending on its location #169

Ariouz opened this issue Jun 4, 2024 · 0 comments

Comments

@Ariouz
Copy link

Ariouz commented Jun 4, 2024

On Exam Rank 05, last exercice, the program (the -o final one) fails with no error in trace file (except missing lines from the output).
This lead me testing with the main (provided in .system/grading/main.cpp) and copying it to my rendu/cpp_module02 directory.
I used the same command line to compile it and it works like a charm with no error.
However, when i compile with the same main code, but with the main located in .system/grading directory, it compiles well but throw a segfault with no reason.
Both main.cpp (cpp_module02 and .system/grading) contain the same code.

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