[Mono-bugs] [Bug 593853] New: My app, GyanQuest Quiz works perfectly on the iPhone but crashes on the iPad.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 5 18:17:01 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=593853

http://bugzilla.novell.com/show_bug.cgi?id=593853#c0


           Summary: My app, GyanQuest Quiz works perfectly on the iPhone
                    but crashes on the iPad.
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: info at sketchmd.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

My app, GyanQuest Quiz works perfectly on the iPhone but crashes on the iPad.
The free app is available here
http://itunes.apple.com/us/app/gyanquest-quiz/id359580458?mt=8&uo=6

On the iPad, Start GyanQuest Quiz and Click on "Get Quizzes" button on the top
right corner and click on the tabs below. (Featured/News/Categories) etc.



Reproducible: Always

Steps to Reproduce:
On the iPad, Start GyanQuest Quiz and 
Click on "Get Quizzes" button on the top right corner and 
click on the tabs below. (Featured/News/Categories) etc.

App works on the iPhone and crashes on the iPad
Actual Results:  
Crashes with this stack trace ...

thread_get_state failed
Stacktrace:

  at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific
(intptr,int) <0xffffffff>
  at System.MonoCustomAttrs.GetPseudoCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type) <0x0035c>
  at System.MonoCustomAttrs.GetCustomAttributesBase
(System.Reflection.ICustomAttributeProvider,System.Type) <0x00083>
  at System.MonoCustomAttrs.GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x0054f>
  at System.MonoCustomAttrs.RetrieveAttributeUsage (System.Type) <0x0007f>
  at System.MonoCustomAttrs.RetrieveAttributeUsage (System.Type) <0x000bb>
  at System.MonoCustomAttrs.GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00457>
  at System.MonoCustomAttrs.GetCustomAttribute
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00033>
  at System.Attribute.GetCustomAttribute
(System.Reflection.MemberInfo,System.Type,bool) <0x0003f>
  at System.Attribute.GetCustomAttribute
(System.Reflection.MemberInfo,System.Type) <0x0002f>
  at MonoTouch.ObjCRuntime.Class.RegisterMethods (System.Type) <0x000ab>
  at MonoTouch.ObjCRuntime.Class.GetMethods (System.Type) <0x00063>
  at MonoTouch.ObjCRuntime.Runtime.GetMethod (intptr,intptr) <0x0004f>
  at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0x000cb>
  at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr)
<0xffffffff>
  at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x000e8>
  at GyanQuest.Application.Main (string[]) [0x00000] in
/Users/orina/Projects/GyanQuest/GyanQuest/Main.cs:26
  at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0x000cb>

Native stacktrace:

    0   GyanQuest                           0x000303e0
mono_handle_native_sigsegv + 412
    1   GyanQuest                           0x0005278c sigabrt_signal_handler +
148
    2   libSystem.B.dylib                   0x30c8cbab _sigtramp + 42
    3   libSystem.B.dylib                   0x30c8e097 kill + 10
    4   libSystem.B.dylib                   0x30c8e089 raise + 16
    5   libSystem.B.dylib                   0x30ca2211 abort + 56
    6   GyanQuest                           0x0019d59c GC_abort + 108
    7   GyanQuest                           0x0018e6bc GC_push_all_stacks + 244
    8   GyanQuest                           0x0019f274
GC_default_push_other_roots + 12
    9   GyanQuest                           0x0019bf30 GC_push_roots + 412
    10  GyanQuest                           0x00197dbc GC_mark_some + 700
    11  GyanQuest                           0x0018c034 GC_stopped_mark + 580
    12  GyanQuest                           0x0018b9f0 GC_try_to_collect_inner
+ 568
    13  GyanQuest                           0x0018d4ac GC_collect_or_expand +
224
    14  GyanQuest                           0x0018d8d0 GC_allocobj + 364
    15  GyanQuest                           0x00195424 GC_generic_malloc_inner
+ 376
    16  GyanQuest                           0x00195634 GC_generic_malloc + 132
    17  GyanQuest                           0x00195afc GC_malloc + 216
    18  GyanQuest                           0x00104eb8 mono_object_allocate +
64
    19  GyanQuest                           0x00105cd4 mono_array_new_specific
+ 352
    20  GyanQuest                           0x0082ee78 (wrapper
managed-to-native) object:__icall_wrapper_mono_array_new_specific (intptr,int)
+ 72
    21  GyanQuest                           0x00763068
System.MonoCustomAttrs:GetCustomAttributesBase
(System.Reflection.ICustomAttributeProvider,System.Type) + 132
    22  GyanQuest                           0x00763734
System.MonoCustomAttrs:GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type,bool) + 1360
    23  GyanQuest                           0x00764144
System.MonoCustomAttrs:RetrieveAttributeUsage (System.Type) + 128
    24  GyanQuest                           0x00764180
