java crashed with SIGABRT in __GI___pthread_mutex_lock() (File save or open Arduino)

Bug #1444099 reported by Alexander Korsvang Hagelskjær on 2015-04-14
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
openjdk-7 (Ubuntu)
Medium
Unassigned

Bug Description

Only happens in openjdk-7-jre and openjdk-8-jre. Makes using the arduino programming environment impossible. I tried both the 1.0.5 from repos, and the 1.6.3 from arduino.cc.

ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: openjdk-7-jre-headless 7u75-2.5.4-3
ProcVersionSignature: Ubuntu 3.19.0-13.13-generic 3.19.3
Uname: Linux 3.19.0-13-generic x86_64
ApportVersion: 2.17-0ubuntu2
Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
Date: Tue Apr 14 09:12:24 2015
ExecutablePath: /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
InstallationDate: Installed on 2015-04-06 (7 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
LocalLibraries: /home/alexander/Downloads/arduino-1.6.3/lib/libastylej.so
ProcCmdline: /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -splash:./lib/splash.png processing.app.Base --curdir /home/username/Downloads/arduino-1.6.3
Signal: 6
SourcePackage: openjdk-7
StacktraceTop:
 __GI___pthread_mutex_lock (mutex=0x6e6f74) at ../nptl/pthread_mutex_lock.c:67
 XrmQGetResource () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 XGetDefault () from /usr/lib/x86_64-linux-gnu/libX11.so.6
 ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
 ?? () from /usr/lib/x86_64-linux-gnu/libcairo.so.2
Title: java crashed with SIGABRT in __GI___pthread_mutex_lock()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm bumblebee cdrom dialout dip lpadmin plugdev sambashare sudo tty uucp

StacktraceTop:
 __GI___pthread_mutex_lock (mutex=0x6e6f74) at ../nptl/pthread_mutex_lock.c:67
 XrmQGetResource (db=0x7f57286d99b0, names=names@entry=0x7f56a569adc0, classes=classes@entry=0x7f56a569add0, pType=pType@entry=0x7f56a569adbc, pValue=pValue@entry=0x7f56a569ade0) at ../../src/Xrm.c:2549
 XGetDefault (dpy=dpy@entry=0x7f5728698110, prog=prog@entry=0x7f56b3dcabe1 "Xft", name=name@entry=0x7f56b3dcc414 "antialias") at ../../src/GetDflt.c:231
 get_boolean_default (value=<synthetic pointer>, option=0x7f56b3dcc414 "antialias", dpy=0x7f5728698110) at ../../../../src/cairo-xlib-screen.c:98
 _cairo_xlib_init_screen_font_options (info=0x7f57287bd5f0, dpy=0x7f5728698110) at ../../../../src/cairo-xlib-screen.c:146

Changed in openjdk-7 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Steve Beattie (sbeattie) on 2015-04-21
information type: Private → Public
Launchpad Janitor (janitor) wrote :

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

Changed in openjdk-7 (Ubuntu):
status: New → Confirmed
frank (dallco) wrote :

From : http://forum.arduino.cc/index.php?topic=318520.0

Found a Workaround so you can stay in production with 15.04!

====

export JAVA_TOOL_OPTIONS=""

LD_LIBRARY_PATH=`pwd`/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

export PATH="${APPDIR}/java/bin:${PATH}"

====

The workaround works for me in Arduino 1.6.3 and 1.0.5, and with OpenJDK 6, 7 and 8, thank you very much.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers