[Desktop-packages] [Bug 1951685] Re: Chromium flatpak reliably crashes xdg-desktop-portal

2023-06-18 Thread michael zylla
Hi,

the problem occurs again with Flatpak 1.14.4: UngoogledChromium refuses
to load any content after a short period of time.

Installed browser version: com.github.Eloston.UngoogledChromium 114.0.5735.106
OS: Ubuntu 20.04.6 LTS (Focal Fossa)
Desktop: Gnome 3.36.9


Best regards
Michael

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/1951685

Title:
  Chromium flatpak reliably crashes xdg-desktop-portal

Status in xdg-desktop-portal package in Ubuntu:
  New

Bug description:
  For a while now I am facing the issue that Chromium installed via
  Flatpak after a minute or so stops working with a puzzling error
  ERR_NO_SUPPORTED_PROXIES.  I guess this is due to the Proxy feature of
  the desktop portal because now I noticed that the portal is actually
  crashing shortly after I started Chromium and/or started browsing.

  According to the stack trace this happens in get_one_app_state so I
  think this bug was fixed in version 1.7.0 with this patch:
  https://github.com/flatpak/xdg-desktop-
  portal/commit/a0b641f1230016e8ed9a291c70d4dd226429dda4

  Could that fix please be backported to 1.6.0/focal?

 PID: 15467 (xdg-desktop-por)
 UID: 1000 (xxx)
 GID: 1000 (xxx)
  Signal: 11 (SEGV)
   Timestamp: Sat 2021-11-20 16:55:00 CET (4min 23s ago)
Command Line: /usr/libexec/xdg-desktop-portal
  Executable: /usr/libexec/xdg-desktop-portal
   Control Group: 
/user.slice/user-1000.slice/user@1000.service/xdg-desktop-portal.service
Unit: user@1000.service
   User Unit: xdg-desktop-portal.service
   Slice: user-1000.slice
   Owner UID: 1000 (xxx)
 Boot ID: 1841d625a5354885a778e18a20b48103
  Machine ID: 30e0f491ec7847428bc900251dc271af
Hostname: xxx
 Storage: 
/var/lib/systemd/coredump/core.xdg-desktop-por.1000.1841d625a5354885a778e18a20b48103.15467.1637423700.lz4
 Message: Process 15467 (xdg-desktop-por) of user 1000 dumped core.
  
  Stack trace of thread 15505:
  #0  0x7f5990c485f4 g_str_hash (libglib-2.0.so.0 + 0x405f4)
  #1  0x7f5990c4773c g_hash_table_lookup (libglib-2.0.so.0 
+ 0x3f73c)
  #2  0x5646137cf282 get_one_app_state (xdg-desktop-portal 
+ 0x30282)
  #3  0x5646137cf778 background_monitor (xdg-desktop-portal 
+ 0x30778)
  #4  0x7f5990c83ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
  #5  0x7f5990bee609 start_thread (libpthread.so.0 + 0x9609)
  #6  0x7f5990b15293 __clone (libc.so.6 + 0x122293)
  
  Stack trace of thread 15470:
  #0  0x7f5990b08aff __GI___poll (libc.so.6 + 0x115aff)
  #1  0x7f5990c5a36e n/a (libglib-2.0.so.0 + 0x5236e)
  #2  0x7f5990c5a4a3 g_main_context_iteration 
(libglib-2.0.so.0 + 0x524a3)
  #3  0x7f5990c5a4f1 n/a (libglib-2.0.so.0 + 0x524f1)
  #4  0x7f5990c83ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
  #5  0x7f5990bee609 start_thread (libpthread.so.0 + 0x9609)
  #6  0x7f5990b15293 __clone (libc.so.6 + 0x122293)
  
  Stack trace of thread 15475:
  #0  0x7f5990b08aff __GI___poll (libc.so.6 + 0x115aff)
  #1  0x7f5990c5a36e n/a (libglib-2.0.so.0 + 0x5236e)
  #2  0x7f5990c5a4a3 g_main_context_iteration 
(libglib-2.0.so.0 + 0x524a3)
  #3  0x7f598e5f099d n/a (libdconfsettings.so + 0xa99d)
  #4  0x7f5990c83ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
  #5  0x7f5990bee609 start_thread (libpthread.so.0 + 0x9609)
  #6  0x7f5990b15293 __clone (libc.so.6 + 0x122293)
  
  Stack trace of thread 15467:
  #0  0x7f5990b08aff __GI___poll (libc.so.6 + 0x115aff)
  #1  0x7f5990c5a36e n/a (libglib-2.0.so.0 + 0x5236e)
  #2  0x7f5990c5a6f3 g_main_loop_run (libglib-2.0.so.0 + 
0x526f3)
  #3  0x5646137bb7e8 main (xdg-desktop-portal + 0x1c7e8)
  #4  0x7f5990a1a0b3 __libc_start_main (libc.so.6 + 0x270b3)
  #5  0x5646137bb94e _start (xdg-desktop-portal + 0x1c94e)
  
  Stack trace of thread 15471:
  #0  0x7f5990b08aff __GI___poll (libc.so.6 + 0x115aff)
  #1  0x7f5990c5a36e n/a (libglib-2.0.so.0 + 0x5236e)
  #2  0x7f5990c5a6f3 g_main_loop_run (libglib-2.0.so.0 + 
0x526f3)
  #3  0x7f5990eaff8a n/a (libgio-2.0.so.0 + 0x11ef8a)
  #4  0x7f5990c83ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
  #5  

