DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.88k stars 251 forks source link

[Runtime Issue]: Switching between multiplayer menu options causes game crash #597

Open 0xFADDAD opened 2 months ago

0xFADDAD commented 2 months ago

Build Version

https://github.com/DescentDevelopers/Descent3/commit/b33cc21dce4f020b2c57ce2783d30adc1654e008

Operating System Environment

CPU Environment

Game Modes Affected

Game Environment

Multiplayer menu

Description

Entering and exiting out of 'Descent3 Online' game list and back into any multiplayer option crashes the game with an error:

2024-09-19 16:51:18.666 INFO [6272] [MainMultiplayerMenu@380] Entering MainMultiplayerMenu() 2024-09-19 16:51:18.673 WARN [6272] [newuiListBox::SetCurrentItem@3050] newuiListBox::SelectItem item not found! 2024-09-19 16:51:18.681 INFO [6272] [OutrageMusicSeq::Frame@319] Starting pending song. 2024-09-19 16:51:18.719 INFO [6272] [OutrageMusicSeq::ExecScript@382] Starting stream with MenuMainSubC.osf on channel 0. 2024-09-19 16:51:18.770 INFO [6272] [OutrageMusicSeq::ExecScript@433] Playing MenuMainSubC.osf. 2024-09-19 16:51:18.770 INFO [6272] [OutrageMusicSeq::ExecScript@434] State of played stream is -716365824. 2024-09-19 16:51:20.129 WARN [6293] [fatal_signal_handler@81] Recursive signal cleanup! Hard exit! AHHGGGG!

Regression Status

Not sure

Steps to Reproduce

Open multiplayer menu, select 'Descent3 Online', if opening to the IRC chat, select 'Go to Games', otherwise game list is opened. Exit from game list back to multiplayer menu selection. Select either PXO Online or Direct TCP/IP, game crashes.

winterheart commented 2 months ago

This can happens due thread issues in inetgetfile library used in Descent3 Online net connector.

588 addressed to fix that.