EmuNewz Network
r2625 introduced a StackOverflow crash in Densha de Go - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=56)
+---- Thread: r2625 introduced a StackOverflow crash in Densha de Go (/showthread.php?tid=87995)



r2625 introduced a StackOverflow crash in Densha de Go - Kororon - 10-16-2012

Since r2625 "Densha de Go! Pocket Tōkaidō-sen-hen" (ULJM05152) crashes with a StackOverflowError.
Up to r2624 the game is playable, from r2625 onwards the game crashes right before the intro video starts. I've tested some revisions older than r2624 back to r2570 (all are working) and newer than r2625 including the latest r2784 (all are crashing).

I've attached logs for r2624, r2625 and r2784

my computer specs:
Intel Core i7 2600K @ 3.40GHz
nVidia GTX560Ti with 306.97 drivers
8GB RAM
Win7 64bit
Java7u7

and a small sample from the crash log:

java.lang.StackOverflowError
at _S1_2_88AD238.s(_S1_2_88AD238.java:284)
at _S1_2_882F6E8.s(_S1_2_882F6E8.java:240)
at _S1_2_882F6E8.exec(_S1_2_882F6E8.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:143)
at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:172)
at _S1_2_88AD844.s(_S1_2_88AD844.java:104)
at _S1_2_88AD844.exec(_S1_2_88AD844.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:143)
at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:172)
at _S1_2_881AEE8.s(_S1_2_881AEE8.java:96)
at _S1_2_881AEE8.exec(_S1_2_881AEE8.java)
at jpcsp.Allegrex.compiler.RuntimeContext.jumpCall(RuntimeContext.java:143)
at jpcsp.Allegrex.compiler.RuntimeContext.jump(RuntimeContext.java:172)


RE: r2625 introduced a StackOverflow crash in Densha de Go - gid15 - 10-16-2012

(10-16-2012, 06:48 AM)Kororon Wrote: Since r2625 "Densha de Go! Pocket Tōkaidō-sen-hen" (ULJM05152) crashes with a StackOverflowError.
Up to r2624 the game is playable, from r2625 onwards the game crashes right before the intro video starts. I've tested some revisions older than r2624 back to r2570 (all are working) and newer than r2625 including the latest r2784 (all are crashing).
Does it help to increase the value in the Java option "-Xss2m"? E.g., try with "-Xss4m" or more.


RE: r2625 introduced a StackOverflow crash in Densha de Go - Kororon - 10-16-2012

(10-16-2012, 10:53 AM)gid15 Wrote: Does it help to increase the value in the Java option "-Xss2m"? E.g., try with "-Xss4m" or more.

Yes, increasing the Java stack size to 4m fixed the problem! Big Grin
Maybe 2mb is a bit too conservative as a default for JPCSP? Although I haven't found any other games which crashed with a StackOverflowError yet...