[Mono-osx] Mono 1.2.3 Preview Pains
R. Tyler Ballance
tyler at bleepconsulting.com
Fri Jan 26 17:02:48 EST 2007
On Jan 26, 2007, at 3:33 PM, R. Tyler Ballance wrote:
> But that gets me building. I'm working through why my Dumbarton-
> based $PROJECT[ no longer...runs on 1.2.3, but here's the error:
>
> 2007-01-26 15:29:56.811 $PROJECT[14970] Compress Assembly Path: /
> Software/Perforce/user/tyler/$PROJECT[_(Network)/build/Debug/
> $PROJECT[.app/Contents/Libraries/Compress.dll
>
> ** ERROR **: runtime invoke called on uninitialized runtime
> aborting...
> Stacktrace:
>
>
> $PROJECT[ has exited due to signal 6 (SIGABRT).
>
>
> While I know what this means, I'm not exactly sure why it's
> cropping up as this code worked....this morning on 1.2.2, More
> details to follow :)
Stepping through my application, the SIGABRT is stemming from the
patches that Allan recently added (of mine :-!) to Dumbarton,
specifically DBMonoClassGetProperty() function which calls
mono_runtime_invoke().
While stepping through I made sure my application is properly loading
the DLLs via Dumbarton with code such as the following:
DBMonoEnvironment *monoEnvironment = [DBMonoEnvironment
defaultEnvironment];
NSString *libraryPath = [[[NSBundle mainBundle] bundlePath]
stringByAppendingPathComponent:@"Contents/Libraries"];
NSString *compressAssemblyPath = [libraryPath
stringByAppendingPathComponent:@"Compress.dll"];
compressAssembly = [monoEnvironment
openAssemblyWithPath:compressAssemblyPath];
NSLog(@"Compress Assembly Path: %@", compressAssemblyPath);
That properly executes, and so does the call [DBMonoEnvironment
monoClassWithName:(const char *) fromAssembly:(MonoAssembly *)] which
both precede the DBMonoClassGetProperty() function call from my
DBMonoObjectRepresentation subclass.
I'm a bit lost, does anybody else have code using Mono's embedded API
that they feel like throwing 1.2.3. at? :)
Cheers
R. Tyler Ballance: Custom Mac and Linux Development at bleep. consulting
contact: tyler at bleepconsulting.com | jabber: tyler at jabber.geekisp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20070126/adf37060/attachment.html
More information about the Mono-osx
mailing list