fix(engine): seed object name/type at create; fatal-only native crash logger
CreateObject hook reads _name/_type from the PublicWeenieDesc so off-thread lookups work before the 500 ms identity snapshot resolves names (empty for ~10 s after login). SehTrampoline v2: stack sweep bounded by StackBase, per-thread guards for self-faults and SEH_* wrapper AVs, unhandled-exception filter for fatal crashes, NativeAOT-module AVs logged immediately, other first-chance AVs deferred to a ring flushed only if the process dies. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
37415f5028
commit
a7cdbee135
6 changed files with 629 additions and 110 deletions
|
|
@ -81,6 +81,9 @@ internal static class CreateObjectHooks
|
|||
if (count <= 0)
|
||||
RynthLog.Verbose($"Compat: create object #{count} id=0x{objectId:X8} ptr=0x{result.ToInt32():X8}");
|
||||
|
||||
// Capture name/type from the create descriptor BEFORE the plugin is told about the
|
||||
// object, so its off-thread classifier can read them on the very first attempt.
|
||||
ClientObjectHooks.SeedIdentityFromCreate(objectId, weenieDesc);
|
||||
PluginManager.QueueCreateObject(objectId);
|
||||
AutoIdService.Enqueue(objectId);
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Reference in a new issue