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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
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 lupus@ximian.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 @@
 Bug#: 49499
 Product: Mono/Runtime
 Version: unspecified
 OS: unknown
 OS Details: Fedora Linux 0.94 (Severn)
-Status: RESOLVED   
+Status: NEEDINFO   
 Resolution: FIXED
 Severity: 001 One hour
 Priority: Critical
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: raphael.schmid@gmx.de               
@@ -305,6 +305,15 @@
 ------- Additional Comments From vargaz@freemail.hu  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 lupus@ximian.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
+and klass)?