users@glassfish.java.net

Glassfish crash with Trap on Ubuntu Linux

From: Dieter Tremel <tremel_at_tremel-computer.de>
Date: Tue, 23 Apr 2013 12:33:12 +0200

I have a great problem with Glassfish 3.1.2.2-ml on Ubuntu Linux Precise.

When I start a naked, freshly unzipped server with
> root_at_moosach:/opt/glassfish3# bin/asadmin start-domain domain1

The server starts without complains and the JVM crashes immediately with
a kernel trap:

> Apr 23 09:25:40 moosach kernel: [50329.582487] do_trap: 30 callbacks suppressed
> Apr 23 09:25:40 moosach kernel: [50329.582491] java[8788] trap int3 ip:7fdf8ae9dfdb sp:7fdf886d8c70 error:0

Please see server log and shortened crash dump in attachment.

Google offered relatively few results, but I found
https://java.net/jira/browse/GLASSFISH-12213
but only the last comment, added before a few days after one year of
silence gives some more or less useful information.

I am rather confused, since a older glassfish version was running before
and a tomcat installation runs perfectly. When my observation is
correct, the trap started from the moment I tried the upgradetool in
/opt/glassfish3/bin/updatetool that does not work with the error
> Proxy: Using system proxy settings.
> (process:9351): GLib-GIO-ERROR **: Settings schema 'org.gnome.system.proxy' is not installed

I understand that the tool can not run, since this is a server without
gnome gui installation. But from that moment the glassfish crashes, even
the new fresh installation immediately after unzip without change.

Did the updatetool change something in the JDK /JVM configuration?

Any help welcome.

Thank You
Dieter Tremel

> glassfish-3.1.2.2-ml.zip

> Linux version 3.2.0-40-generic (buildd_at_allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #64-Ubuntu SMP Mon Mar 25 21:22:10 UTC 2013

> root_at_moosach:/opt/glassfish3# java -version
> java version "1.7.0_15"
> OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.04.1)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)