Opened 13 years ago

Last modified 12 months ago

#7705 new defect

AGOS: Simon Puzzle Pack crashes on DreamCast

Reported by: SF/threepoint Owned by:
Priority: normal Component: Engine: AGOS
Version: Keywords:
Cc: Game: Simon the Sorcerer Puzzle Pack

Description

I recently acquired a few Simon games, and was wondering if the Puzzle Pack would be added to the DC supported games.

It'll load to the game select screen, but will crash upon trying to start any of them. Wasn't sure if this was due to a bug, or a possible limitation of the DC's hardware, etc...

Tried here first anyways.

Ticket imported from: #2809294. Ticket imported from: feature-requests/521.

Change History (10)

comment:1 by Kirben, 13 years ago

What is the status of this item?

comment:2 by Kirben, 13 years ago

Summary: Simon Puzzle Pack support?DC: Simon Puzzle Pack support?

comment:3 by digitall, 8 years ago

Just tested with the latest dc-serial nightly build as of 2014-04-20. Used NoPatience and this occured as the submitter indicated.

This crash is due to an exception: User picked target 'puzzle' (gameid 'puzzle')... Looking for a plugin supporting this gameid... AGOS Starting 'NoPatience' sbrk [229376B alloc, 3564k tot, 8624k left -> (void )0x8c694000] sbrk [200704B alloc, 3760k tot, 8428k left -> (void )0x8c6c5000] sbrk [7499776B alloc, 11084k tot, 1104k left -> (void )0x8cdec000] EXCEPTION AT (void )0x8c57f898 {pr = (void *)0x8c57ffa0} : 000000e0 r0 = 0x00000001, r1 = 0x00000031, r2 = 0x8c010b80, r3 = 0x00090009 r4 = 0x8c2f6856, r5 = 0x00000000, r6 = 0x00000000, r7 = 0x8c4d6b40 r8 = 0x8c5802dc, r9 = 0x8c4e66a0, r10 = 0x8c5802dc, r11 = 0x8c58031c r12 = 0x8c5379fc, r13 = 0x8c58059c, r14 = 0x8c590ade, r15 = 0x8cfff37c

comment:4 by digitall, 8 years ago

This is probably a alignment problem in the AGOS engine code.

Unfortunately, we don't have a "recipe" for translating the 0x8c57f898 to a source code line in builds using plugins.

I will rebuild a static build with the AGOS engine and test this again to get a line which I can translate with sh-elf-addr2line to a source code line..

comment:5 by digitall, 8 years ago

Damn. Can't replicate this with my local static build. NoPatience works fine and the game starts, though if you click on the top right exit cross on the card game screen, it locks up with a "pure virtual method called" exception when trying to "exit to menu" :/

comment:6 by digitall, 8 years ago

For refernce, the backtrace on that exception shows this: build/gcc-4.7.3/build-sh-elf/sh-elf/libstdc++-v3/libsupc++/../../../../libstdc++-v3/libsupc++/vterminate.cc:95

comment:7 by digitall, 4 years ago

Component: PortsPort: Dreamcast

comment:8 by digitall, 4 years ago

Game: Simon the Sorcerer Puzzle Pack

comment:9 by sev-, 16 months ago

Component: Port: DreamcastEngine: AGOS
Summary: DC: Simon Puzzle Pack support?AGOS: Simon Puzzle Pack crashes on DreamCast
Type: feature requestdefect

comment:10 by dwatteau, 12 months ago

FWIW, this may or may not have been fixed by my 3c3d35dafe44bd705ee05d9e5959cd1165c9d2c5 commit, back in ScummVM 2.2.0 ("AGOS: Fix compatibility with strict-alignment architectures" and related bug #6220).

I do have a Dreamcast and a MIPS board that's picky on alignment, but I don't own that Puzzle Pack.

If someone is able to test this game on Dreamcast again to see if the crash still happens with the latest version, that could be helpful.

Note: See TracTickets for help on using tickets.