http://bugs.winehq.org/show_bug.cgi?id=10099
Summary: FP exception in DSOUND_RecalcVolPan, abruptly quits Product: Wine Version: 0.9.47. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx-dsound AssignedTo: wine-bugs@winehq.org ReportedBy: wine@rasqual.silk.com
Created an attachment (id=8661) --> (http://bugs.winehq.org/attachment.cgi?id=8661) winedbg, trace output
A floating-point exception causes the executed program to abruptly end.
Backtrace excerpt: =>1 0x7efce47a in libm.so.6 (+0x847a) (0x7bbfe5f4) 2 0x7e88c090 DSOUND_RecalcVolPan+0xf0() in dsound (0x7bbfe644) 3 0x7e89b0a6 DSOUND_Calc3DBuffer+0x4d6() in dsound (0x7bbfe754)
http://source.winehq.org/source/dlls/dsound/mixer.c?v=wine-0.9.47#L42
In the log, we can see the trace level message: trace:dsound:DSOUND_RecalcVolPan (0x2167514) trace:dsound:DSOUND_RecalcVolPan Vol=-301 Pan=-2147483648 meaning the line: TRACE("left = %x, right = %x\n", volpan->dwTotalLeftAmpFactor, volpan->dwTotalRightAmpFactor); is never reached.
The function is also logged at earlier points and working, e.g.: trace:dsound:DSOUND_RecalcVolPan (0x2167514) trace:dsound:DSOUND_RecalcVolPan Vol=0 Pan=0 trace:dsound:DSOUND_RecalcVolPan left = ffff, right = ffff
Reproduced in Symphonic Rain (app db entry pending), when clicking on the "Game Start" main menu option.