Random crashes

Moderator: Raze Developers

Re: Random crashes

Postby SaveTheDoomer » Fri Apr 23, 2021 6:38 am

Here is a better save. Just push the button in front of you, then exit the door behind using the switch on the right. Then turn right and go downside. KIling the zombies with the napalm always crashes the game.
https://www.mediafire.com/file/x6yf8atebuydxqx/save0001.dsave/file

Core dump
https://www.mediafire.com/file/ay1211vma5l8ijk/razedump.7z/file
Executable
https://www.mediafire.com/file/6i5t924eiit5pma/raze/file
User avatar
SaveTheDoomer
 
Joined: 11 Apr 2021
Location: Yog-Sothoth stone circle on the dark hills
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Random crashes

Postby _mental_ » Fri Apr 23, 2021 8:51 am

It crashes pretty often indeed. I don't know what's going on there, Graf (or maybe someone else) should take a look at this.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Random crashes

Postby SaveTheDoomer » Fri Apr 23, 2021 10:34 am

Tried the savegame with Win10 with latest drd team build. The game doesn't crash. At this point i think that is a linux-exclusive bug :geek:
User avatar
SaveTheDoomer
 
Joined: 11 Apr 2021
Location: Yog-Sothoth stone circle on the dark hills
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Random crashes

Postby _mental_ » Fri Apr 23, 2021 10:52 am

No, I reproduced this crash on Windows with debug build.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Random crashes

Postby SaveTheDoomer » Fri Apr 23, 2021 11:03 am

Ah, ok. This seems a nasty bug then. The good part is that it happens at the end of a cumbersome and frustrating level :x
User avatar
SaveTheDoomer
 
Joined: 11 Apr 2021
Location: Yog-Sothoth stone circle on the dark hills
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Random crashes

Postby Graf Zahl » Fri Apr 23, 2021 12:05 pm

Classic Build shit. It accessed a sprite that was already deleted but still had a stale reference.
As a result a bogus sector number ended in the clip list.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Random crashes

Postby SaveTheDoomer » Fri Apr 23, 2021 2:17 pm

Nothing to do, it still crashes... :(

Process 15684 stopped
* thread #1, name = 'raze', stop reason = signal SIGSEGV: invalid address (fault address: 0x5555611e9000)
frame #0: 0x00005555558e80c4 raze`getzrange(vec3_t const*, short, int*, int*, int*, int*, int, unsigned int) + 436
raze`getzrange:
-> 0x5555558e80c4 <+436>: movswq (%rax,%rbx,2), %rax
0x5555558e80c9 <+441>: leaq (%rax,%rax,2), %rcx
0x5555558e80cd <+445>: leaq (%rax,%rcx,4), %rax
0x5555558e80d1 <+449>: leaq (%rbp,%rax,4), %rcx
(lldb) bt
* thread #1, name = 'raze', stop reason = signal SIGSEGV: invalid address (fault address: 0x5555611e9000)
* frame #0: 0x00005555558e80c4 raze`getzrange(vec3_t const*, short, int*, int*, int*, int*, int, unsigned int) + 436
frame #1: 0x0000555555c8f2fb raze`Blood::GetZRange(spritetype*, int*, int*, int*, int*, int, unsigned int, unsigned int) + 459
frame #2: 0x0000555555cef42f raze`Blood::MoveThing(spritetype*) + 751
frame #3: 0x0000555555d0eb20 raze`Blood::actProcessSprites() + 1072
frame #4: 0x0000555555d11410 raze`Blood::GameInterface::Ticker() + 464
frame #5: 0x0000555555925492 raze`TryRunTics() + 3106
frame #6: 0x00005555559254dd raze`MainLoop() + 45
frame #7: 0x000055555592b726 raze`RunGame() + 5158
frame #8: 0x000055555592c964 raze`GameMain() + 308
frame #9: 0x0000555555759124 raze`main + 260
frame #10: 0x00007ffff6988b25 libc.so.6`__libc_start_main + 213
frame #11: 0x000055555576d7be raze`_start + 46
User avatar
SaveTheDoomer
 
Joined: 11 Apr 2021
Location: Yog-Sothoth stone circle on the dark hills
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Random crashes

Postby Graf Zahl » Fri Apr 23, 2021 2:20 pm

That's something different than the crash I got.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Random crashes

Postby SaveTheDoomer » Fri Apr 23, 2021 2:29 pm

I don't know, it seems the same thing that i posted earlier... except that i forgot the first part and just posted the bt, sorry...
User avatar
SaveTheDoomer
 
Joined: 11 Apr 2021
Location: Yog-Sothoth stone circle on the dark hills
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Random crashes

Postby Graf Zahl » Fri Apr 23, 2021 4:09 pm

Yes, your two crashes are the same, but I got a different one. I think they are caused by the same thing but I cannot fix this one unless I get it reproduced on my system.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Random crashes

Postby Redneckerz » Sat Apr 24, 2021 5:54 am

sinisterseed wrote:Judging by their profile OP uses Linux.

Perhaps it was edited because i did read a Windows reference in one of the earlier posts.

SaveTheDoomer wrote:I tried to upload the coredump, but i was told it's useless. At that point, i got frustrated with the whole thing and i decided to give up.

Rick Astley would tell you otherwise, so i am glad you stuck around with new info :)
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: Intel (Modern GZDoom)

