Closed FYHenry closed 1 week ago
Thanks for raising this issue!
Could you try #1026 when the ci finishes?
I couldn't reproduce your issue but I found a different one that could be related. #1026 fixes a bug where the images had no clickable zoom buttons, if you were able to zoom, it's probably related!
I really need to push this ASAP, so if you or anyone is experiencing graphics_offload crashes, set use-graphics-offload
to false:
for flatpak that would be flatpak run --command=gsettings dev.geopjr.Tuba set dev.geopjr.Tuba use-graphics-offload false
This will be possible in the patch I'll publish in a second / 0.8.1
After the last update to 0.8.1
I try again by the same process.
I note the first opening of the media is a success, not the second.
Any interest to use the GTK Inspector[^1] to debug more ?
I run via G_MESSAGES_DEBUG=Tuba
.
Same substitution words.
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.280: Application.vala:247: os: GNOME 46 (Flatpak runtime)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.280: Application.vala:247: prefix: /app
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.280: Application.vala:247: flatpak: true
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.280: Application.vala:247: version: 0.8.1 (production)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.280: Application.vala:247: gtk: 4.14.4 (4.14.4)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.280: Application.vala:247: libadwaita: 1.5.1 (1.5.1)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.280: Application.vala:247: libsoup: 3.4.4 (3.4.4)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.280: Application.vala:247: libgtksourceview: 5.12.0 (5.12.0)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.282: SecretAccountStore.vala:9: Using libsecret v0.21.4
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: Network.vala:65: GET: https://HOSTNAME/api/v1/accounts/18185
Tuba-INFO: 21:49:30.307: Streams.vala:88: TubaMastodonAccount > https://HOSTNAME/api/v1/streaming?stream=user:notification
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: Streams.vala:68: Opening stream: https://HOSTNAME/api/v1/streaming?stream=user:notification
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: Network.vala:65: GET: https://HOSTNAME/api/v1/markers?timeline[]=notifications
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: SecretAccountStore.vala:92: Loaded 1 accounts
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: AccountStore.vala:85: Activating @USERNAME@HOSTNAME…
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: Network.vala:65: GET: https://HOSTNAME/api/v1/accounts/verify_credentials
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: Network.vala:65: GET: https://HOSTNAME/api/v1/instance
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: Network.vala:65: GET: https://HOSTNAME/api/v1/custom_emojis
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: Network.vala:65: GET: https://HOSTNAME/api/v1/announcements
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.307: Application.vala:413: Presenting MainWindow
Tuba-INFO: 21:49:30.479: Streams.vala:88: TubaViewsHome > https://HOSTNAME/api/v1/streaming?stream=user
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.479: Streams.vala:68: Opening stream: https://HOSTNAME/api/v1/streaming?stream=user
Tuba-INFO: 21:49:30.479: Streams.vala:94: TubaViewsHome X https://HOSTNAME/api/v1/streaming?stream=user
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.479: Streams.vala:99: Closing: https://HOSTNAME/api/v1/streaming?stream=user
Tuba-INFO: 21:49:30.479: Streams.vala:88: TubaViewsHome > https://HOSTNAME/api/v1/streaming?stream=user
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.479: Streams.vala:68: Opening stream: https://HOSTNAME/api/v1/streaming?stream=user
Tuba-INFO: 21:49:30.482: Streams.vala:88: TubaViewsNotifications > https://HOSTNAME/api/v1/streaming?stream=user:notification
Tuba-INFO: 21:49:30.482: Streams.vala:94: TubaViewsNotifications X https://HOSTNAME/api/v1/streaming?stream=user:notification
Tuba-INFO: 21:49:30.482: Streams.vala:88: TubaViewsNotifications > https://HOSTNAME/api/v1/streaming?stream=user:notification
Tuba-INFO: 21:49:30.485: Streams.vala:88: TubaViewsConversations > https://HOSTNAME/api/v1/streaming?stream=direct
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.485: Streams.vala:68: Opening stream: https://HOSTNAME/api/v1/streaming?stream=direct
Tuba-INFO: 21:49:30.485: Streams.vala:94: TubaViewsConversations X https://HOSTNAME/api/v1/streaming?stream=direct
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.485: Streams.vala:99: Closing: https://HOSTNAME/api/v1/streaming?stream=direct
Tuba-INFO: 21:49:30.485: Streams.vala:88: TubaViewsConversations > https://HOSTNAME/api/v1/streaming?stream=direct
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.485: Streams.vala:68: Opening stream: https://HOSTNAME/api/v1/streaming?stream=direct
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.679: Network.vala:65: GET: https://HOSTNAME/api/v1/timelines/home?limit=20
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.679: Network.vala:65: GET: https://HOSTNAME/api/v1/notifications?limit=20
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:30.679: Network.vala:65: GET: https://HOSTNAME/api/v1/conversations?limit=20
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:33.579: Network.vala:65: GET: https://HOSTNAME/api/v2/instance
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:33.590: InstanceAccount.vala:200: @USERNAME@HOSTNAME: profile updated
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:33.658: Network.vala:65: GET: https://HOSTNAME/api/v1/notifications?min_id=4034
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:35.468: Network.vala:65: GET: https://HOSTNAME/api/v1/accounts/relationships?id=6331
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:49:46.192: Network.vala:65: GET: https://HOSTNAME/api/v2/search?resolve=true&q=https%3A%2F%2Fludosphere.fr%2F%40PolGM%2F112660922165799640
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:50:35.204: Network.vala:65: GET: https://HOSTNAME/api/v1/statuses/112660923180001374/context
(dev.geopjr.Tuba:2): Gtk-WARNING **: 21:50:35.926: GtkImage 0x55f1e05035a0 (image) reported min height -17, but sizes must be >= 0
(dev.geopjr.Tuba:2): Gtk-WARNING **: 21:50:35.926: GtkImage 0x55f1e0509fd0 (image) reported min height -16, but sizes must be >= 0
(dev.geopjr.Tuba:2): Gtk-WARNING **: 21:50:35.932: GtkImage 0x55f1e0563140 (image) reported min height -17, but sizes must be >= 0
(dev.geopjr.Tuba:2): Gtk-WARNING **: 21:50:35.932: GtkImage 0x55f1e0569700 (image) reported min height -16, but sizes must be >= 0
(dev.geopjr.Tuba:2): Gtk-WARNING **: 21:50:35.937: GtkImage 0x55f1e05c2310 (image) reported min height -17, but sizes must be >= 0
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:51:36.787: Host.vala:58: Downloading file: https://CDNPATH/cache/media_attachments/files/112/660/922/287/968/330/original/eec88ffccefca6d2.mp4…
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:51:36.787: Host.vala:88: OK: File already exists
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:52:13.581: MediaViewer.vala:238: Destroying MediaViewer.Item
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:52:13.581: MediaViewer.vala:238: Destroying MediaViewer.Item
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:52:13.581: MediaViewer.vala:238: Destroying MediaViewer.Item
(dev.geopjr.Tuba:2): Tuba-DEBUG: 21:52:13.582: MediaViewer.vala:238: Destroying MediaViewer.Item
Same log.
(dev.geopjr.Tuba:2): GStreamer-GL-CRITICAL **: 21:42:00.700: Failed to flush Wayland connection
Gdk-Message: 21:42:00.700: Error 22 (Argument invalide) dispatching to Wayland display.
I don't see the GSK error about gsk_transform_get_category
.
I really need to push this ASAP, so if you or anyone is experiencing graphics_offload crashes, set
use-graphics-offload
to false: for flatpak that would beflatpak run --command=gsettings dev.geopjr.Tuba set dev.geopjr.Tuba use-graphics-offload false
This will be possible in the patch I'll publish in a second / 0.8.1
After setting use-graphics-offload
to false
I re-retried each step.
It is a real success ! It doesn't crashes more.
[^1]: [ctrl]+[shift]+[I] to open the GTK Inspector in the GTK app. [^2]: Return button (left up).
Thanks for all the debugging! But unfortunately, this is 100% of GTK's Graphics Offload side. I haven't reported it upstream because I can't reproduce it reliably yet, but when I get some free time I'll work on a small reproducer.
All the fixes here so far have been mostly hacks around it :/
I haven't reported it upstream because I can't reproduce it reliably yet, but when I get some free time I'll work on a small reproducer.
Is there a newsletter channel for updates on that?
This issue probably
Describe the bug
From Tuba
In rare cases click on embedded media into Mastodon toot can force Tuba to crash. The crash is triggered just after zooming the media. The playing overlay appears too before Tuba crashes.
Tuba shows a similar log like the issue #1006 (offload on).
From Firefox
From the Web browser the media can be read without error. The media format is MP3 or PNG.
Steps To Reproduce
flatpak run Tuba dev.geopjr.Tuba
,Logs and/or Screenshots
Debug log (with
G_MESSAGES_DEBUG
)Substitution words :
USERNAME
,HOSTNAME
andCDNPATH
.Critical log (Without
G_MESSAGES_DEBUG
)Instance Backend
Mastodon
Operating System
Debian 12.5 GNU/Linux (bookworm)
Package
Flatpak
Troubleshooting information
Additional Context
Mastodon instance versions :
4.2.9
for the toot writer and reader (me).