New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.Error on BTraceRuntime.recordExit #288
Comments
Is this an actual |
@jbachorik Thanks for the fast reply. Yes the whole JVM crashes. And yeah I thought the try catch would eat the exception but it didn't.. I did use my fork when testing though, but all I changed was commenting out your getCommonSuperclass method that I made the other issue about |
This might explain a bit the failure. When you disable |
Could you try the testcase with the latest dev version? I have implemented custom stackmap frame generation and the problems related to |
Sure, will do
…On Sun, Oct 29, 2017, 3:03 PM Jaroslav Bachorik ***@***.***> wrote:
Could you try the testcase with the latest dev version? I have implemented
custom stackmap frame generation and the problems related to
getCommonSuperclass should be gone by now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#288 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGgQ8yEVY54lVd8Wob_grNuqiovlVp58ks5sxMwLgaJpZM4P0vKt>
.
|
@jbachorik Sorry took me a while. Was that supposed to fix #283 ? If so, I am still getting the error using the test environment that is linked on that issue. |
I'm sorry for the slow turnaround. Is that problem still reproducible? It should generate a hs_err file in the workdir - if you can find it there somewhere, can you attach it here? |
Ping? |
Any news here? |
There was a bunch of fixes on the stackmap frame front since February. Can you retest with the latest dev? |
@jbachorik Ok, l will try to get around to it soon. Thanks! |
Any results yet? |
@hsyyid Ping? |
@jbachorik Sorry for taking so long. I've got time this week to test this out. Side note: would profiling using btrace substantially impact performance of the running application? Specifically if profiling for an extended period of time |
Any success? |
Closing due to inactivity. |
After testing extensively, I was able to produce the following exception. I am not sure how this error is happening, and furthermore it appears that the
try catch
block that should catch an exception like this was never called.This error is especially odd because
BTraceRuntime#recordExit
shouldn't cause any issues as far as I can see.. https://github.com/hsyyid/btrace/blob/79e00d142437f4e435600851c60d5ef63dafd904/src/share/classes/com/sun/btrace/BTraceRuntime.java#L1947The code that it appears to be injected into is https://github.com/SpongePowered/SpongeCommon/blob/eb4dbb5e5c85306c7bd50421a7419f03b8bec15f/src/main/java/org/spongepowered/common/util/gen/AbstractBlockBuffer.java#L55
Unsure if that has any effect.
Any insight on why this is happening and how to prevent it would be very useful.
(Also, no I am not able to reproduce this consistently, although I can try to see if I can)
Thanks!
Stacktrace:
The text was updated successfully, but these errors were encountered: