Crash on loading (0xC0000005) when clicking outside window

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

Crash on loading (0xC0000005) when clicking outside window

Postby RicardoLuis0 » Sun Dec 12, 2021 8:48 pm

Reproduction steps: Load GZDoom, and click outside the window while loading, but before the main menu shows up.
You do not have the required permissions to view the files attached to this post.
User avatar
RicardoLuis0
 
Joined: 21 Aug 2018
Location: Brazil
Discord: RicardoLuis0#1862
Github ID: RicardoLuis0
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Re: Crash on loading (0xC0000005) when clicking outside wind

Postby RicardoLuis0 » Sun Dec 12, 2021 9:29 pm

Managed to catch the crash in visual studio
You do not have the required permissions to view the files attached to this post.
User avatar
RicardoLuis0
 
Joined: 21 Aug 2018
Location: Brazil
Discord: RicardoLuis0#1862
Github ID: RicardoLuis0
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Re: Crash on loading (0xC0000005) when clicking outside wind

Postby RicardoLuis0 » Sun Dec 12, 2021 9:38 pm

Seems that StatusBar is null in line 1031 of d_main.cpp ( IFVIRTUALPTR(StatusBar, DBaseStatusBar, DrawPaused) ), but only when clicking outside the window before the menu is drawn? I don't know nearly enough about the engine to be able to trace the root cause of this :(
User avatar
RicardoLuis0
 
Joined: 21 Aug 2018
Location: Brazil
Discord: RicardoLuis0#1862
Github ID: RicardoLuis0
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests