Bug 12639

Summary: vlc player crashes / segfaults when playing the .webm file in the URL (originally from YouTube)
Product: Mageia Reporter: Shlomi Fish <shlomif>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
URL: http://www.shlomifish.org/Files/files/video/Captain%20Jack%20-%20Iko%20Iko-DjRXGCHYO6c.webm
Whiteboard:
Source RPM: vlc-2.1.3-1.mga5.tainted.src.rpm CVE:
Status comment:
Attachments: The gdb backtrace.

Description Shlomi Fish 2014-02-06 20:21:50 CET
Description of problem:

VLC player on Cauldron crashes / segfaults when playing the .webm file in the URL ( http://www.shlomifish.org/Files/files/video/Captain%20Jack%20-%20Iko%20Iko-DjRXGCHYO6c.webm - it's a music video, but a bit Not Safe For Work (NSFW)-ish, featuring scantily clad women (but no nudity)). I checked it with vlc-2.1.2 built from source and it also crashes, and it is likely caused by the recent ffmpeg upgrade from 2.0.x to 2.1.x (which is what the developers on ##videolan told me).

I'm on x86-64 and was able to reproduce the segfault in LXDE with a new user.

Version-Release number of selected component (if applicable):

Cauldron.

How reproducible:

Always.

Steps to Reproduce:
1. wget the file in the URL.
2. Type "vlc Captain*.webm".

I will attach a transcript of the gdb session soon.

Regards,

-- Shlomi Fish

Reproducible: 

Steps to Reproduce:
Comment 1 Shlomi Fish 2014-02-06 20:23:00 CET
Created attachment 4953 [details]
The gdb backtrace.

This is the gdb backtrace with all debug packages installed when VLC crashes playing the file.
Comment 2 Manuel Hiebel 2014-02-09 19:49:49 CET
(you are the maintainer)
Comment 3 Shlomi Fish 2014-02-09 21:42:09 CET
Hi Manuel,

(In reply to Manuel Hiebel from comment #2)
> (you are the maintainer)

ah, yes, I see now. Well, I think the problem was caused by the Cauldron ffmpeg upgrade from 2.0.x to 2.1.3:

<<<<
------------------------------------------------------------------------
r581473 | fwang | 2014-02-04 18:57:28 +0200 (Tue, 04 Feb 2014) | 1 line
Changed paths:
   M /cauldron/ffmpeg/current/SOURCES/sha1.lst
   M /cauldron/ffmpeg/current/SPECS/ffmpeg.spec

new version 2.1.3
>>>>

ffmpeg is owned by nobody (and I suppose I can adopt it) and it is known for being susceptible to breaking backward compatibility between different middle digits versions. I guess I'll have to ask the VLC developers if they can make a new release or provide me with a temporary downstream patch -  perhaps one that I can backport. Maybe I should open a bug report on their bug tracker or ask on IRC . I'll see what my options are.

Regards,

-- Shlomi Fish
Comment 4 Shlomi Fish 2014-02-13 14:26:22 CET
Hi all,

this is just a note that building and installing ffmpeg-2.0.3 using this script:

<<<<<
#!/bin/bash
./configure --prefix="$HOME/apps/multimedia/ffmpeg" --enable-shared
>>>>>

And then running:

LD_LIBRARY_PATH=~/apps/multimedia/ffmpeg/lib/ vlc /home/music/Music/mp3s/Captain\ Jack\ -\ Iko\ Iko-DjRXGCHYO6c.webm

Results in VLC playing the file to completion without an issue. On the other hand without the LD_LIBRARY_PATH assignment, vlc segfaults after playing a few seconds.

Regards,

-- Shlomi Fish

(In reply to Shlomi Fish from comment #3)
> Hi Manuel,
> 
> (In reply to Manuel Hiebel from comment #2)
> > (you are the maintainer)
> 
> ah, yes, I see now. Well, I think the problem was caused by the Cauldron
> ffmpeg upgrade from 2.0.x to 2.1.3:
> 
> <<<<
> ------------------------------------------------------------------------
> r581473 | fwang | 2014-02-04 18:57:28 +0200 (Tue, 04 Feb 2014) | 1 line
> Changed paths:
>    M /cauldron/ffmpeg/current/SOURCES/sha1.lst
>    M /cauldron/ffmpeg/current/SPECS/ffmpeg.spec
> 
> new version 2.1.3
> >>>>
> 
> ffmpeg is owned by nobody (and I suppose I can adopt it) and it is known for
> being susceptible to breaking backward compatibility between different
> middle digits versions. I guess I'll have to ask the VLC developers if they
> can make a new release or provide me with a temporary downstream patch - 
> perhaps one that I can backport. Maybe I should open a bug report on their
> bug tracker or ask on IRC . I'll see what my options are.
> 
> Regards,
> 
> -- Shlomi Fish
Comment 5 Shlomi Fish 2014-03-13 21:01:27 CET
The bug is gone here on Cauldron, so I'm closing it.

Status: NEW => RESOLVED
Resolution: (none) => FIXED