Bug 5432 - exceptions.exe fails on x86 when llvm is enabled
Summary: exceptions.exe fails on x86 when llvm is enabled
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: unspecified
Hardware: PC Mac OS
: Normal minor
Target Milestone: ---
Assignee: Zoltan Varga
Depends on:
Reported: 2012-05-31 06:31 UTC by Zoltan Varga
Modified: 2014-11-10 05:07 UTC (History)
4 users (show)

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:

Description Zoltan Varga 2012-05-31 06:31:33 UTC
This is due to this in exceptions-x86.c:

		if (ji->has_arch_eh_info)
			new_ctx->esp += mono_jit_info_get_arch_eh_info (ji)->stack_size;
Comment 1 Zoltan Varga 2012-05-31 11:40:30 UTC
This is actually not a huge bug, it just causes some stack space leakage.
Comment 2 Rodrigo Kumpera 2013-09-08 19:04:26 UTC
We want to fix it anyway, as the stack space leak can cause problems.
Comment 3 Zoltan Varga 2014-11-10 05:07:07 UTC
This was fixed by the pushless x86 changes.