AuburnSounds / Dplug

Audio plugin framework. VST2/VST3/AU/AAX/LV2 for Linux/macOS/Windows.
https://dplug.org/
Other
485 stars 32 forks source link

32-bit x86 + Windows + LLVM >= 15 + UI open => crash #797

Closed p0nce closed 1 year ago

p0nce commented 1 year ago

tl;dr all 32-bit x86 plugins with UI crash with LDC > 1.31

Beta tester report lack of loading of VST2, but reaper version is unknown

p0nce commented 1 year ago

Plugin crash in REAPER v6.82 32-bit + (VST2 or VST3). Only this plugin is affected no other plugins. It was running bridged probably on the user's side.

(EDIT: crash any 32-bit host actually)

p0nce commented 1 year ago

Depends on LLVM version (>= LLVM15), crash can be reproduced with Distort, in any 32-bit host that opens the UI, including stress-plugin. LDC 1.28 to 1.31 pass LDC 1.32 and above crash

p0nce commented 1 year ago

(wow the new Windbg is awesome) Needs -O -inline and not being in VisualD to repro. Related to D_InlineAsm_X86 assembly code protected by in mipmap.d the same blocks caused issues in DMD and were disabeld, now causing issues in LDC.

Removing the assembly code fixes the bug.

p0nce commented 1 year ago

Fixed in v13.7.10