https://bugs.winehq.org/show_bug.cgi?id=47858
--- Comment #4 from Rafał Mużyło galtgendo@o2.pl --- OK, so, I've finally googled the proper way of running gdb on wine (given that 'winedbg --gdb' is useless to me).
If my guess is correct, the outlook (for this bug) is bad.
#0 0x7da0f694 in CalculateMatrix (MatrixCoefficients=0x2cf0058, normalizedDistance=<optimized out>, eToLDistance=1483.90259, emitterToListener=..., DstChannelCount=2, SrcChannelCount=1, pEmitter=0x2d09530, pListener=0x2d094c0, Flags=97, ChannelMask=<optimized out>) at FAudio-19.06/src/F3DAudio.c:1226 #1 F3DAudioCalculate (Instance=0x2d0958c "\003", pListener=0x2d094c0, pEmitter=0x2d09530, Flags=97, pDSPSettings=0x2d09500) at FAudio-19.06/src/F3DAudio.c:1473 #2 0x7dac9378 in LEGACY_X3DAudioCalculate (handle=<optimized out>, listener=<optimized out>, emitter=<optimized out>, flags=<optimized out>, out=<optimized out>) at dlls/x3daudio1_1/../xaudio2_7/x3daudio.c:91
(gdb) print *(pListener) $2 = {OrientFront = {x = 0, y = 0, z = 1}, OrientTop = {x = 0, y = 1, z = 0}, Position = {x = 0, y = -4, z = 0}, Velocity = {x = 0, y = 0, z = 0}, pCone = 0x2e422020} (gdb) print *(pListener->pCone) Cannot access memory at address 0x2e422020
...and what exactly is my guess ?
Well, as wine doesn't provide xactengine (even though a partial implementation seems to exist in FAudio), native lib needs to be used. Now, compare the value of pListener and pListener->pCone...
I believe we're hitting a variant of bug 38668, more exactly, the part described in bug 41618 comment 5. This would mean that native xactengine requires native x3daudio.