#2014 closed defect (fixed)
BS1 Unexpected segmentation fault
Reported by: | SF/jellby | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | normal | Component: | Engine: Sword1 |
Version: | Keywords: | ||
Cc: | Game: | Broken Sword 1 |
Description
I'm getting somewhat random but frequent segmentation faults in Broken Sword 1. I attach a savegame in the Irish bar. Whenever I try to talk to the guy with glasses I get a segfault. Sometimes it's right after he says "What's the problem?", sometimes it's as soon as I press the green arrow (to quit the conversation), sometimes it's when I try to talk to him the second time.
My system: Mandrake 10.1 ScummVM 0.8.0CVS (May 1 2005 10:56:29) Features compiled in: Vorbis FLAC MP3 ALSA zLib MPEG2
PS This doesn't appear to be a sound issue, it happens even with sound, music and video files out of sight.
Ticket imported from: #1193344. Ticket imported from: bugs/2014.
Attachments (1)
Change History (7)
by , 20 years ago
Attachment: | SAVEGAME.005 added |
---|
comment:1 by , 20 years ago
Summary: | Unexpected segmentation fault → BS1 Unexpected segmentation fault |
---|
comment:3 by , 20 years ago
Owner: | set to |
---|
comment:4 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 20 years ago
Aha! I see the problem. It's actually not a Broken Sword 1 bug at all, it's a buffer overflow in the SDL backend's "dirty rectangle" handling. The Broken Sword games are probably the ones most likely to trigger it since they tend to mark a lot of smaller rectangles as dirty, rather than a few larger ones.
Fixed in CVS.
comment:6 by , 20 years ago
Owner: | changed from | to
---|
Irish bar. English version, talk to the guy with glases.