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

probable use-after-free errors #56

Open
PHHargrove opened this issue Jun 22, 2014 · 1 comment
Open

probable use-after-free errors #56

PHHargrove opened this issue Jun 22, 2014 · 1 comment
Labels

Comments

@PHHargrove
Copy link
Collaborator

I have a nightly tester running clang-upc (w/o upcr) against the Berkeley test suite on Mac OS X 10.8 once per week. The results this morning show the following two compiler crashes:

cd /usr/local/upc/testers64/cupc/runtime/work/dbg/upc-tests/bugzilla
/usr/local/upc/llvm-upc/bin/clang-upc -Werror=pointer-arith -g    -o testenv testenv.upc
dsymutil(80446,0x7fff7e383180) malloc: *** error for object 0x7fe669c07140: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
clang-3.4: error: unable to execute command: Abort trap: 6
clang-3.4: error: dsymutil command failed due to signal (use -v to see invocation)
cd /usr/local/upc/testers64/cupc/runtime/work/dbg/upc-tests/mupc
/usr/local/upc/llvm-upc/bin/clang-upc -Werror=pointer-arith -g   -DDATA=long -o test_stress_04-long test_stress_04.c
dsymutil(88904,0x7fff7e383180) malloc: *** error for object 0x7fa69bc07180: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
clang-3.4: error: unable to execute command: Abort trap: 6
clang-3.4: error: dsymutil command failed due to signal (use -v to see invocation)

Note that both errors are for compilations which were passed -g and that the same tests compiled with -O did not crash. Additionally, clang-upc2c was tested today from from the same build, and did not crash translating either of these tests.

Finally, it is worth noting that when this test configuration last ran on June 14 neither crash was present.

@PHHargrove
Copy link
Collaborator Author

Attempts to reproduce manually do not crash, despite using the same build and same command lines. Sigh.

@nenadv nenadv added the wontfix label Aug 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants