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=81990 --- shadow/81990 2007-07-02 16:35:29.000000000 -0400 +++ shadow/81990.tmp.4976 2007-07-05 12:54:05.000000000 -0400 @@ -1,13 +1,13 @@ Bug#: 81990 Product: Mono: Runtime Version: 1.2 OS: unknown OS Details: RHEL WS 4 -Status: RESOLVED -Resolution: FIXED +Status: REOPENED +Resolution: Severity: Unknown Priority: Major Component: interop AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] @@ -64,6 +64,19 @@ C# source file that reproduces this problem: sharptest.cs ------- Additional Comments From [EMAIL PROTECTED] 2007-07-02 16:35 ------- Fixed in SVN. + +------- Additional Comments From [EMAIL PROTECTED] 2007-07-05 12:54 ------- +The test app that I attached now works with this fix, but that seems +to uncover a next problem. My full app crashed in a different place, +I have created a new test project that reproduces the next problem. +It's not the prettiest, but it does reproduce the problem. If you +extract the files from sources.tar.gz and execute the "build_it" +script it will compile the program. Then run "mono sharptest.exe" and +it should invoke the interop function that marshals by narrow string. + When it tries to invoke the interop function that marshals by LPWstr +it blows up. The console indicates that mono is trying to call g_free +on the return value to the interop function, which I think it should +not be attempting. I'll attach the sources.tar.gz now. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
