Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround 'unexpected bus error at 0' abort on Serenity OS
(fix of commit b48ee2b) PR #689 (bdwgc). For an unknown reason, enabling of incremental mode based on `mprotect` causes a null pointer dereference in `GC_finish_collection()`. This patch removes `define MPROTECT_VDB` for Serenity OS. * include/private/gcconfig.h [SERENITY] (MPROTECT_VDB): Do not define. * os_dep.c [MPROTECT_VDB && !DARWIN && !MSWIN32 && !MSWINCE && SERENITY] (CODE_OK): Likewise. * os_dep.c [MPROTECT_VDB && !DARWIN && !USE_WINALLOC && !AIX && !CYGWIN32 && !HAIKU]: Include `sys/syscall.h` regardless of `SERENITY`.
- Loading branch information