[Bug 10099] New: FP exception in DSOUND_RecalcVolPan, abruptly quits
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(a)winehq.org ReportedBy: wine(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Rasqual <wine(a)rasqual.silk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8661 is|0 |1 obsolete| | --- Comment #1 from Rasqual <wine(a)rasqual.silk.com> 2007-10-21 12:28:26 --- Created an attachment (id=8705) --> (http://bugs.winehq.org/attachment.cgi?id=8705) winedbg, trace output (+dsound3d,+dsound) winedbg, trace output, including sound3d module. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Rasqual <wine(a)rasqual.silk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8705|winedbg, trace output |winedbg (+dsound3d,+dsound) description|(+dsound3d,+dsound) | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Rasqual <wine(a)rasqual.silk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine(a)rasqual.silk.com --- Comment #2 from Rasqual <wine(a)rasqual.silk.com> 2007-10-21 12:31:37 --- Relevant additional info: trace:dsound3d:DSOUND_Calc3DBuffer (0x19eec50) trace:dsound3d:DSOUND_Calc3DBuffer Normal 3D processing mode trace:dsound3d:VectorBetweenTwoPoints A (-1.000000,0.000000,-1.000000), B (0.000000,0.000000,0.000000), AB = (1.000000,0.000000,1.000000) trace:dsound3d:ScalarProduct (1.000000,0.000000,1.000000) * (1.000000,0.000000,1.000000) = 2.000000) trace:dsound3d:VectorMagnitude |(1.000000,0.000000,1.000000)| = 1.414214 trace:dsound3d:DSOUND_Calc3DBuffer dist. att: Distance = 1.414214, MinDistance = 1.000000 => adjusting volume 0 to -301.029968 trace:dsound3d:DSOUND_Calc3DBuffer conning: cones not set trace:dsound3d:VectorBetweenTwoPoints A (0.000000,0.000000,0.000000), B (-1.000000,0.000000,-1.000000), AB = (-1.000000,0.000000,-1.000000) trace:dsound3d:VectorProduct (0.000000,0.000000,0.000000) x (0.000000,0.000000,0.000000) = (0.000000,0.000000,0.000000) trace:dsound3d:ScalarProduct (0.000000,0.000000,0.000000) * (-1.000000,0.000000,-1.000000) = 0.000000) trace:dsound3d:ScalarProduct (0.000000,0.000000,0.000000) * (0.000000,0.000000,0.000000) = 0.000000) trace:dsound3d:VectorMagnitude |(0.000000,0.000000,0.000000)| = 0.000000 trace:dsound3d:ScalarProduct (-1.000000,0.000000,-1.000000) * (-1.000000,0.000000,-1.000000) = 2.000000) trace:dsound3d:VectorMagnitude |(-1.000000,0.000000,-1.000000)| = 1.414214 trace:dsound3d:AngleBetweenVectorsRad angle between (0.000000,0.000000,0.000000) and (-1.000000,0.000000,-1.000000) = nan radians trace:dsound3d:DSOUND_Calc3DBuffer panning: Angle = nan rad, lPan = -2147483648 trace:dsound:DSOUND_RecalcVolPan (0x19eeccc) trace:dsound:DSOUND_RecalcVolPan Vol=-301 Pan=-2147483648 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Rasqual <wine(a)rasqual.silk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|FP exception in |FP exception in |DSOUND_RecalcVolPan, |DSOUND_RecalcVolPan, |abruptly quits |abruptly quits ( -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Rasqual <wine(a)rasqual.silk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|FP exception in |FP exception in |DSOUND_RecalcVolPan, |DSOUND_RecalcVolPan, |abruptly quits ( |abruptly quits (3D sound | |related) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|FP exception in |Symphonic Rain crashes when |DSOUND_RecalcVolPan, |starting the game |abruptly quits (3D sound | |related) | --- Comment #3 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2007-10-21 12:46:37 --- Please leave the summary along. It should not reflect what you think the reason might be. It should state what the problem is. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Rasqual <wine(a)rasqual.silk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Symphonic Rain crashes when |Symphonic Rain crashes when |starting the game |starting story mode -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2007-10-21 15:10:50 --- Is there a demo/download of this available? Does it have the same problem? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 --- Comment #5 from Rasqual <wine(a)rasqual.silk.com> 2007-10-21 17:06:04 --- Unfortunately, there is no demo version of this game. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Maarten Lankhorst <M.B.Lankhorst(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs(a)winehq.org |M.B.Lankhorst(a)gmail.com Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 --- Comment #6 from Maarten Lankhorst <M.B.Lankhorst(a)gmail.com> 2007-11-07 15:40:00 --- Created an attachment (id=9018) --> (http://bugs.winehq.org/attachment.cgi?id=9018) Work around 'nan' patch Does the attached patch fix the problem? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 --- Comment #7 from Rasqual <wine(a)rasqual.silk.com> 2007-11-08 16:13:13 --- Created an attachment (id=9039) --> (http://bugs.winehq.org/attachment.cgi?id=9039) wine trace (+dsound3d,+dsound) Martin, I applied the " Work around 'nan' patch " on 0.9.47 with modifying it a bit to compile ('angle' is not defined in the new AngleBetweenVectorsDeg() function) It worked successfully as far as I can tell, no more crash. There are still other 3D sound problems remaining, but those should be unrelated to this bug ticket. I attached the log for reference. You shall observe that there are no 'nan' values anymore. Thanks for your support! -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Rasqual <wine(a)rasqual.silk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #9039|text/plain |application/x-bzip2 mime type| | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #8 from Austin English <austinenglish(a)gmail.com> 2008-06-05 11:17:47 --- Is this still an issue in 1.0-rc3 or newer wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Maarten Lankhorst <m.b.lankhorst(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #9 from Maarten Lankhorst <m.b.lankhorst(a)gmail.com> 2008-06-05 11:26:40 --- I submitted the patch, but forgot to mark the bug fixed, hereby. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10099 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #10 from Alexandre Julliard <julliard(a)winehq.org> 2008-06-06 10:39:49 --- Closing bugs fixed in 1.0-rc4. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org