Gpio with input listener native crash

Jen Dority jen.dority at oracle.com
Tue Jul 8 17:23:16 UTC 2014


Hi Dell,

Sorry to leave you hanging over the long holiday weekend.

There is definitely an issue here. I'm looking into it and have created 
https://bugs.openjdk.java.net/browse/JDK-8049504 to track it.

Thanks,
Jen

On 7/3/2014 3:02 PM, Dell Green wrote:
> Hi Guys,
>
> We are experienced a full JVM native crash when attaching an input listener to a gpio pin. The gpio led sample works fine for writing to gpio pin.
>
> We have tested this on raspbian and arch Linux on raspberry pi, same problem. See crash log below.
>
> Can anyone confirm they have a working sample for setting an input listener on gpio pin in case we are doing something wrong?
>
>
>
>
>
>
>
> # A fatal error has been detected by the Java Runtime Environment:
>
> #
>
> #
>
> SIGSEGV (0xb) at pc=0xb6a2a088, pid=2390
>
> , tid=2896557168
>
> #
>
> # JRE version: Java(TM) SE Embedded Runtime Environment (8.0-b132) (build 1.8.0-b132)
>
> # Java VM: Java HotSpot(TM) Embedded Client VM (25.0-b70 mixed mode linux-arm )
>
> # Problematic frame:
>
> # V
>
>    [libjvm.so+0x280088]
>
>    AsyncGetCallTrace+0xae954
>
> #
>
> # 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:
>
> # /root/NetBeansProjects/PinListener/hs_err_pid2390.log
>
> #
>
> # If you would like to submit a bug report, please visit:
>
> #
>
> http://bugreport.sun.com/bugreport/crash.jsp
>
> #
>
> bash: line 1:  2390 Aborted                 '/opt/local/ejdk/bin/java' -Xdebug -Xrunjdwp:transport=dt_socket,address=localhost:56394 -Dfile.encoding=UTF-8 -Djava.library.path=/usr/local/lib -Djava.security.policy=/home/pi/dio3/gpio.policy -Djdk.dio.registry=/home/pi/dio3/dio.properties-raspberrypi -jar /root/NetBeansProjects//PinListener/dist/PinListener.jar
>
> /Users/tristan/NetBeansProjects/PinListener/nbproject/remote-platform-impl.xml:107: The following error occurred while executing this line:
>
> /Users/tristan/NetBeansProjects/PinListener/nbproject/remote-platform-impl.xml:57: Remote command failed with exit status 134
>
> BUILD FAILED (total time: 2 minutes 4 seconds)
>
> Dell Green
> R&D Software Manager
> t: (+44)203 668 9870
>
>
> ideaworks.co.uk
> 206 Great Portland Street
> London W1W 5QJ
>
> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. Any views or opinions presented are solely those of the author and do not necessarily represent those of Ideaworks Limited. Ideaworks (London) Limited, 206 Great Portland Street, London, W1W 5QJ. Company Registration No. 3943726



More information about the dio-dev mailing list