Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2442 closed defect

KYRA1: crash if game files not found

Reported by: SF/clemty Owned by: lordhoto
Priority: normal Component: Engine: Kyra
Version: Keywords:
Cc: Game: Kyrandia 1

Description

my setup: - datafiles on an NTFS partition - scummvm (latest daily build) under linux, but no NTFS driver loaded - scummvm tries to start the game, but instead of saying something like "file/path not found" I get:

Looking for kyra1 Trying to start game 'Legend of Kyrandia' Unknown MD5 (\uffff1v)! Please report the details (language, platform, etc.) of this game to the ScummVM team *** glibc detected *** ./scummvm: free(): invalid pointer: 0x0000003ed00326f8 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3ecfe6a71e] (and so on...)

I filed it under "bug" for now because it's not really a new feature to be added.

(upon mounting the NTFS partition it works just fine)

Ticket imported from: #1399886. Ticket imported from: bugs/2442.

Change History (7)

comment:1 by sev-, 18 years ago

Component: Engine: Kyra
Game: Kyrandia 1
Summary: crash if game files not foundKYRA1: crash if game files not found

comment:2 by SF/clemty, 18 years ago

I somehow assumed that'd be the case for any game; just checked and kyra is indeed the only crash candiate under those circumstances; since kyra isn't official/finished yet I probably shouldn't have posted that bug. sorry!

btw, the error messages vary from game to game: "WARNING: Failed to instantiate engine for target dig!" (DIG) "WARNING: No valid games were found in the specified directory.!" (ITE) "Could not open resource file 'queen.1'!" (queen) "Could not open /mnt/drive_c/ScummVM/BASS/sky.dnr!" (sky)

comment:3 by lordhoto, 18 years ago

Owner: set to lordhoto

comment:4 by lordhoto, 18 years ago

It would be nice get a complete backtrace since a single line from a backtrace is mostly unusebale, also you could have said that you are using an x86 binary under x86_64. So please give me more of the backtrace to fix that.

comment:5 by SF/clemty, 18 years ago

here's the complete output, running on linux/amd64:

