avconv segfaults when using libx264 codec.

Bug #1241777 reported by Matt
70
This bug affects 14 people
Affects Status Importance Assigned to Milestone
libav (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

 s avconv -y -i "Sin.Nombre.avi" -vcodec libx264 -v debug -crf 1 ".output.mp4" -threads 8
avconv version 0.8.7-6:0.8.7-1ubuntu2, Copyright (c) 2000-2013 the Libav developers
  built on Oct 11 2013 08:39:40 with gcc 4.8.1
  configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.7-1ubuntu2' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-gnutls --enable-libgsm --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  avutil configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.7ubuntu1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3
  avcodec configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.7ubuntu1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 --enable-libvo-aacenc --enable-version3 --enable-libvo-amrwbenc --enable-version3
  libavutil 51. 22. 1 / 51. 22. 1
  libavcodec 53. 35. 0 / 53. 35. 0
  libavformat 53. 21. 1 / 53. 21. 1
  libavdevice 53. 2. 0 / 53. 2. 0
  libavfilter 2. 15. 0 / 2. 15. 0
  libswscale 2. 1. 0 / 2. 1. 0
  libpostproc 52. 0. 0 / 52. 0. 0
[avi @ 0x112e7c0] Probed with size=2048 and score=100
st:0 removing common factor 8 from timebase
[msmpeg4 @ 0x1130760] err{or,}_recognition separate: 1; 1
[msmpeg4 @ 0x1130760] err{or,}_recognition combined: 1; 1
[msmpeg4 @ 0x1130760] Unsupported bit depth: 0
[mp3 @ 0x11329e0] err{or,}_recognition separate: 1; 1
[mp3 @ 0x11329e0] err{or,}_recognition combined: 1; 1
[avi @ 0x112e7c0] All info found
Input #0, avi, from 'Time Bandits.avi':
  Metadata:
    encoder : Nandub v1.0rc2
    title : Time Bandits
    ISBJ : Time Bandits
    artist : Directed by Terry Gilliam
    copyright : Offered by LabMonkey
    comment :
  Duration: 01:55:53.16, start: 0.000000, bitrate: 845 kb/s
    Stream #0.0, 1, 125/2997: Video: msmpeg4, yuv420p, 640x352, 125/2997, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0.1, 19, 1/11982: Audio: mp3, 44100 Hz, stereo, s16, 95 kb/s
[buffer @ 0x117df20] w:640 h:352 pixfmt:yuv420p
[libx264 @ 0x117d540] err{or,}_recognition separate: 1; 1
[libx264 @ 0x117d540] err{or,}_recognition combined: 1; 1
[libx264 @ 0x117d540] using mv_range_thread = 24

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libav-tools 6:0.8.7-1ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Fri Oct 18 14:44:58 2013
InstallationDate: Installed on 2013-09-02 (46 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130829)
MarkForUpload: True
SourcePackage: libav
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matt (mmtt) wrote :
Revision history for this message
Brandon Snider (brandonsnider) wrote :

I tried this with a random video here and it does crash, so this is confirmed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libav (Ubuntu):
status: New → Confirmed
Revision history for this message
dariocaruso (ing.gonzo) wrote :

same problem with 3 different computers.

I'm using ubuntu saucy from beta for compatibility reason (new hardware supported only in saucy) and ffmpeg/avconv with no problem until the update to the stable ubuntu saucy version.
Now all the machines give me segfault with libx264 that is crucial for my work.
If i try to use newer ffmpeg/libav-codec combination (from launchpad ppa) ever see it crash or don't work.

Revision history for this message
Oleksij Rempel (olerem) wrote :

Please attach "cat /proc/cpuinfo" from faulty PCs.

Revision history for this message
borgotretre (borgotretre) wrote :
Download full text (4.8 KiB)

1 pc)

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
stepping : 2
microcode : 0x9
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 4523.06
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
stepping : 2
microcode : 0x9
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 4523.06
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
stepping : 2
microcode : 0x9
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 2
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 4523.06
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
stepping : 2
microcode : 0x9
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 2
apicid : 5
initial apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm i...

Read more...

Revision history for this message
arturo (arturo-openframeworks) wrote :

this issue might be related:

https://bugs.launchpad.net/ubuntu/+source/x264/+bug/1241772

and there's a description of where the problem comes from

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.