Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when debugging #8848

Closed
shreyasharmaxo opened this issue May 23, 2018 · 2 comments
Labels

Comments

@shreyasharmaxo
Copy link

@shreyasharmaxo shreyasharmaxo commented May 23, 2018

Steps to Reproduce

  1. Hit a breakpoint and click "Step Over"

Current Behavior

When debugging with the android designer, the debugger randomly crashes with this output:

[0x700010f7c000] The instruction pointer of the currently executing method(Xamarin.AndroidDesigner.Resources.Ast.ResourceRepository:ParseResourceFile (System.Collections.Generic.ICollection`1<Xamarin.AndroidDesigner.Resources.Ast.IResource>,Xamarin.AndroidDesigner.IO.IAbstractFile,bool)) is not on the recorded stack. This is likely due to a runtime bug. The 1 frames are as follow:
    2018-05-23 13:36:54.526 mono64[2449:697819] error: * Assertion at debugger-agent.c:4716, condition `method_in_stack' not met
    Stacktrace:
    
    at <unknown> <0xffffffff>
        at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-04/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/threadpool.cs:1213
        at (wrapper runtime-invoke) <Module>.runtime_invoke_bool (object,intptr,intptr,intptr) [0x0001f] in <17f5177733084096b17badd9e32426e5>:0
            
            Native stacktrace:
            
            0   mono64                              0x000000010a8dadf8 mono_handle_native_crash + 264
            1   libsystem_platform.dylib            0x00007fff50dd0f5a _sigtramp + 26
            2   ???                                 0x000000011816a558 0x0 + 4699104600
            3   libsystem_c.dylib                   0x00007fff50b6e1ae abort + 127
            4   libxammac.dylib                     0x0000000112826210 _ZL12log_callbackPKcS0_S0_iPv + 64
            5   mono64                              0x000000010ab05e33 monoeg_g_logv + 83
            6   mono64                              0x000000010ab06097 monoeg_assertion_message + 199
            7   mono64                              0x000000010a917c06 ss_update + 646
            8   mono64                              0x000000010a8fed4e process_breakpoint + 894
            9   mono64                              0x000000010a8fe95e mono_debugger_agent_breakpoint_from_context + 158
            10  ???                                 0x000000010acbf07f 0x0 + 4476104831
            11  ???                                 0x0000000146450bf0 0x0 + 5473897456
            12  ???                                 0x000000014644f72b 0x0 + 5473892139
            13  ???                                 0x000000014644ac49 0x0 + 5473872969
            14  ???                                 0x0000000146449e35 0x0 + 5473869365
            15  ???                                 0x0000000146448f6b 0x0 + 5473865579
            16  ???                                 0x00000001125e8fab 0x0 + 4603154347
            17  ???                                 0x00000001125acf03 0x0 + 4602908419
            18  ???                                 0x00000001125c681b 0x0 + 4603013147
            19  ???                                 0x00000001125c062b 0x0 + 4602988075
            20  mono64                              0x000000010a82cf38 mono_jit_runtime_invoke + 1416
            21  mono64                              0x000000010aa1c82

On which platforms did you notice this

[X] macOS
[ ] Linux
[ ] Windows

Version Used:

Mono JIT compiler version 5.14.0.90 (2018-04/4785686a4de Tue May 22 11:18:54 EDT 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           normal
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	Interpreter:   yes
	LLVM:          yes(3.6.0svn-mono-master/8b1520c8aae)
	GC:            sgen (concurrent by default)
@lewurm

This comment has been minimized.

Copy link
Member

@lewurm lewurm commented Jul 3, 2018

duplicate of #8627 ?

vargaz added a commit to vargaz/mono that referenced this issue Aug 8, 2018
monojenkins added a commit to monojenkins/mono that referenced this issue Aug 8, 2018
vargaz added a commit to vargaz/mono that referenced this issue Aug 8, 2018
vargaz added a commit that referenced this issue Aug 10, 2018
Fixes #8848.
Fixes #9262.
Fixes #8627.

Backport of #9983.
luhenry added a commit to luhenry/mono that referenced this issue Aug 27, 2018
luhenry added a commit to luhenry/mono that referenced this issue Aug 27, 2018
luhenry added a commit that referenced this issue Aug 27, 2018
Fixes #8848.
Fixes #9262.
Fixes #8627.
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Aug 28, 2018
luhenry added a commit that referenced this issue Aug 28, 2018
Fixes #8848.
Fixes #9262.
Fixes #8627.
luhenry added a commit that referenced this issue Sep 1, 2018
@lewurm

This comment has been minimized.

Copy link
Member

@lewurm lewurm commented Sep 3, 2018

I'm closing this because it appears to be a duplicate of #8627

@lewurm lewurm closed this Sep 3, 2018
luhenry added a commit that referenced this issue Sep 6, 2018
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Oct 8, 2018
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Oct 9, 2018
Bumps to mono/llvm:release_60@117a508c
Bumps to xamarin/xamarin-android-api-compatibility:master@7ccb4802

	$ git diff --shortstat e1af6ea..ab3c897d       # mono
        1443 files changed, 66049 insertions(+), 45745 deletions(-)
	$ git diff --shortstat bdb3a116..117a508c      # llvm
	 26794 files changed, 4110589 insertions(+), 754376 deletions(-)
	$ git diff --shortstat c550d1bd..7ccb4802      # xamarin-android-api-compatibility
	 2 files changed, 16260 insertions(+), 12347 deletions(-)

Incomplete summary of easily `grep`able fixes:

Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=11199
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=19436
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=23668
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=26983
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=33728
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=46917
fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=60065
Fixes: mono/mono#6173
Fixes: mono/mono#6466
Fixes: mono/mono#6647
Fixes: mono/mono#6834
Fixes: mono/mono#7058
Fixes: mono/mono#7137
Fixes: mono/mono#7260
Fixes: mono/mono#7305
Fixes: mono/mono#7402
Fixes: mono/mono#7525
Fixes: mono/mono#7610
Fixes: mono/mono#7649
Fixes: mono/mono#7655
Fixes: mono/mono#7683
Fixes: mono/mono#7685
Fixes: mono/mono#7716
Fixes: mono/mono#7731
Fixes: mono/mono#7785
Fixes: mono/mono#7828
Fixes: mono/mono#7944
Fixes: mono/mono#7947
Fixes: mono/mono#8036
Fixes: mono/mono#8074
Fixes: mono/mono#8089
Fixes: mono/mono#8112
Fixes: mono/mono#8122
Fixes: mono/mono#8143
Fixes: mono/mono#8149
Fixes: mono/mono#8152
Fixes: mono/mono#8175
Fixes: mono/mono#8177
Fixes: mono/mono#8250
Fixes: mono/mono#8267
Fixes: mono/mono#8273
Fixes: mono/mono#8282
Fixes: mono/mono#8310
Fixes: mono/mono#8311
Fixes: mono/mono#8329
Fixes: mono/mono#8340
Fixes: mono/mono#8372
Fixes: mono/mono#8407
Fixes: mono/mono#8409
Fixes: mono/mono#8422
Fixes: mono/mono#8430
Fixes: mono/mono#8439
fixes: mono/mono#8447
Fixes: mono/mono#8469
Fixes: mono/mono#8504
Fixes: mono/mono#8575
Fixes: mono/mono#8597
Fixes: mono/mono#8623
Fixes: mono/mono#8627
Fixes: mono/mono#8698
Fixes: mono/mono#8701
Fixes: mono/mono#8712
Fixes: mono/mono#8721
Fixes: mono/mono#8726
Fixes: mono/mono#8759
Fixes: mono/mono#8787
Fixes: mono/mono#8820
Fixes: mono/mono#8848
Fixes: mono/mono#8866
Fixes: mono/mono#8897
Fixes: mono/mono#8915
Fixes: mono/mono#8970
Fixes: mono/mono#8979
Fixes: mono/mono#9023
Fixes: mono/mono#9031
Fixes: mono/mono#9033
Fixes: mono/mono#9179
Fixes: mono/mono#9234
Fixes: mono/mono#9262
Fixes: mono/mono#9277
Fixes: mono/mono#9318
Fixes: mono/mono#9542
Fixes: mono/mono#9753
Fixes: mono/mono#9839
Fixes: mono/mono#9869
Fixes: mono/mono#9870
Fixes: mono/mono#9943
Fixes: mono/mono#9996
Fixes: mono/mono#10000
Fixes: mono/mono#10303
Fixes: mono/mono#10447
Fixes: mono/mono#10483
Fixes: mono/mono#10488
Fixes: xamarin/maccore#628
Fixes: xamarin/maccore#673
Fixes: #1561 (comment)
Fixes: #1845
Fixes: xamarin/xamarin-macios#4347
Fixes: xamarin/xamarin-macios#4617
Fixes: xamarin/xamarin-macios#4618
jonpryor added a commit to xamarin/xamarin-android that referenced this issue Dec 6, 2018
Bumps to mono/api-snapshot@b99fc87.
Bumps to mono/bockbuild@5af573e.
Bumps to mono/boringssl@41221b4.
Bumps to mono/corefx@23d0b58.
Bumps to mono/corert@af496fc.
Bumps to mono/linker@7af03ce.
Bumps to mono/NUnitLite@00e259a.
Bumps to mono/reference-assemblies@9325826.
Bumps to mono/roslyn-binaries@249709f.
Bumps to mono/xunit-binaries@bb58347.

	$ git diff --shortstat b63e5378..23f2024a      # mono 
	 1630 files changed, 50926 insertions(+), 92212 deletions(-)

Fixes: mono/mono#6352
Fixes: mono/mono#6947
Fixes: mono/mono#6992
Fixes: mono/mono#7615
Fixes: mono/mono#8340
Fixes: mono/mono#8407
Fixes: mono/mono#8575
Fixes: mono/mono#8627
Fixes: mono/mono#8707
Fixes: mono/mono#8766
Fixes: mono/mono#8848
Fixes: mono/mono#8866
Fixes: mono/mono#8935
Fixes: mono/mono#9010
Fixes: mono/mono#9023
Fixes: mono/mono#9031
Fixes: mono/mono#9033
Fixes: mono/mono#9106
Fixes: mono/mono#9109
Fixes: mono/mono#9155
Fixes: mono/mono#9179
Fixes: mono/mono#9232
Fixes: mono/mono#9234
Fixes: mono/mono#9262
Fixes: mono/mono#9277
Fixes: mono/mono#9292
Fixes: mono/mono#9318
Fixes: mono/mono#9318
Fixes: mono/mono#9332
Fixes: mono/mono#9407
Fixes: mono/mono#9421
Fixes: mono/mono#9505
Fixes: mono/mono#9542
Fixes: mono/mono#9581
Fixes: mono/mono#9623
Fixes: mono/mono#9684
Fixes: mono/mono#9750
Fixes: mono/mono#9753
Fixes: mono/mono#9772
Fixes: mono/mono#9839
Fixes: mono/mono#9869
Fixes: mono/mono#9921
Fixes: mono/mono#9943
Fixes: mono/mono#9947
Fixes: mono/mono#9973
Fixes: mono/mono#9996
Fixes: mono/mono#10000
Fixes: mono/mono#10031
Fixes: mono/mono#10035
Fixes: mono/mono#10227
Fixes: mono/mono#10243
Fixes: mono/mono#10303
Fixes: mono/mono#10448
Fixes: mono/mono#10483
Fixes: mono/mono#10488
Fixes: mono/mono#10863
Fixes: mono/mono#11123
Fixes: mono/mono#11138
Fixes? mono/mono#11146
Fixes: mono/mono#11202
Fixes: mono/mono#11378
Fixes: mono/mono#11479
Fixes: mono/mono#11613
Fixes: #1951
Fixes: xamarin/xamarin-macios#4347
Fixes: xamarin/xamarin-macios#4617
Fixes: xamarin/xamarin-macios#4984
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.