chromium on Jetson Orin fails to open file dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
xdg-desktop-portal-gnome (Ubuntu) |
New
|
Unknown
|
Bug Description
For chromium 138.0.7204.157 Rev 3205 latest/stable snap
running on Jetson Orin (arm64) with 5.15.136-tegra kernel from Nvidia.
with snapd 2.70, it seems I must downgrade snapd to 2.68.5 (Rev 24724), otherwise browser doesn't start.
I found recent discussion on NVidia forum:
This seems to indicate snapd has issues if kernel doesn't enable CONFIG_
If I do use 2.68.5, I see additional problem that file open dialog doesn't open in React applications. It is implemented with label that uses htmlFor attribute and a button and input tag inside the label, where htmlFor attribute refers to a input tag that accepts file names for .txt files. This is the primary problem here. This was earlier working, so I'm surprised it broke.
When I try to use it, I see following logging in syslog, which seems to indicate reason for the failure:
```
Jul 24 10:39:34 ubuntu xdg-desktop-
Jul 24 10:39:34 ubuntu chromium_
Jul 24 10:39:34 ubuntu systemd[19053]: xdg-desktop-
Jul 24 10:39:34 ubuntu systemd[19053]: xdg-desktop-
Jul 24 10:39:34 ubuntu systemd[19053]: xdg-desktop-
```
I have also seen following messages in syslog (from earlier attempt):
```
Jul 22 16:02:40 ubuntu systemd[651658]: Starting Portal service (GNOME implementation)...
Jul 22 16:02:41 ubuntu xdg-desktop-
Jul 22 16:02:41 ubuntu xdg-desktop-
Jul 22 16:02:41 ubuntu dbus-daemon[
Jul 22 16:02:41 ubuntu systemd[651658]: Started Portal service (GNOME implementation).
Jul 22 16:02:42 ubuntu xdg-desktop-
```
So it looks chromium is triggering request to xdg-desktop-
This does not look like a web application problem because when I connect to same application from a Windows machine's chromium browser, the functionality works.
```
$ uname -a ; type -a chromium
Linux ubuntu 5.15.136-tegra #1 SMP PREEMPT Mon May 6 09:56:39 PDT 2024 aarch64 aarch64 aarch64 GNU/Linux
chromium is /usr/bin/chromium
chromium is /bin/chromium
chromium is /snap/bin/chromium
chromium is /snap/bin/chromium
$ snap changes
ID Status Spawn Ready Summary
248 Done yesterday at 15:37 EEST yesterday at 15:38 EEST Install "snapd" snap from file "snapd_24724.snap"
249 Done yesterday at 15:38 EEST yesterday at 15:38 EEST Hold general refreshes for "snapd"
250 Done today at 03:01 EEST today at 03:01 EEST Auto-refresh snap "firefox"
$ snap connections chromium
Interface Plug Slot Notes
audio-playback chromium:
audio-record chromium:
bluez chromium:bluez :bluez -
browser-support chromium:
camera chromium:camera :camera -
content[
content[
content[
content chromium:
content[
cups chromium:cups cups:cups -
desktop chromium:desktop :desktop -
desktop-legacy chromium:
gsettings chromium:gsettings :gsettings -
hardware-observe chromium:
hidraw chromium:hidraw - -
home chromium:home :home -
joystick chromium:joystick :joystick -
mount-observe chromium:
mpris - chromium:mpris -
network chromium:network :network -
network-bind chromium:
network-manager chromium:
opengl chromium:opengl :opengl -
password-
pcscd chromium:pcscd - -
personal-files chromium:
personal-files chromium:
personal-files chromium:
pulseaudio chromium:pulseaudio - -
raw-usb chromium:raw-usb - -
removable-media chromium:
screen-
serial-port chromium:
system-files chromium:
system-packages-doc chromium:
u2f-devices chromium:
unity7 chromium:unity7 :unity7 -
upower-observe chromium:
wayland chromium:wayland :wayland -
x11 chromium:x11 :x11 -
```
description: | updated |
affects: | chromium-browser → xdg-desktop-portal-gnome (Ubuntu) |
Changed in xdg-desktop-portal-gnome (Ubuntu): | |
status: | Unknown → New |
The stack trace from crash dump of xdg-desktop- portal- gnome indicates following crash at 'thread 1':
``` linux-gnu/ librsvg- 2.so.2 linux-gnu/ librsvg- 2.so.2 linux-gnu/ librsvg- 2.so.2 linux-gnu/ librsvg- 2.so.2 aarch64- linux-gnu/ gdk-pixbuf- 2.0/2.10. 0/loaders/ libpixbufloader -svg.so loader_ close () at /lib/aarch64- linux-gnu/ libgdk_ pixbuf- 2.0.so. 0 linux-gnu/ libgdk_ pixbuf- 2.0.so. 0 new_from_ stream () at /lib/aarch64- linux-gnu/ libgdk_ pixbuf- 2.0.so. 0 linux-gnu/ libgtk- 4.so.1 linux-gnu/ libgtk- 4.so.1 linux-gnu/ libgtk- 4.so.1 linux-gnu/ libgio- 2.0.so. 0 linux-gnu/ libglib- 2.0.so. 0 linux-gnu/ libglib- 2.0.so. 0 pthread_ create. c:442 01045, 0, 106598041905152 64409, 0, 0, 0, 0, 0, 0, 0, 0}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_ call = 0 unix/sysv/ linux/aarch64/ clone.S: 79
000ffff7e2ccd4c in () at /lib/aarch64-
#1 0x0000ffff7e27c164 in () at /lib/aarch64-
#2 0x0000ffff7e23a63c in () at /lib/aarch64-
#3 0x0000ffff7e23d14c in rsvg_handle_close () at /lib/aarch64-
#4 0x0000ffff8de80d30 in () at /usr/lib/
#5 0x0000ffff944d1814 in gdk_pixbuf_
#6 0x0000ffff944d22c4 in () at /lib/aarch64-
#7 0x0000ffff944d2488 in gdk_pixbuf_
#8 0x0000ffff949a8060 in () at /lib/aarch64-
#9 0x0000ffff946956ac in () at /lib/aarch64-
#10 0x0000ffff94695854 in () at /lib/aarch64-
#11 0x0000ffff94e493f0 in () at /lib/aarch64-
#12 0x0000ffff95017668 in () at /lib/aarch64-
#13 0x0000ffff95014990 in () at /lib/aarch64-
#14 0x0000ffff93f3d5b8 in start_thread (arg=0x0) at ./nptl/
ret = <optimized out>
pd = 0x0
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {281473073008032, 281474520161464, 281474520161150, 8447456, 281474520161151, 0, 281473064558592, 8447456, 281473178954752, 281473064558592, 281473073005760, 106598041908626
#15 0x0000ffff93fa5edc in thread_start () at ../sysdeps/
```