Opened 4 years ago

Last modified 4 months ago

#11516 new defect

GLK: Glulxe - crash when loading Counterfeit Monkey

Reported by: dfabulich Owned by: dreammaster
Priority: normal Component: Engine: GLK: Glulxe
Version: Keywords:
Cc: Game:

Description

Download Counterfeit Monkey from http://mirror.ifarchive.org/if-archive/games/glulx/CounterfeitMonkey.gblorb

Save it in an empty directory, add it as a game. I'm using the daily build osx_x64-master-9d8edfa3 on macOS 10.15.5.

I'm able to successfully add the game to the library, and it's correctly identified as Counterfeit Monkey, but ScummVM will crash when it loads.

(I've been able to successfully load other gblorb games from IF Archive, including, for example, The Wizard Sniffer. http://ifarchive.org/if-archive/games/competition2017/The%20Wizard%20Sniffer/The_Wizard_Sniffer.gblorb )

Change History (4)

comment:1 by dreammaster, 4 years ago

Thanks for the report. I hadn't yet tested my work on the GLULX sub-engine, which is why it wasn't included in the list for the testing announcement. I knew it was missing some saving code, so I just finished implementing it, hoping that that would be all that was needed/remaining for it. However, it looks like there's other issues in the script interpreter that'll still need to be looked into. So I've now properly marked the sub-engine games as unstable, and not for immediate testing.

comment:2 by raziel-, 4 years ago

Summary: ScummGlk crashes when loading Counterfeit MonkeyGLK: Glulxe - crash when loading Counterfeit Monkey

comment:3 by somaen, 5 months ago

Should we close this ticket in that case?

comment:4 by Gemba, 4 months ago

I can confirm that the game launches and is playable.

Setup:
Revision 11 of game from https://github.com/i7/counterfeit-monkey/releases/download/r11.1/CounterfeitMonkey-11.gblorb

Game renamed to *.ulx and it has sibling to it 'Counterfeit Monkey-startup-data' file.

Version info:
ScummVM 2.8.0 (Jan 3 2024 16:30:58)
Using SDL backend with SDL 2.0.10
Features compiled in: Vorbis FLAC MP3 ALSA SEQ sndio TiMidity RGB zLib MPEG2 FluidSynth MikMod Theora VPX AAC A/52 FreeType2 JPEG PNG GIF VirtualKeyboard cloud (servers) ENet SDL2 TinyGL OpenGL (with shaders)
(On RetroPie 4.8 (RaspiOS Buster based))

However, it crashes at manual save game (debug console opens with ERROR: Glulx fatal error: Inconsistent stack frame during save.!) with, but I will open a new ticket for that unless it rings a bell from a maintainer's view.

And a little earlier in the log, when the textfield is selected to enter a save game name: WARNING: initWithU32String: Fribidi not available, will use input strings as fallback.!

Note: See TracTickets for help on using tickets.