GeopJr / Tuba

[On break until 2024-07-15] Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
511 stars 55 forks source link

App crashes when try to edit profile #888

Open andirsun opened 3 months ago

andirsun commented 3 months ago

Describe the bug

Screenshot from 2024-04-04 14-13-44

Steps To Reproduce

Go to your mastodon profile -> try to edit profile -> crash happens

Logs and/or Screenshots

<paste your logs here>

Instance Backend

Mastodon

Operating System

Fedora Asahi Remix 39 - Macbook m1 pro - arm64

Package

Flatpak

Troubleshooting information

No response

Additional Context

No response

GeopJr commented 3 months ago

Thanks for raising this issue!

I'm going to need a bit more info:

andirsun commented 3 months ago

Today I am not able to reproduce the bug, let me test it over the day and let you know when it happens.

andirsun commented 2 months ago

Replicated @GeopJr

❯ G_MESSAGES_DEBUG=Tuba flatpak run dev.geopjr.Tuba
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.303: Application.vala:219: os: GNOME 46 (Flatpak runtime)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.303: Application.vala:219: prefix: /app
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.303: Application.vala:219: flatpak: true
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.303: Application.vala:219: version: 0.7.2 (production)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.303: Application.vala:219: gtk: 4.14.1 (4.14.1)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.303: Application.vala:219: libadwaita: 1.5.0 (1.5.0)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.303: Application.vala:219: libsoup: 3.4.4 (3.4.4)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.303: Application.vala:219: libgtksourceview: 5.12.0 (5.12.0)
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.306: SecretAccountStore.vala:9: Using libsecret v0.21.4
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: Network.vala:59: GET: https://mastodon.social/api/v1/accounts/110086666590828720
Tuba-INFO: 23:35:34.329: Streams.vala:88: TubaMastodonAccount > https://mastodon.social/api/v1/streaming?stream=user:notification
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: Streams.vala:68: Opening stream: https://mastodon.social/api/v1/streaming?stream=user:notification
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: Network.vala:59: GET: https://mastodon.social/api/v1/markers?timeline[]=notifications
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: SecretAccountStore.vala:92: Loaded 1 accounts
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: AccountStore.vala:86: Activating @andirsun@mastodon.social…
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: Network.vala:59: GET: https://mastodon.social/api/v1/accounts/verify_credentials
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: Network.vala:59: GET: https://mastodon.social/api/v1/instance
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: Network.vala:59: GET: https://mastodon.social/api/v1/custom_emojis
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: Network.vala:59: GET: https://mastodon.social/api/v1/announcements
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.329: Application.vala:338: Presenting MainWindow
Tuba-INFO: 23:35:34.359: Streams.vala:88: TubaViewsHome > https://mastodon.social/api/v1/streaming?stream=user
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.359: Streams.vala:68: Opening stream: https://mastodon.social/api/v1/streaming?stream=user
Tuba-INFO: 23:35:34.359: Streams.vala:94: TubaViewsHome X https://mastodon.social/api/v1/streaming?stream=user
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.359: Streams.vala:99: Closing: https://mastodon.social/api/v1/streaming?stream=user
Tuba-INFO: 23:35:34.359: Streams.vala:88: TubaViewsHome > https://mastodon.social/api/v1/streaming?stream=user
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.359: Streams.vala:68: Opening stream: https://mastodon.social/api/v1/streaming?stream=user
Tuba-INFO: 23:35:34.360: Streams.vala:88: TubaViewsNotifications > https://mastodon.social/api/v1/streaming?stream=user:notification
Tuba-INFO: 23:35:34.360: Streams.vala:94: TubaViewsNotifications X https://mastodon.social/api/v1/streaming?stream=user:notification
Tuba-INFO: 23:35:34.360: Streams.vala:88: TubaViewsNotifications > https://mastodon.social/api/v1/streaming?stream=user:notification
Tuba-INFO: 23:35:34.362: Streams.vala:88: TubaViewsConversations > https://mastodon.social/api/v1/streaming?stream=direct
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.362: Streams.vala:68: Opening stream: https://mastodon.social/api/v1/streaming?stream=direct
Tuba-INFO: 23:35:34.362: Streams.vala:94: TubaViewsConversations X https://mastodon.social/api/v1/streaming?stream=direct
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.362: Streams.vala:99: Closing: https://mastodon.social/api/v1/streaming?stream=direct
Tuba-INFO: 23:35:34.362: Streams.vala:88: TubaViewsConversations > https://mastodon.social/api/v1/streaming?stream=direct
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.362: Streams.vala:68: Opening stream: https://mastodon.social/api/v1/streaming?stream=direct
libEGL warning: egl: failed to create dri2 screen
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.661: Network.vala:59: GET: https://mastodon.social/api/v1/timelines/home?limit=20
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.661: Network.vala:59: GET: https://mastodon.social/api/v1/notifications?limit=20
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:34.661: Network.vala:59: GET: https://mastodon.social/api/v1/conversations?limit=20
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:35.306: InstanceAccount.vala:153: @andirsun@mastodon.social: profile updated
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:35.348: Network.vala:59: GET: https://mastodon.social/api/v1/notifications?min_id=266812303
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:35.955: Network.vala:59: GET: https://mastodon.social/api/v1/accounts/relationships?id=111290011034471790
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:38.202: Network.vala:59: GET: https://mastodon.social/api/v1/accounts/relationships?id=110086666590828720
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:38.280: Network.vala:59: GET: https://mastodon.social/api/v1/accounts/110086666590828720/statuses?only_media=false&exclude_replies=true&limit=20
(dev.geopjr.Tuba:2): Tuba-DEBUG: 23:35:38.280: Network.vala:59: GET: https://mastodon.social/api/v1/accounts/110086666590828720/statuses?pinned=true

Screencast from 2024-04-19 23-36-57.webm

os: GNOME 46 (Flatpak runtime)
prefix: /app
flatpak: true
version: 0.7.2 (production)
gtk: 4.14.1 (4.14.1)
libadwaita: 1.5.0 (1.5.0)
libsoup: 3.4.4 (3.4.4)
libgtksourceview: 5.12.0 (5.12.0)
GeopJr commented 1 month ago

Hello again!

My gut feeling is that it's related to Asahi and GPU support, I think they added support now or will add soon, but in case you want to get full debug logs, here's the steps: