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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002152Zandronum[All Projects] Bugpublic2015-04-01 00:512018-09-30 21:37
ReporterUntitled 
Assigned ToTorr Samaho 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version2.0 
Target Version2.1Fixed in Version2.1 
Summary0002152: gl_cachenodes 1 causes servers to crash (includes crashlog)
DescriptionSo basically I tried to host samsarahold and the server crashed completely and utterly.

I don't know what went wrong, so if this is my fault I'd like to know (it might well be my fault).

I know it's kind of silly saying "ok completely arbituary crash oh god help" on the tracker but I want to know what to do to stop this one.
Steps To Reproduce'https://zandronum.com/forum/showthread.php?tid=3053 [^]'

This has a server setup I use to host samsaraHold.

So steps:

1. Host Samsarahold using #bestever, preferably using that setup.
2. Set up your RCON
3. Changemap MAP99
4. Watch your server explode.
Additional InformationAlso, as I've tested, MAP99 seems to be where it blows - I had a server (not this one, as I don't have the crash log for my other ones) which blew up at zero seconds when I used a config to start at MAP99.
Attached Filestxt file icon FatalErrorCrash.txt [^] (9,749 bytes) 2015-04-01 00:51 [Show Content]
txt file icon watastronghold.cfg.txt [^] (1,303 bytes) 2015-04-04 15:26 [Show Content]
txt file icon AnotherFatalErrorSignal11.txt [^] (29,088 bytes) 2015-04-04 22:35 [Show Content]

- Relationships

-  Notes
User avatar (0011955)
Watermelon (developer)
2015-04-01 02:34

Can you paste your BE host command here so I can use it?
User avatar (0011956)
Untitled (reporter)
2015-04-01 02:35

It's ".host hostname="SamsaraHold 0.12: The Mission Continues!" iwad=doom2.wad wad=strnghld_v1.pk3,strnghld_violence_v4.pk3,StrongHoldEditsNFixesv1.1PatchV4.1.pk3,StrongholdItemsV7.1.pk3,samsaraHold-v0.12-core.pk3,samsaraHold-v0.12-code.pk3 dmflags=16388 dmflags2=336593152 dmflags3=16 gamemode=coop"
User avatar (0011963)
Watermelon (developer)
2015-04-01 03:54

That is a lot more wads than I originally thought.

Do you know if it happens to any particular one? The best thing to do is to let me know how I can minimize this to as small of a wad set as possible to get the bug to happen. If you know what wads I can remove and any other info along with this, it would help me greatly.
User avatar (0011967)
Untitled (reporter)
2015-04-01 10:56
edited on: 2015-04-01 10:57

.host hostname="Breaking Zandronum" iwad=doom2.wad wad=strnghld_v1.pk3,StrongholdItemsV7.1.pk3 config="watastronghold.cfg" gamemode=coop

(Using watastronghold.cfg starts the map at MAP99, which results in an immediate segfault)

Got it down to two files - strnghld_v1.pk3 doesn't break by itself, actually.

At these two wads, everything crashes. BestEver will say this is a wad error.

But what kind of wad error is "Address not Mapped to Object (Signal 11)"?

User avatar (0011969)
Watermelon (developer)
2015-04-01 16:19

Cool thanks!

Quote
But what kind of wad error is "Address not Mapped to Object (Signal 11)"?

It's a lower level error signal of something going wrong. I don't know if this means some kind of coding error. I'll try to find out why.
User avatar (0012000)
Torr Samaho (administrator)
2015-04-03 10:25

Where can I get your watastronghold.cfg?
User avatar (0012014)
Untitled (reporter)
2015-04-03 22:50

'http://www.best-ever.org/viewconfig?name=watastronghold.cfg [^]'

All of the contents of the .cfg are here.
User avatar (0012016)
Torr Samaho (administrator)
2015-04-04 09:27

It looks like I can't access the file without creating an account. Can you attach the file to this ticket?
User avatar (0012025)
Untitled (reporter)
2015-04-04 18:14

I wasn't the one who uploaded it, but it's now uploaded.
User avatar (0012028)
Edward-san (developer)
2015-04-04 19:37
edited on: 2015-04-04 19:40

Can you upload the involved file somewhere?

User avatar (0012029)
Torr Samaho (administrator)
2015-04-04 19:38


zandronum.exe -file strnghld_v1.pk3 StrongholdItemsV7.1.pk3 -host +exec watastronghold.cfg

doesn't crash for me under Windows. Is it possible that your version of StrongholdItemsV7.1.pk3 is corrupted?
User avatar (0012032)
Untitled (reporter)
2015-04-04 22:35

Hmm. Unless BestEver's StrongholdItemsV7.1.pk3 is corrupted, then it should be reproducable.

For me the big problem is this doesn't appear in single player - or using multiplayer emulation in single player - it appears to entirely be a Multiplayer problem, specifically when hosting using #BestEver.

And I can confirm this, because I annihilated another server, with a Crash Log, again.

Posted the Crash Log.
User avatar (0012033)
Konar6 (reporter)
2015-04-04 22:45

