Android ART: “Failed to find Dex offset for PC off

2019-05-01 17:31发布

问题:

I have recently stumbled upon this very strange bug that causes a crash while developing an app. Here is a logcat screenshot:

And here is the code of the function in which supposedly it crashes:

private static long Round(double d)
{
    return Math.round(d * 1000.0);
}

What can be done here? Should I report this problem?

EDIT: It might be relevant to an infinite recursion problem I had, because the problem seems to be gone now...