Bug 4476 - Gesture Recogniser error when selecting row in table
Summary: Gesture Recogniser error when selecting row in table
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 5.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-04-17 10:23 UTC by Amanda
Modified: 2013-12-05 18:36 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Screenshot of versions I am currently using (67.61 KB, image/png)
2012-04-17 10:23 UTC, Amanda

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Amanda 2012-04-17 10:23:54 UTC
Created attachment 1688 [details]
Screenshot of versions I am currently using


My app crashes when I select the same row from the table a few times

here is the stack trace:


  at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x00042] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29
  at MonoTouch.UIKit.UIApplication.Main (string[]) [0x00000] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:34
  at JustEnough.IPad.Application.Main (string[]) [0x00000] in /Users/Amanda/Projects/JustCloud/IPad/Application/Main.cs:17
  at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	0   JustEnough                          0x01e77169 mono_handle_native_sigsegv + 244
	1   JustEnough                          0x01e684f1 mono_sigsegv_signal_handler + 172
	2   libsystem_c.dylib                   0x32da07ed _sigtramp + 48
	3   UIKit                               0x356af0ab -[UIGestureRecognizer _delegateShouldReceiveTouch:] + 126
	4   UIKit                               0x355caf73 -[UITouchesEvent _addGestureRecognizersForView:toTouch:currentTouchMap:newTouchMap:] + 618
	5   UIKit                               0x355cab11 -[UITouchesEvent _addTouch:forDelayedDelivery:] + 204
	6   UIKit                               0x355caa39 _AddTouchToEvent + 192
	7   UIKit                               0x355b0fd1 _UIApplicationHandleEvent + 5552
	8   GraphicsServices                    0x32e6922b PurpleEventCallback + 882
	9   CoreFoundation                      0x33968523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 38
	10  CoreFoundation                      0x339684c5 __CFRunLoopDoSource1 + 140
	11  CoreFoundation                      0x33967313 __CFRunLoopRun + 1370
	12  CoreFoundation                      0x338ea4a5 CFRunLoopRunSpecific + 300
	13  CoreFoundation                      0x338ea36d CFRunLoopRunInMode + 104
	14  GraphicsServices                    0x32e68439 GSEventRunModal + 136
	15  UIKit                               0x355dfe7d UIApplicationMain + 1080
	16  JustEnough                          0x00c97ba8 wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 240
	17  JustEnough                          0x00c3f828 MonoTouch_UIKit_UIApplication_Main_string__ + 36
	18  JustEnough                          0x00d65258 JustEnough_IPad_Application_Main_string__ + 128
	19  JustEnough                          0x004ff814 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
	20  JustEnough                          0x01e69a7b mono_jit_runtime_invoke + 1054
	21  JustEnough                          0x01ed9767 mono_runtime_invoke + 90
	22  JustEnough                          0x01edc4a3 mono_runtime_exec_main + 306
	23  JustEnough                          0x01edc6f7 mono_runtime_run_main + 482
	24  JustEnough                          0x01e6cae3 mono_jit_exec + 94
	25  JustEnough                          0x01e672bf main + 2206
	26  JustEnough                          0x00002f58 start + 40

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.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-04-27 17:16:38 UTC
This looks like you're not keeping a reference to a managed object properly, it's freed by the GC and then native code wants to use it, causing the crash.

Could you attach a sample we can try out to confirm this is the case?
Comment 2 PJ 2013-11-19 17:05:45 UTC
This bug has been in the NEEDINFO state with no changes for the last 90 days. Can we put this back into the NEW or CONFIRMED state, or are we still awaiting response?

If there is no change in the status of this bug over the next two weeks, this bug will be marked as NORESPONSE.
Comment 3 PJ 2013-12-05 18:36:12 UTC
This bug has not been changed from the NEEDINFO state since my previous comment, marking as RESOLVED NORESPONSE.

Please feel free to REOPEN this bug at any time if you are still experiencing the issue. Please add the requested information and set the bug back to the NEW (or CONFIRMED) state.