I also tried installing the apt version of vlc to see if it works. Now
both versions are installed on the system at the same time.

Running the following works fine:

$ /usr/bin/vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[000055644df56570] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.

(vlc:10190): Gtk-WARNING **: 22:42:58.924: Theme parsing error:
gtk.css:126:40: Expected ')' in color definition

(vlc:10190): Gtk-WARNING **: 22:42:58.934: Theme parsing error: 
gtk.css:8674:128: Expected a valid selector
[000055644df5a530] main playlist: playlist is empty


Running the following leads to error:
$ vlc
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85)
[0000000001a0a3b0] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
Qt: Session management error: None of the authentication protocols specified 
are supported
*** stack smashing detected ***: /snap/vlc/770/usr/bin/vlc terminated
Aborted


$ which vlc
/usr/bin/vlc


Running directly the following works (not sure why it points to the wrong 
version):
$ /snap/vlc/770/usr/bin/vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[000000000176f570] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.

(vlc:10603): Gtk-WARNING **: 22:48:32.009: Theme parsing error:
gtk.css:126:40: Expected ')' in color definition

(vlc:10603): Gtk-WARNING **: 22:48:32.027: Theme parsing error: 
gtk.css:8674:128: Expected a valid selector
[0000000001773530] main playlist: playlist is empty
QObject::~QObject: Timers cannot be stopped from another thread


==============

Now I remove the apt version from my system and purge all of its
dependencies.

$ which vlc
/snap/bin/vlc

$ vlc
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85)
[0000000000b823b0] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
Qt: Session management error: None of the authentication protocols specified 
are supported
*** stack smashing detected ***: /snap/vlc/770/usr/bin/vlc terminated
Aborted

$ /snap/bin/vlc
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85)
[000000000200b3b0] main libvlc: Running vlc with the default interface. Use 
'cvlc' to use vlc without interface.
Qt: Session management error: None of the authentication protocols specified 
are supported
*** stack smashing detected ***: /snap/vlc/770/usr/bin/vlc terminated
Aborted

$ /snap/vlc/770/usr/bin/vlc
/snap/vlc/770/usr/bin/vlc: error while loading shared libraries: libvlc.so.5: 
cannot open shared object file: No such file or directory

It seems that the library can't be opened despite the fact it exists:
$ locate libvlc.so.5
/snap/vlc/770/usr/lib/libvlc.so.5
/snap/vlc/770/usr/lib/libvlc.so.5.6.0

$ ls -lh /snap/vlc/770/usr/lib/libvlc.so.5
lrwxrwxrwx 1 root root 15 Jan 10 18:27 /snap/vlc/770/usr/lib/libvlc.so.5 -> 
libvlc.so.5.6.0

$ ls -lh /snap/vlc/770/usr/lib/libvlc.so.5.6.0
-rwxr-xr-x 1 root root 181K Jan 10 18:27 /snap/vlc/770/usr/lib/libvlc.so.5.6.0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1810027

Title:
  Snaps won't start - stack smashing detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1810027/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to