https://bugzilla.novell.com/show_bug.cgi?id=396219

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=396219#c2


Geoff Norton <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #2 from Geoff Norton <[EMAIL PROTECTED]>  2008-06-01 09:31:09 MDT 
---
I looked into this.  The issue here is the child process in the emacs shell
isn't paged aligned for staddr.  Adding a:

        staddr = (guint8*)((int)staddr & ~(mono_pagesize () - 1));

before setting tls->stack_ovf_guard_base fixes the problem.

Paolo,

  Is this the correct way to fix this (the mmap call in mono_valloc was failing
on the non-aligned address).  Also, the assert there looks dangerous.  If we're
on a machine without mmap mono_valloc falls thru to a malloc call, meaning the
pointers will never match.  Is it possible to have a machine without mmap and
with sigaltstack tho?


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to