RFR: 8347267: [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero
Matthias Baesken
mbaesken at openjdk.org
Fri Jan 10 10:04:54 UTC 2025
On Thu, 9 Jan 2025 15:13:01 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> When running ubsan-enabled binaries on macOS aarch64, in test
> javax/management/MBeanServer/OldMBeanServerTest.java
> the following division by zero is shown :
> src/jdk.management/macosx/native/libmanagement_ext/UnixOperatingSystem.c:67:40: runtime error: division by zero
> UndefinedBehaviorSanitizer:DEADLYSIGNAL
> UndefinedBehaviorSanitizer: nested bug in the same thread, aborting.
>
> We should add special handling for the case ` (total_delta == 0)` .
Thanks for the reviews !
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23010#issuecomment-2582257304
More information about the serviceability-dev
mailing list