Integer divide by zero error with 4.11.03 (Five mods total tested)

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!
User avatar
Shatter-Thought[V-4]
Posts: 136
Joined: Tue Apr 06, 2021 8:21 pm
Graphics Processor: Not Listed

Integer divide by zero error with 4.11.03 (Five mods total tested)

Post by Shatter-Thought[V-4] »

EDIT:
The first two mods I tried at first are Zagemod, and Pandemonia, with the latter one being tried both with a custom map, and normal doom2, but I still got this error.

The next three mods were attempted with the standard Doom2.wad.

I have tried five mods total with the latest gzdoom that I had downloaded and all but the outback anarchy mod get the same error.

I realize sending three txt files seems redundant, but I wanted to be a little thorough in case there was something in the details that I could not see.

The txt report files are from one attempt with Zagemod, then two attempts with Pandemonia.

The other three mods I have tested recently are as follows:

ClassicD3_MonstersOnly.pk3 (Same error)

Trailblazer.pk3 (Same error)

OutbackAnarchy.pk3 (This one worked fine.)

Error in question:

Code: C0000094 (Integer Divide By Zero)
Address: 00007ff71b8bfe58
Flags: 00000000

This is my pc specs:

OS Name Microsoft Windows 10 Home
Version 10.0.19045 Build 19045
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name LAPTOP-V66S6EO9
System Manufacturer HP
System Model HP Laptop 15-db1xxx
System Type x64-based PC
System SKU 5YH31UA#ABA
Processor AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx, 2600 Mhz, 2 Core(s), 4 Logical Processor(s)
BIOS Version/Date Insyde F.38, 3/10/2022
SMBIOS Version 3.1
Embedded Controller Version 51.27
BIOS Mode UEFI
BaseBoard Manufacturer HP
BaseBoard Product 85EA
BaseBoard Version 51.27
Platform Role Mobile
Secure Boot State Off
PCR7 Configuration Elevation Required to View
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32
Boot Device \Device\HarddiskVolume2
Locale United States
Hardware Abstraction Layer Version = "10.0.19041.3636"
User Name (redacted)
Time Zone Pacific Standard Time
Installed Physical Memory (RAM) 8.00 GB
Total Physical Memory 5.94 GB
Available Physical Memory 1.29 GB
Total Virtual Memory 8.19 GB
Available Virtual Memory 1.36 GB
Page File Space 2.25 GB
Page File C:\pagefile.sys
Kernel DMA Protection Off
Virtualization-based security Not enabled
Device Encryption Support Elevation Required to View
Hyper-V - VM Monitor Mode Extensions Yes
Hyper-V - Second Level Address Translation Extensions Yes
Hyper-V - Virtualization Enabled in Firmware Yes
Hyper-V - Data Execution Protection Yes

Thank you for your time when you can get to this.
You do not have the required permissions to view the files attached to this post.
Lapeth

Re: Integer divide by zero error with 4.11.03 (Five mods total tested)

Post by Lapeth »

The same error happens on the Linux build. IWADs alone seem fine (Doom, Doom2, Heretic, Hexen), but introducing mods or maps with Zdoom-specifics crashes with the aforementioned error (also for Hexen). Mostly on map load, but sometimes when rendering something from the mod. Probably the latter in all cases, with the object in question rendered in sight on load.

Example: The beginning of myhouse.wad plays fine, but crashes at the burned house. Brutal Doom, Project Brutality etc. crash on loading E1M1 and MAP01 of the IWADS. Starting with -nomonsters doesn't help, so it might not be tied to monster behavior or rendering.

Example stacktrace: https://pastebin.com/SpVkHGF5
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49211
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Integer divide by zero error with 4.11.03 (Five mods total tested)

Post by Graf Zahl »

That stacktrace has no symbols, which makes it impossible to get any info from it.
Lapeth

Re: Integer divide by zero error with 4.11.03 (Five mods total tested)

Post by Lapeth »

Agreed, though I thought the thread frames might give a hint. With debug symbols for several involved libraries installed: https://pastebin.com/WCNMgt0w

The stacktraces mostly point to threading stuff, which doesn't tell us much. It's mostly waitpid.c that sticks out, but that's hardly the culprit. Escpecially if Windows users have the same issue.

What's more telling, though, is that there's not a lot of people reporting this, so it's probably not an issue for most installs. Or am I wrong here? Can others reproduce this with 4.11.03 and some mods?

Return to “Bugs [GZDoom]”