Bug 21488 - Debugger crashes app when stepping over
Summary: Debugger crashes app when stepping over
Status: RESOLVED DUPLICATE of bug 21443
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2014-07-21 15:42 UTC by Rogier van der Hee
Modified: 2014-09-24 16:05 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 DUPLICATE of bug 21443

Description Rogier van der Hee 2014-07-21 15:42:03 UTC
When I hit a break point and try to step over a line a of code (cmd + shift + o), the debugger crashes and thus the app on the device.

Verified across diffirent solutions.

Doesn't matter where in the code. I'm running the beta version (5.2, build 379)

Here is the crash log:
Jul 21 21:36:43 rogiers-iphone PlantScoutApp[327] <Critical>: * Assertion at ../../../../../mono/mono/mini/debugger-agent.c:3597, condition `klass' not met
Jul 21 21:36:43 rogiers-iphone PlantScoutApp[327] <Error>: Stacktrace:
Jul 21 21:36:43 rogiers-iphone PlantScoutApp[327] <Error>:   at <unknown> <0xffffffff>
Jul 21 21:36:43 rogiers-iphone PlantScoutApp[327] <Error>:   at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
Jul 21 21:36:43 rogiers-iphone PlantScoutApp[327] <Error>:   at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:39
Jul 21 21:36:43 rogiers-iphone PlantScoutApp[327] <Error>:   at PlantScoutApp.Application.Main (string[]) [0x00008] in /Users/rogier/Documents/SVN_PlantScout/PlantScoutApp/PlantScoutApp.iOS/Main.cs:17
Jul 21 21:36:43 rogiers-iphone PlantScoutApp[327] <Error>:   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Jul 21 21:36:43 rogiers-iphone PlantScoutApp[327] <Error>: 
	Native stacktrace:
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	0   PlantScoutApp                       0x007fd109 mono_handle_native_sigsegv + 240
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	1   PlantScoutApp                       0x0080212f sigabrt_signal_handler + 102
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	2   libsystem_platform.dylib            0x38db9f93 _sigtramp + 42
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	3   libsystem_pthread.dylib             0x38dbf797 pthread_kill + 58
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	4   libsystem_c.dylib                   0x38d05fdd abort + 76
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	5   PlantScoutApp                       0x00872947 monoeg_assertion_message + 58
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	6   PlantScoutApp                       0x007e7503 create_event_list + 1662
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	7   PlantScoutApp                       0x007e9065 process_breakpoint_inner + 444
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	8   PlantScoutApp                       0x007ecb55 process_signal_event + 64
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	9   PlantScoutApp                       0x007e6dd5 mono_debugger_agent_user_break + 0
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	10  ???                                 0x27d58c00 0x0 + 668306432
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	11  PlantScoutApp                       0x00176afc PlantScoutApp_Core_TskGetData_GetDataOffline_PlantScoutApp_Core_Model_int_string_ + 1244
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	12  PlantScoutApp                       0x00122504 PlantScoutApp_Core_AppCore_LoadData_PlantScoutApp_Core_AppCore + 944
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	13  PlantScoutApp                       0x00186924 PlantScoutApp_Core_TskLogin__Loginc__AnonStorey0__m__0_System_Guid_System_Exception + 2716
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	14  PlantScoutApp                       0x00183b6c PlantScoutApp_Core_Service_DataService__Loginc__AnonStorey1__m__1_string_System_Exception + 1256
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	15  PlantScoutApp                       0x001001fc PlantScoutApp_iOSHttpService__HandleRequestc__AnonStorey0__m__0_string + 576
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	16  PlantScoutApp                       0x000f5afc PlantScoutApp_iOSHttpService_UrlConnectionDelegate_FinishedLoading_MonoTouch_Foundation_NSUrlConnection + 272
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	17  PlantScoutApp                       0x00366650 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	18  PlantScoutApp                       0x008087ed mono_jit_runtime_invoke + 1196
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	19  PlantScoutApp                       0x00847e01 mono_runtime_invoke + 88
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	20  PlantScoutApp                       0x007d152f native_to_managed_trampoline_16 + 346
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	21  PlantScoutApp                       0x007d571d -[PlantScoutApp_iOSHttpService_UrlConnectionDelegate connectionDidFinishLoading:] + 80
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	22  Foundation                          0x2e85afc3 <redacted> + 54
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	23  Foundation                          0x2e85af07 <redacted> + 206
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	24  Foundation                          0x2e85ae21 <redacted> + 60
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	25  CFNetwork                           0x2db82107 <redacted> + 74
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	26  CFNetwork                           0x2db80d17 <redacted> + 54
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	27  CoreFoundation                      0x2de4f981 CFArrayApplyFunction + 36
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	28  CFNetwork                           0x2db187fb <redacted> + 182
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	29  CFNetwork                           0x2db186b9 <redacted> + 220
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	30  CFNetwork                           0x2db1854d <redacted> + 48
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	31  CoreFoundation                      0x2dee725b <redacted> + 14
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	32  CoreFoundation                      0x2dee672b <redacted> + 206
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	33  CoreFoundation                      0x2dee4f1f <redacted> + 622
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	34  CoreFoundation                      0x2de4ff4f CFRunLoopRunSpecific + 522
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	35  CoreFoundation                      0x2de4fd33 CFRunLoopRunInMode + 106
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	36  GraphicsServices                    0x32da8663 GSEventRunModal + 138
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	37  UIKit                               0x3079b16d UIApplicationMain + 1136
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	38  PlantScoutApp                       0x006eda60 wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 272
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	39  PlantScoutApp                       0x006b4124 MonoTouch_UIKit_UIApplication_Main_string___string_string + 300
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	40  PlantScoutApp                       0x000ae150 PlantScoutApp_Application_Main_string__ + 172
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	41  PlantScoutApp                       0x00366650 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	42  PlantScoutApp                       0x008087ed mono_jit_runtime_invoke + 1196
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	43  PlantScoutApp                       0x00847e01 mono_runtime_invoke + 88
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	44  PlantScoutApp                       0x0084baa7 mono_runtime_exec_main + 282
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	45  PlantScoutApp                       0x0084b8ef mono_runtime_run_main + 426
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	46  PlantScoutApp                       0x007f65fd mono_jit_exec + 48
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	47  PlantScoutApp                       0x0087f418 main + 2452
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 	48  PlantScoutApp                       0x000ae028 start + 40
Jul 21 21:36:44 rogiers-iphone PlantScoutApp[327] <Error>: 
	=================================================================
	Got a SIGABRT while executing native code. This usually indicates
	a fatal error in the mono runtime or one of the native libraries 
	used by your application.
	=================================================================
Jul 21 21:36:44 rogiers-iphone ReportCrash[329] <Notice>: ReportCrash acting against PID 327
Jul 21 21:36:44 rogiers-iphone ReportCrash[329] <Notice>: Formulating crash report for process PlantScoutApp[327]
Jul 21 21:36:44 rogiers-iphone com.apple.launchd[1] (UIKitApplication:nl.dwssystemen.plantscout[0xcbf][327]) <Warning>: (UIKitApplication:nl.dwssystemen.plantscout[0xcbf]) Job appears to have crashed: Abort trap: 6
Jul 21 21:36:44 rogiers-iphone backboardd[28] <Warning>: Application 'UIKitApplication:nl.dwssystemen.plantscout[0xcbf]' exited abnormally with signal 6: Abort trap: 6
Jul 21 21:36:44 rogiers-iphone ReportCrash[329] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/PlantScoutApp_2014-07-21-213644_rogiers-iphone.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
Jul 21 21:37:12 rogiers-iphone lockdownd[53] <Notice>: 00281000 _select_socket: receive secure message timeout!
Comment 1 Rogier van der Hee 2014-07-21 15:44:43 UTC
This is my Mono runtime:

Mono 3.6.0 ((no/c46cf0e)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 306000038
Comment 2 Zoltan Varga 2014-07-21 16:29:45 UTC
This will be fixed in the next stable release.

*** This bug has been marked as a duplicate of bug 21443 ***
Comment 3 Dimitar Dobrev 2014-09-24 16:05:57 UTC
I started regularly getting this crash after the September updates to Monodroid. I had never got it before. Here's my output:

Thread started:  #13
09-24 23:02:47.828 F/        ( 1898): * Assertion at /Users/builder/data/lanes/1131/2a7b6821/source/mono/mono/mini/debugger-agent.c:3652, condition `klass' not met
09-24 23:02:47.828 E/mono-rt ( 1898): Stacktrace:
09-24 23:02:47.828 E/mono-rt ( 1898): 
09-24 23:02:47.828 E/mono-rt ( 1898): 
09-24 23:02:47.828 E/mono-rt ( 1898): =================================================================
09-24 23:02:47.828 E/mono-rt ( 1898): Got a SIGSEGV while executing native code. This usually indicates
09-24 23:02:47.828 E/mono-rt ( 1898): a fatal error in the mono runtime or one of the native libraries 
09-24 23:02:47.828 E/mono-rt ( 1898): used by your application.
09-24 23:02:47.828 E/mono-rt ( 1898): =================================================================
09-24 23:02:47.828 E/mono-rt ( 1898): 
09-24 23:02:47.828 F/libc    ( 1898): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1951 (Thread-130)
09-24 23:02:47.836 I/psonar  ( 1898): Paused: LoginActivity
The program 'Mono' has exited with code 0 (0x0).

Please reopen and fix the issue, it wastes a lot of time.