PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
39 stars 9 forks source link

Crash: Signal 11 on TrashMap #81

Closed kai-li-wop closed 3 years ago

kai-li-wop commented 3 years ago

Added from the old bug tracker and affects WoP 1.6. Please check if this is still relevant, otherwise close.

For no matter what game type, I get a crash on TrashMap. Most of the time it happens on or under the fire escape stairs. The last entry in qconsole.log before Signal 11, is usually "freeing sound sounds/maps/human/snoring". I can't reproduce it on InstaPad or if playing with only a few bots.

qconsole.log

The crash happens due to a NULL pointer dereference in https://github.com/PadWorld-Entertainment/worldofpadman/blob/main/code/client/snd_mix.c#L420 where sc->soundData is accessed. For now, this is all I know. I will do some debugging and check whether the issue is already fixed upstream in ioquake3. Update: I can not reproduce the crash in ioquake3, even with the same settings. I have a fix for WoP, but I can not say whether it is correct, waiting for #ioquake3. ~ brain 2012-04-21 16:38

kai-li-wop commented 3 years ago

I think this is the most relevant bug lingering in WoP 1.6 which keeps people's WoP clients crashing mostly in TrashMap but also in PadGarden. We need to make sure, that this one is fixed with WoP 1.6.1 for sure. I think, that one is connected with OpenAL and should be fixed with the overall engine update now. We simply need to be sure. Needs to be approved by beta tests.

kai-li-wop commented 3 years ago

This bug still appears, when people connect with the old 1.6 binaries to the 1.6.1 beta server with updated qvm's via wop_007.pk3 download. With 1.6.1 client connected, it seems to be fine and does not appear so far. We could not recreate this issue with the new binaries, so I mark it as fixed.