Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VLC exits after flashing a title with Privacy and Network Access Policy in Ubuntu 16.04 32-bit #6

Closed
trappedinspacetime opened this issue Oct 1, 2017 · 24 comments

Comments

@trappedinspacetime
Copy link

trappedinspacetime commented Oct 1, 2017

First of all thank you for developing flatpak environment and adding vlc to repo.
I installed vlc with flatpak install --user flathub org.videolan.VLC command.
When I tried to run it like flatpak run org.videolan.VLC, it exits immediately after a gui flashes a title with "Privacy and Network Access Policy" then it disappears. I searched for it on the net, some say that it's a bug related to vlc when you launch it first time, and suggested a workaround by launching it like

 flatpak run org.videolan.VLC --no-qt-privacy-ask

That way suppresses the dialog, however vlc still keeps exiting.
I hope you help me.
Regards.
Kenn.

@cosimoc
Copy link
Collaborator

cosimoc commented Oct 1, 2017

I can't reproduce this; the very first time the app starts up, I can see that window but it does not flash and when I close it, the app is running fine.

Are there any other messages on the terminal after the application exits?

@trappedinspacetime
Copy link
Author

trappedinspacetime commented Oct 1, 2017

@cosimoc thank you for responding. I am on Ubuntu 16.04 32 bit platform.
Here is the output of terminal:

~$ flatpak run  org.videolan.VLC 
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-14263-g954ec0a4e9)
[089da270] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

(process:2): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
kenn@kenn:~$ 
kenn:~$ flatpak run --runtime=org.gnome.Sdk/i386/3.26 org.videolan.VLC --no-qt-privacy-ask
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-14263-g954ec0a4e9)
[089b5270] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

(process:2): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Fontconfig warning: ignoring C.UTF-8: not a valid language tag
kenn@kenn:~$ 

@cosimoc
Copy link
Collaborator

cosimoc commented Oct 4, 2017

@kensully I wonder if this is an issue for 32-bit platforms, or perhaps the real issue is that locales don't seem to be installed? Can you try to install org.videolan.VLC.Locale explicitly and see if that changes anything?

@trappedinspacetime
Copy link
Author

@cosimoc I tried to install it like flatpak install --user flathub org.videolan.VLC.Locale it says it's already installed.

@trappedinspacetime
Copy link
Author

I cloned this repo and built it via flatpak-builder --repo=VLC org.videolan.VLC org.videolan.VLC.json but the result is the same, it crashes.

@trappedinspacetime
Copy link
Author

I switched architecture to x86_64 and VLC runs well. It appears to be 32 bit support issue.

@trappedinspacetime
Copy link
Author

I wonder why it complains about Gtk-Message: Failed to load module "canberra-gtk-module", how can I install canberra-gtk-module package into flatpak environment?

@TingPing
Copy link
Member

I wonder why it complains about Gtk-Message: Failed to load module "canberra-gtk-module", how can I install canberra-gtk-module package into flatpak environment?

Some configuration on the host is probably leaking through with the canberra module. As a user there is nothing to do and I don't think we should bundle the module here because it doesn't provide anything useful so its just a harmless warning.

@trappedinspacetime
Copy link
Author

@TingPing Thank you for responding, do you know any way to manually install a package into flatpak environment?

@TingPing
Copy link
Member

If I wasn't clear; There is no reason to have that module its not useful.

@trappedinspacetime trappedinspacetime changed the title VLC exits after flashing a title with Privacy and Network Access Policy VLC exits after flashing a title with Privacy and Network Access Policy in Ubuntu 16.04 32-bit Dec 17, 2017
@trappedinspacetime
Copy link
Author

trappedinspacetime commented Dec 17, 2017

This might be related core dumped error

I tried the following :

   $ flatpak run --command=sh org.videolan.VLC 

    sh-4.3$ vlc -I skins2

it launches the VLC GUI with the skin2 but crashes again with core dumped error when I click VLC menu on the skin.

@MatMaul
Copy link
Collaborator

MatMaul commented Dec 18, 2017

You can try flatpak run org.videolan.VLC -vvv to see if we get more infos.

@trappedinspacetime
Copy link
Author

@MatMaul thank you for responding. I added debug output to this gist

@MatMaul
Copy link
Collaborator

MatMaul commented Dec 18, 2017

Ok nothing helpful.
Let's try to get the backtrace:

flatpak run --devel --command=sh org.videolan.VLC
gdb vlc
r

Then it should segfaults, do a bt and paste the output.

@MatMaul
Copy link
Collaborator

MatMaul commented Dec 18, 2017

oh and install org.videolan.VLC.Debug before doing all of that or the backtrace will be a lot less useful ;)
edit: org.freedesktop.Sdk could be useful too

@trappedinspacetime
Copy link
Author

@MatMaul here it is vlc debug gist

@MatMaul
Copy link
Collaborator

MatMaul commented Dec 18, 2017

I think you didn't do the bt at the end.

@trappedinspacetime
Copy link
Author

@MatMaul thank you for your help. I am not familiar with gdb so missed bt step.
gdb bt

@MatMaul
Copy link
Collaborator

MatMaul commented Dec 18, 2017 via email

@trappedinspacetime
Copy link
Author

Yes, I did. I reran the steps above but only posted bt part since I posted it in the previous post.

@MatMaul
Copy link
Collaborator

MatMaul commented Dec 18, 2017

Probably not, looks unrelated. no idea for now this backtrace makes no sense, those python errors are weird and seem to have been generated by gdb itself when printing the trace. You did install the Sdk and Debug packages as I mentioned right ?

@trappedinspacetime
Copy link
Author

Yes, I installed them.

@trappedinspacetime
Copy link
Author

You are right about it by saying

those python errors are weird and seem to have been generated by gdb itself when printing the trace
gdb bug

@MatMaul
Copy link
Collaborator

MatMaul commented Dec 29, 2018

Please reopen if still not working.

@MatMaul MatMaul closed this as completed Dec 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants