• Tracker

    Spaces
    Browse
    Statistics
  • /
  • /Stable Feedback
  • /DZG-1208
Back
1

Server crashes or hangs while loading a generic class with an attributed field

ServerModded
1

State

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

The DayZ Dedicated Server consistently fails to start when loading a generic class that contains a field decorated with an attribute. In every attempt, the server either crashes or hangs indefinitely during startup.

The issue has been observed with the following attributes:

  • [NonSerialized()]

  • [MenuBindAttribute()]

The problem occurs with a generic class specialization such as BaseClassT<int>

Reproduction steps
  1. Add the following code to a script: (5_Mission in my case)

class BaseClass
{
}

class BaseClassT<Class V> : BaseClass
{
    [NonSerialized()] int SomeField;
}

class BaseClassInt : BaseClassT<int>
{
}
  1. Start the DayZ Dedicated Server.

  2. Observe the server startup behavior.

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

The server should load the scripts and initialize the generic class specialization without crashing or hanging.

crash_log content

16.10 2026 14:25:40
Unhandled exception

Program: S:\DayzServers\WorkServer\DM\DayZServer_x64.exe
Reason: Access violation. Illegal read by 0x7ff646dd05fc at 0x1ce019c5d1c

Function: '#CreateAttributesBaseClassT<float>'
Stack trace:
scripts/5_Mission/gui/scriptconsolecameratab.c:17 Function #CreateAttributesBaseClassT<float>

SymGetSymFromAddr:487, addr:0x7ff646dd05fc
SymGetSymFromAddr:487, addr:0x7ff646df4818
SymGetSymFromAddr:487, addr:0x7ff646df453e
SymGetSymFromAddr:487, addr:0x7ff646df2991
SymGetSymFromAddr:487, addr:0x7ff646dec92a
SymGetSymFromAddr:487, addr:0x7ff646dfbb9a
SymGetSymFromAddr:487, addr:0x7ff646e67822
SymGetSymFromAddr:487, addr:0x7ff646de9cf3
SymGetSymFromAddr:487, addr:0x7ff646de99e0
[CDPInitServer]: ??? addr:0x7ff64760973b
SymGetSymFromAddr:487, addr:0x7ff6470f7dff
SymGetSymFromAddr:487, addr:0x7ff6470ef03c
[CDPInitServer]: ??? addr:0x7ff6473ff569
[CDPInitServer]: ??? addr:0x7ff6473f01c7
[CDPInitServer]: ??? addr:0x7ff64743fe49
SymGetSymFromAddr:487, addr:0x7ff6470fb20b
SymGetSymFromAddr:487, addr:0x7ff6471b598e
SymGetSymFromAddr:487, addr:0x7ff6471ab464
[CDPInitServer]: ??? addr:0x7ff64756945b
SymGetSymFromAddr:487, addr:0x7ff6471b728e
SymGetSymFromAddr:487, addr:0x7ff646d0d5a0
[CDPInitServer]: ??? addr:0x7ff647bbb31a
[BaseThreadInitThunk]: ??? addr:0x7ff8cdbb7374
[RtlUserThreadStart]: ??? addr:0x7ff8ce39cc91
[RtlUserThreadStart]: ??? addr:0x7ff8ce39cc91
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-1208
Access
Public
Space
DayZ
Project
Stable Feedback
Creator
armor
Created
Oct 16, 2026
Views
11