goatcorp / Dalamud

FFXIV plugin framework and API
GNU Affero General Public License v3.0
1.15k stars 270 forks source link

Random crashes when opening UI in-game #1505

Open arieshi255 opened 10 months ago

arieshi255 commented 10 months ago

XIVLauncher Version

XIVLauncher 1.0.6.0 (Flatpak)

Wine Version

unofficial-wine-xiv-git-8.18.0 (tried different ones)

Dalamud Version

9.0.0.7

OS

Arch Linux, kernel 6.5.8

Error

Basically, there seems to be an error happening during HandleFrameworkUpdate. I've tried disabling pretty much every plugin I've added since this started occurring. This is the relevant error from the log:

2023-10-27 20:59:45.830 +02:00 [ERR] [AddonLifecycle] Caught exception when calling original AddonSetup. This may be a bug in the game or another plugin hooking this method.
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Dalamud.Game.Addon.Lifecycle.AddonLifecycle.OnAddonSetup(AtkUnitBase* addon, UInt32 valueCount, AtkValue* values) in C:\goatsoft\companysecrets\dalamud\Game\Addon\Lifecycle\AddonLifecycle.cs:line 232
2023-10-27 20:59:47.006 +02:00 [INF] LASTEXCEPTION:eyJXaGVuIjoiMjAyMy0xMC0yN1QyMDo1OTo0Ny4wMDY2MDc4KzAyOjAwIiwiSW5mbyI6IlN5c3RlbS5BY2Nlc3NWaW9sYXRpb25FeGNlcHRpb246IEF0dGVtcHRlZCB0byByZWFkIG9yIHdyaXRlIHByb3RlY3RlZCBtZW1vcnkuIFRoaXMgaXMgb2Z0ZW4gYW4gaW5kaWNhdGlvbiB0aGF0IG90aGVyIG1lbW9yeSBpcyBjb3JydXB0LlxyXG4gICBhdCBEYWxhbXVkLkdhbWUuRnJhbWV3b3JrLkhhbmRsZUZyYW1ld29ya1VwZGF0ZShJbnRQdHIgZnJhbWV3b3JrKSBpbiBDOlxcZ29hdHNvZnRcXGNvbXBhbnlzZWNyZXRzXFxkYWxhbXVkXFxHYW1lXFxGcmFtZXdvcmsuY3M6bGluZSA0MTEiLCJDb250ZXh0IjoiVW5oYW5kbGVkIGV4Y2VwdGlvbiBvbiBBcHBEb21haW4ifQ==
2023-10-27 20:59:47.006 +02:00 [FTL] Unhandled exception on AppDomain
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Dalamud.Game.Framework.HandleFrameworkUpdate(IntPtr framework) in C:\goatsoft\companysecrets\dalamud\Game\Framework.cs:line 411
2023-10-27 20:59:47.006 +02:00 [INF] LASTEXCEPTION:eyJXaGVuIjoiMjAyMy0xMC0yN1QyMDo1OTo0Ny4wMDY2NjE4KzAyOjAwIiwiSW5mbyI6IlN5c3RlbS5BY2Nlc3NWaW9sYXRpb25FeGNlcHRpb246IEF0dGVtcHRlZCB0byByZWFkIG9yIHdyaXRlIHByb3RlY3RlZCBtZW1vcnkuIFRoaXMgaXMgb2Z0ZW4gYW4gaW5kaWNhdGlvbiB0aGF0IG90aGVyIG1lbW9yeSBpcyBjb3JydXB0LlxyXG4gICBhdCBEYWxhbXVkLkdhbWUuRnJhbWV3b3JrLkhhbmRsZUZyYW1ld29ya1VwZGF0ZShJbnRQdHIgZnJhbWV3b3JrKSBpbiBDOlxcZ29hdHNvZnRcXGNvbXBhbnlzZWNyZXRzXFxkYWxhbXVkXFxHYW1lXFxGcmFtZXdvcmsuY3M6bGluZSA0MTEiLCJDb250ZXh0IjoiRGFsYW11ZFVuaGFuZGxlZCJ9
andreymulik commented 10 months ago

Same problem. ArchLinux, kernel 6.5.9.arch2-1, XIVLauncher 6.3.10. I also encountered a similar problem last month, but it was quickly fixed.

dalamud.log