Gothic II: Gold Classic

Gothic II: Gold Classic

Not enough ratings
Human Readable Access Violations
   
Award
Favorite
Favorited
Unfavorite
Type: Addon
Category: Utility
Tags: Ninja, Debug
File Size
Posted
Updated
29.029 KB
31 Mar, 2022 @ 8:41am
12 Jun, 2024 @ 2:21am
2 Change Notes ( view )

Subscribe to download
Human Readable Access Violations

Description
This patch offers more insight into crashes by showing symbol names and byte offsets for script induced access violation errors.

Access violations may differ in their stack traces and register information. The information within can be valuable to developers to fix bugs. However, this information is not very accessible and depending on the circumstance not easy to decode.

This patch makes this valuable information available. Users of this patch may contribute by sending access violation screenshots to mod-developers. This helps them to get to the bottom of game crashes more easily and, in turn, provide faster support.

Disclaimer
I had written this patch quite a while ago and never finalized it. Some byte-offset may be slightly off. It clarifies the stack trace for script functions only.

The patch follows a manual procedure described here [2]. The uncovered Daedalus stack trace is inferior (incomplete and less accurate) to Ikarus's stack trace printed to the zSpy. If access to the zSpy is possible, it should be preferred. The "Human Readable Access Violations" is therefore merely a small aid.

Full information on the patch is found here [1]. The source code is available here [3].

Links
[1] https://forum.worldofplayers.de/forum/threads/?p=26774926
[2] https://forum.worldofplayers.de/forum/threads/?p=25925207
[3] https://github.com/szapp/HRAV


[ko-fi.com]
1 Comments
skazy 19 Jul, 2022 @ 7:37pm 
Such a nicely written description. It feels like i am reading an articles from ieee