[Mono-bugs] [Bug 49499][Cri] Changed - mono:: segfaults under Fedora Linux
Mon, 20 Oct 2003 09:36:02 -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 email@example.com.
--- shadow/49499 2003-10-20 08:38:34.000000000 -0400
+++ shadow/49499.tmp.26950 2003-10-20 09:36:02.000000000 -0400
@@ -1,12 +1,12 @@
OS Details: Fedora Linux 0.94 (Severn)
Severity: 001 One hour
@@ -305,6 +305,15 @@
------- Additional Comments From firstname.lastname@example.org 2003-10-20 08:38 -------
Well, I patched my kernel with the exec-shield patch, but couldn't make
mono to crash, so I can't find out what's happening :(. Anyway, your
patch has been checked in, so marking this fixed.
+------- Additional Comments From email@example.com 2003-10-20 09:36 -------
+malte, torkar: can you check if just adding PROT_EXEC to the mmap call
+is enough? Doing another syscall is expensive, and it should really be
+no different. Still, this is weird, since we don't execute code from
+the PE binaries: there must be some other bug (maybe in RH's kernel).
+Do you get the same backtrace for the segfaults as Raphael? Can you
+print in gdb the variables accessed on the segfault line (method->name