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

*** buffer overflow detected ***: terminated /polycc in make test #107

Open
toufikbr05 opened this issue Dec 11, 2024 · 2 comments
Open

Comments

@toufikbr05
Copy link

Hello,
I have a problem with compilation of Pluto in my container (I use a special docker in our labo (devcontainer)).
This problem is exactly in the step of : make test, the screen displays this message:

root@d10d29c13840:/workspace/pluto-0.11.4# make test
./test.sh --silent --lastwriter
test/jacobi-1d-imper.c
*** buffer overflow detected **: terminated
./polycc: line 54: 49374 Aborted (core dumped) $pluto $

Failed test/jacobi-1d-imper.c!
test/jacobi-2d-imper.c
*** buffer overflow detected ***: terminated
....
this message is repeated until the end of tests.

Thanks

@bondhugula
Copy link
Owner

This could mostly be due to using (dynamically linking against) a version of the ISL library that is different from the one Pluto was compiled against.

test.sh runs the test suite. Can you run the specific test in non-silent mode this way and paste the output?

$ ./polyccc test/jacobi-1d-imper.c --lastwriter

Also, Pluto 0.11.4 was released in 2017. Can you please try pluto 0.12.0 (released in Nov 2023).

If there is still an issue, can you provide the gdb backtrace of the crash:

$ gdb --args src/pluto  test/jacobi-1d-imper.c --lastwriter
$ bt

@toufikbr05
Copy link
Author

Thank you for your answer,
I use an other image docker and it is working perfectly!

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