LPCXpresso 6.1.4.194 SIGSEV

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso 6.1.4.194 SIGSEV

495 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Wed Feb 19 19:07:52 MST 2014
I'm trying to use this version of lpcxpresso without sucess.
It says there about OpenJDK, but I don't have it installed, I have the Oracle one:
I'm using ArchLinux 64bits (I know it is not supported), but I got it working sometime ago (lpcxpresso version 5).

Any help with this?

PS.: I have already tryied what's in this post:
http://host.lpcware.com/content/forum/fedora19-lpcxpresso-error

$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)



$ ./lpcxpresso_6.1.4_194/lpcxpresso/lpcxpresso
Gtk-Message: Failed to load module "canberra-gtk-module"

(lpcxpresso:7868): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",

(lpcxpresso:7868): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk",

(process:7912): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xc38c623e, pid=7868, tid=4149212928
#
# JRE version: 7.0_25-b30
# Java VM: OpenJDK Client VM (23.7-b01 mixed mode linux-x86 )
# Problematic frame:
# C  [libgobject-2.0.so.0+0x1723e]  g_object_get_qdata+0x1e
#
# 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:
# /home/renan/hs_err_pid7868.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

Original Attachment has been moved to: hs_err_pid7868.txt.zip

0 Kudos
6 Replies

394 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mthalmei on Mon Feb 24 14:43:03 MST 2014
I had the same problem and just solved it by installing the oracle 32-bit java jre.
Then i edited lpcxpresso to use this jre and now it works.

The error for me seems to have something to do with the desktop environment. I am normally using the i3 window manager where this error happens. If I switch to gnome or cinnamon I could start lpcxpresso IDE even without this fix.
0 Kudos

394 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Feb 21 01:40:09 MST 2014
I'm sorry, I hadn't realised that we had switched the JVM for Linux.

Using the instructions I posted above, you can edit the lpcxpresso.ini to switch the JRE to use the Oracle version, and see if that resolves the problem for you.
0 Kudos

394 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Thu Feb 20 18:09:27 MST 2014
That's why I have a OpenJDK on my system then...

$ pwd
/home/renan/lpcxpresso_6.1.4_194/lpcxpresso/jre/bin
[renan@arch64 bin]$ ./java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.12.04.2)
OpenJDK Server VM (build 23.7-b01, mixed mode)
0 Kudos

394 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Feb 20 14:08:37 MST 2014
LPCXpresso supplies it's own JVM on Linux, so you don't need to install any...
0 Kudos

394 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Thu Feb 20 12:04:12 MST 2014
I will try that when I get home later tonight.

About having OpenJDK installed somewhere, it is really strange! I have OpenJDK installed when I first installed lpcxpresso, then I removed and installed the Oracle one.


Thanks
0 Kudos

394 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Feb 20 01:42:33 MST 2014
It looks like you must have OpenJDK installed somewhere...

You can tell lpcxpresso *exactly* where to find its JRE by editing the lpcxpresso.ini file. Immediately before the "-vmargs" line, add the following two lines (they must be on separate lines):
-vm
jre/bin/java


This tells lpcxpresso to load the vm from this relative path - "jre/bin/java". You could also specify a relative path by giving the full path to the Java executable.
0 Kudos