[Mono-bugs] [Bug 691826] New: UISegmentedControl now raises a SIGNEV if you attach the ValueChanged event

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 4 19:51:32 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=691826

https://bugzilla.novell.com/show_bug.cgi?id=691826#c0


           Summary: UISegmentedControl now raises a SIGNEV if you attach
                    the ValueChanged event
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: iPad
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: johan.otto at justenough.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


I have tested this on two segemented controls that has images for segments (not
sure if related). If the user taps on one of the segments, the application
aborts... the following text was grabbed from the application output. - Latest
released MonoTouch 4 series.


Stacktrace:

  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 JustEnough.IPad.Application.Main (string[]) [0x00000] in
/Users/johanotto/Projects/JustCloud/IPad/Application/Main.cs:41
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>

Native stacktrace:

    0   JustEnough                          0x000c60bc
mono_handle_native_sigsegv + 343
    1   JustEnough                          0x00010420
mono_sigsegv_signal_handler + 322
    2   libSystem.B.dylib                   0x94dda45b _sigtramp + 43
    3   ???                                 0xffffffff 0x0 + 4294967295
    4   libobjc.A.dylib                     0x01a72753 prepareForMethodLookup +
93
    5   libobjc.A.dylib                     0x01a69069 lookUpMethod + 86
    6   libobjc.A.dylib                     0x01a691d6
_class_lookupMethodAndLoadCache + 40
    7   libobjc.A.dylib                     0x01a7c0e3 objc_msgSend + 87
    8   UIKit                               0x00aa1799 -[UIControl
sendAction:to:forEvent:] + 67
    9   UIKit                               0x00aa3c2b -[UIControl(Internal)
_sendActionsForEvents:withEvent:] + 527
    10  UIKit                               0x00aa1750 -[UIControl
sendActionsForControlEvents:] + 49
    11  UIKit                               0x00ae159b -[UISegmentedControl
setSelectedSegmentIndex:] + 574
    12  UIKit                               0x00ae639d -[UISegmentedControl
touchesBegan:withEvent:] + 971
    13  UIKit                               0x00a35d41 -[UIWindow
_sendTouchesForEvent:] + 395
    14  UIKit                               0x00a16c37 -[UIApplication
sendEvent:] + 447
    15  UIKit                               0x00a1bf2e
_UIApplicationHandleEvent + 7576
    16  GraphicsServices                    0x024a8992 PurpleEventCallback +
1550
    17  CoreFoundation                      0x0141e944
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
    18  CoreFoundation                      0x0137ecf7 __CFRunLoopDoSource1 +
215
    19  CoreFoundation                      0x0137bf83 __CFRunLoopRun + 979
    20  CoreFoundation                      0x0137b840 CFRunLoopRunSpecific +
208
    21  CoreFoundation                      0x0137b761 CFRunLoopRunInMode + 97
    22  GraphicsServices                    0x024a71c4 GSEventRunModal + 217
    23  GraphicsServices                    0x024a7289 GSEventRun + 115
    24  UIKit                               0x00a1fc93 UIApplicationMain + 1160
    25  ???                                 0x07352d7b 0x0 + 120925563
    26  ???                                 0x07352b4c 0x0 + 120925004
    27  ???                                 0x07352804 0x0 + 120924164
    28  ???                                 0x0735265c 0x0 + 120923740
    29  ???                                 0x073527ae 0x0 + 120924078
    30  JustEnough                          0x000101db mono_jit_runtime_invoke
+ 1332
    31  JustEnough                          0x001d9fdd mono_runtime_invoke +
137
    32  JustEnough                          0x001dc63c mono_runtime_exec_main +
669
    33  JustEnough                          0x001dba4a mono_runtime_run_main +
843
    34  JustEnough                          0x0009d1f3 mono_jit_exec + 200
    35  JustEnough                          0x00003aa2 main + 3838
    36  JustEnough                          0x00002989 _start + 208
    37  JustEnough                          0x000028b8 start + 40

Debug info from gdb:

/tmp/mono-gdb-commands.zLXpOW:1: Error in sourced command file:
unable to debug self

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

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


More information about the mono-bugs mailing list