Bug 436 - SDB blows up setting breakpoints sometimes
Summary: SDB blows up setting breakpoints sometimes
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-08-25 14:14 UTC by Alan McGovern
Modified: 2015-02-20 12:29 UTC (History)
4 users (show)

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

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 GitHub or Developer Community 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:
Status:
RESOLVED FIXED

Description Alan McGovern 2011-08-25 14:14:34 UTC
I had a few breakpoints attached to my MonoTouch application. When i started it in the simulator with the debugger attached, I started getting the crash below. This was fixed by removing all the breakpoints.

If this happens again, what should I do to get better information?



Unable to insert breakpoint at LazyTableImages2.RootViewController/DataSource:RowsInSection (MonoTouch.UIKit.UITableView,int):17, seq_points=4

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) [0x00042] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29
  at LazyTableImages2.Application.Main (string[]) [0x00000] in /Users/alanmcgovern/Projects/FancyFeast/LazyTableImages2/Main.cs:17
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>

Native stacktrace:

	0   LazyTableImages2                    0x000e0dc8 mono_handle_native_sigsegv + 408
	1   LazyTableImages2                    0x00152cbd sigabrt_signal_handler + 141
	2   libsystem_c.dylib                   0x99a5a59b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   libsystem_c.dylib                   0x999f5bdd abort + 167
	5   LazyTableImages2                    0x002c8ef3 monoeg_g_logv + 243
	6   LazyTableImages2                    0x002c8f41 monoeg_g_log + 65
	7   LazyTableImages2                    0x00106a00 insert_breakpoint + 352
	8   LazyTableImages2                    0x00106e34 add_pending_breakpoints + 564
	9   LazyTableImages2                    0x00106858 jit_end + 328
	10  LazyTableImages2                    0x0022bdc4 mono_profiler_method_end_jit + 148
	11  LazyTableImages2                    0x0001085f mono_jit_compile_method_inner + 3903
	12  LazyTableImages2                    0x00010b3d mono_jit_compile_method_with_opt + 557
	13  LazyTableImages2                    0x0001161c mono_jit_runtime_invoke + 764
	14  LazyTableImages2                    0x0021fe9a mono_runtime_invoke + 170
	15  LazyTableImages2                    0x002ecf2c monotouch_trampoline + 2527
	16  UIKit                               0x0248f7db -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 1872
	17  UIKit                               0x02491fd2 -[UITableViewRowData numberOfRows] + 98
	18  UIKit                               0x023431c7 -[UITableView noteNumberOfRowsChanged] + 119
	19  UIKit                               0x02342cc1 -[UITableView reloadData] + 764
	20  UIKit                               0x02345c8c -[UITableView _reloadDataIfNeeded] + 67
	21  UIKit                               0x0234a183 -[UITableView layoutSubviews] + 36
	22  UIKit                               0x022f4fe8 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 145
	23  CoreFoundation                      0x012fcea2 -[NSObject performSelector:withObject:] + 66
	24  QuartzCore                          0x041769d1 -[CALayer layoutSublayers] + 266
	25  QuartzCore                          0x041808cb _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 231
	26  QuartzCore                          0x04107079 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 377
	27  QuartzCore                          0x04108f78 _ZN2CA11Transaction6commitEv + 374
	28  QuartzCore                          0x041943b0 +[CATransaction flush] + 52
	29  UIKit                               0x022b5490 -[UIApplication _reportAppLaunchFinished] + 39
	30  UIKit                               0x022b5b86 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 1298
	31  UIKit                               0x022c45f3 -[UIApplication handleEvent:withNewEvent:] + 1027
	32  UIKit                               0x022c50a8 -[UIApplication sendEvent:] + 68
	33  UIKit                               0x022b8a29 _UIApplicationHandleEvent + 8196
	34  GraphicsServices                    0x047b310d PurpleEventCallback + 1274
	35  CoreFoundation                      0x012cf1f5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
	36  CoreFoundation                      0x012340a2 __CFRunLoopDoSource1 + 146
	37  CoreFoundation                      0x0123298a __CFRunLoopRun + 2218
	38  CoreFoundation                      0x01231e34 CFRunLoopRunSpecific + 212
	39  CoreFoundation                      0x01231d4b CFRunLoopRunInMode + 123
	40  UIKit                               0x022b5271 -[UIApplication _run] + 576
	41  UIKit                               0x022b6a1b UIApplicationMain + 1163
	42  ???                                 0x0bff871d 0x0 + 201295645
	43  ???                                 0x0bff6c38 0x0 + 201288760
	44  ???                                 0x0bff6928 0x0 + 201287976
	45  ???                                 0x0bff6a7e 0x0 + 201288318
	46  LazyTableImages2                    0x0001189f mono_jit_runtime_invoke + 1407
	47  LazyTableImages2                    0x0021fe9a mono_runtime_invoke + 170
	48  LazyTableImages2                    0x00222bd1 mono_runtime_exec_main + 705
	49  LazyTableImages2                    0x00221de1 mono_runtime_run_main + 929
	50  LazyTableImages2                    0x000ad48f mono_jit_exec + 239
	51  LazyTableImages2                    0x002f112c main + 3865
	52  LazyTableImages2                    0x000030f5 start + 53
	53  ???                                 0x00000002 0x0 + 2

Debug info from gdb:

dyld: could not load inserted library: /Users/alanmcgovern/Library/Application Support/iPhone Simulator/5.0/Applications/483EDD6D-57E1-4A47-B14A-9EF437525E18/LazyTableImages2.app/monotouch-fixes.dylib