[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 13:00:09 -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 tds00mahi@thn.htu.se.


--- shadow/49499	2003-10-20 12:20:10.000000000 -0400
+++ shadow/49499.tmp.28690	2003-10-20 13:00:08.000000000 -0400
@@ -335,6 +335,22 @@
 prevents exec rights on mmap()ed areas and malloc()ed heap, but I'm
 not sure if this flag revokes those rights as well?) I get successful
 results. So I guess this is the preferred way to do it? I don't know
 if this should be passed all the time or if we only should do it if it
 is compiled with a toolchain that specifies the .note.GNU-stack and
+------- Additional Comments From tds00mahi@thn.htu.se  2003-10-20 13:00 -------
+To answer the question, the backtrace I see here without either
+mprotect() or linker flag is the same as Raphaels and printing the
+names look like this:
+(gdb) print method->name
+$1 = 0x8904c483 <Address 0x8904c483 out of bounds>
+(gdb) print method->klass
+$2 = (MonoClass *) 0x74c08510
+(gdb) print method->klass->name
+Cannot access memory at address 0x74c08538
+(gdb) print method->klass->name_space
+Cannot access memory at address 0x74c0853c