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

Unexpected segmentation fault outside heap in gctest on Linux/x86 both in soft- and mprotect-vdb modes #653

Open
ivmai opened this issue Aug 3, 2024 · 1 comment

Comments

@ivmai
Copy link
Owner

ivmai commented Aug 3, 2024

Source: master (7f1503d)
Build: https://app.travis-ci.com/github/ivmai/bdwgc/jobs/624768375
Host: Ubuntu 22.04/x86_64 (but code is compiled to 32-bit x86)
Compiler: clang 18.1.8
Config: CFLAGS_EXTRA="-m32 -funsigned-char -D _FORTIFY_SOURCE=2 -D GC_GCJ_MARK_DESCR_OFFSET=32 -D NO_LONGLONG64" CONF_OPTIONS="--enable-gc-assertions" GCTEST_WITH_MPROTECT_VDB=true

Output (gctest.log, soft-vdb mode):

Supported VDBs: manual soft mprotect
Switched to incremental mode
Reading dirty bits from /proc
FAIL gctest (exit status: 139)

Output (gctest, mprotect-vdb mode):

Supported VDBs: manual soft mprotect
Switched to incremental mode
Emulating dirty bits with mprotect/signals
Unexpected segmentation fault outside heap at 0x813dec
@ivmai
Copy link
Owner Author

ivmai commented Aug 7, 2024

Seems to be related to #652

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