Overlay map can crash in particular circumstances

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Overlay map can crash in particular circumstances

Re: Overlay map can crash in particular circumstances

by Marisa the Magician » Fri Jun 18, 2021 4:27 am

Can't seem to reproduce on 4.6.0 and a GTX 1060. This really is an odd one. Some get it, some don't.

Re: Overlay map can crash in particular circumstances

by electrodragon554 » Sat Jun 05, 2021 6:49 pm

I'm unable to replicate this crash; Lithium 1.6.3 on GZDoom 4.6.0 with a 2GB AMD Radeon 625 mobile GPU

Re: Overlay map can crash in particular circumstances

by nazakomu » Sun May 03, 2020 9:03 pm

Marrub wrote:Might be an issue that only happens on AMD cards then. I know it's not a driver issue since it happens on Windows and Linux.
This happens to me playing Lithium 1.6.3 on GZDoom 4.3.3, and I use a NVIDIA GeForce RTX 2070 SUPER. So this crash isn't exclusive to AMD GPUs.

Re: Overlay map can crash in particular circumstances

by Marrub » Wed Mar 04, 2020 1:42 am

Might be an issue that only happens on AMD cards then. I know it's not a driver issue since it happens on Windows and Linux.

Re: Overlay map can crash in particular circumstances

by Player701 » Mon Mar 02, 2020 6:04 am

Unable to reproduce this with GZDoom 4.3.3, nor with g4.4pre-76-g4cf7c6351 (both debug and release builds). GPU is an RTX 2080 Ti (11 GB VRAM). No memory usage spikes either (GZDoom used about 450 MB of video memory during a short testing session).

Re: Overlay map can crash in particular circumstances

by Marrub » Mon Mar 02, 2020 3:02 am

Graf Zahl wrote:What kind of graphics card do you have? How much video RAM? How much system RAM? This looks like an out of memory error - Vulkan doesn't have any means to gracefully deal with them.
This happens regardless of system specs. It's likely a size underflow somewhere.

My current GPU is:
Model: Radeon RX 590
Compute Units: 36
Stream Units: 2304
Memory: 8GB
Memory Bandwidth: 256GB/s

And system:
Xeon 6(12)x 2.9GHz
16GiB ECC RAM

EDIT: I accidentally put my old GPU lol

Re: Overlay map can crash in particular circumstances

by Graf Zahl » Mon Mar 02, 2020 1:06 am

What kind of graphics card do you have? How much video RAM? How much system RAM? This looks like an out of memory error - Vulkan doesn't have any means to gracefully deal with them.

Overlay map can crash in particular circumstances

by Marrub » Sun Mar 01, 2020 11:41 pm

Unsure of the exact reason this happens, but in certain mods, using the overlay map (any type) in Vulkan will crash with a SIGABRT:

Code: Select all

gzdoom: /home/marrub/src/games/gzdoom-g4.3.3/src/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h:3814: void VmaAllocation_T::InitDedicatedAllocation(uint32_t, VkDeviceMemory, VmaSuballocationType, void*, VkDeviceSize): Assertion `hMemory != 0' failed.
fish: “~/bin/other/gzdoom-debug/gzdoom…” terminated by signal SIGABRT (Abort)
I would post a stack trace but gdb simply aborts when I try running gzdoom in it (regardless of circumstances.)

Steps to reproduce:
- Set renderer to Vulkan and "Overlay automap" to anything but "Off."
- Run GZDoom with this pk3.
- Open the automap. The game will crash regardless of OS or version.

Top