/[eiffelstudio]/trunk/eweasel/tests/melt079/tcf
ViewVC logotype

Contents of /trunk/eweasel/tests/melt079/tcf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 69848 - (show annotations)
Fri Aug 3 05:22:46 2007 UTC (12 years, 5 months ago) by manus
File size: 547 byte(s)
New test showing a memory corruption in the interpreter. Note that to show it we had to define
  EIF_STACK_CHUNK to reproduce the bug.

1 test_name runtime-stack-corruption
2 test_description When you have a lot of locals on the operation stack of the interpreter that are passed to a funtion with the $ operator and that you need to access some items between two chunks it might corrupt the stack. One has to set EIF_STACK_CHUNK to a low value to easily reproduce the bug.
3
4 copy_sub Ace $TEST Ace
5 copy_raw test.e $CLUSTER test.e
6
7 compile_melted
8 compile_result ok
9
10 setenv EIF_STACK_CHUNK 100
11 execute_work NONE exec_output1
12 execute_result ok
13 compare exec_output1 output
14
15 test_end

Properties

Name Value
svn:eol-style native

  ViewVC Help
Powered by ViewVC 1.1.23