Looking for kyra1 Trying to start game 'Legend of Kyrandia' Unknown MD5 ( 5v)! Please report the details (language, platform, etc.) of this game to the ScummVM team *** glibc detected *** scummvm: free(): invalid pointer: 0x0000003ed00326f8 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3ecfe6a71e] /lib64/libc.so.6(__libc_free+0x6e)[0x3ecfe6ac4e] scummvm[0x5d2cc9] scummvm[0x5d3235] scummvm[0x5c4f44] scummvm[0x411088] /lib64/libc.so.6(__libc_start_main+0xef)[0x3ecfe1c3cf] scummvm(__gxx_personality_v0+0x89)[0x404a59] ======= Memory map: ======== 00400000-00810000 r-xp 00000000 fd:00 1916334
/usr/local/bin/scummvm 00910000-00932000 rw-p 00410000 fd:00 1916334
/usr/local/bin/scummvm 00932000-00b98000 rw-p 00932000 00:00 0
[heap] 40000000-40001000 ---p 40000000 00:00 0 40001000-40a01000 rw-p 40001000 00:00 0 40a01000-40a02000 ---p 40a01000 00:00 0 40a02000-41402000 rw-p 40a02000 00:00 0 32a2a00000-32a2ac7000 r-xp 00000000 fd:00 655503
/lib64/libasound.so.2.0.0 32a2ac7000-32a2bc6000 ---p 000c7000 fd:00 655503
/lib64/libasound.so.2.0.0 32a2bc6000-32a2bce000 rw-p 000c6000 fd:00 655503
/lib64/libasound.so.2.0.0 32a2c00000-32a2c09000 r-xp 00000000 fd:00 1909998
/usr/lib64/libesd.so.0.2.36 32a2c09000-32a2d09000 ---p 00009000 fd:00 1909998
/usr/lib64/libesd.so.0.2.36 32a2d09000-32a2d0a000 rw-p 00009000 fd:00 1909998
/usr/lib64/libesd.so.0.2.36 347d900000-347d91f000 r-xp 00000000 fd:00 1910541
/usr/lib64/libmad.so.0.2.1 347d91f000-347da1e000 ---p 0001f000 fd:00 1910541
/usr/lib64/libmad.so.0.2.1 347da1e000-347da1f000 rw-p 0001e000 fd:00 1910541
/usr/lib64/libmad.so.0.2.1 37ec200000-37ec20d000 r-xp 00000000 fd:00 655457
/lib64/libgcc_s-4.0.2-20051126.so.1 37ec20d000-37ec30c000 ---p 0000d000 fd:00 655457
/lib64/libgcc_s-4.0.2-20051126.so.1 37ec30c000-37ec30d000 rw-p 0000c000 fd:00 655457
/lib64/libgcc_s-4.0.2-20051126.so.1 37ec400000-37ec4da000 r-xp 00000000 fd:00 1909268
/usr/lib64/libstdc++.so.6.0.7 37ec4da000-37ec5da000 ---p 000da000 fd:00 1909268
/usr/lib64/libstdc++.so.6.0.7 37ec5da000-37ec5e2000 rw-p 000da000 fd:00 1909268
/usr/lib64/libstdc++.so.6.0.7 37ec5e2000-37ec5f5000 rw-p 37ec5e2000 00:00 0 38f6e00000-38f6e14000 r-xp 00000000 fd:00 819228
/usr/lib64/libz.so.1.2.2.2 38f6e14000-38f6f13000 ---p 00014000 fd:00 819228
/usr/lib64/libz.so.1.2.2.2 38f6f13000-38f6f14000 rw-p 00013000 fd:00 819228
/usr/lib64/libz.so.1.2.2.2 3c89200000-3c89207000 r-xp 00000000 fd:00 1908401
/usr/lib64/libvorbisfile.so.3.1.0 3c89207000-3c89306000 ---p 00007000 fd:00 1908401
/usr/lib64/libvorbisfile.so.3.1.0 3c89306000-3c89307000 rw-p 00006000 fd:00 1908401
/usr/lib64/libvorbisfile.so.3.1.0 3ecfc00000-3ecfc1a000 r-xp 00000000 fd:00 655363
/lib64/ld-2.3.5.so 3ecfd19000-3ecfd1a000 r--p 00019000 fd:00 655363
/lib64/ld-2.3.5.so 3ecfd1a000-3ecfd1b000 rw-p 0001a000 fd:00 655363
/lib64/ld-2.3.5.so 3ecfe00000-3ecff2d000 r-xp 00000000 fd:00 655571
/lib64/libc-2.3.5.so 3ecff2d000-3ed002c000 ---p 0012d000 fd:00 655571
/lib64/libc-2.3.5.so 3ed002c000-3ed0030000 r--p 0012c000 fd:00 655571
/lib64/libc-2.3.5.so 3ed0030000-3ed0032000 rw-p 00130000 fd:00 655571
/lib64/libc-2.3.5.so 3ed0032000-3ed0036000 rw-p 3ed0032000 00:00 0 3ed0100000-3ed0184000 r-xp 00000000 fd:00 655584
/lib64/libm-2.3.5.so 3ed0184000-3ed0284000 ---p 00084000 fd:00 655584
/lib64/libm-2.3.5.so 3ed0284000-3ed0285000 r--p 00084000 fd:00 655584
/lib64/libm-2.3.5.so 3ed0285000-3ed0286000 rw-p 00085000 fd:00 655584
/lib64/libm-2.3.5.so 3ed0300000-3ed0302000 r-xp 00000000 fd:00 655585
/lib64/libdl-2.3.5.so 3ed0302000-3ed0402000 ---p 00002000 fd:00 655585
/lib64/libdl-2.3.5.so 3ed0402000-3ed0403000 r--p 00002000 fd:00 655585
/lib64/libdl-2.3.5.so 3ed0403000-3ed0404000 rw-p 00003000 fd:00 655585
/lib64/libdl-2.3.5.so 3ed0700000-3ed07da000 r-xp 00000000 fd:00 1915485
/usr/X11R6/lib64/libX11.so.6.2 3ed07da000-3ed08d9000 ---p 000da000 fd:00 1915485
/usr/X11R6/lib64/libX11.so.6.2 3ed08d9000-3ed08df000 rw-p 000d9000 fd:00 1915485
/usr/X11R6/lib64/libX11.so.6.2 3ed0900000-3ed0930000 r-xp 00000000 fd:00 1907353
/usr/lib64/libFLAC.so.7.0.0 3ed0930000-3ed0a2f000 ---p 00030000 fd:00 1907353
/usr/lib64/libFLAC.so.7.0.0 3ed0a2f000-3ed0a31000 rw-p 0002f000 fd:00 1907353
/usr/lib64/libFLAC.so.7.0.0 3ed0b00000-3ed0b10000 r-xp 00000000 fd:00 1915487
/usr/X11R6/lib64/libXext.so.6.4 3ed0b10000-3ed0c10000 ---p 00010000 fd:00 1915487
/usr/X11R6/lib64/libXext.so.6.4 3ed0c10000-3ed0c11000 rw-p 00010000 fd:00 1915487
/usr/X11R6/lib64/libXext.so.6.4 3ed0d00000-3ed0d05000 r-xp 00000000 fd:00 1914963 Aborted

comment:6 by lordhoto, 18 years ago

ok fixed now but no message for missing datafiles for now.

comment:7 by lordhoto, 18 years ago

Status: newclosed
Note: See TracTickets for help on using tickets.