https://bugzilla.novell.com/show_bug.cgi?id=685275
https://bugzilla.novell.com/show_bug.cgi?id=685275#c0 Summary: Third-party lib works fine in Xcode but fails/crashes in Monotouch using Pinvoke Classification: Mono Product: MonoTouch Version: SVN Platform: Macintosh OS/Version: Mac OS X 10.6 Status: NEW Severity: Critical Priority: P5 - None Component: Tools AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16 v3.99.14 The library has an initialization function which I think is not being called properly - either that, or memory isn't allocating as expected. The behavior from Xcode vs Monotouch is different. Tried switching from HGlobal to CoTaskMem to no avail. It is possible that I am handling the memory incorrectly in C#, but I think that is unlikely. Reproducible: Always Steps to Reproduce: 1. Initialize library 2. Call GetParam Actual Results: errCode: jtTTS_ERR_INPUT_PARAM [VOLUME] errCode: jtTTS_ERR_INPUT_PARAM [CODEPAGE] errCode: jtTTS_ERR_NONE [GetExtBufSize] iSize: 538292 errCode: jtTTS_ERR_NONE [Init] dwHandle: 216166400 extBuf: B4 FE E2 0C E0 1E 04 00 20 89 03 00 01 00 00 00 errCode: jtTTS_ERR_INPUT_PARAM [VOLUME] Stacktrace: at (wrapper managed-to-native) PTMonotouch.x.jtTTS_GetParam (ulong,PTMonotouch.jTTSParam,long&) <IL 0x00027, 0xffffffff> at PTMonotouch.AppDelegate.FinishedLaunching (MonoTouch.UIKit.UIApplication,MonoTouch.Foundation.NSDictionary) [0x001a4] in /Users/tim/Projects/PinvokeTest/PTMonotouch/PTMonotouch/Main.cs:82 at (wrapper runtime-invoke) <Module>.runtime_invoke_bool__this___object_object (object,intptr,intptr,intptr) <IL 0x00066, 0xffffffff> at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x0009f, 0xffffffff> at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Users/plasma/Source/iphone/monotouch/UIKit/UIApplication.cs:26 at MonoTouch.UIKit.UIApplication.Main (string[]) [0x00000] in /Users/plasma/Source/iphone/monotouch/UIKit/UIApplication.cs:31 at PTMonotouch.Application.Main (string[]) [0x00000] in /Users/tim/Projects/PinvokeTest/PTMonotouch/PTMonotouch/Main.cs:16 at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff> Expected Results: errCode: 3 [VOLUME] errCode: 3 [CODEPAGE] errCode: 0 [GetExtBufSize] iSize: 538292 errCode: 0 [Init] dwHandle: 172703744 extBuf: B4 CE 4B 0A E0 1E 04 00 20 89 03 00 01 00 00 00 errCode: 0 [VOLUME] Volume: 0 errCode: 0 [CODEPAGE] Codepage: 936 I need to send the attachment privately to Novell as it should not be publically accessible. Can you advise on how to do this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
