| Summary: | VLC with NVidia segfaults on startup (error 6 in libGL.so.375.26) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jean Michel Varvou <jeanmichel.varvou> |
| Component: | RPM Packages | Assignee: | Shlomi Fish <shlomif> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | High | CC: | andrewsfarm, fri, geiger.david68210, kernel, luigiwalser, mageia, marja11, wilcal.int |
| Version: | Cauldron | ||
| Target Milestone: | Mageia 6 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=19097 | ||
| Whiteboard: | |||
| Source RPM: | vlc-2.2.4-8.2.mga6.tainted, x11-driver-video-nvidia-current | CVE: | |
| Status comment: | |||
|
Description
Jean Michel Varvou
2016-12-24 07:27:45 CET
Marja Van Waes
2016-12-24 10:54:14 CET
CC:
(none) =>
marja11
Jani Välimaa
2016-12-24 11:21:05 CET
Summary:
https://www.mageialinux-online.org/forum/topic-22977.php#m221442 =>
VLC segfaults on startup Hi Jean! vlc starts fine here on x86-64 Cauldron. Moreover: « shlomif@telaviv1:~$ vlc -v VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) [0000000001d7f5e8] pulse audio output error: PulseAudio server connection failure: Connection refused [0000000001de3858] lua interface error: password not configured [0000000001de3858] lua interface: Please specify the password in the preferences. [0000000001de3858] core interface error: no suitable interface module [0000000001ca4088] core libvlc error: interface "telnet,none" initialization failed [0000000001ca4088] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. QObject::~QObject: Timers cannot be stopped from another thread shlomif@telaviv1:~$ vlc -v^C shlomif@telaviv1:~$ ls -l /usr/lib64/vlc/plugins/plugins.dat -rw-r--r-- 1 root root 286801 Nov 29 12:59 /usr/lib64/vlc/plugins/plugins.dat shlomif@telaviv1:~$ rpm -qf /usr/lib64/vlc/plugins/plugins.dat vlc-plugin-common-2.2.4-8.2.mga6.tainted shlomif@telaviv1:~$ » Perhaps you need to restore /usr/lib64/vlc/plugins/plugins.dat somehow by doing «urpmi --replacpkgs --replacefiles --force vlc-plugin-common». Status:
NEW =>
ASSIGNED Hi
I have uninstall and then reinstall vlc. I get the following error message
/var/tmp/rpm-tmp.1G07pa : ligne 3 : 723 Erreur de segmentation (core dumped)/usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins
attention : %triggerin(vlc-2.2.4-8.2.mga6.tainted.x86_64) scriptlet échoué, état de sortie 139
ERROR: 'script' failed for npapi-vlc-2.2.0-1.mga6.x86_64
Besides, when I run
urpmi --replacepkgs --replacefiles --force vlc-plugin-common
I get the same error message :
[root@ISIS plugins]# urpmi --replacepkgs --replacefiles --force vlc-plugin-common
http://ftp.free.fr/mirrors/mageia.org/distrib/cauldron/x86_64/media/tainted/release/vlc-plugin-common-2.2.4-8.2.mga6.tainted.x86_64.rpm
installation de vlc-plugin-common-2.2.4-8.2.mga6.tainted.x86_64.rpm depuis /var/cache/urpmi/rpms
Préparation... ##########################################################################################################################################################################################################
1/1: vlc-plugin-common ##########################################################################################################################################################################################################
/var/tmp/rpm-tmp.V5aqs0 : ligne 3 : 24354 Erreur de segmentation (core dumped)/usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins
attention : %triggerin(vlc-2.2.4-8.2.mga6.tainted.x86_64) scriptlet échoué, état de sortie 139
ERROR: 'script' failed for vlc-plugin-common-2.2.4-8.2.mga6.tainted.x86_64
Hi The workaround is to run the following command strace /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins After that, VLC start. (In reply to Jean Michel Varvou from comment #3) > Hi > > The workaround is to run the following command > > strace /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins > > After that, VLC start. Can we close this bug then? Hi Many of us have encountered this problem. Before closing this incident, it will be useful to check that it is not present at the installation of the iso Mageia 6 sta 2.The workaround works. But I guess the bug is present if we install the first time vlc. Hi Today, I have done a fresh net install. I can confirm that problem is resolve. VLC work fine. Thank you for your help. Resolution:
(none) =>
FIXED Hi, Finally, after an update of vlc, actually we need to run the following command manually strace /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins I thinked that the problem was resolved after a fresh install, but today when I appled the last update, the problem occurred again. I'm not alone, Pascaller has the same problem (see mlo forum : https://www.mageialinux-online.org/forum/topic-22977.php#m222473 ) Resolution:
FIXED =>
(none) Hi, does installing vlc-plugin-lua help to fix this issue? CC:
(none) =>
geiger.david68210 Hi, I have a hypothesis. The problem does not affect everyone. Given the error message, the worry seems to be related to the nvidia proprietary driver and more specifically libGL.so.375.26[ "janv. 13 12:47:51 localhost kernel: vlc-cache-gen[350]: segfault at 7fbbaa2f9220 ip 00007fbb9c733042 sp 00007ffcd4f3c080 error 6 in libGL.so.375.26[7fbb9c683000+c9000] janv. 13 12:47:51 localhost kernel: audit: type=1701 audit(1484308071.669:221): auid=1000 uid=0 gid=0 ses=3 pid=350 comm="vlc-cache-gen" exe="/usr/lib64/vlc/vlc-cache-gen" sig=11" Note that vlc-plugin-lua was already installed. (In reply to Jean Michel Varvou from comment #9) > Hi, > > I have a hypothesis. The problem does not affect everyone. Given the error > message, the worry seems to be related to the nvidia proprietary driver and > more specifically libGL.so.375.26[ > > "janv. 13 12:47:51 localhost kernel: vlc-cache-gen[350]: segfault at > 7fbbaa2f9220 ip 00007fbb9c733042 sp 00007ffcd4f3c080 error 6 in > libGL.so.375.26[7fbb9c683000+c9000] > janv. 13 12:47:51 localhost kernel: audit: type=1701 > audit(1484308071.669:221): auid=1000 uid=0 gid=0 ses=3 pid=350 > comm="vlc-cache-gen" exe="/usr/lib64/vlc/vlc-cache-gen" sig=11" > > Note that vlc-plugin-lua was already installed. CC'ing the kernel and drivers maintainers Source RPM:
vlc-2.2.4-8.2.mga6.tainted =>
vlc-2.2.4-8.2.mga6.tainted, x11-driver-video-nvidia-current bug 20124 is very likely a duplicate of this one This problem continues here today. My test platform: Intel Core i7-2600K Sandy Bridge 3.4GHz GIGABYTE GA-Z68X-UD3-B3 LGA 1155 MoBo GIGABYTE GV-N440D3-1GI Nvidia GeForce GT 440 (Fermi) 1GB RTL8111/8168B PCI Express 1Gbit Ethernet DRAM 16GB (4 x 4GB) Mageia 6 64-bit, Nvidia driver Not seeing any problems at all with vlc and nvidia340 hardware. ASRock A790GXH/128M motherboard Athlon X2 7750 processor Geforce 9800GT video card Mageia 6 from sta2 Classical iso, nvidia340 driver CC:
(none) =>
andrewsfarm
William Kenney
2017-01-16 23:31:55 CET
Blocks:
(none) =>
15527
Samuel Verschelde
2017-01-17 10:29:39 CET
Blocks:
15527 =>
(none)
Samuel Verschelde
2017-01-17 10:45:37 CET
Priority:
Normal =>
High I have found vlc not to work for long time and lazilly just used another player. Now i found this bug report and for now i just say "mee too" vlc-plugin-lua was not installed, installed the one in tainted -> still segfault Nvidia âGK104 [GeForce GTX 760], using "NVIDIA GeForce 420 series and later" On Plasma, 64 bit. $ vlc -vv VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) [0000000000f9e148] core libvlc debug: VLC media player - 2.2.4 Weatherwax [0000000000f9e148] core libvlc debug: Copyright © 1996-2016 the VideoLAN team [0000000000f9e148] core libvlc debug: revision 2.2.3-37-g888b7e89 [0000000000f9e148] core libvlc debug: configured with ./configure '--build=x86_64-mageia-linux-gnu' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--x-includes=/usr/include' '--x-libraries=/usr/lib64' '--disable-dependency-tracking' '--disable-sse' '--enable-bonjour' '--enable-smbclient' '--enable-ncurses' '--enable-lirc' '--enable-xvideo' '--disable-directfb' '--enable-aa' '--enable-sdl' '--enable-mad' '--enable-vorbis' '--enable-ogg' '--enable-theora' '--enable-speex' '--enable-flac' '--enable-mkv' '--enable-dv1394' '--enable-dvbpsi' '--enable-shout' '--enable-pulse' '--enable-jack' '--enable-alsa' '--enable-libmpeg2' '--enable-faad' '--enable-dca' '--enable-live555' '--enable-v4l2' '--enable-gnutls' '--disable-rpath' '--enable-vcdx' '--enable-libcddb' '--enable-x264' '--enable-x265' '--enable-twolame' '--disable-vnc' '--with-pic' 'build_alias=x86_64-mageia-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' 'CPPFLAGS= -DOJI -DMOZ_X11 -I/usr/include/ebml -I/usr/include/speex' 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' 'LUAC=/usr/bin/luac5.2' [0000000000f9e148] core libvlc debug: searching plug-in modules [0000000000f9e148] core libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat [0000000000f9e148] core libvlc warning: cannot read /usr/lib64/vlc/plugins/plugins.dat: No such file or directory [0000000000f9e148] core libvlc debug: recursively browsing `/usr/lib64/vlc/plugins' Segmenteringsfel (minnesutskrift skapad) # journalctl -ab | grep vlc jan 17 10:59:04 svarten audit[24389]: ANOM_ABEND auid=10702 uid=10702 gid=10790 ses=4 pid=24389 comm="vlc" exe="/usr/bin/vlc" sig=11 jan 17 10:59:04 svarten kernel: vlc[24389]: segfault at 7f98116e1220 ip 00007f980e39f042 sp 00007ffecda4a760 error 7 in libGL.so.375.26[7f980e2ef000+c9000] jan 17 10:59:04 svarten kernel: audit: type=1701 audit(1484647144.469:598): auid=10702 uid=10702 gid=10790 ses=4 pid=24389 comm="vlc" exe="/usr/bin/vlc" sig=11 jan 17 10:59:48 svarten konsole[7906]: org.kde.kurifilter-ikws: "jan 17 10:59:04 svarten kernel: vlc[24389]: segfault at 7f98116e1220 ip 00007f980e39f042 sp 00007ffecda4a760 error 7 in libGL.so.375.26[7f980e2ef000+c9000]" jan 17 11:00:00 svarten konsole[7906]: org.kde.kurifilter-ikws: "jan 17 10:59:04 svarten kernel: vlc[24389]: segfault at 7f98116e1220 ip 00007f980e39f042 sp 00007ffecda4a760 error 7 in libGL.so.375.26[7f980e2ef000+c9000]" CC:
(none) =>
fri Could anyone produce a backtrace? https://wiki.mageia.org/en/Debugging_software_crashes Weird: When started with gdb it does not crash, and it plays video OK ! Started using $ gdb /usr/bin/vlc and then issuing run After sucessful usage under gdb i quit vlc and gdb, then issued $ /usr/bin/vlc and vlc segfaults... So what may be the difference when vlc is started from gdb?? Does it see a different environment? (btw, i did not find any vlc debug packages) Now i issued the command from comment 3: (need be run as root) : strace /usr/lib64/vlc/vlc-cache-gen -f /usr/lib64/vlc/plugins And after that vlc runs OK. Today VLC on M6, 64-bit, Plasma is running just fine on my nvidia video editing platform. This is a change from just a few days ago. What change(s) made this happen? Yesterday an M6 install to a blank drive, nvidia/plasma resulted in VLC seg-faulting. That was using the proprietary nvidia driver. Today I did the same install and would not allow the proprietary nvidia driver to install and instead am using the nouveau driver. VLC works fine.
Samuel Verschelde
2017-03-14 15:54:23 CET
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=19097 (In reply to Nicolas Lécureuil from comment #23) > Please test new vlc rpm This is where I am today and it works fine: [root@localhost wilcal]# urpmi vlc Package vlc-3.0.0-0.git.5.mga6.tainted.x86_64 is already installed @ William comment #24: 1) did you test with proprietary driver? 2) and without ever have issued the workaround in comment #3 ? (In reply to Morgan Leijström from comment #25) > @ William comment #24: > 1) did you test with proprietary driver? > 2) and without ever have issued the workaround in comment #3 ? For the time being I am not using the proprietary nvidia driver on any of my installs. When that bug(s) gets solved I'll go back to it. (In reply to Nicolas Lécureuil from comment #23) > Please test new vlc rpm FWIW, the new version continues to work OK with the nvidia340 driver, as have all the others for me. Hi The last update did not cause any problems. VLC works fine even with the nvidia proprietary driver. I think we can close the bug. [root@localhost ~]# rpm -qa |grep vlc lib64vlccore8-3.0.0-0.git.6.mga6 vlc-plugin-lua-3.0.0-0.git.6.mga6 phonon4qt5-vlc-0.9.1-4.mga6 lib64vlc5-3.0.0-0.git.6.mga6 vlc-plugin-pulse-3.0.0-0.git.6.mga6 npapi-vlc-2.2.0-1.mga6 vlc-plugin-theora-3.0.0-0.git.6.mga6 vlc-3.0.0-0.git.6.mga6 vlc-plugin-vdpau-3.0.0-0.git.6.mga6 phonon-vlc-0.9.1-4.mga6 vlc-plugin-common-3.0.0-0.git.6.mga6 [root@localhost ~]# rpm -qa |grep nvidia nvidia-current-doc-html-375.39-1.mga6.nonfree x11-driver-video-nvidia-current-375.39-1.mga6.nonfree dkms-nvidia-current-375.39-1.mga6.nonfree thanks for the feedback => closing Status:
REOPENED =>
RESOLVED |