Skip to content

Set max stack size in bytebuddy exception handler#256

Merged
realark merged 1 commit into
masterfrom
ark/exceptionhandler_stack_size
Mar 7, 2018
Merged

Set max stack size in bytebuddy exception handler#256
realark merged 1 commit into
masterfrom
ark/exceptionhandler_stack_size

Conversation

@realark
Copy link
Copy Markdown
Contributor

@realark realark commented Mar 7, 2018

Found the root cause of the verifyerror we've been seeing lately.

Our ExceptionHandler was using StackSize.SINGLE, which set its max size to 0. This caused a verifyerror in cases where the original stack was less than 3 (the max stack size of our handler).

@realark realark added the type: bug Bug report and fix label Mar 7, 2018
@realark realark requested a review from tylerbenson March 7, 2018 18:09
@realark realark force-pushed the ark/exceptionhandler_stack_size branch from dab30ad to 5ffd214 Compare March 7, 2018 18:14
@realark realark mentioned this pull request Mar 7, 2018
@tylerbenson
Copy link
Copy Markdown
Contributor

Nice catch!

@realark realark merged commit 91c56de into master Mar 7, 2018
@realark realark deleted the ark/exceptionhandler_stack_size branch March 7, 2018 22:19
@realark realark added this to the 0.5.0 milestone Mar 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Bug report and fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants