Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385109

Summary: =media-video/vlc-2.0.0 segfault error
Product: Gentoo Linux Reporter: Chris Smith <chris>
Component: Current packagesAssignee: Tom Wijsman (TomWij) (RETIRED) <tomwij>
Status: RESOLVED NEEDINFO    
Severity: normal CC: media-video
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Smith 2011-09-30 17:39:28 UTC
media-video/vlc-1.1.11 displays segfault error on installation

Reproducible: Always

Actual Results:  
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * Updating desktop mime database ...
 * Updating shared mime info database ...
 * Updating icons cache ...                                                                                   [ ok ]
 * Updating scrollkeeper database ...
 * Running /usr/lib64/vlc/vlc-cache-gen on /usr/lib64/vlc/plugins/
/var/tmp/portage/media-video/vlc-1.1.11/temp/environment: line 3848: 12882 Segmentation fault      "/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
>>> media-video/vlc-1.1.11 merged.
Comment 1 Chris Smith 2011-12-16 22:10:59 UTC
I'm still getting this with media-video/vlc-1.1.12-r1.

Maybe it's one plugin that's causing the issue. Don't know if this is the problem but I get no audio via a udp stream.
Comment 2 Chris Smith 2011-12-16 23:53:07 UTC
the following plugins cause the seg fault here:

video_output/libxcb_glx_plugin

misc/libnotify_plugin
misc/libsvg_plugin
Comment 3 Chris Smith 2011-12-16 23:53:37 UTC
vlc-9999 has same seg fault issue
Comment 4 Chris Smith 2012-01-17 00:22:08 UTC
any news on this?
Comment 5 Zorzo Luca 2012-02-24 18:01:15 UTC
Same problem here with vlc-2.0.0:

>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * Running /usr/lib64/vlc/vlc-cache-gen on /usr/lib64/vlc/plugins/
/var/tmp/portage/media-video/vlc-2.0.0/temp/environment: line 3049: 22445 Errore di segmentazione "/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
>>> media-video/vlc-2.0.0 merged.
>>> Regenerating /etc/ld.so.cache...

After a full backtrace I found that vlc-cache-gen has problems with dirac.
Solved compiling dirac without any optimization (using -O or -O0).
Comment 6 Chris Smith 2012-02-24 18:51:08 UTC
(In reply to comment #5)
> After a full backtrace I found that vlc-cache-gen has problems with dirac.
> Solved compiling dirac without any optimization (using -O or -O0).

Does not solve it here.
Comment 7 Chris Smith 2012-02-24 18:59:07 UTC
what's the method to running this backtrace?
Comment 8 Zorzo Luca 2012-02-24 19:21:45 UTC
(In reply to comment #7)
> what's the method to running this backtrace?

I'm using this method:
1 - emerge gdb if not

2 - cat /etc/portage/env/enable_debug.conf 
CFLAGS="-march=native -O0 -ggdb3 -pipe"
CXXFLAGS="${CFLAGS}"
FEATURES="${FEATURES} nostrip splitdebug"
USE="debug"

3 - cat /etc/portage/package.env/media-video/vlc
media-video/vlc enable_debug.conf

4 - emerge -av1 vlc

5 - gdb /usr/lib64/vlc/vlc-cache-gen
5.a - set args -f /usr/lib64/vlc/plugins
5.b - run
5.c - bt

P.S.: I'm using portage-2.2, don't know if /etc/portage/env and package.env work also with stable one.
Comment 9 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-12-15 21:54:57 UTC
Please try the most recent versions and see if you can still reproduce this.