jmx-dev RFR: 8347267: [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero

Chris Plummer cjplummer at openjdk.org
Thu Jan 9 21:24:37 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)` .

Marked as reviewed by cjplummer (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/23010#pullrequestreview-2540953217


More information about the jmx-dev mailing list