Description
Running the sample HelloAndroid test app on CoreCLR using static linking and throw an exception in main will trigger a crash with limited callstack data. Turns out that the ICU function pointers are null and when trying to resolve exception message will lead to a crash in a bad spot (handling another unhandled exception) that will leave us with a truncated callstack.
Reproduction Steps
Build sample HelloAndroid test app using static linking targeting CoreCLR. Include a throw new Exception("Crash") in main method.
Expected behavior
Stack of unhandled managed exception and process termination.
Actual behavior
Crash with limited native callstack information and no managed callstack.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Description
Running the sample HelloAndroid test app on CoreCLR using static linking and throw an exception in main will trigger a crash with limited callstack data. Turns out that the ICU function pointers are null and when trying to resolve exception message will lead to a crash in a bad spot (handling another unhandled exception) that will leave us with a truncated callstack.
Reproduction Steps
Build sample HelloAndroid test app using static linking targeting CoreCLR. Include a throw new Exception("Crash") in main method.
Expected behavior
Stack of unhandled managed exception and process termination.
Actual behavior
Crash with limited native callstack information and no managed callstack.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response