• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-1207
Back
2

Client crash when passing a logical expression to an overloaded method

ErrorModded
2

State

Open
Issue key
DZG-1207
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
armor
Created
Oct 16, 2026
Views
21
Platform
PC Steam
What happened?

The DayZ client crashes when a boolean expression is passed directly as an argument to an overloaded method.

The crash occurs even when the method containing the expression is never called and no instance of the class is created.

Extracting the boolean expression into a local variable prevents the crash.

This may indicate an issue in Enforce Script compilation

The issue appears to be related to passing a logical expression directly as an argument to an overloaded method.

Reproduction steps
  1. Create a script containing the following class: (5_Mission in my case)

class TestClass0
{
    void StartTest()
    {
        SetValue(false || true);
    }

    void SetValue(bool val)
    {
        SetValue(val, false);
    }

    void SetValue(bool val, bool anotherValue)
    {
    }
}
  1. Ensure that StartTest() is never called.

  2. Ensure that no instance of TestClass0 is created.

  3. Load the script in DayZ.

  4. Observe that the client crashes

Exact build version (optional)
1.30.164078.38
Where did it happen?
Unknown
Is it modded?
Yes
Expected result

The script should compile and load successfully. The boolean expression false || true should evaluate to true, and the compiler should resolve the call to SetValue(bool val).

Since StartTest() is never called, the method body should not execute at runtime

crash_log content

16.10 2026 14:07:59
Unhandled exception

Program: E:\Steam\steamapps\common\DayZ\DayZ_x64.exe
Reason: Access violation. Illegal read by 0x7ff71c6ccf40 at 0x10

Class:      'DayZGame'
Function: 'MainMenuLaunch'
Stack trace:
scripts/3_Game/dayzgame.c:2331 Function MainMenuLaunch
scripts/3_Game/dayzgame.c:2149 Function OnInitialize

SymGetSymFromAddr:487, addr:0x7ff71c6ccf40
SymGetSymFromAddr:487, addr:0x7ff71c6fdd8d
SymGetSymFromAddr:487, addr:0x7ff71c707f28
SymGetSymFromAddr:487, addr:0x7ff71c704afc
SymGetSymFromAddr:487, addr:0x7ff71c709a81
SymGetSymFromAddr:487, addr:0x7ff71c702de7
SymGetSymFromAddr:487, addr:0x7ff71c7026e5
SymGetSymFromAddr:487, addr:0x7ff71c707e4a
SymGetSymFromAddr:487, addr:0x7ff71c701031
SymGetSymFromAddr:487, addr:0x7ff71c706052
SymGetSymFromAddr:487, addr:0x7ff71c7061ae
SymGetSymFromAddr:487, addr:0x7ff71c70400d
SymGetSymFromAddr:487, addr:0x7ff71c6f828b
SymGetSymFromAddr:487, addr:0x7ff71c6f98c8
SymGetSymFromAddr:487, addr:0x7ff71c6f4b71
SymGetSymFromAddr:487, addr:0x7ff71c760762
SymGetSymFromAddr:487, addr:0x7ff71c6e2d53
SymGetSymFromAddr:487, addr:0x7ff71c6e2a40
[CDPInitServer]: ??? addr:0x7ff71cfa060b
SymGetSymFromAddr:487, addr:0x7ff71ca28a9f
SymGetSymFromAddr:487, addr:0x7ff71ca1ec5c
[CDPInitServer]: ??? addr:0x7ff71cde552a
[CDPInitServer]: ??? addr:0x7ff71cfb06c8
SymGetSymFromAddr:487, addr:0x7ff71c5fb7c5
SymGetSymFromAddr:487, addr:0x7ff71c6c5e21
SymGetSymFromAddr:487, addr:0x7ff71c6c62c3
SymGetSymFromAddr:487, addr:0x7ff71c6c700f
SymGetSymFromAddr:487, addr:0x7ff71c6ed878
SymGetSymFromAddr:487, addr:0x7ff71c6eacb8
SymGetSymFromAddr:487, addr:0x7ff71c6eae15
SymGetSymFromAddr:487, addr:0x7ff71c6eb89f
[CDPInitServer]: ??? addr:0x7ff71cfa65ba
SymGetSymFromAddr:487, addr:0x7ff71cafde48
SymGetSymFromAddr:487, addr:0x7ff71cb08538
SymGetSymFromAddr:487, addr:0x7ff71c5fb710
[CDPInitServer]: ??? addr:0x7ff71d552d7a
[BaseThreadInitThunk]: ??? addr:0x7ff8cdbb7374
[RtlUserThreadStart]: ??? addr:0x7ff8ce39cc91
[RtlUserThreadStart]: ??? addr:0x7ff8ce39cc91

Runtime mode
CLI params: name ligma mod S:\DayzServers\WorkServer\DM\@DMClientMod 
Section
Mod list

Only one test mod, containing the code provided in this report

Load order / launch params
—
Reactions

Activity

    about 2 hours ago
  • armor
    created issueabout 2 hours ago

You are not signed in. Please sign in to see more details and to reply.

State

Open
Issue key
DZG-1207
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
armor
Created
Oct 16, 2026
Views
21