Re: Random crashes

Postby SaveTheDoomer » Sat Apr 24, 2021 8:07 am

Rick Astley would tell you otherwise, so i am glad you stuck around with new info :)

:D :D
Unfortunately, the bug is still there...
User avatar
SaveTheDoomer
 
Joined: 11 Apr 2021
Location: Yog-Sothoth stone circle on the dark hills
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Random crashes

Postby mjr4077au » Sat Jul 24, 2021 12:23 am

@SaveTheDoomer, any chance you could test this against the latest devbuild to see if its still an ongoing issue? There's been lots of changes in the last two months :)

https://devbuilds.drdteam.org/raze/
User avatar
mjr4077au
 
Joined: 16 Jun 2019
Location: Gosford NSW, Australia
Discord: mjr4077au#1027
Github ID: mjr4077au
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Random crashes

Postby SaveTheDoomer » Mon Aug 16, 2021 7:13 am

Sorry for the late reply, but i didn't play a lot recently :D Anyway, i just tried to play the mod again using the latest git, but i still get the same segfault ... i tried to ask for help on the manjaro forum too, but they said to report the bug to the devs, so i'm back to the beginning...
Anyway, you can close the topic, i think that it's probably some obscure bug related to some library, who knows... i don't think that it will ever be fixed.
User avatar
SaveTheDoomer
 
Joined: 11 Apr 2021
Location: Yog-Sothoth stone circle on the dark hills
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Random crashes

Postby SaveTheDoomer » Thu Sep 02, 2021 10:23 am

Just for fun, i re-tried with 1.1.0pre-663 with lldb and got this, it is slightly different from before :

Process 12428 stopped
* thread #1, name = 'raze', stop reason = signal SIGSEGV: invalid address (fault address: 0x555560413000)
frame #0: 0x00005555558fc72c raze`getzrange(vec3_t const*, short, int*, int*, int*, int*, int, unsigned int) + 396
raze`getzrange:
-> 0x5555558fc72c <+396>: movswq (%rax,%rdi,2), %rcx
0x5555558fc731 <+401>: movq 0x28(%rsp), %rdi
0x5555558fc736 <+406>: movq %rcx, %rax
0x5555558fc739 <+409>: shlq $0x4, %rax
(lldb) bt
* thread #1, name = 'raze', stop reason = signal SIGSEGV: invalid address (fault address: 0x555560413000)
* frame #0: 0x00005555558fc72c raze`getzrange(vec3_t const*, short, int*, int*, int*, int*, int, unsigned int) + 396
frame #1: 0x0000555555cd9a44 raze`Blood::GetZRange(spritetype*, int*, int*, int*, int*, int, unsigned int, unsigned int) + 468
frame #2: 0x0000555555d63d86 raze`Blood::MoveDude(Blood::DBloodActor*) + 4742
frame #3: 0x0000555555d69fd1 raze`Blood::actProcessSprites() + 2561
frame #4: 0x0000555555d6d043 raze`Blood::GameInterface::Ticker() + 499
frame #5: 0x00005555559254f5 raze`TryRunTics() + 3461
frame #6: 0x000055555592556d raze`MainLoop() + 77
frame #7: 0x000055555592c35e raze`RunGame() + 7006
frame #8: 0x000055555592d600 raze`GameMain() + 336
frame #9: 0x000055555576e063 raze`main + 259
frame #10: 0x00007ffff68fbb25 libc.so.6`__libc_start_main + 213
frame #11: 0x0000555555782d0e raze`_start + 46
User avatar
SaveTheDoomer
 
Joined: 11 Apr 2021
Location: Yog-Sothoth stone circle on the dark hills
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Previous

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests