[?-r3386]crash with Deus Vult 2 wad in network mode

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

[?-r3386]crash with Deus Vult 2 wad in network mode

Post by Edward-san »

Hi, I can reproduce a weird crash when I change the map inside the game. To be more clear, those are the steps:

Code: Select all

zdoom -iwad doom2.wad -file dvii-1u.wad -host 1 -warp 22
then open the console and write:

Code: Select all

changemap map21
press fire until it's loading map21. When it happens, it'll crash.

Here it is the log when I use debug build.
Spoiler:
[edit]The dvii-1u.wad file can be downloaded here.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by randi »

It does not crash for me on Windows. 32-bit Linux does not crash, either. I cannot test with 64-bit Linux, as I no longer have it installed. Would you try rebuilding with the assembly code disabled and running it through Valgrind?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by Edward-san »

I can't reproduce the crash anymore with current SVN revision (3450). I'll see if this is caused by r3448 or not.

[edit]that's really weird.. I can't reproduce this in the revision I said in the title. I'm not sure what happened. I'll investigate more.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by Edward-san »

It's very hard to reproduce.. when you exit the level you should be fast with clicking (I assume 'mouse2' key is associated with '+use') in order to complete the statistics and you should use the 'WASD' keys'S' as you are in a hurry to play the new level even if it's still not loaded. Sometimes it works, and sometimes it doesn't.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by randi »

Can you record the crash in a demo?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by Edward-san »

No, it isn't recorded correctly (there's no record file in the folder), but I found an easier way to crash:

Code: Select all

zdoom -iwad doom2.wad -host 1 -warp 15 -file dvii-1u.wad
wait until you exit the level, then click to get the 'next level...' message and wait until it crashes. Sometimes you get:

Code: Select all

free(): invalid next size (fast)
message, sometimes you can get a crash log.

Another thing I noticed: in the same map, shoot to get the secret exit, but when it tries to load the level the program freezes and in the terminal there's *Fatal error* but no more.

Hope those things help.

[edit]About the last problem I run valgrind like this:
Spoiler:
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by randi »

Now that I have fixed the errors spotted by Valgrind, how is it?
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by Edward-san »

Indeed, now it's better.
I spotted another problem: when I load map19 via 'changemap' the program freezes.
Valgrind doesn't help, gdb helped me locating the looping zone inside this portion of code:
Spoiler: src/nodebuild_utility.cpp:290
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by randi »

It works fine here.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by Edward-san »

Indeed, with latest SVN there is no freeze at all. It's just slow. And not only in that map.

System info on actual pc (Laptop Samsung N150 Plus):

Code: Select all

CPU: 2x Intel Atom CPU N450 @1.66GHz
RAM: 1 GB
GPU: Intel GMA3150
Not surprising, right?

BTW, Thank you for fixing the multiplayer score position problem. That was annoying as the hell itself.

You can close it as [Fixed].
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [?-r3386]crash with Deus Vult 2 wad in network mode

Post by randi »

Okay.
Post Reply

Return to “Closed Bugs [GZDoom]”