jvm crash when running with Jacoco agent

299 views
Skip to first unread message

bar...@thehyve.nl

unread,
Jan 30, 2017, 9:29:24 AM1/30/17
to JaCoCo and EclEmma Users
Hi,

Currently I'm working in a project where we would like to asses end to end test coverage. To do this we start the application with the jacocoagent using the following command:

'-javaagent:jacoco/jacocoagent.jar=destfile=build/jacoco/jacoco.rest.exec'

However after a few tests the jvm crashes.

Any help would be appreciated.

versions:
JVM: 1.8.0_121
Groovy: 2.4.7
JaCoCo: 0.7.8

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x000000010bcf99fd, pid=52822, tid=0x0000000000005103
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V [libjvm.dylib+0xf99fd]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/username/Projects/transmart-upgrade/transmart-rest-api/hs_err_pid52822.log
#
# Compiler replay data is saved as:
# /Users/username/Projects/transmart-upgrade/transmart-rest-api/replay_pid52822.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#

the log is here: http://pastebin.com/wSht7wN8

Evgeny Mandrikov

unread,
Jan 30, 2017, 2:34:53 PM1/30/17
to JaCoCo and EclEmma Users, bar...@thehyve.nl
Hi,

This looks like a bug in JVM. If you'll provide reproducer, then we can investigate and report it to Oracle.

Regards,
Evgeny

bar...@thehyve.nl

unread,
Feb 9, 2017, 4:44:43 AM2/9/17
to JaCoCo and EclEmma Users, bar...@thehyve.nl
Hi Evgeny,

Thank for the reply.
When I find a way to reproduce the crash without having to install the entire project, I will report it to oracle.

Btw, other than this hiccup, JaCoCo has worked really well for us.
Thanks for the hard work.

Cheers,
Barteld
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages