Fixed point divide-by-zero issue for testdenoise.exe

Ajay Dhanapalan <[email protected]> Mon, 7 Mar 2016 19:20:54 -0800
Newsgroups gmane.comp.audio.compression.speex.devel
Message-ID <CAMgQzd6FNTmHv+NemfEM_Jaf8sR7+v6xeBpR0=Md1NbLnK7wLA@mail.gmail.com>
--===============1816700075312850926==
Content-Type: multipart/alternative; boundary=001a113e469eb20ca7052d811199

--001a113e469eb20ca7052d811199
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello!



I tried quite a few things before I could reach out to the community. The
problem I am facing is that I am unable to run SPEEX in fixed point at WB
15ms or 20ms frameSize for some files. I tried using rc1.1/1.2/1.3 releases
and all exhibit the same issue.



I tried enabling the debug option during configuration step: ./configure
=E2=80=93enable-fixed-point-debug; but this gives bit exact outputs to floa=
ting
point. I am not sure if this is running fixed point.



Any help is greatly appreciated!



The stackdump is as follows:

Exception: STATUS_INTEGER_DIVIDE_BY_ZERO at rip=3D005FFB72544

rax=3D00000000FFFF8001 rbx=3D0000000600013FC0 rcx=3D0000000000000000

rdx=3D00000000FFFFFFFF rsi=3D0000000600013520 rdi=3D0000000600012820

r8 =3D0000000000000009 r9 =3D0000000000000514 r10=3D0000000600013F80

r11=3D0000000000007210 r12=3D0000000000000007 r13=3D0000000000000018

r14=3D0000000000000000 r15=3D00000006000103C0

rbp=3D00000006000123F0 rsp=3D00000000FFFFC930

program=3DC:\Users\adhanapalan\Desktop\test\speexdsp-1.2rc3.tar\speexdsp-1.=
2rc3\libspeexdsp\.libs\testdenoise.exe,
pid 13368, thread main

cs=3D0033 ds=3D002B es=3D002B fs=3D0053 gs=3D002B ss=3D002B

Stack trace:

Frame        Function    Args

006000123F0  005FFB72544 (000FFFFCA20, 00000000000, 000FFFFCBD0,
000FFFFDE58)

000FFFFCCC0  0010040184B (00000000020, FF0700010302FF00, 0018004843C,
000FFFFD680)

000FFFFCCC0  001800484AD (00000000000, 00000000000, 00000000000,
00000000000)

00000000000  0018004618C (00000000000, 00000000000, 00000000000,
00000000000)

000FFFFFFF0  00180046224 (00000000000, 00000000000, 00000000000,
00000000000)

End of stack trace



Thank you,



Regards,

Ajay

--001a113e469eb20ca7052d811199
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><p class=3D"MsoNormal">Hello!</p>

<p class=3D"MsoNormal">=C2=A0</p>

<p class=3D"MsoNormal">I tried quite a few things before I could reach out =
to the
community. The problem I am facing is that I am unable to run SPEEX in fixe=
d
point at WB 15ms or 20ms frameSize for some files. I tried using rc1.1/1.2/=
1.3
releases and all exhibit the same issue. </p>

<p class=3D"MsoNormal">=C2=A0</p>

<p class=3D"MsoNormal">I tried enabling the debug option during configurati=
on step:
./configure =E2=80=93enable-fixed-point-debug; but this gives bit exact out=
puts to
floating point. I am not sure if this is running fixed point.</p>

<p class=3D"MsoNormal">=C2=A0</p>

<p class=3D"MsoNormal">Any help is greatly appreciated!</p>

<p class=3D"MsoNormal">=C2=A0</p>

<p class=3D"MsoNormal">The stackdump is as follows:</p>

<p class=3D"MsoNormal">Exception: STATUS_INTEGER_DIVIDE_BY_ZERO at rip=3D00=
5FFB72544</p>

<p class=3D"MsoNormal">rax=3D00000000FFFF8001 rbx=3D0000000600013FC0
rcx=3D0000000000000000</p>

<p class=3D"MsoNormal">rdx=3D00000000FFFFFFFF rsi=3D0000000600013520
rdi=3D0000000600012820</p>

<p class=3D"MsoNormal">r8 =3D0000000000000009 r9 =3D0000000000000514
r10=3D0000000600013F80</p>

<p class=3D"MsoNormal">r11=3D0000000000007210 r12=3D0000000000000007
r13=3D0000000000000018</p>

<p class=3D"MsoNormal">r14=3D0000000000000000 r15=3D00000006000103C0</p>

<p class=3D"MsoNormal">rbp=3D00000006000123F0 rsp=3D00000000FFFFC930</p>

<p class=3D"MsoNormal">program=3DC:\Users\adhanapalan\Desktop\test\speexdsp=
-1.2rc3.tar\speexdsp-1.2rc3\libspeexdsp\.libs\testdenoise.exe,
pid 13368, thread main</p>

<p class=3D"MsoNormal">cs=3D0033 ds=3D002B es=3D002B fs=3D0053 gs=3D002B ss=
=3D002B</p>

<p class=3D"MsoNormal">Stack trace:</p>

<p class=3D"MsoNormal">Frame=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Func=
tion=C2=A0=C2=A0=C2=A0 Args</p>

<p class=3D"MsoNormal">006000123F0=C2=A0
005FFB72544 (000FFFFCA20, 00000000000, 000FFFFCBD0, 000FFFFDE58)</p>

<p class=3D"MsoNormal">000FFFFCCC0=C2=A0
0010040184B (00000000020, FF0700010302FF00, 0018004843C, 000FFFFD680)</p>

<p class=3D"MsoNormal">000FFFFCCC0=C2=A0
001800484AD (00000000000, 00000000000, 00000000000, 00000000000)</p>

<p class=3D"MsoNormal">00000000000=C2=A0
0018004618C (00000000000, 00000000000, 00000000000, 00000000000)</p>

<p class=3D"MsoNormal">000FFFFFFF0=C2=A0
00180046224 (00000000000, 00000000000, 00000000000, 00000000000)</p>

<p class=3D"MsoNormal">End of stack trace</p>

<p class=3D"MsoNormal">=C2=A0</p>

<p class=3D"MsoNormal">Thank you,</p>

<p class=3D"MsoNormal">=C2=A0</p>

<p class=3D"MsoNormal">Regards,</p>

<p class=3D"MsoNormal">Ajay</p></div>

--001a113e469eb20ca7052d811199--


--===============1816700075312850926==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KU3BlZXgtZGV2
IG1haWxpbmcgbGlzdApTcGVleC1kZXZAeGlwaC5vcmcKaHR0cDovL2xpc3RzLnhpcGgub3JnL21h
aWxtYW4vbGlzdGluZm8vc3BlZXgtZGV2Cg==

--===============1816700075312850926==--