Bug 20910

Summary: VLC 2.2.5.1 Segmentation fault
Product: Mageia Reporter: Alexander Krylov <kafra2005>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal    
Version: 5   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: vlc-2.2.5.1-1.mga5.tainted.src.rpm CVE:
Status comment:
Attachments: gdb output
new gdb output

Description Alexander Krylov 2017-05-22 16:56:06 CEST
Description of problem:
Latest 'tainted' VLC segfaults upon execution...

[username@localhost ~]$ vlc
VLC media player 2.2.5.1 Umbrella (revision 2.2.5.1-14-g05b653355c)
Segmentation fault

Deleting VLC settings dir (~/.config/vlc) makes no difference.

Funny thing:
gdb vlc
(gdb) r

Spawns a working VLC process.


Steps to Reproduce:
1. Execute vlc or cvlc command with terminal.
Comment 1 Alexander Krylov 2017-05-22 16:57:06 CEST
Created attachment 9326 [details]
gdb output
Comment 2 Alexander Krylov 2017-05-22 17:07:16 CEST
Created attachment 9327 [details]
new gdb output

New gdb output with correct version of glibc debug package.
Comment 3 Alexander Krylov 2017-05-22 18:39:06 CEST
Solved with a weird workaround...
Since gdb and strace both can spawn a working VLC process, problem was solved with:

[root@localhost ~]# strace /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins/

Running above command without strace also initially lead to segmentation fault.
Now VLC runs and works fine.

Feel free to mark this bug as Resolved if you don't have anything to add.

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