Bug 14765 - jvm crashes when specifying --runtime=dyninst
Summary: jvm crashes when specifying --runtime=dyninst
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: dyninst (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-25 12:46 UTC by Lukas Berk
Modified: 2020-06-18 18:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
the command being run (1.06 KB, text/plain)
2012-10-25 12:46 UTC, Lukas Berk
Details
the error log from the hotspot crash (10.31 KB, text/plain)
2012-10-25 12:47 UTC, Lukas Berk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Berk 2012-10-25 12:46:41 UTC
Created attachment 6698 [details]
the command being run

When trying to use the hotspot.gc_* probe points in icedtea, the jvm will crash and burn after some of the probe points are hit.  I've attached the commands being run and the error log resulting from the crash.  This only occurs when --runtime=dyninst is specified.
Comment 1 Lukas Berk 2012-10-25 12:47:34 UTC
Created attachment 6699 [details]
the error log from the hotspot crash
Comment 2 Stan Cox 2020-06-18 18:54:52 UTC
I could not reproduce the exact problem but this now works okay (with dyninst-10.1):
stap --runtime=dyninst -ve 'probe process("/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-1.fc32.x86_64/jre/lib/amd64/server/libjvm.so").mark("*gc*") {printf("begin: %s\n", pp())} ' -c '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-1.fc32.x86_64/jre/bin/java FibonacciExample'