[mapguide-trac] #1239: On Centos 5.4 x86, Mapguide 2.0.2 Java API crashes Java VM. In debug mode of web throws an exception

MapGuide Open Source trac_mapguide at osgeo.org
Sun Jan 10 09:22:39 EST 2010


#1239: On Centos 5.4 x86, Mapguide 2.0.2 Java API crashes Java VM. In debug mode
of web throws an exception
-------------------------+--------------------------------------------------
   Reporter:  rksingh05  |       Owner:       
       Type:  defect     |      Status:  new  
   Priority:  high       |   Milestone:       
  Component:  General    |     Version:  2.0.2
   Severity:  blocker    |    Keywords:       
External_id:             |  
-------------------------+--------------------------------------------------
 We built Mapguide 2.0.2 (tar downloaded from web site) on Centos Linux
 5.5.4 (with some effort - build scripts are available if desired). Non
 java-web portions works fine (except for a font issue) on sheboygan.
 However the java web portion casues the Java VM to crash at site.open().
 Subsequently we create a small Java application to reproduce and get rid
 of possible tomcat related issues. The application crashed alongwith a
 stack trace. We then did debug build of just the web component and the VM
 does not crash but shows certain exceptions happening in MapGuide/JNI
 side.

 Connecting to the same server from a windows TomCat works fine (except for
 the aforementioned font issue)

 The calls never reach the MgServer. Note that the attached webconfig.ini
 has 192.168.1.95 as the address for the site server.

 Following files are being attached:

 TestMg.java - a simple application that does site.open (Please set the
 path of webconfi.ini to your requirement). Crash/Exception happens at
 site.open

 webconfig.ini - the ini file being used

 vmcrashreport.err.txt - the error file generated when VM crashed in non-
 debug build mode

 console.op.txt - the output of console showing the issue. the same is also
 being copy-pasted here

 Script started on Sun 10 Jan 2010 07:44:06 PM IST

 javac -classpath .:/usr/local/mapguideopensource/webse
 erverextensions/www/WEB-INF/lib/MapGuideApi.jar  TestgM.java

 java -classpath .:/usr/local/mapguideopensource/webser
 rverextensions/www/WEB-INF/lib/MapGuideApi.jar
 -Djava.library.path=/usr/local/map
 pguideopensource/webserverextensions/lib TestMg

 configPath:/usr/local/mapguideopensource/webserverextensions/www/webconfig.ini
 InitDone
 userInfo Doneorg.osgeo.mapguide.MgUserInformation at de6ced
 Site doneorg.osgeo.mapguide.MgSite at 1fb8ee3
 (3076852624) MgSiteManager::Initialize()
 Exception
 - MgSite.Open line 105 file Services/Site.cpp
 - MgSite.Authenticate line 1336 file Services/Site.cpp
 - MgServerConnection.Open line 106 file Services/ServerConnection.cpp

 (3085924032) MgSiteManager::~MgSiteManager()
 ]0;root at localhost:~/test_jni[root at localhost test_jni]# exit
 exit

 Script done on Sun 10 Jan 2010 07:44:50 PM IST

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1239>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list