draconisPW / PWMAngband

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

SDL crush while in ASCII mode #590

Closed igroglaz closed 1 year ago

igroglaz commented 1 year ago

Initial report: [20:10]Wraiths: Is there any reason for SDL2 to crash when I'm running it in ASCII? It seems to happen more when I'm playing in a party than solo.

I can let you know any specifics next time it happens. I just finished playing for a couple of hours in ASCII solo, no crashes at all. But whenever I'm playing with friends it'll crash within 1-20 minutes. There's no error message, just straight up closes.

client is up-to-date.

Detailed report later on with crush repro: [10:18]Wraiths: @igroglaz Just started playing with @Xcelar and it crashed for me in ASCII again. It seems to happen whenever certain things come into vision, and it only ever does it when I'm with another person. Not sure how helpful it'll be, but I got @Xcelar to take some screenshots both times that I DC'd with him.

https://cdn.discordapp.com/attachments/535396965433868288/1068444934396452945/image.png

https://cdn.discordapp.com/attachments/535396965433868288/1068444988695908362/image.png

log from server: 270123 111240 Xcelar IV: This seemed a quiet, peaceful place. 270123 111240 Wraithz: Xcelar IV has been added to party Wraithz & Friends. 270123 111240 Xcelar IV: You've been added to party 'Wraithz & Friends'. 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111249 Xcelar IV: You are drowning! 270123 111249 Xcelar IV: There is a wall in the way! 270123 111252 Wraithz: You see a Dagger (1d4) (+0,+0). 270123 111253 Xcelar IV: You are drowning! 270123 111256 Xcelar IV: There is a wall in the way! 270123 111257 Xcelar IV: There is a wall in the way! 270123 111257 Xcelar IV: There is a wall in the way! 270123 111257 Xcelar IV: There is a wall in the way! 270123 111257 Xcelar IV: There is a wall in the way! 270123 111257 Xcelar IV: There is a wall in the way! 270123 111257 Xcelar IV: There is a wall in the way! 270123 111302 Xcelar IV: There is a wall in the way! 270123 111302 Xcelar IV: There is a wall in the way! 270123 111302 Xcelar IV: There is a wall in the way! 270123 111302 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111303 Xcelar IV: There is a wall in the way! 270123 111304 Xcelar IV: You enter a maze of up staircases. 270123 111305 New Level 200ft at (1, 0) Ratings obj:0/mon:45 270123 111305 Xcelar IV: This seems a quiet, peaceful place. 270123 111305 Wraithz: You enter a maze of up staircases. 270123 111305 Wraithz: This seemed a quiet, peaceful place. 270123 111307 Xcelar IV: You bump into Wraithz. 270123 111307 Wraithz: Xcelar IV bumps into you. 270123 111310 Xcelar IV: You cannot recite that prayer. 270123 111312 Xcelar IV: You cannot recite that prayer. 270123 111317 Wraithz: You have found a trap. 270123 111319 Wraithz: You have found a trap. 270123 111321 Xcelar IV: You bump into Wraithz. 270123 111321 Wraithz: Xcelar IV bumps into you. 270123 111322 Wraithz: There is a wall in the way! 270123 111322 Wraithz: You hear a scream of agony! 270123 111322 Xcelar IV: You hear a scream of agony! 270123 111328 Xcelar IV: There is a wall blocking your way. 270123 111329 Wraithz: You have 2 Potions of Neutralize Poison (m). 270123 111329 Xcelar IV: There is a wall blocking your way. 270123 111333 Wraithz: You are drowning! 270123 111334 Xcelar IV: There is a wall in the way! 270123 111334 Wraithz: The sun has risen. 270123 111334 Xcelar IV: The sun has risen. 270123 111335 Wraithz: You are drowning! 270123 111336 Wraithz: You are drowning! 270123 111337 Wraithz: Xcelar IV summons a monster. 270123 111337 Disconnected from server... 270123 111338 Xcelar IV: The master yeek hits the giant white ant for $r8^r damage. 270123 111338 Xcelar IV: The giant white ant is stunned. 270123 111341 Xcelar IV: The giant white ant misses the giant white ant. 270123 111341 Xcelar IV: The master yeek tries to cast a spell, but fails. 270123 111341 Goodbye Wraithz=Wraiths@DESKTOP-RB4SDTU ("Client quit") 270123 111341 Xcelar IV: Wraithz has left the game.

draconisPW commented 1 year ago

Could not reproduce the issue. I would tend to think this was the same as #591 since it involves two players in the same party and the double free could potentially impact anything.