[Mono-dev] at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_delegate_to_ftnptr (object) <0x00004>

buhochileno at gmail.com buhochileno at gmail.com
Mon Mar 16 17:41:01 EDT 2009


Hi guys:

Working with a ffmpeg wrrapper from c#, I'm facing a very dificult 
situation related to some ffmpeg structures that have function pointer 
members, I try to marshal those members with 
:MarshalAs(UnmanagedType.FunctionPtr) with the above 
"__icall_wrapper_mono_delegate_to_ftnptr (object) " kind of errors, 
changing the delegate members to just IntPtr solve the issue in some 
situation but give other weird problems...

The thing is that is not easy to reproduce this problem or even make a 
"small test case" to allow you to reproduce the situation, so I don't 
know what type of info I can give you to see if there is a bug somewhere 
(full stack trace?, a small piece of the wrapper? in that case the 
ffmpeg version on oyu system have to match some stuff to be a valid test 
of the wrapper..., other way?)


So please let me know....

Mauricio

P.S: I don't want to cover the problems in more detail before know what 
infor or test cases do you need...
P.S2: This is using mono-1.9 and 2.2 on fedora 8 kernel 2-6-24 or fedora 
10 kernel and ffmpeg rev.15xxx on kernel 2.6.27




More information about the Mono-devel-list mailing list