[Mono-bugs] [Bug 477396] Marshal.StructureToPtr handles null pointers/delegates incorrectly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 18 15:00:03 EST 2009


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

User christian_hoff at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=477396#c1





--- Comment #1 from Christian Hoff <christian_hoff at gmx.net>  2009-02-18 13:00:02 MST ---
That's the output of the test case(compile it with gmcs, not mcs):

Creating dummy
--- structure.test should be null ---
Stacktrace:

  at (wrapper managed-to-native) object.wrapper_native_(nil) () <0x00042>
  at (wrapper managed-to-native) object.wrapper_native_(nil) () <0xffffffff>
  at TestStructToPtr.MainClass.Main (string[]) <0x0007a>
  at (wrapper runtime-invoke)
TestStructToPtr.MainClass.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x4bd937]
        mono [0x520a00]
        mono [0x421c91]
        /lib/libpthread.so.0 [0x7f2c33bb5a80]

Debug info from gdb:


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

-- 
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