On Mi, 2006-07-05 at 12:48 +0200, Johannes Berg wrote:
> [talking about mono/ppc running on ppc64, with the fix from svn 61756
> applied, still segfaults occasionally]
> 
> Looking at the code again, I notice that the debugger function isn't
> fixed:
> 
> mono_debugger_create_notification_function:
> 
>       ptr = buf = g_malloc0 (16);
> 
> which is then used as code. But I doubt this one is causing the problem here.
> 
> Also, in mono_arch_emit_prolog, we have another instance where code is 
> malloc'ed:
> 
>       code = cfg->native_code = g_malloc (cfg->code_size);
> 
> That could very well be causing this issue again.

Could you add this information to the upstream bugreport?
I wonder if there are more instances of this in the mono sources...

Bye

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to