FS#41527 - [vlc] Segfaults on Start

Attached to Project: Arch Linux
Opened by Kevin Cox (kevincox) - Monday, 11 August 2014, 17:03 GMT
Last edited by Jan de Groot (JGC) - Monday, 08 September 2014, 19:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Currently vlc segfaults after a slight delay whens started.

% pacman -Q vlc
vlc 2.1.5-1
% vlc
VLC media player 2.1.5 Rincewind (revision 2.1.4-49-gdab6cb5)
zsh: segmentation fault (core dumped) vlc

Core dump attached.

Backtrace:
#0 0x00007f7edafb971c in __strcmp_ssse3 () from /usr/lib/libc.so.6
#1 0x00007f7ed2e80fc9 in g_str_equal () from /usr/lib/libglib-2.0.so.0
#2 0x00007f7ed2e805f0 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
#3 0x00007f7ed2ea0140 in g_quark_from_static_string () from /usr/lib/libglib-2.0.so.0
#4 0x00007f7ed12364cc in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0x00007f7edb88c05a in call_init.part () from /lib64/ld-linux-x86-64.so.2
#6 0x00007f7edb88c16b in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#7 0x00007f7edb890577 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#8 0x00007f7edb88bf04 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#9 0x00007f7edb88fc23 in _dl_open () from /lib64/ld-linux-x86-64.so.2
#10 0x00007f7edb24003b in ?? () from /usr/lib/libdl.so.2
#11 0x00007f7edb88bf04 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#12 0x00007f7edb240619 in ?? () from /usr/lib/libdl.so.2
#13 0x00007f7edb2400e1 in dlopen () from /usr/lib/libdl.so.2
#14 0x00007f7edac3d8af in ?? () from /usr/lib/libvlccore.so.7
#15 0x00007f7edac26d0b in ?? () from /usr/lib/libvlccore.so.7
#16 0x00007f7edac27047 in ?? () from /usr/lib/libvlccore.so.7
#17 0x00007f7edac272bb in ?? () from /usr/lib/libvlccore.so.7
#18 0x00007f7edac27554 in ?? () from /usr/lib/libvlccore.so.7
#19 0x00007f7edac27b21 in ?? () from /usr/lib/libvlccore.so.7
#20 0x00007f7edabbcf9d in libvlc_InternalInit () from /usr/lib/libvlccore.so.7
#21 0x00007f7edb66876b in libvlc_new () from /usr/lib/libvlc.so.5
#22 0x0000000000401236 in ?? ()
#23 0x00007f7edaeb1000 in __libc_start_main () from /usr/lib/libc.so.6
#24 0x000000000040148c in ?? ()
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 08 September 2014, 19:28 GMT
Reason for closing:  Fixed
Comment by patrick (potomac) - Tuesday, 12 August 2014, 14:48 GMT
maybe a side effect of the bug  FS#39676 

you can try to recreate the vlc cache file :

# /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins
Comment by patrick (potomac) - Tuesday, 12 August 2014, 14:51 GMT
you may need also to rebuild vlc with the last version of ffmpeg,

see  FS#41369 
Comment by Kevin Cox (kevincox) - Tuesday, 12 August 2014, 15:08 GMT
Although

export LD_PRELOAD=/usr/lib/libgobject-2.0.so.0

did fix it for me.
Comment by Kevin Cox (kevincox) - Tuesday, 12 August 2014, 15:11 GMT
Comment doesn't want to post, trying again.

> you can try to recreate the vlc cache file :
>
> # /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

This gives me a similar crash.

#0 0x00007ff40794a59a in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6
#1 0x00007ff3fe180fc9 in g_str_equal () from /usr/lib/libglib-2.0.so.0
#2 0x00007ff3fe1805f0 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
#3 0x00007ff3fe1a0140 in g_quark_from_static_string () from /usr/lib/libglib-2.0.so.0
#4 0x00007ff3fcc874cc in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0x00007ff407e9205a in call_init.part () from /lib64/ld-linux-x86-64.so.2
#6 0x00007ff407e9216b in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#7 0x00007ff407e96577 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#8 0x00007ff407e91f04 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#9 0x00007ff407e95c23 in _dl_open () from /lib64/ld-linux-x86-64.so.2
#10 0x00007ff4071c403b in ?? () from /usr/lib/libdl.so.2
#11 0x00007ff407e91f04 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#12 0x00007ff4071c4619 in ?? () from /usr/lib/libdl.so.2
#13 0x00007ff4071c40e1 in dlopen () from /usr/lib/libdl.so.2
#14 0x00007ff4076658af in ?? () from /usr/lib/libvlccore.so.7
#15 0x00007ff40764ed0b in ?? () from /usr/lib/libvlccore.so.7
#16 0x00007ff40764f047 in ?? () from /usr/lib/libvlccore.so.7
#17 0x00007ff40764f2bb in ?? () from /usr/lib/libvlccore.so.7
#18 0x00007ff40764f7a7 in ?? () from /usr/lib/libvlccore.so.7
#19 0x00007ff40764fb21 in ?? () from /usr/lib/libvlccore.so.7
#20 0x00007ff4075e4f9d in libvlc_InternalInit () from /usr/lib/libvlccore.so.7
#21 0x00007ff407c6e76b in libvlc_new () from /usr/lib/libvlc.so.5
#22 0x0000000000400966 in ?? ()
#23 0x00007ff4078d9000 in __libc_start_main () from /usr/lib/libc.so.6
#24 0x00000000004009ec in ?? ()
Comment by Kevin Cox (kevincox) - Tuesday, 12 August 2014, 15:12 GMT
I also have the 25MiB core file, let me know if you want it.
Comment by patrick (potomac) - Tuesday, 12 August 2014, 15:43 GMT
try this in one command line, in root :

LD_PRELOAD=/usr/lib/libgobject-2.0.so.0 /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins

you can also rename your vlc profile in ~/.config/vlc/
Comment by Kevin Cox (kevincox) - Tuesday, 12 August 2014, 15:46 GMT
Yes, once the cache is fixed vlc starts fine.
Comment by Jan de Groot (JGC) - Friday, 05 September 2014, 08:37 GMT
Should be fixed with glib2 from testing.

Loading...