==6972== Memcheck, a memory error detector ==6972== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==6972== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info ==6972== Command: ./scummvm dw-demo ==6972== WARNING: processSettings(): Unhandled command line parameter "dw-demo"! WARNING: You are missing a valid 'translations.dat' file. GUI translation will not be available! ==6972== Invalid read of size 4 ==6972== at 0xA63BA4: SWAP_BYTES_32 (endian.h:149) ==6972== by 0xA63BA4: Tinsel::LoadBasicChunks() (tinsel.cpp:812) ==6972== by 0xA64DE3: Tinsel::TinselEngine::run() (tinsel.cpp:1082) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90681c8 is 0 bytes after a block of size 21,864 alloc'd ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0xA9511F: Tinsel::MemoryAllocFixed(long) (heapmem.cpp:330) ==6972== by 0xA94747: Tinsel::Handle::SetupHandleTable() (handle.cpp:139) ==6972== by 0xA64DDF: Tinsel::TinselEngine::run() (tinsel.cpp:1079) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== ==6972== Invalid write of size 4 ==6972== at 0xA63BAC: Tinsel::LoadBasicChunks() (tinsel.cpp:812) ==6972== by 0xA64DE3: Tinsel::TinselEngine::run() (tinsel.cpp:1082) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90681c8 is 0 bytes after a block of size 21,864 alloc'd ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0xA9511F: Tinsel::MemoryAllocFixed(long) (heapmem.cpp:330) ==6972== by 0xA94747: Tinsel::Handle::SetupHandleTable() (handle.cpp:139) ==6972== by 0xA64DDF: Tinsel::TinselEngine::run() (tinsel.cpp:1079) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== ==6972== Invalid read of size 4 ==6972== at 0xA63B50: SWAP_BYTES_32 (endian.h:149) ==6972== by 0xA63B50: Tinsel::LoadBasicChunks() (tinsel.cpp:809) ==6972== by 0xA64DE3: Tinsel::TinselEngine::run() (tinsel.cpp:1082) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90681cc is 4 bytes after a block of size 21,864 alloc'd ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0xA9511F: Tinsel::MemoryAllocFixed(long) (heapmem.cpp:330) ==6972== by 0xA94747: Tinsel::Handle::SetupHandleTable() (handle.cpp:139) ==6972== by 0xA64DDF: Tinsel::TinselEngine::run() (tinsel.cpp:1079) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== ==6972== Invalid write of size 4 ==6972== at 0xA63B58: Tinsel::LoadBasicChunks() (tinsel.cpp:809) ==6972== by 0xA64DE3: Tinsel::TinselEngine::run() (tinsel.cpp:1082) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90681cc is 4 bytes after a block of size 21,864 alloc'd ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0xA9511F: Tinsel::MemoryAllocFixed(long) (heapmem.cpp:330) ==6972== by 0xA94747: Tinsel::Handle::SetupHandleTable() (handle.cpp:139) ==6972== by 0xA64DDF: Tinsel::TinselEngine::run() (tinsel.cpp:1079) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== ==6972== Invalid read of size 4 ==6972== at 0xA63B70: SWAP_BYTES_32 (endian.h:149) ==6972== by 0xA63B70: Tinsel::LoadBasicChunks() (tinsel.cpp:810) ==6972== by 0xA64DE3: Tinsel::TinselEngine::run() (tinsel.cpp:1082) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90681d0 is 8 bytes after a block of size 21,864 alloc'd ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0xA9511F: Tinsel::MemoryAllocFixed(long) (heapmem.cpp:330) ==6972== by 0xA94747: Tinsel::Handle::SetupHandleTable() (handle.cpp:139) ==6972== by 0xA64DDF: Tinsel::TinselEngine::run() (tinsel.cpp:1079) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== ==6972== Invalid write of size 4 ==6972== at 0xA63B74: Tinsel::LoadBasicChunks() (tinsel.cpp:810) ==6972== by 0xA64DE3: Tinsel::TinselEngine::run() (tinsel.cpp:1082) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90681d0 is 8 bytes after a block of size 21,864 alloc'd ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0xA9511F: Tinsel::MemoryAllocFixed(long) (heapmem.cpp:330) ==6972== by 0xA94747: Tinsel::Handle::SetupHandleTable() (handle.cpp:139) ==6972== by 0xA64DDF: Tinsel::TinselEngine::run() (tinsel.cpp:1079) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== ==6972== Invalid read of size 4 ==6972== at 0xA63B8C: SWAP_BYTES_32 (endian.h:149) ==6972== by 0xA63B8C: Tinsel::LoadBasicChunks() (tinsel.cpp:811) ==6972== by 0xA64DE3: Tinsel::TinselEngine::run() (tinsel.cpp:1082) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90681d4 is 12 bytes after a block of size 21,864 alloc'd ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0xA9511F: Tinsel::MemoryAllocFixed(long) (heapmem.cpp:330) ==6972== by 0xA94747: Tinsel::Handle::SetupHandleTable() (handle.cpp:139) ==6972== by 0xA64DDF: Tinsel::TinselEngine::run() (tinsel.cpp:1079) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== ==6972== Invalid write of size 4 ==6972== at 0xA63B90: Tinsel::LoadBasicChunks() (tinsel.cpp:811) ==6972== by 0xA64DE3: Tinsel::TinselEngine::run() (tinsel.cpp:1082) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90681d4 is 12 bytes after a block of size 21,864 alloc'd ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0xA9511F: Tinsel::MemoryAllocFixed(long) (heapmem.cpp:330) ==6972== by 0xA94747: Tinsel::Handle::SetupHandleTable() (handle.cpp:139) ==6972== by 0xA64DDF: Tinsel::TinselEngine::run() (tinsel.cpp:1079) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== ==6972== Invalid read of size 4 ==6972== at 0xAAB82C: READ_UINT32 (endian.h:259) ==6972== by 0xAAB82C: nextLong (polygons.cpp:225) ==6972== by 0xAAB82C: Tinsel::Poly::nextPoly() (polygons.cpp:295) ==6972== by 0xAB2F2B: operator++ (polygons.cpp:216) ==6972== by 0xAB2F2B: Tinsel::InitPolygons(unsigned int, int, bool) (polygons.cpp:1855) ==6972== by 0xA49BBF: LoadScene (scene.cpp:296) ==6972== by 0xA49BBF: Tinsel::StartNewScene(unsigned int, int) (scene.cpp:427) ==6972== by 0xA615DB: Tinsel::ChangeScene(bool) [clone .part.0] (tinsel.cpp:692) ==6972== by 0xA64033: ChangeScene (tinsel.cpp:1174) ==6972== by 0xA64033: Tinsel::TinselEngine::NextGameCycle() (tinsel.cpp:1158) ==6972== by 0xA64EA7: Tinsel::TinselEngine::run() (tinsel.cpp:1109) ==6972== by 0x33CB4F: scummvm_main (in /git/scummvm/scummvm) ==6972== by 0x2E0B73: main (in /git/scummvm/scummvm) ==6972== Address 0x90d50b0 is 928 bytes inside a block of size 4,096 free'd ==6972== at 0x9B6DC: free (vg_replace_malloc.c:538) ==6972== by 0x549A36F: _IO_setb (genops.c:331) ==6972== by 0x549808F: _IO_file_close_it@@GLIBC_2.1 (fileops.c:154) ==6972== by 0x5484943: fclose@@GLIBC_2.1 (iofclose.c:53) ==6972== by 0xBF9F53: StdioStream::~StdioStream() (in /git/scummvm/scummvm) ==6972== by 0xBF582F: PosixIoStream::~PosixIoStream() (in /git/scummvm/scummvm) ==6972== by 0xF27FFB: Common::File::close() (in /git/scummvm/scummvm) ==6972== by 0xA9435B: Tinsel::Handle::LoadFile(Tinsel::MEMHANDLE*) (handle.cpp:280) ==6972== by 0xA94C37: Tinsel::Handle::LockMem(unsigned int) (handle.cpp:345) ==6972== by 0xA49B0F: LoadScene (scene.cpp:254) ==6972== by 0xA49B0F: Tinsel::StartNewScene(unsigned int, int) (scene.cpp:427) ==6972== by 0xA615DB: Tinsel::ChangeScene(bool) [clone .part.0] (tinsel.cpp:692) ==6972== by 0xA64033: ChangeScene (tinsel.cpp:1174) ==6972== by 0xA64033: Tinsel::TinselEngine::NextGameCycle() (tinsel.cpp:1158) ==6972== Block was alloc'd at ==6972== at 0x99BEC: malloc (vg_replace_malloc.c:307) ==6972== by 0x548478F: _IO_file_doallocate (filedoalloc.c:101) ==6972== by 0x549A42F: _IO_doallocbuf (genops.c:347) ==6972== by 0x549A42F: _IO_doallocbuf (genops.c:342) ==6972== by 0x5497883: _IO_file_xsgetn (fileops.c:1288) ==6972== by 0x549A7E7: _IO_sgetn (genops.c:411) ==6972== by 0x5485F67: fread (iofread.c:38) ==6972== by 0xBF9B0F: StdioStream::read(void*, unsigned int) (in /git/scummvm/scummvm) ==6972== by 0xF26BC7: Common::File::read(void*, unsigned int) (in /git/scummvm/scummvm) ==6972== by 0xA9434B: Tinsel::Handle::LoadFile(Tinsel::MEMHANDLE*) (handle.cpp:276) ==6972== by 0xA94C37: Tinsel::Handle::LockMem(unsigned int) (handle.cpp:345) ==6972== by 0xA49B0F: LoadScene (scene.cpp:254) ==6972== by 0xA49B0F: Tinsel::StartNewScene(unsigned int, int) (scene.cpp:427) ==6972== by 0xA615DB: Tinsel::ChangeScene(bool) [clone .part.0] (tinsel.cpp:692) ==6972==