System.MonoCustomAttrs:RetrieveAttributeUsage (System.Type) + 188
    25  GyanQuest                           0x0076363c
System.MonoCustomAttrs:GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type,bool) + 1112
    26  GyanQuest                           0x00763114
System.MonoCustomAttrs:GetCustomAttribute
(System.Reflection.ICustomAttributeProvider,System.Type,bool) + 52
    27  GyanQuest                           0x006ffde0
System.Attribute:GetCustomAttribute
(System.Reflection.MemberInfo,System.Type,bool) + 64
    28  GyanQuest                           0x006ffbfc
System.Attribute:GetCustomAttribute (System.Reflection.MemberInfo,System.Type)
+ 48
    29  GyanQuest                           0x0043bda0
MonoTouch.ObjCRuntime.Class:RegisterMethods (System.Type) + 172
    30  GyanQuest                           0x0043bab0
MonoTouch.ObjCRuntime.Class:GetMethods (System.Type) + 100
    31  GyanQuest                           0x0043daa8
MonoTouch.ObjCRuntime.Runtime:GetMethod (intptr,intptr) + 80
    32  GyanQuest                           0x00829fdc (wrapper runtime-invoke)
object:runtime_invoke_dynamic (intptr,intptr,intptr,intptr) + 204
    33  GyanQuest                           0x0000b7e8 mono_jit_runtime_invoke
+ 3032
    34  GyanQuest                           0x00101be4 mono_runtime_invoke +
140
    35  GyanQuest                           0x001a5664 get_mono_method + 64
    36  GyanQuest                           0x001a56b8 get_method_for_selector
+ 56
    37  GyanQuest                           0x001a77a8 monotouch_trampoline +
128
    38  UIKit                               0x3152d3af -[UIViewController view]
+ 110
    39  UIKit                               0x31541c7f -[UIViewController
contentScrollView] + 22
    40  UIKit                               0x31541a87 -[UINavigationController
_computeAndApplyScrollContentInsetDeltaForViewController:] + 30
    41  UIKit                               0x31541985 -[UINavigationController
_layoutViewController:] + 24
    42  UIKit                               0x31541329 -[UINavigationController
_startTransition:fromViewController:toViewController:] + 380
    43  UIKit                               0x31541137 -[UINavigationController
_startDeferredTransitionIfNeeded] + 182
    44  UIKit                               0x3154107b -[UINavigationController
viewWillLayoutSubviews] + 14
    45  UIKit                               0x31541017 -[UILayoutContainerView
layoutSubviews] + 138
    46  UIKit                               0x31515f33
-[UIView(CALayerDelegate) _layoutSublayersOfLayer:] + 26
    47  CoreFoundation                      0x32c29ffb -[NSObject
performSelector:withObject:] + 22
    48  QuartzCore                          0x30964799 -[CALayer
layoutSublayers] + 120
    49  QuartzCore                          0x30964569 CALayerLayoutIfNeeded +
184
    50  QuartzCore                          0x30959b63
_ZN2CA7Context18commit_transactionEPNS_11TransactionE + 210
    51  QuartzCore                          0x3095997b
_ZN2CA11Transaction6commitEv + 186
    52  QuartzCore                          0x3097f165
_ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 52
    53  CoreFoundation                      0x32c702a1 __CFRunLoopDoObservers +
412
    54  CoreFoundation                      0x32c23bb1 CFRunLoopRunSpecific +
1728
    55  CoreFoundation                      0x32c234e1 CFRunLoopRunInMode + 48
    56  GraphicsServices                    0x30d620db GSEventRunModal + 114
    57  GraphicsServices                    0x30d62187 GSEventRun + 62
    58  UIKit                               0x314d54c9 -[UIApplication _run] +
380
    59  UIKit                               0x314d39f3 UIApplicationMain + 642
    60  GyanQuest                           0x00469d90 (wrapper
managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain
(int,string[],intptr,intptr) + 240
    61  GyanQuest                           0x001aaa74
GyanQuest.Application:Main (string[]) + 164
    62  GyanQuest                           0x00829fdc (wrapper runtime-invoke)
object:runtime_invoke_dynamic (intptr,intptr,intptr,intptr) + 204
    63  GyanQuest                           0x0000b7e8 mono_jit_runtime_invoke
+ 3032
    64  GyanQuest                           0x00101be4 mono_runtime_invoke +
140
    65  GyanQuest                           0x00103e78 mono_runtime_exec_main +
828
    66  GyanQuest                           0x001035dc mono_runtime_run_main +
1016
    67  GyanQuest                           0x00016d7c mono_jit_exec + 216
    68  GyanQuest                           0x009327f8 main + 3704
    69  GyanQuest                           0x00002f00 start + 52
* Assertion: should not be reached at ../../../../mono/mini/mini-darwin.c:258



Expected Results:  
Not crash :-)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list