You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all,
I faced the same issue on my Beaglebone black and found a workaround, so I would like to let you know of my findings. Versions of my software:
uname -a
Linux alarm 4.8.5-1-ARCH #1 Sat Oct 29 20:34:37 MDT 2016 armv7l GNU/Linux
java -version
openjdk version "1.8.0_112"
OpenJDK Runtime Environment (build 1.8.0_112-b15)
OpenJDK Zero VM (build 25.112-b15, interpreted mode)
So, at the beggining I was using crosscompiled version of Bulldog from my desktop PC (arm gcc 6.1.1) and I was facing similar errors when attaching interrupt listeners to Input GPIOS. From what I saw, the problems came from Bulldog natives. Afterwards I tried and recompiled Bulldog on the Beaglebone itself (gcc 6.2.1) and the problem went away. Could it be that there is some mismatch in headers?
I hope this could point you out to successfull solution.
Have a nice days.
Jan
When program use Interrupt handler on BeagleBoardBlack native code exception is occured
Java program:
String pinName = args[0];
Board board = Platform.createBoard();
DigitalInput isClose = board.getPin(pinName).as(DigitalInput.class);
machinekit@beaglebone:~$ uname -a
Linux beaglebone 3.8.13-xenomai-r79 #1 Wed Jun 15 20:40:46 UTC 2016 armv7l GNU/Linux
Oracle jdk-8u101-linux-arm32-vfp-hflt
OUTPUT...
0
0
0
*** glibc detected *** /home/machinekit/jdk1.8.0_101//bin/java: free(): invalid next size (fast): 0x001a2d58 ***
The text was updated successfully, but these errors were encountered: