Crash during Final Fantasy 3 Battles

If you're having problems with Snes9x, or think you've found a bug, this is the place to be.
Post Reply
lolidunno
Snes9x White Belt
Posts: 2
Joined: Wed Jul 25, 2012 11:42 pm

Crash during Final Fantasy 3 Battles

Post by lolidunno »

I'm running snes9x-gtk on 64 bit Linux. It crashes as soon as a battle begins. The rom info is:

Code: Select all

Name: FINAL FANTASY 3
Speed: 31/FastROM
Map: HiROM
Type: 02
Contents: ROM+RAM+BAT
ROM Size: 32Mbits
Calculated Size: 24
SRAM Size: 64Kbits
Header Checksum: 8A60
Checksum Compliment: 759F
Actual Checksum: 8A60
Video: NTSC 60Hz
CRC32: C0FA0464
Revision: 1.1
Terminal output is:

Code: Select all

Sound buffer size: 4096 (1024 samples)
ALSA sound driver initializing...
    --> (Device: default)...OK
    --> (16-bit, Stereo, 32000hz, 32 ms)...OK
Map_HiROMMap
snes9x-gtk: ../apu/SNES_SPC.cpp:497: int SNES_SPC::cpu_read(int, SNES_SPC::rel_time_t): Assertion `reg + (r_t0out + 0xF0 - 0x10000) < 0x100' failed.
[1]    7556 abort (core dumped)  snes9x-gtk
User avatar
MELERIX
Snes9x White Belt
Posts: 46
Joined: Wed Oct 31, 2012 1:18 am

Re: Crash during Final Fantasy 3 Battles

Post by MELERIX »

why are you looking for support here of a non oficial build of snes9x ?

snes9x gtk is a port, and have other website where you should report the bugs: http://code.google.com/p/snes9x-gtk/issues/list
lolidunno
Snes9x White Belt
Posts: 2
Joined: Wed Jul 25, 2012 11:42 pm

Re: Crash during Final Fantasy 3 Battles

Post by lolidunno »

The official build of snes9x run from the command line has the same problem, with similar terminal output.
User avatar
OV2
Official Win32 Porter/Dev
Posts: 679
Joined: Thu Aug 30, 2007 10:15 pm

Re: Crash during Final Fantasy 3 Battles

Post by OV2 »

The gtk port is an official port, so it's fine to report it here.
This issue is not present in the latest git version (at least I was able to enter combat just fine). If you want to build it yourself you can find it here: https://github.com/snes9xgit/snes9x
hotstaff
Snes9x White Belt
Posts: 1
Joined: Sun Oct 22, 2017 7:59 am

Re: Crash during Final Fantasy 3 Battles

Post by hotstaff »

The same issue happen to me in "Chrono trigger" .
When i pick up the item (1000 AD, 1 Power Tab, Guardia Forest Southeast.), snes9x crashs.

Here is the console message. snes9x-1.53

Code: Select all

snes9x-gtk: ../apu/SNES_SPC.cpp:497: int SNES_SPC::cpu_read(int, SNES_SPC::rel_time_t): Assertion `reg + (r_t0out + 0xF0 - 0x10000) < 0x100' failed.
Aborted
In my environment, when assert is commented out, this error could avoid.
../apu/SNES_SPC.cpp

Code: Select all

else // 1%
			{
				//assert( reg + (r_t0out + 0xF0 - 0x10000) < 0x100 );
				result = cpu_read( reg + (r_t0out + 0xF0 - 0x10000), time );
			}
I am not familiar and I do not know the real way. Please tell me.
User avatar
OV2
Official Win32 Porter/Dev
Posts: 679
Joined: Thu Aug 30, 2007 10:15 pm

Re: Crash during Final Fantasy 3 Battles

Post by OV2 »

Use a more recent version with the new sound core.

In a regular compile this should not even trigger, asserts are usually removed from release builds.
Post Reply