[Cocoa-sharp] Crash when sing Context Menu of a Text View - thread_get_state failed

marc hoffman mh at elitedev.com
Sat Dec 8 19:03:59 EST 2007


Looks like this one s fixed in 1.2.6_2.

marc hoffman wrote:
> I'm not sure if this is related to the Menu..ctor problem i reported 
> earlier (which also happened in a Text View in a plain no-code app just 
> loaded from NIB), but when i right-click a Text View and select any 
> action from the context menu (such as "Copy"), i get the following crash.
> 
> does this make sense to anyone? (i'll try to create a testcase and log 
> an issue, later). This is on Leopard 10.5.1, Mono 1.2.5.1, latest Cocoa# 
> from SVN (for all relevant purposes).
> 
> 
>   thread_get_state failed
> Stacktrace:
>    at (wrapper managed-to-native) 
> System.MonoCustomAttrs.GetCustomAttributesInternal 
> (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00004>
>    at (wrapper managed-to-native) 
> System.MonoCustomAttrs.GetCustomAttributesInternal 
> (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0xffffffff>
>    at System.MonoCustomAttrs.GetCustomAttributesBase 
> (System.Reflection.ICustomAttributeProvider,System.Type) <0x00021>
>    at System.MonoCustomAttrs.GetCustomAttributes 
> (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00492>
>    at System.MonoCustomAttrs.GetCustomAttribute 
> (System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x0001c>
>    at System.Attribute.GetCustomAttribute 
> (System.Reflection.MemberInfo,System.Type,bool) <0x00029>
>    at System.Attribute.GetCustomAttribute 
> (System.Reflection.MemberInfo,System.Type) <0x00015>
>    at Cocoa.ObjCClass.TypeForClassname (string) <0x001f2>
>    at Cocoa.ObjCClass.TypeForIntPtr (intptr) <0x001f7>
>    at Cocoa.Object.FromIntPtr (intptr) <0x000d3>
>    at Cocoa.ObjCInterop.Dispatch (intptr,intptr,object[]) <0x00044>
>    at e22ebf6d-a2b8-4115-a0d0-a9b2026f9c00.Dispatch (intptr,intptr) 
> <0x0002c>
>    at (wrapper native-to-managed) 
> e22ebf6d-a2b8-4115-a0d0-a9b2026f9c00.Dispatch (intptr,intptr) <0xffffffff>
>    at (wrapper managed-to-native) 
> System.Void_System.IntPtr_System.IntPtr.objc_msgSend (intptr,intptr) 
> <0x00004>
>    at (wrapper managed-to-native) 
> System.Void_System.IntPtr_System.IntPtr.objc_msgSend (intptr,intptr) 
> <0xffffffff>
>    at (wrapper runtime-invoke) 
> System.Void_System.IntPtr_System.IntPtr.runtime_invoke_void_intptr_intptr 
> (object,intptr,intptr,intptr) <0xffffffff>
>    at (wrapper managed-to-native) 
> System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0x00004>
>    at (wrapper managed-to-native) 
> System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0xffffffff>
>    at System.Reflection.MonoMethod.Invoke 
> (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) 
> <0x000ac>
>    at System.MonoType.InvokeMember 
> (string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[]) 
> <0x003b6>
>    at System.Type.InvokeMember 
> (string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[]) 
> <0x00029>
>    at Cocoa.ObjCMessaging.objc_msgSend (intptr,string,System.Type) 
> <0x002c5>
>    at Cocoa.Application.RunApplication () <0x00029>
>    at Cocoa.Application.Run () <0x0001b>
>    at MethodConverter.Program.Main () <0x0001f>
>    at (wrapper runtime-invoke) 
> MethodConverter.Program.runtime_invoke_void 
> (object,intptr,intptr,intptr) <0xffffffff>
> Exited with exit code: 134
> _______________________________________________
> Cocoa-sharp mailing list
> Cocoa-sharp at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/cocoa-sharp
> 

-- 
marc hoffman

RemObjects Software
The Infrastructure Company
http://www.remobjects.com


More information about the Cocoa-sharp mailing list