vlc segfault debug help please
Hi,
I have slackware64-current installed and up to date on two computers. I had vlc-3.0.7 happily running on both until a few days ago, (several updates ago). Now one segfaults: kernel: [137640.025456] vlc[15609]: segfault at 7e5a6 ip 000000000007e5a6 sp 00007ffcf64c7788 error 14 in vlc[400000+1000] They both have installed: OpenAL-1.19.1-x86_64-1alien.txz SDL_sound-1.0.3-x86_64-1alien.txz libxkbcommon-0.8.4-x86_64-1alien.txz npapi-vlc-20190112-x86_64-1alien.txz qt5-5.12.3-x86_64-1alien.txz qt5-webkit-5.212.0_alpha2-x86_64-5alien.txz qt5-webkit-5.9.1-x86_64-2alien.txz* vlc-3.0.7-x86_64-1alien.txz # ldd /usr/bin/vlc linux-vdso.so.1 (0x00007ffe891b8000) libvlc.so.5 => /usr/lib64/libvlc.so.5 (0x00007f6405116000) libvlccore.so.9 => /usr/lib64/libvlccore.so.9 (0x00007f640500b000) libidn.so.12 => /usr/lib64/libidn.so.12 (0x00007f6404dd7000) libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007f6404d84000) libm.so.6 => /lib64/libm.so.6 (0x00007f6404c39000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6404c18000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f6404c11000) libc.so.6 => /lib64/libc.so.6 (0x00007f6404a2c000) /lib64/ld-linux-x86-64.so.2 (0x00007f6405186000) Please suggest how I can figure out what is different/wrong with the Slackware installation on the computer that segfaults? Thanks in Advance |
If you temporarily move ./config/vlc and let that regenerate, does that fix the segfault?
If not, try this? https://bbs.archlinux.org/viewtopic.php?id=151935 Does VLC segfault with all files, or just one particular type? |
Maybe I should have said the /usr/bin/vlc --help segfaults
>If you temporarily move ./config/vlc and let that regenerate, does that fix the segfault? When I move the folder away and re-run vlc the .config/vlc files do not get regenerated > Does VLC segfault with all files, or just one particular type? It segfaults on all files I have tried, no GUI displays /usr/lib64/vlc/vlc-cache-gen --help runs but: /usr/lib64/vlc/vlc-cache-gen /usr/lib64/vlc/plugins/ even segfaults! moving /usr/lib64/vlc/plugins/ aside and re-installing vlc - no change gdb vlc _ says, no symbols |
I don't know if it will help but you have two versions of qt5-webkit installed and qt5-webkit-5.9.1-x86_64-2alien.txz is incompatible with qt5 5.12.x
So: Code:
removepkg /var/log/packages/qt5-webkit-5.9.1-x86_64-2alien That will at least give you a non-broken qt5-webkit, however I doubt that it will fix VLC for you. |
OK...will it segfault with cvlc?
|
Old qt5-webkit (qt5-webkit-5.9.1-x86_64-2alien) removed
and latest version of qt5-webkit installed again (qt5-webkit-5.212.0_alpha2-x86_64-5alien.txz) vlc --help and cvlc --help both still segfault :( |
You could try these suggestions: https://wiki.archlinux.org/index.php...entation_fault
I.e. remove the plugins.dat file from the plugins directory, and then re-install the VLC package. |
I get a segfault issue, too, when I play videos in VLC. VLC opens just fine and plays audio files, but playing videos makes it segfault.
|
# move vlc config file away to allow it to be regenerated
mv -v .config/vlc .config/oldvlc # remove /usr/lib64/vlc rm -fr /usr/lib64/vlc # install all packages and regenerate plugin data # installpkg OpenAL-1.19.1-x86_64-1alien.txz SDL_sound-1.0.3-x86_64-1alien.txz libxkbcommon-0.8.4-x86_64-1alien.txz npapi-vlc-20190112-x86_64-1alien.txz qt5-5.12.3-x86_64-1alien.txz qt5-webkit-5.212.0_alpha2-x86_64-5alien.txz vlc-3.0.7-x86_64-1alien.txz Verifying package OpenAL-1.19.1-x86_64-1alien.txz. Installing package OpenAL-1.19.1-x86_64-1alien.txz: Executing install script for OpenAL-1.19.1-x86_64-1alien.txz. Package OpenAL-1.19.1-x86_64-1alien.txz installed. Verifying package SDL_sound-1.0.3-x86_64-1alien.txz. Installing package SDL_sound-1.0.3-x86_64-1alien.txz: Executing install script for SDL_sound-1.0.3-x86_64-1alien.txz. Package SDL_sound-1.0.3-x86_64-1alien.txz installed. Verifying package libxkbcommon-0.8.4-x86_64-1alien.txz. Installing package libxkbcommon-0.8.4-x86_64-1alien.txz: Executing install script for libxkbcommon-0.8.4-x86_64-1alien.txz. Package libxkbcommon-0.8.4-x86_64-1alien.txz installed. Verifying package npapi-vlc-20190112-x86_64-1alien.txz. Installing package npapi-vlc-20190112-x86_64-1alien.txz: Package npapi-vlc-20190112-x86_64-1alien.txz installed. Verifying package qt5-5.12.3-x86_64-1alien.txz. Installing package qt5-5.12.3-x86_64-1alien.txz: Executing install script for qt5-5.12.3-x86_64-1alien.txz. Package qt5-5.12.3-x86_64-1alien.txz installed. Verifying package qt5-webkit-5.212.0_alpha2-x86_64-5alien.txz. Installing package qt5-webkit-5.212.0_alpha2-x86_64-5alien.txz: Executing install script for qt5-webkit-5.212.0_alpha2-x86_64-5alien.txz. Package qt5-webkit-5.212.0_alpha2-x86_64-5alien.txz installed. Verifying package vlc-3.0.7-x86_64-1alien.txz. Installing package vlc-3.0.7-x86_64-1alien.txz: Executing install script for vlc-3.0.7-x86_64-1alien.txz. Generating VLC plugins cache data... # /usr/lib64/vlc exit Package vlc-3.0.7-x86_64-1alien.txz installed. # rehash # vlc --help VLC media player 3.0.7 Vetinari (revision 3.0.7-0-g86cee31099) Segmentation fault # vlc VLC media player 3.0.7 Vetinari (revision 3.0.7-0-g86cee31099) Segmentation fault # cvlc --help VLC media player 3.0.7 Vetinari (revision 3.0.7-0-g86cee31099) Segmentation fault # cvlc VLC media player 3.0.7 Vetinari (revision 3.0.7-0-g86cee31099) Segmentation fault # /usr/lib64/vlc/vlc-cache-gen /usr/lib64/vlc/plugins/ Segmentation fault |
Humm, Maybe I should have tried this before.
cd /slackware64/l ( the directory containing all the latest slackware64-current l files ) installpkg *.txz ( reinstall all library packages ) vlc now works normally!!! Thank you to those that thought about my problem. My solution fixes the problem but does not give much of a clue to what the actual issue was which is a bit sad but never mind. Maybe it will help someone else one day :) |
Huh. Now I'm curious as to what you were missing. If you use slackpkg, do you do install-new from time to time?
|
Yes, when I do an update I always check to see if there are any new packages and I always install all l packages whether I think I need them or not.
Unfortunately I don't know of an easy way of determining what was missing, sadly. Partly because I don't know exactly when vlc stopped working so even if I restored a few backups and looked for differences it would be unlikely that I would be able to figure out which changes caused the problem. |
I actually get a crash report now:
Code:
Application: vlc (vlc), signal: Segmentation fault |
Quote:
|
Quote:
Why didn't "slackpkg install-new" say SDL_sound was a new package? I had to run "slackpkg install ktown" instead. thanks |
All times are GMT -5. The time now is 06:39 AM. |