Opened 5 years ago

Closed 5 years ago

#1096 closed defect (fixed)

cavs: crash

Reported by: ami_stuff Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: cavs
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

the input file may be broken, see ticket #1095

ffmpeg -i 320.png -vcodec libxavs out.mov
(gdb) r -i out.mov -r 25 out2.mov
Starting program: d:\mingw\msys\1.0\ffmpeg\ffmpeg_g.exe -i out.mov -r 25 out2.mov
[New Thread 3220.0xc98]
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 10 2012 16:15:15 with gcc 4.6.1
  configuration: --disable-yasm --disable-ffprobe
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf54.2.100
  Duration: 00:00:00.04, start: 0.000000, bitrate: 321 kb/s
    Stream #0:0(eng): Video: cavs (avs2 / 0x32737661), yuv420p, 320x240, 167 kb/
s, 50 fps, 25 tbn, 25 tbc
    Metadata:
      handler_name    : ♂DataHandler
w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, mov, to 'out2.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf54.2.100
    Stream #0:0(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 320x240, q=2-31
, 200 kb/s, 25 tbn, 25 tbc
    Metadata:
      handler_name    : ♂DataHandler
Stream mapping:
  Stream #0:0 -> #0:0 (cavs -> mpeg4)
Press [q] to stop, [?] for help
[cavs @ 03dd0920] weighted prediction not yet supported

Program received signal SIGSEGV, Segmentation fault.
0x00956cb5 in ff_cavs_init_mb (h=0x3e15a80) at libavcodec/cavs.c:542
542             h->mv[MV_FWD_B2+i] = h->top_mv[0][h->mbx*2+i];
(gdb) bt
#0  0x00956cb5 in ff_cavs_init_mb (h=0x3e15a80) at libavcodec/cavs.c:542
#1  0x0070c89f in decode_mb_i (h=0x3e15a80, cbp_code=0)
    at libavcodec/cavsdec.c:201
#2  0x007102a5 in decode_pic (h=0x3e15a80) at libavcodec/cavsdec.c:558
#3  cavs_decode_frame (avctx=0x3dd0920, data=0x3873e00, data_size=0x22de20,
    avpkt=0x22dbc8) at libavcodec/cavsdec.c:690
#4  0x004f9770 in avcodec_decode_video2 (avctx=0x3dd0920, picture=0x3873e00,
    got_picture_ptr=0x22de20, avpkt=0x22dd30) at libavcodec/utils.c:1351
#5  0x004069cb in transcode_video (pkt_pts=<optimized out>,
    got_output=<optimized out>, pkt=<optimized out>, ist=<optimized out>)
    at ffmpeg.c:2102
#6  output_packet (ist=0x3871da0, ost_table=0x3863820, nb_ostreams=1,
    pkt=0x22fb28) at ffmpeg.c:2270
#7  0x0040bf3b in transcode (output_files=0x38716c0, nb_output_files=1,
    input_files=0x3871e60, nb_input_files=1) at ffmpeg.c:3082
#8  0x0022ff48 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

Attachments (1)

out.mov (1.6 KB) - added by ami_stuff 5 years ago.

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by ami_stuff

comment:1 Changed 5 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords cavs added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:2 Changed 5 years ago by michael

Cant reproduce and there where some crash fixes in cavs so likely its fixed. Can someone confirm if this is still crashing or fixed?

comment:3 Changed 5 years ago by ami_stuff

Yes it looks to be fixed, doesn't crash anymore.

comment:4 Changed 5 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.