[Mono-bugs] [Bug 450050] Mono crashes to freeing invalid pointer when using custom ICustomMarshaler marshaling return value

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 30 21:59:44 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=450050

User juhovh at iki.fi added comment
https://bugzilla.novell.com/show_bug.cgi?id=450050#c9


Juho Vähä-Herttua <juhovh at iki.fi> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEW                                             |RESOLVED
         Resolution|                                                |INVALID




--- Comment #9 from Juho Vähä-Herttua <juhovh at iki.fi>  2008-11-30 19:59:43 MST ---
As I said, I am not sure any more... And today I checked your test case on
MS.NET and you seem to be correct. Then I went on to do some more tests on the
original code causing problems and found out I had a mistake in trace printing,
that didn't change the functionality itself. But combined with windows not
crashing or reporting double frees at all it was enough to make me do wrong
conclusions...

I'm slightly disappointed at .Net in itself, because the code I wrote in my
example indeed is impossible to implement in .Net platform, so I would call it
a design flaw. But from this discussion it seems that MS.NET and Mono are
indeed acting identically and I don't have to implement workarounds for either,
so I'm closing the bug. Sorry for taking your time and thank you for help. If I
would have access to .Net easily this probably would have been resolved even
faster.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list