Log in

View Full Version : Error running GRIP on Raspberry Pi


Poseidon5817
17-02-2016, 22:01
We are setting up our team's Raspberry Pi to be able to run GRIP, and we are encountering issues with the step where you are supposed to enter:

$ env LD_LIBRARY_PATH=/home/pi/vision/grip:LD_LIBRARY_PATH java -jar /home/pi/vision/grip/grip.jar /home/pi/vision/grip/project.grip

However, after running that, we get the error below.


#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0xabad5e18, pid=750, tid=3056575584
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) Client VM (25.65-b01 mixed mode linux-arm )
# Problematic frame:
# C [libstdc++.so.6+0x6ce18]
#
# Core dump written. Default location: /home/pi/core or core.750
#
# An error report file with more information is saved as:
# /home/pi/hs_err_pid750.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)


Has anybody encountered this issue yet, and how have you solved it?

Thad House
18-02-2016, 00:27
We are setting up our team's Raspberry Pi to be able to run GRIP, and we are encountering issues with the step where you are supposed to enter:

$ env LD_LIBRARY_PATH=/home/pi/vision/grip:LD_LIBRARY_PATH java -jar /home/pi/vision/grip/grip.jar /home/pi/vision/grip/project.grip

However, after running that, we get the error below.


#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0xabad5e18, pid=750, tid=3056575584
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) Client VM (25.65-b01 mixed mode linux-arm )
# Problematic frame:
# C [libstdc++.so.6+0x6ce18]
#
# Core dump written. Default location: /home/pi/core or core.750
#
# An error report file with more information is saved as:
# /home/pi/hs_err_pid750.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)


Has anybody encountered this issue yet, and how have you solved it?

Are you using a pi 1 or a pi 2. Pi 1 isn't really supported unless you recompile grip yourselves.

Poseidon5817
18-02-2016, 08:22
Are you using a pi 1 or a pi 2. Pi 1 isn't really supported unless you recompile grip yourselves.

We're trying to use Pi 1. Has anybody written anything about how to do it on the Pi 1?

Poseidon5817
23-02-2016, 01:51
Are you using a pi 1 or a pi 2. Pi 1 isn't really supported unless you recompile grip yourselves.

Sorry to double post.

We switched to a Raspberry Pi 2, and are now getting a different error stating that jniopencv_core cannot be found when running and deploying the GRIP project. I have followed the steps on the wiki and also read this issue (https://github.com/WPIRoboticsProjects/GRIP/issues/366), but to no avail. Has anybody encountered and fixed this?