Skip to content
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

SIGSEV on env->FindClass #2

Open
Erhannis opened this issue Nov 13, 2018 · 0 comments
Open

SIGSEV on env->FindClass #2

Erhannis opened this issue Nov 13, 2018 · 0 comments

Comments

@Erhannis
Copy link

I've compiled the heapTagger example, both the c and the java (via make and mvn clean package), but when I run it with
java -agentlib:taggingExample -cp .:HeapTaggingExample-0.0.1-SNAPSHOT.jar net.jonbell.examples.jvmti.tagging.Main
I get a SIGSEV. (Original dump attached. hs_err_pid11542.log) By adding a bunch of logging, I pinpointed the crash in env->FindClass(), in cbVMStart. Any idea why it would be crashing there? I didn't change any code before the crash happened. I'm on commit c00c41d. /proc/version reads

Linux version 4.9.0-5-amd64 ([email protected]) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04)

Java version output:

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant