[Mono-osx] PInvoke to native method crashes after upgrading to Mono 2.10.1

jazzay jazzay at gmail.com
Sat Mar 19 20:10:52 EDT 2011


http://mono.1490590.n4.nabble.com/file/n3390446/PInvokeTest.zip
PInvokeTest.zip 

I tried running my app with some of the debug logging turned on and I am not
getting any useful information. Dylib loads, and the Native function is
located. Crash occurs on return from the native func that accepts a string
arg.

I have been able to reproduce this bug with a very simple managed console
app and native dylib. Attached are the XCode/MonoDevelop projects and
source. If anyone has time to take a look at this it would be much
appreciated.

I have mono 2.10.1 and XCode 3.2.6 installed. Running on OSX 10.6.6 Snow
Leopard, 64 bit, Quad core.

Thanks for your time.

Jason

--
View this message in context: http://mono.1490590.n4.nabble.com/PInvoke-to-native-method-crashes-after-upgrading-to-Mono-2-10-1-tp3351044p3390446.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list