crash during decoding

"Yan Lu" <[email protected]> Wed, 10 May 2006 09:18:35 +1000
Newsgroups gmane.comp.video.videolan.vls.devel,gmane.comp.video.videolan.vlc.general,gmane.comp.video.videolan.vlc.devel,gmane.comp.video.x264.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C67412.B7118590
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi All

 

I want to decode raw mpeg4 stream, but I have always got such errors: 

 

Program received signal SIGFPE, Arithmetic exception.

[Switching to thread 1944.0x45c]

0x008bcf61 in __divdi3 () at ../../include/vlc_meta.h:112

112     }

Current language:  auto; currently c++

(gdb) bt

#0  0x008bcf61 in __divdi3 () at ../../include/vlc_meta.h:112

#1  0x0061a81b in decode_vop_header (s=0x195b050, gb=0x195cbc8) at
h263.c:5858

#2  0x00756356 in ff_h263_decode_frame (avctx=0x194c040, data=0x1955280,

    data_size=0x406fefc, buf=0x19f4410 "", buf_size=3237) at h263dec.c:493

#3  0x005fa6f5 in avcodec_decode_video (avctx=0x194c040, picture=0x1955280,

    got_picture_ptr=0x406fefc, buf=0x19f4410 "", buf_size=3237) at
utils.c:621

#4  0x00495724 in DecodeVideo__ffmpeg (p_dec=0x1966940, pp_block=0x406ff6c)
at video.c:504

#5  0x00455d85 in DecoderDecode (p_dec=0x1966940, p_block=0x19f36b0)

    at src/input/decoder.c:666

#6  0x00455bbb in DecoderThread (p_dec=0x1966940) at src/input/decoder.c:488


 

 

Could anyone explain what causes such crashing? Thanks lot.

 

 

Yan


------=_NextPart_000_0000_01C67412.B7118590
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi All<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I want to decode raw mpeg4 stream, but I have always =
got
such errors: <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Program received signal SIGFPE, Arithmetic =
exception.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[Switching to thread =
1944.0x45c]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>0x008bcf61 in __divdi3 () at =
../../include/vlc_meta.h:112<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>112&nbsp;&nbsp;&nbsp;&nbsp; =
}<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Current language:&nbsp; auto; currently =
c++<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>(gdb) bt<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#0&nbsp; 0x008bcf61 in __divdi3 () at
../../include/vlc_meta.h:112<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#1&nbsp; 0x0061a81b in decode_vop_header =
(s=3D0x195b050,
gb=3D0x195cbc8) at h263.c:5858<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#2&nbsp; 0x00756356 in ff_h263_decode_frame
(avctx=3D0x194c040, data=3D0x1955280,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; data_size=3D0x406fefc, =
buf=3D0x19f4410
&quot;&quot;, buf_size=3D3237) at =
h263dec.c:493<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#3&nbsp; 0x005fa6f5 in avcodec_decode_video
(avctx=3D0x194c040, picture=3D0x1955280,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; got_picture_ptr=3D0x406fefc, =
buf=3D0x19f4410
&quot;&quot;, buf_size=3D3237) at =
utils.c:621<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#4&nbsp; 0x00495724 in DecodeVideo__ffmpeg =
(p_dec=3D0x1966940,
pp_block=3D0x406ff6c) at video.c:504<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#5&nbsp; 0x00455d85 in DecoderDecode =
(p_dec=3D0x1966940,
p_block=3D0x19f36b0)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; at =
src/input/decoder.c:666<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>#6&nbsp; 0x00455bbb in DecoderThread =
(p_dec=3D0x1966940) at
src/input/decoder.c:488 <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Could anyone explain what causes such crashing? =
Thanks lot.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Yan<o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0000_01C67412.B7118590--

-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html