Opened 12 years ago

Closed 8 years ago

#3694 closed defect (fixed)

AGI: Fan(Beyond Titanic 2) - Lockup

Reported by: raziel- Owned by: bluegr
Priority: normal Component: Engine: AGI
Keywords: Cc:
Game: AGI Fanmade

Description

ScummVM 0.12.0svn (Apr 11 2008 18:27:06)
Features compiled in: Vorbis FLAC MP3 zLib MPEG2

After the game starts, walk right three screens to the
box with knife sticking out of it. Get the knife and
the ship should hit an iceberg and gets shaken all up.

Thats where the lockup happens

Fanmade AGI game (Beyond the Titanic 2/DOS/English)

AmigaOS4
gcc version 4.0.2 (AmigaOS build 20051012)

Ticket imported from: #1940871. Ticket imported from: bugs/3694.

Attachments (1)

AGI-BTT2-valgrind.txt (7.4 KB ) - added by digitall 8 years ago.
Valgrind Errors

Download all attachments as: .zip

Change History (9)

comment:1 by bluegr, 12 years ago

Game locks up at AgiEngine::wordWrapString(), looping endlessly at the for loop there

comment:2 by sev-, 11 years ago

Fixed in SVN.

comment:3 by sev-, 11 years ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

comment:4 by bluegr, 8 years ago

Reopening, as bug still occurs (albeit a bit different). The game is writing outside the heap in this scene, leading to invalid memory access and crash in MSVC

comment:5 by bluegr, 8 years ago

Resolution: fixed
Status: closednew

comment:6 by digitall, 8 years ago

Attaching error output from valgrind.. 3 errors in textbox string processing probably causing the crash and a minor leak.

by digitall, 8 years ago

Attachment: AGI-BTT2-valgrind.txt added

Valgrind Errors

comment:7 by bluegr, 8 years ago

Owner: changed from sev- to bluegr
Resolution: fixed
Status: newclosed

comment:8 by bluegr, 8 years ago

Thanks for the valgrind output tdhs :)

Invalid memory writes have been fixed in r420c9f5, so it no longer crashes now

Note: See TracTickets for help on using tickets.