Opened 5 years ago

Closed 5 years ago

#3297 closed defect (fixed)

libxvidenc crash

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

Description

autobuild

C:\>ffmpeg -i xvid.avi -s 77x97 -vcodec libxvid -an out.avi
ffmpeg version N-59742-gd9481dc Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan  9 2014 22:01:53 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 62.100 / 52. 62.100
  libavcodec     55. 47.101 / 55. 47.101
  libavformat    55. 22.103 / 55. 22.103
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  1.100 /  4.  1.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from 'xvid.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 454 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv
420p, 320x240 [SAR 1:1 DAR 4:3], 23.97 tbr, 23.97 tbn, 23.97 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 k
b/s
[libxvid @ 02b9c000] Xvid: Could not create encoder reference

Attachments (1)

xvid.avi (700.7 KB) - added by ami_stuff 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by ami_stuff

comment:1 Changed 5 years ago by cehoyos

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

Regression since ccb212b6 - patch sent.

$ ffmpeg -i tests/lena.pnm -s 77x97 -vcodec libxvid out.avi
ffmpeg version N-59908-g3ca7085 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan 17 2014 11:02:35 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --enable-libxvid
  libavutil      52. 62.100 / 52. 62.100
  libavcodec     55. 48.101 / 55. 48.101
  libavformat    55. 23.103 / 55. 23.103
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  1.100 /  4.  1.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'tests/lena.pnm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
[libxvid @ 0x3878fa0] Xvid: Could not create encoder reference
Segmentation fault

Crashes in xvid_encore(x->encoder_handle, XVID_ENC_DESTROY, NULL, NULL) because of a wrong handle.

comment:2 Changed 5 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed

Fixed in ee3fc8aa - thank you for the report!

Note: See TracTickets for help on using tickets.