slavapestov/factor — Issue #349: Sampling profiler crashes on Leopard
Author: jckarter
Created: 2011-11-03 23:06:13+00:00
State: open
Labels: macosx

From mason:

```text
==== resource:basis/tools/profiler/sampling/sampling-tests.factor

resource:basis/tools/profiler/sampling/sampling-tests.factor: 10

Unit Test: {
{ }
[
10 [
[ 100 [ 1000 random (byte-array) drop ] times gc ]
profile
] times
]
}

Memory protection fault at address 10
[Traceback]

resource:basis/tools/profiler/sampling/sampling-tests.factor: 11

Unit Test: {
{ }
[
10 [
[
100 [ 1000 random (byte-array) drop ] times
compact-gc
] profile
] times
]
}

Memory protection fault at address 10
[Traceback]

resource:basis/tools/profiler/sampling/sampling-tests.factor: 14

Unit Test: {
[ ]
[ [ 1000000 iota [ sq ] map drop ] profile flat profile. ]
}

Memory protection fault at address 10
[Traceback]

resource:basis/tools/profiler/sampling/sampling-tests.factor: 15

Unit Test: {
[ ]
[
[ 1000000 iota [ sq ] map drop ] profile
top-down profile.
]
}

Memory protection fault at address 10
[Traceback]
```

Can't reproduce locally.