Opened 18 years ago

Closed 18 years ago

#2684 closed defect (duplicate)

FF "Itemheap overflow" on start

Reported by: SF/lblume Owned by: Kirben
Priority: normal Component: Engine: AGOS
Version: Keywords:
Cc: Game: The Feeble Files

Description

After building today's ScummVM 0.9.0 without problem, I get the following error when trying to start the Feeble Files:

$ scummvm WARNING: Can not find theme config file 'modern.ini'! WARNING: Could not initialize your preferred theme, falling back to classic style! Looking for feeble Trying to start game 'The Feeble Files' Itemheap overflow

ScummVM enters the debugger, displaying the same error, and stays there. Nothing else appears.

Other games do work correctly.

What I did to install the Feeble Files: - copy all files from the 2 CDs, renaming voices.wav to voices1.wav and voices2.wav - on Windows 2000, do the install to get the 300+ files in data1.cab - on Windows 2000, use the RAD tools to extract the .smk to .png and .wav files - on Solaris 10, use the 0.9.0 tools and LAME to reencode them to .dxa

System is Solaris 10 amd64. Since other games work correctly, I guess it's something specific to TFF. I double-checked what was needed to install it, I didn't see anything I missed. Attached is a list of the files in my TFF data dir.

Ticket imported from: #1507514. Ticket imported from: bugs/2684.

Attachments (2)

tff_filelist.txt (12.5 KB ) - added by SF/lblume 18 years ago.
List of TFF installed data files
tff_scummvm-d3.txt (1.9 KB ) - added by SF/lblume 18 years ago.
Output of scummvm -d3

Download all attachments as: .zip

Change History (11)

by SF/lblume, 18 years ago

Attachment: tff_filelist.txt added

List of TFF installed data files

comment:1 by SF/lblume, 18 years ago

Summary: "Itemheap overflow" on startFF "Itemheap overflow" on start

comment:2 by sev-, 18 years ago

Please, attach scummvm -d3 output

by SF/lblume, 18 years ago

Attachment: tff_scummvm-d3.txt added

Output of scummvm -d3

comment:3 by SF/lblume, 18 years ago

Here comes.

comment:4 by sev-, 18 years ago

-rw-r--r-- 1 sev wheel 259576 Oct 8 2005 GAME22 MD5 (GAME22) = 4a6fc1b3c4f06a728da256709db8a65e

does it match?

comment:5 by SF/lblume, 18 years ago

It does: $ ls -l GAME22 -rw-r--r-- 1 francis staff 259576 mars 24 1999 GAME22

$ openssl md5 GAME22 MD5(GAME22)= 4a6fc1b3c4f06a728da256709db8a65e

Now, new info, I hadn't thought about that first: the 32 bit version does start (same source code, same GCC 3.4.3 compiler from Solaris, same version of all libs built 32 bit, except for libao, libogg, libvorbis, but I doubt that would be the problem).

$ /opt/games/scummvm/bin/32/scummvm WARNING: Can not find theme config file 'modern.ini'! WARNING: Could not initialize your preferred theme, falling back to classic style! Looking for feeble Trying to start game 'The Feeble Files'

$ /opt/games/scummvm/bin/64/scummvm WARNING: Can not find theme config file 'modern.ini'! WARNING: Could not initialize your preferred theme, falling back to classic style! Looking for feeble Trying to start game 'The Feeble Files' Itemheap overflow

So it seems the 64bitness is the source of the trouble here. How can I find more useful information about that for you?

comment:6 by sev-, 18 years ago

GDB backtrace could be useful. Can you produce that? In case you will have 'SDL parachute deployed' message, use developer's flag --disable-sdl-parachute to get proper coredump.

comment:7 by SF/lblume, 18 years ago

I don't have gdb currently installed, but there's Solaris mdb, if that can help right now. Here is the backtrace:

$ mdb /opt/games/scummvm/bin/64/scummvm > :r WARNING: Can not find theme config file 'modern.ini'! WARNING: Could not initialize your preferred theme, falling back to classic style! Looking for feeble Trying to start game 'The Feeble Files' Itemheap overflow ^Cmdb: stop on SIGINT mdb: target stopped at: libc.so.1`___nanosleep+0xa: jae +0xe
<libc.so.1`___nanosleep+0x18> > $c libc.so.1`___nanosleep+0xa() librt.so.1`nanosleep+9() libSDL-1.2.so.0.7.2`SDL_Delay+0x69() _ZN3GUI6NewGui7runLoopEv+0x45e() _ZN3GUI6Dialog8runModalEv+0x1f() _ZN6Common8DebuggerIN5Simon8DebuggerEE5enterEv+0x84() _ZN6Common8DebuggerIN5Simon8DebuggerEE7onFrameEv+0x29() _ZN5Simon11SimonEngine11errorStringEPKcPc+0x61() _Z5errorPKcz+0xd4() _ZN5Simon11SimonEngine12allocateItemEj+0x40() _ZN5Simon11SimonEngine18allocateChildBlockEPNS_4ItemEjj+0x1d() _ZN5Simon11SimonEngine16readItemChildrenEPN6Common4FileEPNS_4ItemEj+0xd9() _ZN5Simon11SimonEngine18readItemFromGamePcEPN6Common4FileEPNS_4ItemE+0x25f() _ZN5Simon11SimonEngine14loadGamePcFileEv+0x16f() _ZN5Simon11SimonEngine2goEv+0x11() 0x5b77c0() scummvm_main+0x4e5() main+0x5f() _start+0x6c()

does that help?

comment:8 by Kirben, 18 years ago

Closing, as duplicate of bug #1498158.

comment:9 by Kirben, 18 years ago

Owner: set to Kirben
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.