Letractively / springweblobby

Automatically exported from code.google.com/p/springweblobby
0 stars 0 forks source link

crash, when attempting to edit engine 96.0 settings on OS X 10.9.2 #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile & package spring engine 96.0 into .app, and place it in 
engines/96.0/ folder
2. In weblobby go to "Settings"> "Edit Spring Settings"
3. See it crash:/

What is the expected output? What do you see instead?

I should see settings dialog, I see a crash dialog

What version of the product are you using? On what operating system?

latest on OS X 10.9.2, spring engine 96.0

➜  ~  uname -a
Darwin  13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; 
root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
➜  ~  java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

Please provide any additional information below.

Original issue reported on code.google.com by Mieszkoslusarczyk on 25 Mar 2014 at 9:42

Attachments:

GoogleCodeExporter commented 9 years ago
Actual version of java is 1.7 update 51, I'm running it in Firefox.

Original comment by Mieszkoslusarczyk on 25 Mar 2014 at 9:47

GoogleCodeExporter commented 9 years ago
Are you able to launch your compiled spring directly?
Any messages in the javascript console when crashing?

Original comment by danila.b...@gmail.com on 26 Mar 2014 at 10:41

GoogleCodeExporter commented 9 years ago
I am able to run engine directly.
Whole java plugin crashes (trace in file attached to first comment).

Original comment by Mieszkoslusarczyk on 26 Mar 2014 at 12:22

GoogleCodeExporter commented 9 years ago
Here's a silly idea: replace libunitsync.dylib you compiled with the one from 
the 91.0 bundle. If it's an issue with java not liking your unitsync for some 
reason this should fix it.

Original comment by danila.b...@gmail.com on 29 Mar 2014 at 3:03

GoogleCodeExporter commented 9 years ago
➜  engine  pwd
/Users/mieszko/.spring/weblobby/engine
➜  engine  cp 91.0/Spring_91.0.app/Contents/MacOS/libunitsync.dylib 
96.0/Spring_96.0.app/Contents/MacOS/libunitsync.dylib

Still crashes...
I've clean all browser settings, tried again, and it's the same

Original comment by Mieszkoslusarczyk on 29 Mar 2014 at 11:12

GoogleCodeExporter commented 9 years ago
It's hard to tell anything with java on Mac. If the Qt port was ported to mac 
it would give more info. It definitely crashes in unitsync that tries to free a 
null pointer apparently, but why it would crash with 91.0 unitsync when you put 
it in the 96.0 folder is beyond me. The only theory I have at the moment is 
that maybe one of the dependency libs does something wrong somewhere and causes 
a crash down the road. What if you downright copy 91.0 to 96.0 and then only 
replace the spring executable with the 96.0 version? Assuming that it has the 
same dynamic lib dependencies.

BTW, does it only crash when trying to access settings or also when trying to 
play?

Original comment by danila.b...@gmail.com on 31 Mar 2014 at 3:47

GoogleCodeExporter commented 9 years ago
Build of spring I am using: 
https://dl.dropboxusercontent.com/u/121402/spring/spring_96.0_MacOSX-10.6-SnowLe
opard.zip

Original comment by Mieszkoslusarczyk on 3 Apr 2014 at 8:27