Page MenuHomeFeedback Tracker

Modding MissionServer results in a server crash on shutdown
Reviewed, UrgentPublic

Description

When modding MissionServer the server will crash on shutdown with an access violation error. It does not matter what the modded class contains, its mere presence results in the server crashing.

=======================================================
-------------------------------------------------------
Time:  9:30:06
Exception code: C0000005 ACCESS_VIOLATION at FE4CD6C3
Version 1.12.153895
Fault address:  FE4CD6C3 00:FE4CD6C3 Unknown module
file:     dayzOffline
world:    chernarusplus
Prev. code bytes: 48 8B CB EB 03 49 8B 0E 48 85 C9 74 0D 48 8B 01
Fault code bytes: FF 50 20 48 8B 35 63 0F A9 00 48 8B CF E8 5B FD
=======================================================
note: Minidump has been generated into the file F:\SteamLibrary\steamapps\common\DayZServer\profiles\DayZServer_x64_2021-05-08_09-29-38_2021-05-08_09-30-06.mdmp

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Category
General
Steps To Reproduce

Create mod which only accesses 5_Mission and add

modded class MissionServer {};

Event Timeline

One of the memory dumps created.

tjensen added a subscriber: tjensen.May 8 2021, 6:22 PM
This comment was removed by Geez.
This comment was removed by Geez.
Geez added a subscriber: Geez.May 12 2021, 10:12 AM
Geez changed the task status from New to Reviewed.May 12 2021, 10:32 AM

Hello philippjoos.
It is unnecessary to store the return 'RestAPI' of "CreateRestAPI()" in a 'ref' in script, as this memory is already managed in C++ and will be freed when the program terminates (or when calling "DestroyRestAPI()").

Regards,
Geez

NATION added a subscriber: NATION.EditedJul 26 2021, 11:24 PM

With every restart / shutdown of the server there is an entry in the Windows event log

Protokollname: Application
Quelle: Application Error
Datum: 26.07.2021 22:05:50
Ereignis-ID: 1000
Aufgabenkategorie:(100)
Ebene: Fehler
Schlüsselwörter:Klassisch
Benutzer: Nicht zutreffend
Computer: DayZ-Server
Beschreibung:
Name der fehlerhaften Anwendung: DayZServer_x64.exe, Version: 1.13.154.25, Zeitstempel: 0x60ed3a27
Name des fehlerhaften Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000
Ausnahmecode: 0xc0000005
Fehleroffset: 0x0000000000000000
ID des fehlerhaften Prozesses: 0x1328
Startzeit der fehlerhaften Anwendung: 0x01d7823fb2647b96
Pfad der fehlerhaften Anwendung: C:\OmegaManager\servers\3\DayZServer_x64.exe
Pfad des fehlerhaften Moduls: unknown
Berichtskennung: 1b8ee333-cad4-47b7-8ef8-221ca70ec448
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
Ereignis-XML:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>
  <Provider Name="Application Error" />
  <EventID Qualifiers="0">1000</EventID>
  <Level>2</Level>
  <Task>100</Task>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2021-07-26T20:05:50.568383700Z" />
  <EventRecordID>309198</EventRecordID>
  <Channel>Application</Channel>
  <Computer>DayZ-Server</Computer>
  <Security />
</System>
<EventData>
  <Data>DayZServer_x64.exe</Data>
  <Data>1.13.154.25</Data>
  <Data>60ed3a27</Data>
  <Data>unknown</Data>
  <Data>0.0.0.0</Data>
  <Data>00000000</Data>
  <Data>c0000005</Data>
  <Data>0000000000000000</Data>
  <Data>1328</Data>
  <Data>01d7823fb2647b96</Data>
  <Data>C:\OmegaManager\servers\3\DayZServer_x64.exe</Data>
  <Data>unknown</Data>
  <Data>1b8ee333-cad4-47b7-8ef8-221ca70ec448</Data>
  <Data>
  </Data>
  <Data>
  </Data>
</EventData>

</Event>

or

Name der fehlerhaften Anwendung: DayZServer_x64.exe, Version: 1.15.154.355, Zeitstempel: 0x61a89bad
Name des fehlerhaften Moduls: ntdll.dll, Version: 10.0.17763.2237, Zeitstempel: 0x65420ea4
Ausnahmecode: 0xc0000374
Fehleroffset: 0x00000000000fa979
ID des fehlerhaften Prozesses: 0x1df0
Startzeit der fehlerhaften Anwendung: 0x01d80255be8215ab
Pfad der fehlerhaften Anwendung: D:\OmegaManager\servers\1\DayZServer_x64.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\SYSTEM32\ntdll.dll
Berichtskennung: 547ca12d-defb-4fce-8ae4-eae17cf92996
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>

<Provider Name="Application Error" /> 
<EventID Qualifiers="0">1000</EventID> 
<Level>2</Level> 
<Task>100</Task> 
<Keywords>0x80000000000000</Keywords> 
<TimeCreated SystemTime="2022-01-05T20:00:22.611740700Z" /> 
<EventRecordID>790226</EventRecordID> 
<Channel>Application</Channel> 
<Computer>DayZ-Server</Computer> 
<Security /> 
</System>

<EventData>

<Data>DayZServer_x64.exe</Data> 
<Data>1.15.154.355</Data> 
<Data>61a89bad</Data> 
<Data>ntdll.dll</Data> 
<Data>10.0.17763.2237</Data> 
<Data>65420ea4</Data> 
<Data>c0000374</Data> 
<Data>00000000000fa979</Data> 
<Data>1df0</Data> 
<Data>01d80255be8215ab</Data> 
<Data>D:\OmegaManager\servers\1\DayZServer_x64.exe</Data> 
<Data>C:\WINDOWS\SYSTEM32\ntdll.dll</Data> 
<Data>547ca12d-defb-4fce-8ae4-eae17cf92996</Data> 
<Data /> 
<Data /> 
</EventData>
</Event>
C4r1zP added a subscriber: C4r1zP.Jan 5 2022, 11:07 PM