libavcodec and AC3 audio crash XBMC
|Reported by:||marillat||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Since 1.1 XBMC crash with an Arithmetic exception when reading a video with an AC3 audio track and only AC3 track.
I did a bug report for XBMC, but I think the problem is in libavcodec as 1.0.1 don't crash XBMC. A XBMC rebuild against 1.1 changes nothing.
Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 0xa81cfb70 (LWP 19280)] 0x0876d47d in GetDelay (this=0xa905fea8) at Engines/SoftAE/SoftAEStream.cpp:486 486 delay += (double)(m_inputBuffer.Used() / m_format.m_frameSize) / (double)m_format.m_sampleRate; (gdb) bt #0 0x0876d47d in GetDelay (this=0xa905fea8) at Engines/SoftAE/SoftAEStream.cpp:486 #1 CSoftAEStream::GetDelay (this=0xa905fea8) at Engines/SoftAE/SoftAEStream.cpp:480 #2 0x0864d79d in CDVDAudio::GetDelay (this=<error reading variable: Cannot access memory at address 0xa81cf100>, this@entry=<error reading variable: Cannot access memory at address 0xa81cf0fc>) at DVDAudio.cpp:363 (gdb) quit