-
Notifications
You must be signed in to change notification settings - Fork 564
Blazor hang with marshal methods #7927
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
Closed
Closed
Changes from 4 commits
Commits
Show all changes
108 commits
Select commit
Hold shift + click to select a range
31fa878
Some debug messages
grendello 40646c5
Merge branch 'main' into blazor-hang
grendello a89f45b
Marshal methods tracing
grendello fd06651
Native backtrace implementation
grendello 2193db1
Merge branch 'main' into blazor-hang
grendello 0564634
[WIP] Stack unwinding (doesn't build yet)
grendello 3732378
Build and use our own libunwind
grendello 8b05e39
Merge branch 'main' into blazor-hang
grendello 97c5127
Make lld really ignore missing symbols + other stuff
grendello d37a22a
Eliminate the need to use NDK when enabling marshal methods tracing
grendello 1ca486a
Merge branch 'main' into blazor-hang
grendello fb7f7e6
Java stack trace implemented
grendello 2f58b13
Merge branch 'main' into blazor-hang
grendello e3d2649
Add signal handlers to the report
grendello 581194e
Merge branch 'main' into blazor-hang
grendello 0ba212e
Day spent debugging
grendello a512324
Merge branch 'main' into blazor-hang
grendello 8c1b27f
Merge branch 'main' into blazor-hang
grendello b8cb13d
Tracing code is going to live in a separate DSO
grendello 0cf46bd
Merge branch 'main' into blazor-hang
grendello 61f2114
Merge branch 'main' into blazor-hang
grendello d0ef3e7
Put tracing code in a separate library
grendello 469e752
Merge branch 'main' into blazor-hang
grendello 1076ed5
Don't package the tracing DSO unless told so
grendello d9d869c
Merge branch 'main' into blazor-hang
grendello c291dc4
Spent the day tracking registered and executed methods
grendello 35be489
A small TODO
grendello 4b595a8
Merge branch 'main' into blazor-hang
grendello 4288baf
Make sure invariant culture is used
grendello b68b512
Merge branch 'main' into blazor-hang
grendello 7eb75e3
Merge branch 'main' into blazor-hang
grendello caae9e9
Add some Java tracing + Java.Interop tracing
grendello 6a48e52
Merge branch 'main' into blazor-hang
grendello 72abfa3
More tracing, perhaps getting closer
grendello 4b45d5f
Merge branch 'main' into blazor-hang
grendello 48f4b6a
Base code for parameter and return value logging
grendello 212f6ef
Different approach to printing params
grendello bc5b0f8
Progress towards supporting variadic functions
grendello 7600af1
Well, it generates correct code now
grendello 788bd63
Merge branch 'main' into blazor-hang
grendello 19e79a2
Generated code not complete, won't compile
grendello cae9bb0
Merge branch 'main' into blazor-hang
grendello cae0bd8
Way too much time spent on this...
grendello 9fd0b07
Merge branch 'main' into blazor-hang
grendello fd3eefd
Found and fixed an issue with marshal methods
grendello fde3078
asprintf call & co is complete
grendello 46fe18b
Merge branch 'main' into blazor-hang
grendello 79cf274
Merge branch 'main' into blazor-hang
grendello d942663
Function parameter and return value tracing works
grendello 37c401a
Merge branch 'main' into blazor-hang
grendello a74882f
Preparations for better argument logging
grendello 3673a3a
Merge branch 'main' into blazor-hang
grendello 37b16d3
Third iteration... done for today
grendello 9af8f8e
Merge branch 'main' into blazor-hang
grendello 8f86bc7
Cul-de-sac, dead end, wrong way, doh
grendello f6df472
Merge branch 'main' into blazor-hang
grendello 135744c
New approach to LLVM IR generation
grendello 58965d1
Merge branch 'main' into blazor-hang
grendello ef27fe5
More steps towards new LLVM IR generator
grendello c9cb983
Merge branch 'main' into blazor-hang
grendello 12b8a61
Moving forward with the new LLVM IR generator
grendello 49b7d63
Rearchitecting things for simpler use
grendello c67fbb9
Merge branch 'main' into blazor-hang
grendello 3d5e073
New generator is alive
grendello 603afbb
Merge branch 'main' into blazor-hang
grendello ec099cf
Data generation progressing nicely.
grendello db5be23
Structures written fine, onto structure arrays tomorrow
grendello 42437cd
Structure arrays done
grendello 0f39485
Phew, array and structure handling simplified and unified
grendello c937202
Merge branch 'main' into blazor-hang
grendello f81fa85
ApplicationConfigNativeAssemblyGenerator switched to the new LLVM IR …
grendello 0da112c
Merge branch 'main' into blazor-hang
grendello 09fbf9c
Moving on with new LLVM IR generator
grendello fd93c1f
Merge branch 'main' into blazor-hang
grendello c32dc33
Release TypeMap composer converted to the new generator
grendello 55aec7d
Merge branch 'main' into blazor-hang
grendello f35855b
Debug typemap generator converted
grendello 2990041
Compressed assemblies composer converted
grendello cd4584b
Merge branch 'main' into blazor-hang
grendello d126d26
JNI remapping composer converted
grendello 0de8a6f
Merge branch 'main' into blazor-hang
grendello 7a23158
Data portion of the marshal methods generator done
grendello 0fea526
Merge branch 'main' into blazor-hang
grendello 3d27e22
Beginnings of code generation
grendello fb63716
Merge branch 'main' into blazor-hang
grendello 5e98bc3
Code generation works
grendello 11bf0a7
Merge branch 'main' into blazor-hang
grendello 1ddf89f
Halfway through code generation
grendello 80c510a
Merge branch 'main' into blazor-hang
grendello 5c17d76
`call` sorted out, tomorrow onto `phi`
grendello 76e4d0c
Merge branch 'main' into blazor-hang
grendello 33c9ac3
Conversion to the new LLVM IR complete for everything except tracing
grendello 69bd75e
Merge branch 'main' into blazor-hang
grendello 4d8d4dc
Cleanup
grendello 6799989
A bit more cleanup
grendello 60b0a13
Merge branch 'main' into blazor-hang
grendello 580aae9
Update libunwind to 1.7.0
grendello 944b73b
Tracing progress
grendello 2c74196
Merge branch 'main' into blazor-hang
grendello 95d423d
asprintf progress, new style
grendello 1ef3255
Add some more tracing capabilities
grendello e148e1b
Merge branch 'main' into blazor-hang
grendello 5316425
More tracing improvements
grendello c11f03b
Merge branch 'main' into blazor-hang
grendello b864253
asprintf simpler, general `call` improvements, assorted fixes
grendello c1cad61
Merge branch 'main' into blazor-hang
grendello b5fc35f
Merge branch 'main' into blazor-hang
grendello 76cd39a
Fixups after merge
grendello File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does
EnableMarshalMethodTracingrequire the NDK, and not just the clang build tools we already redistribute?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, it's to find
libunwind.a!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not only
libunwind.a, also a few others from the compiler "private" collection (libc++abi.a,libclang_rt.builtins-<ARCH>-android.a)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tracing no longer requires NDK to be present on the end user's machine