[Mono-osx] problems running Dumbarton examples

Walt Horat walt at soundflavor.com
Mon Jan 22 22:06:30 EST 2007


Ran Mono installer (1.2.2.1) from http://www.mono-project.com/ 
Downloads (MonoFramework-1.2.2.1_0.macos10.novell.universal.dmg)

Checked out top-of-tree from svn://svn.myrealbox.com/source/trunk/

Build and run DBCocoaExample out of the /Dumbarton folder.

Initial link errors caused me to find and install Allan Hsu's pre- 
built Mono framework from rvn rev 61861 - the example seems to hard  
link against this version explicitly.  
(_mono_method_desc_search_in_class referenced from Dumbarton expected  
to be defined in /Library/Frameworks/Mono.framework/Versions/svn- 
r61861+libgc.fix-universal/lib/libmono.0.dylib)

On running the app, we are getting a warning that sounds like it is a  
reason for concern, followed by another warning on the way in to a  
crash.

	WARNING: The runtime version supported by this application is  
unavailable.
	Using default runtime: v1.1.4322

	** ERROR **: EnterCriticalSection: EnterCriticalSection failed:  
Invalid argument
	aborting...
	Stacktrace:

	DBCocoaExample has exited due to signal 6 (SIGABRT).

The stack trace at this point is:

#0	0x9003d1dc in kill
#1	0x9010f2af in raise
#2	0x9010de02 in abort
#3	0x01029e72 in g_logv
#4	0x01029ea6 in g_log
#5	0x011d5389 in EnterCriticalSection at critical-sections.c:152
#6	0x011ac27f in mono_domain_assembly_open at domain.c:957
#7	0x0000296f in +[MainController initialize] at MainController.m:38
#8	0x90a558f7 in class_initialize
#9	0x90a5558e in _class_lookupMethodAndLoadCache
#10	0x90a55506 in objc_msgSend
#11	0x93275e10 in -[NSIBObjectData instantiateObject:]
#12	0x93275359 in -[NSIBObjectData  
nibInstantiateWithOwner:topLevelObjects:]
#13	0x9326c98d in loadNib
#14	0x9326c3b9 in +[NSBundle(NSNibLoading)  
_loadNibFile:nameTable:withZone:ownerBundle:]
#15	0x9326c01a in +[NSBundle(NSNibLoading)  
loadNibFile:externalNameTable:withZone:]
#16	0x9326bf5c in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#17	0x9326bca3 in NSApplicationMain
#18	0x000025e4 in main at main.m:14

I then proceeded to back-rev everything to svn rev 61861 just in case  
the example was picking up some sources/headers out of the trunk  
build. No change in behavior.

I can't really debug without building the complete mono sources and  
getting them linked against the sample.

Any pointers or suggestions would be greatly appreciated.


Walt
www.soundflavor.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20070122/da858cbb/attachment.html 


More information about the Mono-osx mailing list