Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002147Zandronum[All Projects] Bugpublic2015-03-30 18:272025-03-20 10:42
ReporterEdward-san 
Assigned Tounknownna 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.4 
Target Version3.2Fixed in Version3.2 
Summary0002147: Crash with UNLOADING CLIENTSIDE script online
DescriptionThis script:


Script 101 UNLOADING CLIENTSIDE
{
//any code is okay, even nothing
}


Makes all the clients crash when a server does a changemap. The server does not crash.

It happens only online.
Steps To Reproduce- Run a server with the example wad which contains the script;
- connect with a client;
- run 'changemap map01' from the server console
Additional InformationThe crash happens in p_acs.cpp, in function 'FBehavior::StartTypedScripts', when it calls 'runningScript->RunScript ();' while 'runningScript' is NULL.

Full crash log text attached.

The function 'P_GetScriptGoing' returns NULL, apparently because 'controller->RunningScripts[num]->GetState ()' (num is the script number) returns 'DLevelScript::SCRIPT_Running', hence the condition is false and makes the function return NULL.
Attached Files? file icon unloading_clientside_crash.wad [^] (2,343 bytes) 2015-03-30 18:27
txt file icon zandronum-crash.log.txt [^] (31,124 bytes) 2015-03-30 18:28 [Show Content]

- Relationships

-  Notes
User avatar (0023592)
Ru5tK1ng (updater)
2024-04-11 04:14

The crashing should be resolved with this:'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/99 [^]'
User avatar (0024261)
unknownna (updater)
2025-03-20 10:42

Tested it and the example wad no longer crashes. Great work.

Note, the site won't allow me to assign Ru5tK1ng to the report since we're both in the updater group only.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: Monsterovich DrinkyBird Hypnotoad
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-03-30 18:27 Edward-san New Issue
2015-03-30 18:27 Edward-san File Added: unloading_clientside_crash.wad
2015-03-30 18:27 Edward-san File Added: zandronum-crash.log
2015-03-30 18:28 Edward-san File Deleted: zandronum-crash.log
2015-03-30 18:28 Edward-san File Added: zandronum-crash.log.txt
2015-03-30 18:30 Edward-san Additional Information Updated View Revisions
2015-03-30 18:31 Edward-san Description Updated View Revisions
2015-05-03 22:52 Edward-san Summary Crash with UNLOADED CLIENTSIDE script online => Crash with UNLOADING CLIENTSIDE script online
2015-06-10 01:44 unknownna Status new => confirmed
2024-04-11 04:14 Ru5tK1ng Note Added: 0023592
2024-04-11 04:14 Ru5tK1ng Status confirmed => needs review
2025-03-09 21:04 Ru5tK1ng Note Added: 0024241
2025-03-09 21:04 Ru5tK1ng Status needs review => needs testing
2025-03-09 21:04 Ru5tK1ng Target Version => 3.2
2025-03-09 21:05 Ru5tK1ng Note Deleted: 0024241
2025-03-09 21:05 Ru5tK1ng Status needs testing => needs review
2025-03-09 21:05 Ru5tK1ng Target Version 3.2 =>
2025-03-16 20:10 Ru5tK1ng Status needs review => needs testing
2025-03-16 20:10 Ru5tK1ng Target Version => 3.2
2025-03-20 10:42 unknownna Note Added: 0024261
2025-03-20 10:42 unknownna Status needs testing => resolved
2025-03-20 10:42 unknownna Fixed in Version => 3.2
2025-03-20 10:42 unknownna Resolution open => fixed
2025-03-20 10:42 unknownna Assigned To => unknownna






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker