Opened 21 years ago

Closed 20 years ago

Last modified 19 years ago

#1155 closed defect (fixed)

Walk glitch

Reported by: eriktorbjorn Owned by: lavosspawn
Priority: normal Component: Engine: Sky
Version: Keywords:
Cc: Game: Beneath a Steel Sky

Description

This is going to be an annoyingly vague bug report, I'm afraid.

While replaying BASS (v0.0372) with the latest CVS snapshot of ScummVM, there were two occasions where I noticed actors were walking where they shouldn't be able to walk.

* When leaving the room outside of Lamb's and Reich's apartments, onto the walkway, foster walked through the wall slightly to the right of the door.

* Outside the entrance to St. James it was suddenly possible to walk across the water on the right side of the screen.

In both case, saving the game and restarting ScummVM fixed the problem, so whatever the error was it wasn't stored in the savegame. Of course, that also means I have no known way of actually reproducing the bug.

Could there be some memory corruption going on?

Ticket imported from: #788858. Ticket imported from: bugs/1155.

Change History (10)

comment:1 by lavosspawn, 21 years ago

Hmmm... class SkyGrid is reponsible for taking track of the walk data. If you restore a savegame, the grid data is reloaded from HDD... The memory for the grid is malloc()ed, so if this is about memory corruption, it should be noticable using valgrind/electric fence... How often did it happen to you? can you try it using valgrind?

comment:2 by eriktorbjorn, 21 years ago

While playing through the entire game (not in one sitting, mind you) it only happened in those two cases, and I haven't been able to reproduce them.

Playing through the entire game under valgrind on the off-chance that it'd happen again would be painful...

comment:3 by SF/kaod_, 21 years ago

I had the same problem but I am unable to reproduce it...

comment:4 by fingolfin, 20 years ago

Status: newpending

comment:5 by fingolfin, 20 years ago

What is the status of this item?

comment:6 by eriktorbjorn, 20 years ago

Status: pendingnew

comment:7 by eriktorbjorn, 20 years ago

Dunno. I haven't played BASS lately, but I don't think much has changed in the engine so I assume it's unchanged. Since I never managed to figure out how to reproduce it, and the bug isn't preserved in savegames, it's hard to say though.

It could be some kind of memory corruption, I guess, but my computer isn't really fast enough to do any extensive Valgrind testing on.

comment:8 by lavosspawn, 20 years ago

Resolution: fixed
Status: newclosed

comment:9 by fingolfin, 20 years ago

Owner: set to lavosspawn

comment:10 by fingolfin, 19 years ago

Component: Engine: Sky
Game: Beneath a Steel Sky
Note: See TracTickets for help on using tickets.