flathub / com.skype.Client

https://flathub.org/apps/details/com.skype.Client
15 stars 34 forks source link

Latest version of Skype won't run #70

Open ghost opened 5 years ago

ghost commented 5 years ago

How To

Nothing really special. I updated Skype and since then it won't start. Running it from the terminal gives no logging. Preforming a Flatpak repair does nothing as well.

System

System:    Host: kevin-tuxedobook Kernel: 5.0.0-25-generic x86_64 bits: 64 Desktop: Gnome 3.32.2 
           Distro: Ubuntu 19.04 (Disco Dingo) 
Machine:   Type: Laptop System: TUXEDO product: N8xEJEK v: N/A serial: N/A 
           Mobo: TUXEDO model: N8xEJEK serial: N/A UEFI: American Megatrends v: 7.11 date: 11/02/2018 
Battery:   ID-1: BAT0 charge: 57.4 Wh condition: 57.4/59.9 Wh (96%) 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP L2 cache: 9216 KiB 
           Speed: 1142 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 901 5: 900 6: 900 7: 900 8: 900 
           9: 900 10: 900 11: 900 12: 900 
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 418.56 
           Display: server: X.Org 1.20.4 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa 
           resolution: 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 418.56 
Audio:     Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel 
           Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k5.0.0-25-generic 
Network:   Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi 
           IF: wlp3s0 state: up mac: 74:70:fd:fa:9d:9e 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp4s0f1 state: down mac: 80:fa:5b:66:ca:f4 
