[Mono-devel-list] P/Invoke question -- debugging

Frank Bergmann frank_bergmann at kgi.edu
Wed Feb 23 19:44:04 EST 2005

Hello List, 

Another question relating to P/Invoke on Mono. The problem occurs when a
mono-callback function is called from a C-library (the delegate to the
callback was previously passed to the library).

Instead of calling the delegate I get: 

** ERROR **: file mini.c: line 7146 (mono_get_lmf_addr): should bot be
reached aborting...

At first I was suspecting problems with the calling conventions. But
since the callback function is not even entered I'm at a loss. My
attempts to debug the mono app and the c-library at the same time
failed. Also it happens under Mono 1.0.5 and Mono 1.1.4 ... 

About the environment ... I'm currently testing Mono under Suse 9.2.

Thanks for your help 


P.S.: while looking for a solution I found: 

More information about the Mono-devel-list mailing list