ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Client hangs indefinitely upon loading MAP04 of nova2_D3.wad

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs
View previous topic :: View next topic  
Author Message
rhinoduck
Potatoes


Joined: 22 Oct 2012

PostPosted: Mon Jul 20, 2015 2:02 pm    Post subject: Client hangs indefinitely upon loading MAP04 of nova2_D3.wad Reply with quote

Client hangs indefinitely upon loading MAP04 of nova2_d3.wad, zserv unaffected.

Last edited by rhinoduck on Fri May 06, 2016 2:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
Krawa
There is a limit


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Mon Jul 20, 2015 6:38 pm    Post subject: Reply with quote

It has something to do with the Nodes.
The original map looks buggy a bit with DB Node Viewer.
If you rebuild Nodes (ZDBSP) the long line is gone and ZD doesn't crash anymore.
Back to top
View user's profile Send private message Visit poster's website
rhinoduck
Potatoes


Joined: 22 Oct 2012

PostPosted: Tue Jul 21, 2015 8:46 am    Post subject: Reply with quote

A bit more info...
Code:
2015-07-20  19:40:10  <[SDA]Krawa>   YO rhinoduck  http://forums.zdaemon.org/viewtopic.php?p=275040
2015-07-20  19:42:15  <rhinoduck>   hmm, i tried rebuilding the nodes
2015-07-20  19:42:18  <rhinoduck>   it had no effect for me
2015-07-20  19:42:41  <[SDA]Krawa>   which node builder?
2015-07-20  19:43:43  <rhinoduck>   zennode apparently
2015-07-20  19:43:50  <rhinoduck>   according to my db settings
2015-07-20  19:44:01  <[SDA]Krawa>   testing...
2015-07-20  19:44:07  <rhinoduck>   using gzdb, btw
2015-07-20  19:45:06  <[SDA]Krawa>   ah, with ZenNode nodes don't change
2015-07-20  19:45:37  <ErisFalling>   well that's the default I think, so I guess many maps are done with ZenNode
2015-07-20  19:46:43  <[SDA]Krawa>   even BSP-W32 works
2015-07-20  19:47:08  <[SDA]Krawa>   but if I change back to ZenNode the strange lines are there and ZD crashes :)
2015-07-20  19:47:16  <rhinoduck>   time to forward the bug, i guess
2015-07-20  19:47:27  <rhinoduck>   btw, tried it also in zdoom and prboom+ and those could handle it
2015-07-20  19:48:42  <[SDA]Krawa>   I think ZDoom always rebuild nodes
Back to top
View user's profile Send private message
Aeyesx
Dominating!


Joined: 13 Oct 2012

PostPosted: Fri Jul 24, 2015 5:52 am    Post subject: Reply with quote

Mehh, u have to do map change so doom buildetr Will execute zennode, either need to verify if zenbuilder finishes sucessfully, sometimes it can fail as many boom wads are made in crazy ways, blame boom ^^
Back to top
View user's profile Send private message Send e-mail
rhinoduck
Potatoes


Joined: 22 Oct 2012

PostPosted: Sat Jul 25, 2015 1:07 pm    Post subject: Reply with quote

Aeyesx wrote:
Mehh, u have to do map change so doom buildetr Will execute zennode, either need to verify if zenbuilder finishes sucessfully, sometimes it can fail as many boom wads are made in crazy ways, blame boom ^^

How about you actually test it yourself before posting a useless reply in a derogatory tone? We did rebulid the nodes using ZenNode, the result was the same.

---

However, contrary to Krawa's experience, when I try to build the nodes with bsp-w32 (in normal mode) from gzdb, the nodebuilder/gzdb hangs indefinitely.

Taking that into account, it may seem more like a problem with the map's geometry, but ZDoom 2.7.1, PrBoom+ 2.5.1.4.test (win32), Odamex 0.7.0 (win64) and even ye olde Boom 2.02 can load the original map ok.

For me, ZDaemon client just plays a tele sound, stops drawing and hangs indefinitely. CPU usage is at max with memory usage slowly rising (a few kBs per second). I kept it running for half an hour just to be sure... infinite loop, maybe?
Back to top
View user's profile Send private message
Aeyesx
Dominating!


Joined: 13 Oct 2012

PostPosted: Sun Jul 26, 2015 8:59 am    Post subject: Reply with quote

I succeeded with Zennode, but doesn't matter now unless u get it working
Back to top
View user's profile Send private message Send e-mail
rhinoduck
Potatoes


Joined: 22 Oct 2012

PostPosted: Sun Jul 26, 2015 3:24 pm    Post subject: Reply with quote

Now, here's an interesting twist: The older ZDaemon 1.10b03 binary (2015-01-01) loads the map just fine.

I don't think I can help with this any more. The ball is on your side now.
Back to top
View user's profile Send private message
Aeyesx
Dominating!


Joined: 13 Oct 2012

PostPosted: Fri Jul 31, 2015 8:02 am    Post subject: Reply with quote

Well unbuilded or incorrectly nodes is not issue of ZD, more likely mapper's fault, and u cannot blame ZD since boom loads it since boom has mechanism to rebuild or ignore nodes when they are missing. (Or something like that).
Back to top
View user's profile Send private message Send e-mail
Kilgore
Air Cavalry


Joined: 17 Jun 2003
Location: Up the river

PostPosted: Fri Jul 31, 2015 8:22 pm    Post subject: Reply with quote

After some bug hunting, it turned out to be an ancient bug stemming from zdoom (as opposed to vanilla); it happens when the wad overrides the map names of episodes 45-47 (E6M1...E6M3 in Heretic); those 3 maps have their names hardcoded into the engine ("RAVEN'S LAIR", "THE WATER SHRINE" and "AMERICAN'S LEGACY") but the names are statically rather than dynamically allocated; and when the wad tries to overwrite that... boom (zdoom assumed that all the names would be dynamically allocated, so it called "delete" on the older name).

This bug has been there since day 1, and if there was no crash in earlier versions, it was purely random. It's fixed now and it will appear in the upcoming release (110b04).
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Fixed Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group