Can you reproduce it on your own server?
User avatar (0012034)
Edward-san (developer)
2015-04-04 23:26
edited on: 2015-04-04 23:29

oh, finally a crash log with full debug info! :)

Bad news: it has nothing to do with the archive itself, but with the gl node cache file handling. What happens if you host again with 'gl_cachenodes 0'?

[edit]gl_cachenodes was introduced in 2.0. I guess servers should not enable gl node caching at all, considering that some host services run the same application with different parameters...

User avatar (0012035)
Untitled (reporter)
2015-04-05 00:25

That actually worked!

Alright, I'd like to now point out a new bug:

"gl_cachenodes" can crash servers.
User avatar (0012052)
Watermelon (developer)
2015-04-05 18:41
edited on: 2015-04-05 18:41

@Torr, since this is likely (G)ZDoom related, do you want me to assign the ticket to you since you did the upgrading?

I don't mind attempting to fix it, though you might know how to fix it already since you did the upgrading.

User avatar (0012061)
Edward-san (developer)
2015-04-06 09:22

I believe this can be fixed by changing the cvar to custom and forcing the cvar to be off for the servers.
User avatar (0012064)
Torr Samaho (administrator)
2015-04-06 17:52

I'll take care of this.
Quote from Edward-san

I believe this can be fixed by changing the cvar to custom and forcing the cvar to be off for the servers.

Since it's an archived CVAR, changing it to false on the server would also change it in the ini, affecting clients who share the same ini. I think a better way here is to ignore the value of the cvar on the server. It's only used at a single place, so that requires only one small change.
User avatar (0012476)
Torr Samaho (administrator)
2015-05-31 17:27

Hopefully, fixed now. Please check.
User avatar (0012477)
cobalt (updater)
2015-05-31 17:30

Issue addressed by commit c51cf7826429: Fixed: "gl_cachenodes 1" could crash the server (fixes 2152).
Committed by Benjamin Berkels [Torr Samaho] on Sunday 31 May 2015 19:25:40

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/gl/data/gl_nodes.cpp | 3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)


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: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2015-04-01 00:51 Untitled New Issue
2015-04-01 00:51 Untitled File Added: FatalErrorCrash.txt
2015-04-01 02:34 Watermelon Note Added: 0011955
2015-04-01 02:34 Watermelon Status new => feedback
2015-04-01 02:35 Untitled Note Added: 0011956
2015-04-01 02:35 Untitled Status feedback => new
2015-04-01 03:54 Watermelon Note Added: 0011963
2015-04-01 03:54 Watermelon Status new => feedback
2015-04-01 10:56 Untitled Note Added: 0011967
2015-04-01 10:56 Untitled Status feedback => new
2015-04-01 10:57 Untitled Note Edited: 0011967 View Revisions
2015-04-01 16:19 Watermelon Note Added: 0011969
2015-04-01 16:20 Watermelon Assigned To => Watermelon
2015-04-01 16:20 Watermelon Status new => assigned
2015-04-03 10:25 Torr Samaho Note Added: 0012000
2015-04-03 22:50 Untitled Note Added: 0012014
2015-04-04 09:27 Torr Samaho Note Added: 0012016
2015-04-04 15:26 Arco File Added: watastronghold.cfg.txt
2015-04-04 18:14 Untitled Note Added: 0012025
2015-04-04 19:37 Edward-san Note Added: 0012028
2015-04-04 19:38 Torr Samaho Note Added: 0012029
2015-04-04 19:40 Edward-san Note Edited: 0012028 View Revisions
2015-04-04 22:35 Untitled Note Added: 0012032
2015-04-04 22:35 Untitled File Added: AnotherFatalErrorSignal11.txt
2015-04-04 22:45 Konar6 Note Added: 0012033
2015-04-04 23:26 Edward-san Note Added: 0012034
2015-04-04 23:29 Edward-san Note Edited: 0012034 View Revisions
2015-04-05 00:25 Untitled Note Added: 0012035
2015-04-05 00:28 Arco Summary Server Crash (includes crashlog) => gl_cachenodes 1 causes servers to crash (includes crashlog)
2015-04-05 18:41 Watermelon Note Added: 0012052
2015-04-05 18:41 Watermelon Note Edited: 0012052 View Revisions
2015-04-06 09:22 Edward-san Note Added: 0012061
2015-04-06 17:52 Torr Samaho Note Added: 0012064
2015-04-08 21:03 Dusk Assigned To Watermelon => Torr Samaho
2015-05-31 17:27 Torr Samaho Note Added: 0012476
2015-05-31 17:27 Torr Samaho Status assigned => needs testing
2015-05-31 17:27 Torr Samaho Target Version => 2.1
2015-05-31 17:30 cobalt Note Added: 0012477
2015-06-24 22:45 Dusk Status needs testing => resolved
2015-06-24 22:45 Dusk Fixed in Version => 2.2
2015-06-24 22:45 Dusk Resolution open => fixed
2015-06-24 22:47 Dusk Fixed in Version 2.2 => 2.1
2018-09-30 21:37 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker