Opened 3 months ago

Last modified 5 days ago

#12509 new defect

TINSEL: memory corruption with DW1 V0 floppy demo

Reported by: dwatteau Owned by:
Priority: normal Component: Engine: Tinsel
Version: Keywords:
Cc: Game: Discworld

Description

ScummVM shows a memory corruption issue when launching and quitting the original V0 floppy demo of Discworld 1 (dw-dos-floppy-demo-en.zip).

This is on a ppc32 big-endian Debian system.

To reproduce:

  1. Build tinsel from current HEAD sources (e60e0b8f20f8ff05a355ee8ac0fb7d8c2bc35668 at the moment).
  2. Get dw-dos-floppy-demo-en.zip from the Demos page, and launch it in ScummVM.
  3. Once the game starts, just close the ScummVM window, in the title screen or in the first scene.

glibc shows a corrupted size vs. prev_size error in the terminal.

Attached are gdb and Valgrind logs.

Attachments (2)

tinsel_gdb_memory_corurption_v0_ppc.txt (3.7 KB ) - added by dwatteau 3 months ago.
valgrind_scummvm_tinsel_v0_ppc.txt (9.6 KB ) - added by dwatteau 3 months ago.

Download all attachments as: .zip

Change History (3)

by dwatteau, 3 months ago

comment:1 by eriktorbjorn, 5 days ago

Unfortunately I can't seem to reproduce this on my 64-bit little-endian Debian system. At least not with the current development version.

Note: See TracTickets for help on using tickets.