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 PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79782 --- shadow/79782 2006-11-01 00:56:52.000000000 -0500 +++ shadow/79782.tmp.20098 2006-11-01 01:03:31.000000000 -0500 @@ -958,6 +958,67 @@ ------- Additional Comments From [EMAIL PROTECTED] 2006-11-01 00:56 ------- Created an attachment (id=17965) test case which segffaults + +------- Additional Comments From [EMAIL PROTECTED] 2006-11-01 01:03 ------- +It was really just a lot of recursion (the "bad code" was a +left-recursive grammar). I've attached a (very) basic test case above. + +Output: +$ mono -v test.exe +Method (wrapper runtime-invoke) +System.Object:runtime_invoke_void_string (object,intptr,intptr,intptr) +emitted at 0x400174f8 to 0x400175c3 (code length 203) [test.exe] +Method System.OutOfMemoryException:.ctor (string) emitted at +0x400175c8 to 0x40017600 (code length 56) [test.exe] +Method System.SystemException:.ctor (string) emitted at 0x40017658 to +0x40017690 (code length 56) [test.exe] +Method System.Exception:.ctor (string) emitted at 0x400176c0 to +0x400176ea (code length 42) [test.exe] +Method System.Exception:set_HResult (int) emitted at 0x400176f0 to +0x4001770e (code length 30) [test.exe] +Method System.NullReferenceException:.ctor (string) emitted at +0x40017710 to 0x40017743 (code length 51) [test.exe] +Method System.StackOverflowException:.ctor (string) emitted at +0x40017748 to 0x4001776a (code length 34) [test.exe] +Method (wrapper runtime-invoke) +System.Object:runtime_invoke_void_string[] +(object,intptr,intptr,intptr) emitted at 0x40018058 to 0x4001811f +(code length 199) [test.exe] +Method MainClass:Main (string[]) emitted at 0x40018120 to 0x40018136 +(code length 22) [test.exe] +Segmentation fault + + +And GDB: +(gdb) start +Function "main" not defined. +Make breakpoint pending on future shared library load? (y or [n]) n +Starting program: /usr/bin/mono test.exe +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +[Thread debugging using libthread_db enabled] +[New Thread 47852357255216 (LWP 24865)] +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +(no debugging symbols found) +[New Thread 1073822032 (LWP 24868)] +[New Thread 1075988816 (LWP 24869)] + +Program received signal SIGSEGV, Segmentation fault. +[Switching to Thread 47852357255216 (LWP 24865)] +0x0000000040018124 in ?? () +(gdb) bt +#0 0x0000000040018124 in ?? () +Cannot access memory at address 0x7fff2c351ff0 + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
