Servoy_server runs, but developer crashes on start

Questions and answers for all installation-related topics for Servoy products

Servoy_server runs, but developer crashes on start

Postby Detox » Sun Mar 04, 2012 6:08 am

Hello All!

After much processing of help files, I finally got servoy6 installed and playing well with postgreSQL.
However, my excitement waned when I started developer and it crashes each time
I have posted the whole error log here: http://pastebin.com/GNZE0VwF

I did configure java using the help of this page:
http://www.if-not-true-then-false.com/2 ... -hat-rhel/

I am on a Centos 6 (i386) OS, 4 gig ram, I had servoy 3.5 installed and running fine with same java config although I was running java v 6.18

I guess I can move back to ver 6 java, if that will fix it.

I am sure it is something really simple, but I just do not know what I am looking at.

Thanks for any suggestions
Detox
 
Posts: 73
Joined: Wed Dec 13, 2006 11:02 pm

Re: Servoy_server runs, but developer crashes on start

Postby Detox » Sun Mar 04, 2012 7:09 pm

Tried to append this into the last post, but it was too long
Here is the output of the error log when developer crashes on start with java jdk 1.6.21:

Below is the complete error log from this attempt. Again, thanks for any input.


Here is the output of the log: : :

it will not paste as it is too long

here is where I put it on PasteBin: http://pastebin.com/0w8G7PJn
Detox
 
Posts: 73
Joined: Wed Dec 13, 2006 11:02 pm

Re: Servoy_server runs, but developer crashes on start

Postby Detox » Mon Mar 05, 2012 6:43 pm

Well, it must be a java thing. I updated xulrunner, thinking that would fix :
Installed: xulrunner-devel.i686 0:10.0.1-2.el6.centos

However, when I start developer after th update, I get this in the beginning of the log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb2a79205, pid=8632, tid=3077617344
#
# JRE version: 6.0_25-b06
# Java VM: Java HotSpot(TM) Client VM (20.0-b11 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libxul.so+0xda7205] NS_StringGetMutableData_P+0x1bd94

Now, I have tried to google an answer, but cannot find anything.

If anyone has a suggestion, I'd really appreciate it
Detox
 
Posts: 73
Joined: Wed Dec 13, 2006 11:02 pm

Re: Servoy_server runs, but developer crashes on start

Postby Detox » Mon Mar 05, 2012 9:55 pm

I saw a post in another forum citing make a change in eclipse.ini to:

-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345
--launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256M

I cannot find an "eclipse.ini" This is /servoy/developer/servoy.ini.

It has the changes recommended in the post


The error continues to be:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb2c79205, pid=11078, tid=3078624960
#
# JRE version: 6.0_25-b06
# Java VM: Java HotSpot(TM) Client VM (20.0-b11 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libxul.so+0xda7205] NS_StringGetMutableData_P+0x1bd94
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
on starting developer.

I am wondering now if, even though I am running Centos x64, I might uninstall the jdk x64 and isntalling the 32 bit version?

I am running out of ideas.


Steve
Detox
 
Posts: 73
Joined: Wed Dec 13, 2006 11:02 pm

Re: Servoy_server runs, but developer crashes on start

Postby Detox » Mon Mar 05, 2012 10:36 pm

Just an update ............ I installed servoy 6 on a good working machine that is running servoy 3.5. I get the same errors.
On each install, I selected installing developer with internal postgresql
Here is computer starts:

[stevek@localhost developer]$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) Client VM (build 17.0-b16, mixed mode, sharing)

[stevek@localhost developer]$ uname -a
Linux localhost.localdomain 2.6.32-220.4.1.el6.i686 #1 SMP Mon Jan 23 22:37:12 GMT 2012 i686 i686 i386 GNU/Linux
[stevek@localhost developer]$


Here is the output from the moment I type ./servoy (to start developer):

[stevek@localhost developer]$ ./servoy
Documentation loaded successfully. 101 classes registered successfully.
Documentation loaded and registered in 315 ms.
Loaded 47 method templates.
Mar 5, 2012 3:35:01 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 5, 2012 3:35:01 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 802 ms
Mar 5, 2012 3:35:01 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 5, 2012 3:35:01 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
Mar 5, 2012 3:35:01 PM org.apache.catalina.loader.WebappLoader start
INFO: Dual registration of jndi stream handler: factory already defined
Mar 5, 2012 3:35:01 PM org.apache.catalina.loader.WebappLoader setClassPath
INFO: Unknown loader org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@df2940 class org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
Mar 5, 2012 3:35:01 PM org.apache.catalina.loader.WebappLoader setClassPath
INFO: Unknown loader org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@df2940 class org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
Mar 5, 2012 3:35:01 PM org.apache.catalina.loader.WebappLoader setClassPath
INFO: Unknown loader org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@df2940 class org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
Mar 5, 2012 3:35:01 PM org.apache.catalina.loader.WebappLoader setClassPath
INFO: Unknown loader org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@df2940 class org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
Mar 5, 2012 3:35:01 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Mar 5, 2012 3:35:01 PM org.apache.catalina.loader.WebappLoader setClassPath
INFO: Unknown loader org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@df2940 class org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
Mar 5, 2012 3:35:02 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 5, 2012 3:35:02 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1566 ms
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb2a6e1c0, pid=31904, tid=3078588096
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) Client VM (17.0-b16 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libxul.so+0xb9c1c0]
#
# An error report file with more information is saved as:
# /srv/servoy6/developer/hs_err_pid31904.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
[stevek@localhost developer]$


so, it is erroring on 64 bit centos as well as 32 bit centos. Both run servoy 3.5 fine.

I am out of ideas.


Steve
Detox
 
Posts: 73
Joined: Wed Dec 13, 2006 11:02 pm

Re: Servoy_server runs, but developer crashes on start

Postby rgansevles » Tue Mar 06, 2012 12:20 pm

Steve

Someone with the same issue with eclipse on centos had a fix discussed here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=325675

If you add
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2/

to the servoy.ini file (maybe a slightly different path), does that help?

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Servoy_server runs, but developer crashes on start

Postby Detox » Tue Mar 06, 2012 3:55 pm

Rob,

Thanks for reading my tale of woe!

Alas!, not it did not work. I saw that several days ago and tried it. But thanks for reading!
Detox
 
Posts: 73
Joined: Wed Dec 13, 2006 11:02 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests