Results 1 to 9 of 9

Thread: vlc segfautls, but cvlc works

  1. #1
    Join Date
    Feb 2009
    Location
    Porto, Portugal
    Posts
    43

    Default vlc segfautls, but cvlc works

    hi,

    I don't know when this started happening, but vlc segfaults everytime I try to open it. "cvlc" and "vlc -I rc" work, but the default interface (which ever that one is) and the skins, skins2 and qt interface segfault.

    I've tryed using diferent versions from the repos, but none helped

    I'm on openSuse 13.1-pae with vlc 2.1.5

    thank you for your time

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,698

    Default Re: vlc segfautls, but cvlc works

    Make sure you don't have mixed repos

  3. #3
    Join Date
    Feb 2009
    Location
    Porto, Portugal
    Posts
    43

    Default Re: vlc segfautls, but cvlc works

    Quote Originally Posted by gogalthorp View Post
    Make sure you don't have mixed repos
    I've the main opensuse repos and packman repo.
    I'll be more specific later when I get home.

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,698

    Default Re: vlc segfautls, but cvlc works

    yes and vlc is in both and you don't want to mix some vlc packages with other version vlc packages. vlc from openSUSE does not support the proprietary codecs. add the codecs library from packman may be a miss match to the exact version and cause problems both the vlc and codecs must come from same source.

  5. #5
    Join Date
    Feb 2009
    Location
    Porto, Portugal
    Posts
    43

    Default Re: vlc segfautls, but cvlc works

    Quote Originally Posted by gogalthorp View Post
    yes and vlc is in both and you don't want to mix some vlc packages with other version vlc packages. vlc from openSUSE does not support the proprietary codecs. add the codecs library from packman may be a miss match to the exact version and cause problems both the vlc and codecs must come from same source.
    Everything installed that matched *vlc* was installed from packman and I didn't have the codecs package installed.
    I've tried switching vender to the opensuse repo and also to the official vlc repo, with the same results.
    I've tried vlc-beta and still segfault...

    Since cvlc works, it makes me think it might be something Qt or Gtk related...

    vlc -vvv only gives me one warning, but seems unrelated
    Code:
    main libvlc warning: cannot load module `/usr/lib/vlc/plugins/video_output/libxcb_xv_plugin.so' (/usr/lib/libxcb-shm.so.0: undefined symbol: xcb_send_fd)
    Is there anything I can do to help me find where the segfault is coming from, like trying some command line arguments?
    I've tried various -I <interface>, such as qt, gtk, gnome, skins. They either segfault or are not found

  6. #6

    Default Re: vlc segfautls, but cvlc works

    Quote Originally Posted by evilnoxx View Post
    Everything installed that matched *vlc* was installed from packman and I didn't have the codecs package installed.
    I've tried switching vender to the opensuse repo and also to the official vlc repo, with the same results.
    You should not use both the VLC and the Packman repos. They are incompatible, having both might break your multimedia capabilities completely...

    Remove the VLC repo again, and do a full switch to Packman.

    Since cvlc works, it makes me think it might be something Qt or Gtk related...
    VLC does not have a GTK frontend, only Qt.

    vlc -vvv only gives me one warning, but seems unrelated
    Code:
    main libvlc warning: cannot load module `/usr/lib/vlc/plugins/video_output/libxcb_xv_plugin.so' (/usr/lib/libxcb-shm.so.0: undefined symbol: xcb_send_fd)
    This definitely does _not_ seem unrelated. It shows at least that you have incompatible Xorg packages installed.
    Can you please post your repo list?
    Code:
    zypper lr -d
    And what libxcb-shm0 you have installed:
    Code:
    rpm -qi libxcb-shm0
    Is there anything I can do to help me find where the segfault is coming from, like trying some command line arguments?
    I've tried various -I <interface>, such as qt, gtk, gnome, skins. They either segfault or are not found
    Run it in gdb and call "bt" to see where it segfaults. It might help to have the corresponding -debuginfo packages installed though.

  7. #7
    Join Date
    Feb 2009
    Location
    Porto, Portugal
    Posts
    43

    Default Re: vlc segfautls, but cvlc works

    Quote Originally Posted by wolfi323 View Post
    You should not use both the VLC and the Packman repos. They are incompatible, having both might break your multimedia capabilities completely...

    Remove the VLC repo again, and do a full switch to Packman.


    VLC does not have a GTK frontend, only Qt.


    This definitely does _not_ seem unrelated. It shows at least that you have incompatible Xorg packages installed.
    Can you please post your repo list?
    Code:
    zypper lr -d
    And what libxcb-shm0 you have installed:
    Code:
    rpm -qi libxcb-shm0

    Run it in gdb and call "bt" to see where it segfaults. It might help to have the corresponding -debuginfo packages installed though.
    zypper lr -d
    Code:
    #  | Alias                                        | Name                                                | Enabled | Refresh | Priority | Type   | URI                                                                                 | Service
    ---+----------------------------------------------+-----------------------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
     1 | Arduino_AVR                                  | Arduino AVR                                         | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/CrossToolchain%3a/avr/openSUSE_13.1/      |        
     2 | GNOME312                                     | GNOME312                                            | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/STABLE:/3.12/openSUSE_13.1/        |        
     3 | Mono:Community                               | Mono:Community                                      | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Mono:/Community/openSUSE_13.1/            |        
     4 | SuSE                                         | SuSE                                                | Yes     | Yes     |   99     | rpm-md | http://download.videolan.org/SuSE/13.1/                                             |        
     5 | X11:Cinnamon:Factory                         | X11:Cinnamon:Factory                                | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/Cinnamon:/Factory/openSUSE_13.1/     |        
     6 | devel:tools:scm                              | devel:tools:scm                                     | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_13.1/          |        
     7 | download.nvidia.com-opensuse                 | nVidia Graphics Drivers                             | Yes     | Yes     |   99     | rpm-md | http://download.nvidia.com/opensuse/13.1/                                           |        
     8 | download.opensuse.org-Apps                   | openSUSE BuildService - GNOME:Apps                  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_13.1/                |        
     9 | download.opensuse.org-Extra                  | openSUSE BuildService - KDE:Extra                   | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.1/                 |        
    10 | download.opensuse.org-Virtualization         | openSUSE BuildService - Virtualization (VirtualBox) | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1/             |        
    11 | download.opensuse.org-Wine                   | openSUSE BuildService - Wine CVS Builds             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_13.1/            |        
    12 | download.opensuse.org-database               | openSUSE BuildService - Database                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_13.1/           |        
    13 | download.opensuse.org-packages               | openSUSE BuildService - Java:packages               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Java:/packages/openSUSE_13.1/             |        
    14 | ftp.gwdg.de-suse                             | Packman Repository                                  | Yes     | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.1/                            |        
    15 | games:tools                                  | games:tools                                         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games:/tools/openSUSE_13.1/               |        
    16 | home:DarkSS                                  | home:DarkSS                                         | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/DarkSS/openSUSE_13.1/               |        
    17 | home:andisugandi                             | home:andisugandi                                    | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/andisugandi/openSUSE_13.1/          |        
    18 | home:cesarizu                                | home:cesarizu                                       | No      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/cesarizu/openSUSE_13.1/             |        
    19 | home:mik34020                                | home:mik34020                                       | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/mik34020/openSUSE_13.1/             |        
    20 | libdvdcss repository                         | libdvdcss repository                                | No      | No      |   99     | rpm-md | http://opensuse-guide.org/repo/13.1/                                                |        
    21 | numix                                        | numix                                               | No      | No      |   99     | rpm-md | http://download.opensuse.org/repositories/home:/paolorotolo:/numix/openSUSE_13.1/   |        
    22 | openSUSE BuildService - CrossToolchain (avr) | openSUSE BuildService - CrossToolchain (avr)        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/CrossToolchain:/avr/openSUSE_13.1/        |        
    23 | openSUSE:13.1:NonFree                        | openSUSE:13.1:NonFree                               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/non-oss/                        |        
    24 | openSUSE:13.1:NonFree:Update                 | openSUSE:13.1:NonFree:Update                        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/13.1:/NonFree:/Update/standard/ |        
    25 | openSUSE:13.1:Update                         | openSUSE:13.1:Update                                | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/13.1:/Update/standard/          |        
    26 | openSUSE:13.2                                | openSUSE:13.2                                       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                            |        
    27 | repo-13.1-oss                                | openSUSE-13.1-OSS                                   | Yes     | No      |   99     | yast2  | http://download.opensuse.org/distribution/13.1/repo/oss/                            |        
    28 | repo-13.1-update                             | openSUSE-13.1 Update-Oss                            | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1/                                           |        
    29 | repo-update-non-oss                          | openSUSE-13.1-Update-Non-Oss                        | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.1-non-oss/                                   |

    This seems like a problem...
    Code:
    noxx@linux-fscm:~> rpm -qi libxcb-shm0
    Name        : libxcb-shm0
    Version     : 1.11
    Release     : 2.1.2
    Architecture: i586
    Install Date: Sat 07 Feb 2015 11:56:57 AM WET
    Group       : System/Libraries
    Size        : 9636
    License     : MIT
    Signature   : RSA/SHA256, Thu 25 Sep 2014 12:28:58 PM WEST, Key ID b88b2fd43dbdc284
    Source RPM  : libxcb-1.11-2.1.2.src.rpm
    Build Date  : Thu 25 Sep 2014 12:27:53 PM WEST
    Build Host  : cloud123
    Relocations : (not relocatable)
    Packager    : http://bugs.opensuse.org
    Vendor      : openSUSE
    URL         : http://xcb.freedesktop.org/
    Summary     : X11 Shared Memory Extension C library
    Description :
    The X protocol C-language Binding (XCB) is a replacement for Xlib
    featuring a small footprint, latency hiding, direct access to the
    protocol, improved threading support, and extensibility.
    
    The MIT Shared Memory (MIT-SHM) Extension allows exchanging image
    data between client and server using shared memory, so that it does
    not need to be transferred over sockets.
    Distribution: openSUSE 13.2
    It seems I have 13.2 repo for some reason and this package (a maybe more) are installed from it.

    I'm still on 13.1 though
    Code:
    noxx@linux-fscm:~> lsb-release -sri
    openSUSE project 13.1
    I'll remove both the VLC and 13.2 repos and try again

  8. #8

    Default Re: vlc segfautls, but cvlc works

    [QUOTE=evilnoxx;2697886]

    It seems I have 13.2 repo for some reason and this package (a maybe more) are installed from it.

    I'm still on 13.1 though
    Code:
    noxx@linux-fscm:~> lsb-release -sri
    openSUSE project 13.1
    I'll remove both the VLC and 13.2 repos and try again
    Yes, it is likely that you have some more 13.2 packages installed. The 13.2 repo has the same vendor (openSUSE), so in this case just installing the standard updates will pull in packages from 13.2.
    After you removed those two repos you should scroll through the package list in YaST and look for packages marked in red.
    Or run this to get a list of installed 13.2 packages:
    Code:
    rpm -qa --qf "%{NAME} %{DISTRIBUTION}\n"|grep 13.2
    And switch them back to the 13.1 versions, with YaST's Versions tab e.g.

    I'm pretty sure this will fix your VLC problem.

    Btw, you also have some duplicates in your repo list:
    openSUSE:13.1:NonFree:Update (#24) is the same as openSUSE-13.1-Update-Non-Oss (#29), and openSUSE:13.1:Update (#25) is the same as openSUSE-13.1 Update-Oss (#28).
    You could remove those as well, but they shouldn't cause any problems.
    Last edited by wolfi323; 02-Mar-2015 at 16:25.

  9. #9
    Join Date
    Feb 2009
    Location
    Porto, Portugal
    Posts
    43

    Default Re: vlc segfautls, but cvlc works

    [QUOTE=wolfi323;2697889]
    Quote Originally Posted by evilnoxx View Post


    Yes, it is likely that you have some more 13.2 packages installed. The 13.2 repo has the same vendor (openSUSE), so in this case just installing the standard updates will pull in packages from 13.2.
    After you removed those two repos you should scroll through the package list in YaST and look for packages marked in red.
    Or run this to get a list of installed 13.2 packages:
    Code:
    rpm -qa --qf "%{NAME} %{DISTRIBUTION}\n"|grep 13.2
    And switch them back to the 13.1 versions, with YaST's Versions tab e.g.

    I'm pretty sure this will fix your VLC problem.

    Btw, you also have some duplicates in your repo list:
    openSUSE:13.1:NonFree:Update (#24) is the same as openSUSE-13.1-Update-Non-Oss (#29), and openSUSE:13.1:Update (#25) is the same as openSUSE-13.1 Update-Oss (#28).
    You could remove those as well, but they shouldn't cause any problems.
    VLC is working!
    However my system is in poor shape. Programs stopped working because of some nvidia driver version issue (fixed now) and also this:
    Code:
    noxx@linux-fscm:~> rpm -qa --qf "%{NAME} %{DISTRIBUTION}\n"|grep 13.2 | wc -l
    168
    I'll go through all of those tomorrow after work and hopefully the system will boot

    Thank you very much for your help!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •