When running the mono unit tests on my ARM running Linux I get an error when executing block_guard_restore_aligment_on_exit.exe. When I debug the program using Xamarin Studio remote debugging I found that once Thread.Abort is called the Finally block does not finish, instead just throws the exception.
Steps to Reproduce:
1) Execute block_guard_restore_aligment_on_exit.exe from the mono unit tests in directory $Top_Dir/mono/tests/
Exception is thrown from the finally block
Finish finally block and because of the Thread.ResetAbort not throw an exception.
Build Date & Platform: platform:
ARM running PetaLinux v2013.10 (yocto 1.4)
Mono version 3.2.8
It seems like this problem was found in Bug #16808, and this test does work on my Ubuntu machine. This makes me think it could be ARM specific, so any help would be great. If you need any more information I can provide it.
The relevant functionality is not yet implemented on arm.
Thanks for the quick response. Is there an ETA on when this could be implemented, or is there not enogh demand for the fix?
For the benefit of people googling failing test names:
finally_block_ending_in_dead_bb.cs => finally_block_ending_in_dead_bb.exe
currently fails for (what seems to be) the same reason, as explained
by Rodrigo Kumpera in:
The test block_guard_restore_aligment_on_exit.exe has been running on our CI system for quite some time on ARM platforms without any major issue, so considering this bug fixed. If you can still reproduce with latest Mono, please reopen.