draconisPW / PWMAngband

A free, multi-player roguelike dungeon exploration game based on Angband
35 stars 12 forks source link

gen lvl stairs crush #604

Closed igroglaz closed 8 months ago

igroglaz commented 9 months ago

https://youtu.be/jUBOg5WOATc

igroglaz commented 9 months ago

seems caused by lake generation in T

igroglaz commented 8 months ago

seems it wasn't lake after all. two more crushes (different onces) on localhost. https://youtu.be/0wVSRqOPXXM

igroglaz commented 8 months ago

with plog and breakpoint image image image image image image image

draconisPW commented 8 months ago

I added a simple "stairs:2+1d2:2+1d2" line to the main dungeon and now level generation crashes here and there on some mem_alloc or mem_free as if there was some memory overwrite bug.

draconisPW commented 8 months ago

Yeah as expected, this crashes where the game tries to generate exactly 8 stairs. There is an array overflow because of the developer's moronic coding... (that's me btw...)

draconisPW commented 8 months ago

Fixed in commit 3468d19.