Arduino crash with unity integration (jayatanaag)

Bug #1453094 reported by Alex Thompson
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
arduino (Ubuntu)
Confirmed
Undecided
Unassigned
jayatana (Ubuntu)
Confirmed
High
Unassigned

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 [libpthread.so.0+0x9c84] 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:
# http://icedtea.classpath.org/bugzilla
#
/usr/bin/arduino: line 36: 4844 Aborted (core dumped) java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base "$@"

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

I will attached the additional log file.

Revision history for this message
Alex Thompson (alexofdoom) wrote :
Revision history for this message
Alex Thompson (alexofdoom) wrote :

Arduino version

$ apt-cache policy arduino
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 http://gb.archive.ubuntu.com/ubuntu/ vivid/universe amd64 Packages
        100 /var/lib/dpkg/status

Jayatana version

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

Running ubuntu 15.04

Revision history for this message
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
Revision history for this message
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.

Revision history for this message
Scott Howard (showard314) wrote :

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

JAVA_TOOL_OPTIONS="" arduino

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.