factor/library/test/crashes.factor

32 lines
752 B
Factor
Raw Normal View History

IN: temporary
2004-08-10 00:58:52 -04:00
! Various things that broke CFactor at various times.
2005-02-17 16:10:35 -05:00
USING: errors kernel lists math memory namespaces parser
2005-04-06 21:41:49 -04:00
prettyprint sequences strings test vectors words ;
2004-08-10 00:58:52 -04:00
2005-04-07 18:54:02 -04:00
[ ] [
"20 <sbuf> \"foo\" set" eval
"garbage-collection" eval
] unit-test
2005-04-07 18:54:02 -04:00
[ ] [
[
[ drop ] [ drop ] catch
[ drop ] [ drop ] catch
] keep-datastack
] unit-test
2004-08-27 02:09:24 -04:00
2005-04-07 18:54:02 -04:00
[ ] [ 10 [ [ -1000000 <vector> ] [ drop ] catch ] times ] unit-test
[ ] [ 10 [ [ -1000000 <sbuf> ] [ drop ] catch ] times ] unit-test
2004-11-08 22:36:51 -05:00
! See how well callstack overflow is handled
: callstack-overflow callstack-overflow f ;
[ callstack-overflow ] unit-test-fails
2004-12-17 19:27:42 -05:00
! Weird PowerPC bug.
2005-04-07 18:54:02 -04:00
[ ] [
[ "4" throw ] [ drop ] catch
garbage-collection
garbage-collection
] unit-test