Drives:    Local Storage: total: 1.14 TiB used: 529.78 GiB (45.5%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO M.2 250GB size: 232.89 GiB 
           ID-2: /dev/sdb vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB 
Partition: ID-1: / size: 220.12 GiB used: 64.12 GiB (29.1%) fs: ext4 dev: /dev/sda5 
Sensors:   System Temperatures: cpu: 54.0 C mobo: N/A gpu: nvidia temp: 50 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 397 Uptime: 32m Memory: 15.40 GiB used: 6.03 GiB (39.2%) Shell: bash inxi: 3.0.33 

Client info

          ID: com.skype.Client
         Ref: app/com.skype.Client/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 8.51.0.72
     License: LicenseRef-proprietary
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 3,6 MB
     Runtime: org.freedesktop.Platform/x86_64/18.08
         Sdk: org.freedesktop.Sdk/x86_64/18.08

      Commit: 3c349350580315d12c7038848a1077c0d9bfdf2ae34c77109935b559a20caebf
      Parent: d1e05f025673be0531b46db6949edabad27751f3685d1b55e37b6b3a805e13c8
     Subject: Update com.skype.Client.appdata.xml (bc6a9be4)
        Date: 2019-08-28 22:01:44 +0000
phw commented 5 years ago

Same for me. Running from command line with -v parameter gives:

$ flatpak run -v com.skype.Client
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/phw/.local/share/flatpak
F: Opening user flatpak installation at path /home/phw/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/phw/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 1981462133
F: Cleaning up unused container id 3032677156
F: Allocated instance id 4134875258
F: Add defaults in dir /com/skype/Client/
F: Add locks in dir /com/skype/Client/
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/phw/.config/pulse/client.conf': Fehler beim Öffnen der Datei »/home/phw/.config/pulse/client.conf«: Datei oder Verzeichnis nicht gefunden
F: Running 'bwrap --args 34 xdg-dbus-proxy --args=36'
F: Running 'bwrap --args 34 skype'

No skype process running afterwards

phw commented 5 years ago

As a quick workaround I downgraded to the previously working version with:

sudo flatpak update \
  --commit=58a180f7f8015e735c11a1040658a3fbd036dfb26dd4f57876cce5ad1bc6a47e \
  com.skype.Client
sierkov-bot commented 5 years ago

+1 Same here. [ 464.049114] traps: skypeforlinux[4674] trap int3 ip:55a6b50fb847 sp:7ffec9b3d550 error:0 in skypeforlinux[55a6b31e6000+5016000] Above gets thrown by kernel each time I try to launch skype.

mwleeds commented 5 years ago

There's some previous discussion of the difficulty of flatpaking the Chrome sandbox helper here: https://github.com/flathub/flathub/pull/566

andrunko commented 5 years ago

See also https://github.com/flatpak/flatpak/issues/3044.

alexeymuranov commented 5 years ago

Is this discussion about skypeforlinux relevant?

https://forum.manjaro.org/t/skypeforlinux-doesnt-work-anymore-after-updating/99853

It seems that the following command helped in some cases for Linux kernel before 5.1.8:

$ sudo sysctl kernel.unprivileged_userns_clone=1
phw commented 5 years ago

@alexeymuranov I am running Arch with current kernel 5.2.11, so unprivileged_userns_clone is already enabled. Changing this value doesn't make a difference.

mdontu commented 5 years ago

For me, 8.51.0.72 simply crashes:

           PID: 86748 (skypeforlinux)
           UID: 1000 (mihai)
           GID: 1000 (mihai)
        Signal: 5 (TRAP)
     Timestamp: Sun 2019-09-01 23:22:09 EEST (10h ago)
  Command Line: /app/extra/share/skypeforlinux/skypeforlinux --executed-from=/home/mihai --pid=2
    Executable: /app/extra/share/skypeforlinux/skypeforlinux
 Control Group: /user.slice/user-1000.slice/user@1000.service/flatpak-com.skype.Client-86732.scope
          Unit: user@1000.service
     User Unit: flatpak-com.skype.Client-86732.scope
         Slice: user-1000.slice
     Owner UID: 1000 (mihai)
       Boot ID: 26899c473c8c4e46b920d1bb4227bb75
    Machine ID: 27c5aa56a3f2dd6c7356f10400000014
      Hostname: mdontu-l
       Storage: /var/lib/systemd/coredump/core.skypeforlinux.1000.26899c473c8c4e46b920d1bb4227bb75.86748.1567369329000000000000.lz4
       Message: Process 86748 (skypeforlinux) of user 1000 dumped core.

                Stack trace of thread 4:
                #0  0x0000637a1f78b847 n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #1  0x0000637a20a6bd98 n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #2  0x0000637a20a6b1b6 n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #3  0x0000637a1f446660 n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #4  0x0000637a20a6a5fc n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #5  0x0000637a20a70351 n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #6  0x0000637a1f445efc n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #7  0x0000637a20a70c8b n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #8  0x0000637a1f444511 n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #9  0x0000637a1d87623a n/a (/app/extra/share/skypeforlinux/skypeforlinux)
                #10 0x00007f7ef36133e3 n/a (/usr/lib/x86_64-linux-gnu/libc-2.28.so)
fansari commented 5 years ago

I can also confirm this for Fedora 30 Silverblue.

After running this downgrade I was able to start Skye again.

[fansari@bat ~]$ flatpak run -v com.skype.Client
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/fansari/.local/share/flatpak
F: Opening user flatpak installation at path /home/fansari/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/fansari/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Cleaning up unused container id 1596374542
F: Cleaning up unused container id 2910861398
F: Allocated instance id 1455833093
F: Add defaults in dir /com/skype/Client/
F: Add locks in dir /com/skype/Client/
F: Allowing homedir access
F: Xdg dir xdg-download is $HOME (i.e. disabled), ignoring
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/fansari/.config/pulse/client.conf': Error opening file /home/fansari/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 37 xdg-dbus-proxy --args=39'
F: Running 'bwrap --args 37 skype'
flatpak update --commit=58a180f7f8015e735c11a1040658a3fbd036dfb26dd4f57876cce5ad1bc6a47e com.skype.Client
z0rc commented 4 years ago

Linking here for better visibility. https://answers.microsoft.com/en-us/skype/forum/sk_access-skype_linux/disable-electronchrome-sandboxing-on-linux/0260e3b1-5fa0-49ba-9854-dde1c040e249

If skype would allow passing --no-sandbox via CLI, this would serve as temporary workaround, until Flatpak/Electron provide better solution.

z0rc commented 4 years ago

Also https://skype.uservoice.com/forums/914527-welcome-to-skype-ideas/suggestions/38727676-disable-electron-chrome-sandboxing-on-linux.

paveloom commented 1 year ago

It's broken again:

~> ~ flatpak info com.skype.Client

Skype - Call and message skype users, with video chat support

          ID: com.skype.Client
         Ref: app/com.skype.Client/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 8.90.0.405
     License: LicenseRef-proprietary
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 6.3 MB
     Runtime: org.freedesktop.Platform/x86_64/22.08
         Sdk: org.freedesktop.Sdk/x86_64/22.08

      Commit: d45ae9bd0aaf7e23ea53de3cd3f4d12cb8bd76de2b64519941c4c536500ade6d
      Parent: 05496d30ad632ceda6ec95f7779284819cd57183dfc1537382fcead1a3513174
     Subject: Update skypeforlinux-64.deb to 8.90.0.405 (63369012)
        Date: 2022-10-31 17:59:39 +0000
~> ~ flatpak run -v com.skype.Client
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /var/home/paveloom/.local/share/flatpak
F: Opening user flatpak installation at path /var/home/paveloom/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /var/home/paveloom/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/22.08/2b83f1108d483bb3345336c2d4c2ba0ec439228b8fe0d15b8dab57985dffe163/files/lib32 does not exist
F: Cleaning up unused container id 2213818783
F: Cleaning up per-app-ID state for com.skype.Client
F: Cleaning up unused container id 3589665501
F: Cleaning up per-app-ID state for com.skype.Client
F: Allocated instance id 2795737284
F: Add defaults in dir /com/skype/Client/
F: Add locks in dir /com/skype/Client/
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/var/home/paveloom/.config/pulse/client.conf': Error opening file /var/home/paveloom/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 42 xdg-dbus-proxy --args=44'
F: Running 'bwrap --args 42 skype'