MantisBT - Zandronum
View Issue Details
0001067Zandronum[All Projects] Bugpublic2012-09-26 07:362018-09-30 22:02
unknownna 
Torr Samaho 
normalcrashalways
closedfixed 
1.0 
3.03.0 
0001067: Server crash if Strife NPCs die through wound states
The server will crash when certain NPCs die in Strife. It seems to have something to do with wound states and DIALOGUE scripts. The NPCs also drop an unknown item (TOKNA0 sprite) online. The server will not crash if the NPCs don't die through their wound states. But the server will crash if you call "kill monsters" through the server console.
1. zandronum.exe -file npccrash_01.wad -host
2. Connect a client to the server and join the game.
3. Aim at a zombieman and press +attack once to send it into its wound state.

1. zandronum.exe -file npccrash_01.wad -host
2. Connect a client to the server.
3. "kill monsters" in the console.
Wound:
        PLAY G 5
        PLAY G 10 A_GetHurt
        PLAY G 6 A_Pain
        Goto Wound+1
No tags attached.
parent of 0002770closed Torr Samaho error: use of undeclared identifier 'nullptr' 
has duplicate 0001782closed  Strife server crashes when "kill monsters" executes 
? npccrash_01.wad (107,702) 2012-09-26 07:36
/tracker/file_download.php?file_id=754&type=bug
zip CrashReport_npc.zip (16,637) 2016-05-14 19:41
/tracker/file_download.php?file_id=1809&type=bug
Issue History
2012-09-26 07:36unknownnaNew Issue
2012-09-26 07:36unknownnaFile Added: npccrash_01.wad
2012-09-26 07:37unknownnaStatusnew => confirmed
2012-09-26 08:06unknownnaNote Added: 0004810
2012-09-26 19:14unknownnaAdditional Information Updatedbug_revision_view_page.php?rev_id=2624#r2624
2014-04-20 05:39ArcoNote Added: 0008614
2014-04-20 05:39ArcoRelationship addedrelated to 0001782
2014-04-22 15:44ArcoRelationship replacedhas duplicate 0001782
2014-04-22 15:45ArcoNote Deleted: 0008614
2016-05-14 19:40Ru5tK1ngNote Added: 0014919
2016-05-14 19:40Ru5tK1ngTarget Version => 3.0
2016-05-14 19:41Ru5tK1ngFile Added: CrashReport_npc.zip
2016-05-14 23:42Edward-sanNote Added: 0014923
2016-05-14 23:42Edward-sanNote Edited: 0014923bug_revision_view_page.php?bugnote_id=14923#r9017
2016-05-15 08:19Edward-sanNote Added: 0014926
2016-05-15 08:19Edward-sanAssigned To => Torr Samaho
2016-05-15 08:19Edward-sanStatusconfirmed => assigned
2016-05-15 08:20Edward-sanNote Edited: 0014926bug_revision_view_page.php?bugnote_id=14926#r9019
2016-05-15 10:13Edward-sanNote Added: 0014927
2016-05-21 18:32WaTaKiDNote Added: 0014967
2016-07-02 10:20Torr SamahoNote Added: 0015160
2016-07-02 10:21Torr SamahoStatusassigned => needs testing
2016-07-02 12:23DuskRelationship addedparent of 0002770
2016-07-02 15:36WaTaKiDNote Added: 0015172
2016-07-02 16:30WaTaKiDNote Added: 0015183
2016-07-02 16:34WaTaKiDStatusneeds testing => resolved
2016-07-02 16:34WaTaKiDResolutionopen => fixed
2016-07-02 16:34WaTaKiDFixed in Version => 3.0
2018-09-30 22:02Blzut3Statusresolved => closed

Notes
(0004810)
unknownna   
2012-09-26 08:06   
The unknown item isn't removed during map resets.
(0014919)
Ru5tK1ng   
2016-05-14 19:40   
This still induces a fatal crash with 3.0. I've attached my crash report.
(0014923)
Edward-san   
2016-05-14 23:42   
I reported one weirdness I found in both zandronum and zdoom caused by this wad. The fix for the server crash depends on the result of the report.

(0014926)
Edward-san   
2016-05-15 08:19   
(edited on: 2016-05-15 08:20)
zdoom fixed it with this commit:'http://zdoom.org/Changelog/aff8b00/files [^]' . Porting this change to zandronum and adapting the network code will take care of the server crash.

(0014927)
Edward-san   
2016-05-15 10:13   
The item issue is fixed with this pull request:'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/99/fixed-clients-couldnt-hide-the-raisealarm/diff [^]' .
(0014967)
WaTaKiD   
2016-05-21 18:32   
fix for the raisealarm item is added in 3.0 with:'https://bitbucket.org/Torr_Samaho/zandronum/commits/dad7ab52cddcdaf17fba6b1a249cede329d4065a [^]'
(0015160)
Torr Samaho   
2016-07-02 10:20   
I transplanted the ZDoom fix mentioned in 0001067:0014926.
(0015172)
WaTaKiD   
2016-07-02 15:36   
added in 3.0 with:'https://bitbucket.org/Torr_Samaho/zandronum/commits/dd923895a4f4627496e0af78efa981b375501ca2 [^]'
(0015183)
WaTaKiD   
2016-07-02 16:30   
using'https://www.dropbox.com/s/47tfog9di3lorlg/zandronum-3.0-r160702-1232-b244a48-windows.zip?dl=0 [^]' the server no longer crashes when doing kill monsters and the raisealarm item issue is also fixed