Tangram icon indicating copy to clipboard operation
Tangram copied to clipboard

Some tabs became freezed

Open tjapro opened this issue 2 years ago • 4 comments

Tangram version

Tangram - Browser for your pinned tabs

          ID: re.sonny.Tangram
         Ref: app/re.sonny.Tangram/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.4.0
     License: GPL-3.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 158,7 kB
     Runtime: org.gnome.Platform/x86_64/42
         Sdk: org.gnome.Sdk/x86_64/42

      Commit: 35b1a223b0a36ec47155d878fe0c1ba650ce2d9e3ec351531171e63bc2368b1b
      Parent: d8b20c341e20588a33c86d154d918c48d28c88691fe76297615dda0dd1b5b648
     Subject: Update GNOME runtime to 42 (#18) (5f547083)
        Date: 2022-03-24 19:04:39 +0000

Linux distribution

Fedora 35

Flatpak version

Flatpak 1.12.7

Desktop environment

OS	- Fedora Linux 35 (Workstation Edition) x86_64 
DE	- GNOME 41.4 
WM	- Mutter  
Kernel	- 5.16.17-200.fc35.x86_64 

Summary

This has been happening a lot lately. I use Whatsapp a lot, but for some reason (I do not have a pattern or action to point to) the page became unresponsible. The only solution when this occurs is close and reopen Tangram.

tjapro avatar Apr 08 '22 14:04 tjapro

Can you start Tangram from the terminal and see if there is any output when the problem occur?

sonnyp avatar Apr 14 '22 10:04 sonnyp

It freezed when I was seeing a photo at 17:51. No output when the problem occured ...

flatpak run re.sonny.Tangram

Gjs-Message: 17:04:04.547: JS LOG: gjs 1.72.0
Gjs-Message: 17:04:04.547: JS LOG: WebKitGTK 2.36.0
Gjs-Message: 17:04:04.547: JS LOG: libsoup 2.74.2
Gjs-Message: 17:04:04.547: JS LOG: env: flatpak
Gjs-Message: 17:04:04.548: JS LOG: data_dir: /home/tiagodalmeida/.var/app/re.sonny.Tangram/data/Tangram
Gjs-Message: 17:04:04.548: JS LOG: cache_dir: /home/tiagodalmeida/.var/app/re.sonny.Tangram/cache/Tangram
Gjs-Message: 17:04:04.548: JS LOG: config_dir: /home/tiagodalmeida/.var/app/re.sonny.Tangram/config/Tangram
Gjs-Message: 17:04:04.548: JS LOG: applications_dir: /home/tiagodalmeida/.local/share/applications
Gjs-Message: 17:04:04.548: JS LOG: keyfile_settings_path: 
Gjs-Message: 17:04:04.560: JS LOG: programInvocationName: /app/bin/re.sonny.Tangram
Gjs-Message: 17:04:04.560: JS LOG: _: null
Gjs-Message: 17:04:04.562: JS LOG: argv /app/bin/re.sonny.Tangram
Gtk-Message: 17:04:04.605: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:04:04.606: Failed to load module "pk-gtk-module"
Gtk-Message: 17:04:04.610: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:04:04.610: Failed to load module "pk-gtk-module"
Gtk-Message: 17:04:05.741: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:04:05.742: Failed to load module "pk-gtk-module"
Gtk-Message: 17:04:05.747: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:04:05.747: Failed to load module "pk-gtk-module"
Gtk-Message: 17:04:05.747: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:04:05.748: Failed to load module "pk-gtk-module"
Gtk-Message: 17:04:05.750: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:04:05.750: Failed to load module "pk-gtk-module"
Gjs-Message: 17:04:10.037: JS LOG: decide-policy,NAVIGATION_ACTION
Gjs-Message: 17:04:10.037: JS LOG: navigation,OTHER,https://web.whatsapp.com/
Gjs-Message: 17:04:10.037: JS LOG: decide-policy,NAVIGATION_ACTION
Gjs-Message: 17:04:10.038: JS LOG: navigation,OTHER,https://web.whatsapp.com/
Gtk-Message: 17:04:10.510: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:04:10.511: Failed to load module "pk-gtk-module"
Gtk-Message: 17:04:10.518: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:04:10.518: Failed to load module "pk-gtk-module"
Gjs-Message: 17:04:10.893: JS LOG: decide-policy,RESPONSE
Gjs-Message: 17:04:10.896: JS LOG: decide-policy,RESPONSE

tjapro avatar Apr 14 '22 16:04 tjapro

Please try to reproduce with GNOME Web / Epiphany flatpak.

If you can - file a bug report on WebkitGTK

There is nothing I can do about this here.

sonnyp avatar Apr 17 '22 09:04 sonnyp

@sonnyp

Please try to reproduce with GNOME Web

I tried and the problem seems with the Gnome Web and/or Whatsapp itself, but there is a enhancement we can do:

After a while, if a webpage do not respond, the Gnome Web shows a pop-up/small window:

Captura de ecrã de 2022-04-27 22-17-48

This window/pop-up do not appear in Tangram. If it appears we could reload the webpage (or tab, in Tangram case), without closing and re-opening the Tangram itself.

tjapro avatar Apr 27 '22 21:04 tjapro

Sorry, @sonnyp to add another comment here, but it seems I cannot debug your app for a similar problem (yo can see it at https://bugs.webkit.org/show_bug.cgi?id=249844).

So, I'm trying to debug your app with these commands, but unsuccessfully ...

export GST_DEBUG_FILE="$HOME/gst.log" GST_DEBUG_NO_COLOR=1 WEBKIT_FORCE_SANDBOX=0 G_DEBUG=fatal_criticals

1. flatpak-coredumpctl re.sonny.Tangram
2. sudo flatpak-coredumpctl re.sonny.Tangram
3. flatpak run --devel --command=bash re.sonny.Tangram

What can I do? Or what am I doing wrong?

tjapro avatar Jan 05 '23 19:01 tjapro

@tjapro you already got the help you need here https://bugs.webkit.org/show_bug.cgi?id=249844#c18

You need the -m parameter

sonnyp avatar Jan 05 '23 21:01 sonnyp

You need the -m parameter

Thanks for your help, and checking coredumpctl list there isn't any crash from Tangram, because it will not crash ... This is why coredumpctl didn't catch anything.

~Lets see what is the result of the Webkit issue ...~ Webkit team has resolved this issue, but "the change is not in TP yet". We have to wait ...

tjapro avatar Feb 10 '23 23:02 tjapro