Bugzilla – Bug 316488
[PPC] JIT default code size for prolog is too small
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by grompf@sublimeintervention.com 2004-11-18 21:55:04 MST ---- The ppc jit currently has a default code size of 256 for the prolog: cfg->code_size = 256; code = cfg->native_code = g_malloc (cfg->code_size); The problem is the prolog can be larger than 256 bytes; this causes writing into random memory while creating the prolog and emits a szone_error on the g_realloc in mono_arch_output_basic_block. Changing this to 384 resolves this issue. -kangaroo ---- Additional Comments From lupus@ximian.com 2004-11-19 09:40:49 MST ---- Changed the code to account for variable size of the prolog. If you have a test case that fails, please add it here and to the test suite. Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>OSX 10.3.4</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".