FS#11811 - ffmpeg segmentation fault in libavcodec.so on ogg -> mpeg conversion

Attached to Project: Arch Linux
Opened by Piotr (riklaunim) - Monday, 20 October 2008, 10:53 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 07 February 2009, 23:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Aaron Griffin (phrakture)
Architecture i686
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Current version of ffmpeg with crash when trying to make and mpeg file from ogg. It crashes for me on this (I get segmentation fault info text):

ffmpeg -i big_buck_bunny_480p_stereo.ogg a.mpeg

Where big_buck_bunny_480p_stereo.ogg is the Big Buck Bunny movie. The segmentation fault shows only on i686 archlinux, while on x86_64 archlinux on the same computer with the same packages it works. Crash logs also as:

Oct 17 22:34:54 zlowieszczy ffmpeg[3368] general protection ip:b78ad84c sp:bfa62728 error:0 in libavcodec.so.51.60.0[b779e000+45b000]
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 07 February 2009, 23:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in ffmpeg 20081220-1
Comment by orbisvicis (orbisvicis) - Monday, 10 November 2008, 23:18 GMT
Also happens when converting ogg->wav

Error:
ffmpeg -i InWalkedBud.ogg -acodec pcm_s16le -f wav InWalkedBud.wav
(...)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
Segmentation fault

dmesg:
ffmpeg[11840] general protection ip:b78fc84c sp:bf8a6728 error:0 in libavcodec.so.51.60.0[b77ed000+45b000]
Comment by David Rosenstrauch (darose) - Friday, 09 January 2009, 16:13 GMT
I'm having a similar problem converting an avi video (mpeg4, liba52) to an mp4 (libxvid, libfaac):

ffmpeg[6695]: segfault at fffffffffffffffb ip 00007f04bb7f79ca sp 00007fffc48f2f10 error 4 in libavcodec.so.51.60.0[7f04bb779000+42f000]
Comment by Aaron Griffin (phrakture) - Friday, 09 January 2009, 21:03 GMT
Adding Eric as he's doing some rebuilds here.

Which ffmpeg version is this?
Comment by David Rosenstrauch (darose) - Friday, 09 January 2009, 21:18 GMT
[darose@darsys9 movies]$ pacman -Q ffmpeg
ffmpeg 20080715-3
Comment by Eric Belanger (Snowman) - Friday, 16 January 2009, 05:17 GMT
I tested the ffmpeg in testing on x86_64 for this bug. The generated mpeg file skips when played. I'll try with a more recent snapshot.

BTW, I used http://download.tuxfamily.org/cls/JOEL_PAINSET_-_Julie_cherie_-_Licence_Art_Libre_license.ogg for the test
Comment by Eric Belanger (Snowman) - Friday, 16 January 2009, 05:52 GMT
It seems that the problem was with mpg123 which I initially used to play the mpeg. Maybe it's because my ogg file was audio only. It plays fine with mplayer and xine on both x86_64 and i686. I'll assume that it's fixed in the ffmpeg in testing.

I haven't tested with the avi. The soname bump is in fact in the libavcodec.so lib so they did a lot of changes in it. Try the new ffmpeg 20081220-1 either while it's in testing or when it'll be moved to extra and report if the problem is still there.

Loading...