From 24db8a5d7f46b8b20f9b8b0af8fe6e67dd5f7bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Tue, 8 Dec 2015 02:16:51 +0100 Subject: [PATCH] compiler.tests.callstack-overflow: disable test for os x 64, see #1478 --- basis/compiler/tests/callstack-overflow.factor | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/basis/compiler/tests/callstack-overflow.factor b/basis/compiler/tests/callstack-overflow.factor index 7157e64770..ef3035ee51 100644 --- a/basis/compiler/tests/callstack-overflow.factor +++ b/basis/compiler/tests/callstack-overflow.factor @@ -66,11 +66,15 @@ os windows? [ 2 head ${ "kernel-error" ERROR-CALLSTACK-OVERFLOW } = ] must-fail-with - ! Load up the stack until there is < 500 bytes of it left. Then - ! run a big gc cycle. 500 bytes isn't enough, so a callstack - ! overflow would occur during the gc which we can't handle. The - ! solution is to for the duration of the gc unlock the segment's - ! lower guard page which gives it pagesize (4096) more bytes to - ! play with. - { } [ overflow/w-compact-gc ] unit-test + ! This test crashes with a Memory protection fault on OS X 64-bit + ! for some reason. See #1478 + cpu x86.64? os macosx? and [ + ! Load up the stack until there is < 500 bytes of it left. Then + ! run a big gc cycle. 500 bytes isn't enough, so a callstack + ! overflow would occur during the gc which we can't handle. The + ! solution is to for the duration of the gc unlock the segment's + ! lower guard page which gives it pagesize (4096) more bytes to + ! play with. + { } [ overflow/w-compact-gc ] unit-test + ] unless ] unless