-
Notifications
You must be signed in to change notification settings - Fork 812
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
Unexpected EOF reading response | CPU Profiling #793
Comments
This message typically means the target JVM has been terminated abnormally. |
@apangin - could observe below error in the logs : *** Error in `~/jdk/bin/java': free(): invalid pointer: 0x00007f6a993d2c80 *** |
The error happens in What OS distribution exactly do you use? Try to build async-profiler on your system from sources. |
Below, OS Version, surprisingly in profiler working machines also, the same OS is only available - NAME="CentOS Linux" CENTOS_MANTISBT_PROJECT="CentOS-7" |
I've just checked async-profiler 2.9 with exactly the same JDK version (Azul Zulu 8.68.0.21) on CentOS 7, and everything worked fine. Please provide more details on how to reproduce the issue. |
Does async-profiler work if you build it from sources on the same machine? |
Thanks. Please also add the output of |
Don't have /proc/[pid]/maps file/folder in our setup. Any other way to debug this issue? |
Sorry, I don't understand that. |
We do have /proc folder, There is pid folder and the files. |
So what does the command If the command prints "No such file or directory", it means there is something wrong with |
This is the output of the maps file, after failed attempt. Please check, if the below info is sufficient to analyse this issue. 7f1f5d407000-7f1f5d44f000 r-xp 00000000 fd:01 152946 async-profiler_2_9/build/libasyncProfiler.so |
Thanks, the output looks as expected. |
@n-vicky Do you still experience problems with the provided binary or can I close the issue? |
@apangin Kindly hold please. I will update you asap !! |
Yes, I still face the issue. Below the entire log for your reference. ~/async-profiler_2_9/profiler.sh -e cpu -d 10 -f f1.html 20652 |
Does the error happen only with a specific application or with any trivial program? |
We are running this for a specific application (Tomcat Server). |
I assume some of the loaded libraries is linked with a different version of libstdc++ that conflicts with the system version of libstdc++ on CentOS 7. JDK-8254702 describes a similar issue (also on CentOS 7). Does the error persist if you add |
I'm closing the issue in the lack of additional information. Ultimately, #872 should solve all compatibility issues related to libstdc++. |
@apangin Apologise for not providing an update on this !! Multiple teams' approval to check this fix in pre-prod, eating time. I will apprise you asap !! Thank you for your prompt replies on my queries, appreciate it. |
Hi,
Getting this Unexpected EOF reading response error, while triggering profiling for a linux machine.
Below versions for quick reference,
Async Profiler - async-profiler_2_9
jdk -
openjdk version "1.8.0_362"
OpenJDK Runtime Environment (Zulu 8.68.0.21-CA-linux64) (build 1.8.0_362-b09)
OpenJDK 64-Bit Server VM (Zulu 8.68.0.21-CA-linux64) (build 25.362-b09, mixed mode)
Arguments set -
-XX:+PreserveFramePointer -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints
-XX:MaxJavaStackTraceDepth=1000
P.S - Validated the same in a different machine with the above spec and its working fine.
Kindly help!!
TIA
The text was updated successfully, but these errors were encountered: