Arduino crash with unity integration (jayatanaag)

Bug #1453094 reported by Alex Thompson on 2015-05-08
This bug affects 7 people
Affects Status Importance Assigned to Milestone
arduino (Ubuntu)
jayatana (Ubuntu)

Bug Description

The adruino IDE (java application) crashes when opening the file picker (File -> Open).

Expected behaviour:
1. Select File->Open
2. Select file to open with file picker.

Actual behaviour:
1. Select File->Open
2. Application crashes.

Commandline output is:

Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007efdb8060c84, pid=4844, tid=139626660841216
# JRE version: OpenJDK Runtime Environment (7.0_79-b14) (build 1.7.0_79-b14)
# Java VM: OpenJDK 64-Bit Server VM (24.79-b02 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.5.5
# Distribution: Ubuntu Vivid Vervet (development branch), package 7u79-2.5.5-0ubuntu1
# Problematic frame:
# C [] pthread_mutex_lock+0x4
# 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:
# /tmp/hs_err_pid4844.log
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
/usr/bin/arduino: line 36: 4844 Aborted (core dumped) java "$@"

When setting $JAVA_TOOL_OPTIONS to "" (ie export JAVA_TOOL_OPTIONS=""), the application works as expected.

I will attached the additional log file.

Alex Thompson (alexofdoom) wrote :
Alex Thompson (alexofdoom) wrote :

Arduino version

$ apt-cache policy arduino
  Installed: 2:1.0.5+dfsg2-4
  Candidate: 2:1.0.5+dfsg2-4
  Version table:
 *** 2:1.0.5+dfsg2-4 0
        500 vivid/universe amd64 Packages
        100 /var/lib/dpkg/status

Jayatana version

$ apt-cache policy jayatana
  Installed: 2.7-0ubuntu3
  Candidate: 2.7-0ubuntu3
  Version table:
 *** 2.7-0ubuntu3 0
        500 vivid/main amd64 Packages
        100 /var/lib/dpkg/status

Running ubuntu 15.04

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in arduino (Ubuntu):
status: New → Confirmed
Changed in jayatana (Ubuntu):
status: New → Confirmed
NBurgin (nburgin-l) wrote :

I seem to have the same issue. However I have a different Java version.

$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

Let me know if any log files etc. can be useful.

Scott Howard (showard314) wrote :

Confirmed that the workaround of starting arduino from the comand line with the follow command works:


looks like a bug in jayatanaag

Changed in jayatana (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers