From: SourceForge.net <no...@so...> - 2007-04-28 21:29:53
|
Bugs item #1697133, was opened at 2007-04-09 18:43 Message generated for change (Comment added) made by nhnb You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=1697133&group_id=1111 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: Fixed Priority: 5 Private: No Submitted By: Ron Alford (ronwalf) Assigned to: Nobody/Anonymous (nobody) Summary: Stendhal: Mac OS X: Stendhal stalls out on launch Initial Comment: Stendhal sometimes fails to launch the gui. The console logs look like this: $ java -jar stendhal-0.58.jar Integrating old updates and looking for new ones our classpath: stendhal-data-diff-0.58-0.58.1.jar,stendhal-diff-0.58-0.58.1.jar,log4j.jar,stendhal-0.58.jar,stendhal-data-0.58.jar,marauroa-1.34.jar, vm classpath: stendhal-0.58.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar Current Version our classpath: stendhal-data-diff-0.58-0.58.1.jar,stendhal-diff-0.58-0.58.1.jar,log4j.jar,stendhal-0.58.jar,stendhal-data-0.58.jar,marauroa-1.34.jar, vm classpath: stendhal-0.58.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar Configuring Log4J using data/conf/log4j.properties Stendhal Soundsystem OK: 132 samples approved / 132 loaded / 65 library sounds 4743 [Thread-1] FATAL games.stendhal.client.SpriteStore - Can't find ref: data/tilesets/zelda_objects_chipset.png 4799 [Thread-1] FATAL games.stendhal.client.SpriteStore - Can't find ref: data/tilesets/zelda_collision_chipset.png betilblarh:~/Desktop/stendhal-FULL-0.58 Folder ronwalf$ java -jar stendhal-0.58.jar Integrating old updates and looking for new ones our classpath: stendhal-data-diff-0.58-0.58.1.jar,stendhal-diff-0.58-0.58.1.jar,log4j.jar,stendhal-0.58.jar,stendhal-data-0.58.jar,marauroa-1.34.jar, vm classpath: stendhal-0.58.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar Current Version our classpath: stendhal-data-diff-0.58-0.58.1.jar,stendhal-diff-0.58-0.58.1.jar,log4j.jar,stendhal-0.58.jar,stendhal-data-0.58.jar,marauroa-1.34.jar, vm classpath: stendhal-0.58.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar Configuring Log4J using data/conf/log4j.properties Stendhal Soundsystem OK: 132 samples approved / 132 loaded / 65 library sounds Nothing happens after this point. This is on OS X 10.4.9 (Intel). Launching from a recent CVS version on Eclipse gives: Configuring Log4J using data/conf/log4j.properties Stendhal Soundsystem OK: 131 samples approved / 131 loaded / 65 library sounds ---------------------------------------------------------------------- >Comment By: Hendrik (nhnb) Date: 2007-04-28 21:29 Message: Logged In: YES user_id=990499 Originator: NO Please don't mix unrelated issues into one bug report. The last comment is caused by trying to connect with CVS client to production server, which does not work because of the map refactoring. ---------------------------------------------------------------------- Comment By: Ron Alford (ronwalf) Date: 2007-04-28 21:25 Message: Logged In: YES user_id=180962 Originator: YES Nope. I get the following stack trace: Configuring Log4J using data/conf/log4j.properties Stendhal Soundsystem OK: 131 samples approved / 131 loaded / 65 library sounds java.io.IOException: Ilegal request of an array of 540553777 size at marauroa.common.net.InputSerializer.readByteArray(InputSerializer.java:88) at marauroa.common.net.InputSerializer.readString(InputSerializer.java:283) at games.stendhal.tools.tiled.LayerDefinition.readObject(LayerDefinition.java:204) at marauroa.common.net.InputSerializer.readObject(InputSerializer.java:52) at games.stendhal.tools.tiled.LayerDefinition.decode(LayerDefinition.java:144) at games.stendhal.client.TileRenderer.setMapData(TileRenderer.java:64) at games.stendhal.client.StaticGameLayers.addLayer(StaticGameLayers.java:127) at games.stendhal.client.StendhalClient.contentHandling(StendhalClient.java:304) at games.stendhal.client.StendhalClient.onTransferREQ(StendhalClient.java:287) at marauroa.client.ariannexp.loop(ariannexp.java:447) at games.stendhal.client.gui.j2DClient.gameLoop(j2DClient.java:566) at games.stendhal.client.gui.j2DClient.<init>(j2DClient.java:456) at games.stendhal.client.stendhal.startGameGUI(stendhal.java:142) at games.stendhal.client.stendhal.main(stendhal.java:157) ---------------------------------------------------------------------- Comment By: Miguel Angel Blanch Lardin (arianne_rpg) Date: 2007-04-28 16:02 Message: Logged In: YES user_id=3949 Originator: NO If you can run CVS, please can you verify it keep working on mac os? ---------------------------------------------------------------------- Comment By: Ron Alford (ronwalf) Date: 2007-04-12 23:39 Message: Logged In: YES user_id=180962 Originator: YES The workaround is in place (and works). The TODO is not done. Does this have a performance impact? ---------------------------------------------------------------------- Comment By: Ron Alford (ronwalf) Date: 2007-04-12 23:39 Message: Logged In: YES user_id=180962 Originator: YES Thanks you for your time on submitting this bug! Please checkout the new CVS, this bug has been fixed. If you are not satisfied with the solution, please reopen the bug. ---------------------------------------------------------------------- Comment By: Miguel Angel Blanch Lardin (arianne_rpg) Date: 2007-04-12 21:00 Message: Logged In: YES user_id=3949 Originator: NO Is it fixed? ---------------------------------------------------------------------- Comment By: Hendrik (nhnb) Date: 2007-04-09 20:01 Message: Logged In: YES user_id=990499 Originator: NO stendhal [Java Application] games.stendhal.client.stendhal at localhost:62953 Thread [main] (Suspended) ClassLoader$NativeLibrary.load(String) line: not available [native method] ClassLoader.loadLibrary0(Class, File) line: 1751 ClassLoader.loadLibrary(Class, String, boolean) line: 1668 Runtime.loadLibrary0(Class, String) line: 822 System.loadLibrary(String) line: 992 LoadLibraryAction.run() line: 50 AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method] NativeLibLoader.loadLibraries() line: 38 DebugHelper.<clinit>() line: 29 Component.<clinit>() line: 545 stendhal.startClient() line: 116 stendhal.main(String[]) line: 151 Thread [Java Sound Event Dispatcher] (Suspended) Object.wait(long) line: not available [native method] EventDispatcher(Object).wait() line: 474 EventDispatcher.dispatchEvents() line: 170 EventDispatcher.run() line: 210 Thread.run() line: 613 Thread [Thread-1] (Suspended) Runtime.loadLibrary0(Class, String) line: 814 System.loadLibrary(String) line: 992 LoadLibraryAction.run() line: 50 AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method] Toolkit.loadLibraries() line: 1509 Toolkit.<clinit>() line: 1530 Rectangle.<clinit>() line: 93 ImageReader.getSourceRegion(ImageReadParam, int, int) line: 2544 PNGImageReader.readImage(ImageReadParam) line: 1315 PNGImageReader.read(int, ImageReadParam) line: 1530 ImageIO.read(ImageInputStream) line: 1400 ImageIO.read(URL) line: 1364 TileStore(SpriteStore).getSprite(String, boolean) line: 152 TileStore(SpriteStore).getSprite(String) line: 130 TileStore$RangeFilename.load() line: 69 TileStore$1.run() line: 140 /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java (Apr 9, 2007 3:10:45 PM) There is a workaround in CVS now which prevents preloading of tileset on Max OS X. The real solution is to delay it until StendhalFirstScreen is shown. 21:24 < hendrik> ronwalf, http://lists.apple.com/archives/java-dev/2006/May/msg00033.html 21:25 < hendrik> ronwalf, there was a way to prevent tileset caching at startup time. 21:28 < hendrik> ronwalf, ok found it: Please open games.stendhal.client.StaticGameLayers 21:29 < hendrik> ronwalf, and comment out this line "tilestore.preload();" in the constructor. 21:30 < ronwalf> hendrik: Seems to work like a charm ---------------------------------------------------------------------- Comment By: Ron Alford (ronwalf) Date: 2007-04-09 18:46 Message: Logged In: YES user_id=180962 Originator: YES Hm, there were launches in the first pasted logs. The first one succeeded, the second did not. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=1697133&group_id=1111 |