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=79180 --- shadow/79180 2006-08-26 12:55:58.000000000 -0400 +++ shadow/79180.tmp.5625 2006-08-26 12:55:58.000000000 -0400 @@ -0,0 +1,64 @@ +Bug#: 79180 +Product: Mono: Runtime +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Minor +Component: JIT +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [Win32] Mono.pc's cflags should include "-mno-cygwin" + +Cygwin.dll seems to overwrite Mono's SIGSEGV SEH handler. +This leads to a crash every time a SIGSEGV occurs while +running jited managed code. + +Solution: add -mno-cygwin to mono.pc's cflags in order +to protect embedders from losing their minds :-) + +The bug does *not* affect Mono's binaries, because they are +actually compiled with -mno-cygwin. + + +Test case: + +unmanaged: + +/* + * gcc mymono.c `pkg-config --cflags --libs mono` + */ +#include <mono/metadata/assembly.h> + +int +mono_main (int argc, char **argv); + +int +main (int argc, char **argv) +{ + return mono_main (argc, argv); +} + +managed: + +/* + * nre.cs + */ + +class T { + static void Main () + { + null.Equals (null); + } +} + +run: + +1) copy mymono.exe into Mono's bin directory +2) mymono nre.exe _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
