[Mono-bugs] [Bug 49499][Cri] Changed - mono:: segfaults under Fedora Linux

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 21 Oct 2003 10:50:35 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=49499

--- shadow/49499	2003-10-21 10:35:05.000000000 -0400
+++ shadow/49499.tmp.5656	2003-10-21 10:50:35.000000000 -0400
@@ -416,6 +416,25 @@
 a) mmap(PROT_EXEC) is broken in glibc 2.3.2? At least the way we use it.
 
 b) malte's patch (using mprotect) is the right way to do it at the moment?
 
 b) we should check to see if this actually is a glibc bug?
 
+
+------- Additional Comments From lupus@ximian.com  2003-10-21 10:50 -------
+We don't execute code from the stack, AFAIK, so we should not be
+affected by the execstack thing.
+Ingo just released an updated exec shield patchset: it's reported to
+fix random segfaults (in programs like ls, no less...) so maybe the
+people that experience the issue should try with that. This looks more
+and more  like a kernel bug.We don't execute code from the stack,
+AFAIK, so we should not be affected by the execstack thing.
+
+As for the bullet points:
+a) mprotect just seems to workaround a kernel bug: the inconsistent
+results from the different exec shield level seems to prove somthing
+weird is going on
+b) it's not the right way, since we don't execute code from those
+pages, but it appears to make the kernel behave.
+c) it's likely a kernel bug: people should try the latest ingo patch
+(currently -G4) to see if that fixes it, else this should probably be
+reported to him.