[Desktop-packages] [Bug 1951685] Re: Chromium flatpak reliably crashes xdg-desktop-portal

2021-11-20 Thread Malte S. Stretz
This is indeed fixed at least in version 1.8.1-1~flatpak1~20.04 as
installed from the official PPA.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/1951685

Title:
  Chromium flatpak reliably crashes xdg-desktop-portal

Status in xdg-desktop-portal package in Ubuntu:
  New

Bug description:
  For a while now I am facing the issue that Chromium installed via
  Flatpak after a minute or so stops working with a puzzling error
  ERR_NO_SUPPORTED_PROXIES.  I guess this is due to the Proxy feature of
  the desktop portal because now I noticed that the portal is actually
  crashing shortly after I started Chromium and/or started browsing.

  According to the stack trace this happens in get_one_app_state so I
  think this bug was fixed in version 1.7.0 with this patch:
  https://github.com/flatpak/xdg-desktop-
  portal/commit/a0b641f1230016e8ed9a291c70d4dd226429dda4

  Could that fix please be backported to 1.6.0/focal?

 PID: 15467 (xdg-desktop-por)
 UID: 1000 (xxx)
 GID: 1000 (xxx)
  Signal: 11 (SEGV)
   Timestamp: Sat 2021-11-20 16:55:00 CET (4min 23s ago)
Command Line: /usr/libexec/xdg-desktop-portal
  Executable: /usr/libexec/xdg-desktop-portal
   Control Group: 
/user.slice/user-1000.slice/user@1000.service/xdg-desktop-portal.service
Unit: user@1000.service
   User Unit: xdg-desktop-portal.service
   Slice: user-1000.slice
   Owner UID: 1000 (xxx)
 Boot ID: 1841d625a5354885a778e18a20b48103
  Machine ID: 30e0f491ec7847428bc900251dc271af
Hostname: xxx
 Storage: 
/var/lib/systemd/coredump/core.xdg-desktop-por.1000.1841d625a5354885a778e18a20b48103.15467.1637423700.lz4
 Message: Process 15467 (xdg-desktop-por) of user 1000 dumped core.
  
  Stack trace of thread 15505:
  #0  0x7f5990c485f4 g_str_hash (libglib-2.0.so.0 + 0x405f4)
  #1  0x7f5990c4773c g_hash_table_lookup (libglib-2.0.so.0 
+ 0x3f73c)
  #2  0x5646137cf282 get_one_app_state (xdg-desktop-portal 
+ 0x30282)
  #3  0x5646137cf778 background_monitor (xdg-desktop-portal 
+ 0x30778)
  #4  0x7f5990c83ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
  #5  0x7f5990bee609 start_thread (libpthread.so.0 + 0x9609)
  #6  0x7f5990b15293 __clone (libc.so.6 + 0x122293)
  
  Stack trace of thread 15470:
  #0  0x7f5990b08aff __GI___poll (libc.so.6 + 0x115aff)
  #1  0x7f5990c5a36e n/a (libglib-2.0.so.0 + 0x5236e)
  #2  0x7f5990c5a4a3 g_main_context_iteration 
(libglib-2.0.so.0 + 0x524a3)
  #3  0x7f5990c5a4f1 n/a (libglib-2.0.so.0 + 0x524f1)
  #4  0x7f5990c83ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
  #5  0x7f5990bee609 start_thread (libpthread.so.0 + 0x9609)
  #6  0x7f5990b15293 __clone (libc.so.6 + 0x122293)
  
  Stack trace of thread 15475:
  #0  0x7f5990b08aff __GI___poll (libc.so.6 + 0x115aff)
  #1  0x7f5990c5a36e n/a (libglib-2.0.so.0 + 0x5236e)
  #2  0x7f5990c5a4a3 g_main_context_iteration 
(libglib-2.0.so.0 + 0x524a3)
  #3  0x7f598e5f099d n/a (libdconfsettings.so + 0xa99d)
  #4  0x7f5990c83ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
  #5  0x7f5990bee609 start_thread (libpthread.so.0 + 0x9609)
  #6  0x7f5990b15293 __clone (libc.so.6 + 0x122293)
  
  Stack trace of thread 15467:
  #0  0x7f5990b08aff __GI___poll (libc.so.6 + 0x115aff)
  #1  0x7f5990c5a36e n/a (libglib-2.0.so.0 + 0x5236e)
  #2  0x7f5990c5a6f3 g_main_loop_run (libglib-2.0.so.0 + 
0x526f3)
  #3  0x5646137bb7e8 main (xdg-desktop-portal + 0x1c7e8)
  #4  0x7f5990a1a0b3 __libc_start_main (libc.so.6 + 0x270b3)
  #5  0x5646137bb94e _start (xdg-desktop-portal + 0x1c94e)
  
  Stack trace of thread 15471:
  #0  0x7f5990b08aff __GI___poll (libc.so.6 + 0x115aff)
  #1  0x7f5990c5a36e n/a (libglib-2.0.so.0 + 0x5236e)
  #2  0x7f5990c5a6f3 g_main_loop_run (libglib-2.0.so.0 + 
0x526f3)
  #3  0x7f5990eaff8a n/a (libgio-2.0.so.0 + 0x11ef8a)
  #4  0x7f5990c83ad1 n/a (libglib-2.0.so.0 + 0x7bad1)
  #5  0x7f5990bee609 start_thread (libpthread.so.0 + 0x9609)
  #6  0x7f5990b15293 __clone (libc.so.6 + 0x122293)



  xdg-desktop-portal:
Installed: 1.6.0-1
Candidate: