GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
506 stars 55 forks source link

[Bug]: Write message button crash the app #943

Closed sezcl closed 1 month ago

sezcl commented 1 month ago

Describe the bug

Since two weeks ago the app load and show all information ok, it allows to navigate between options, but once you ' click the blue button to write a new post the entire app close immediatelly '. No new configuration or any change, just started to happen suddenly.

Steps To Reproduce

1 open the app 2 wait everything load 3 click blue button for a new toot

Logs and/or Screenshots

<paste your logs here>

Instance Backend

Mastodon

Operating System

debian 12

Package

Flatpak

Troubleshooting information

No response

Additional Context

No response

GeopJr commented 1 month ago

Thanks for raising this issue!

Please give me any info at all:

  1. Run G_MESSAGES_DEBUG=Tuba flatpak run dev.geopjr.Tuba and reproduce the bug, then send back the log from your terminal
  2. Go to About > Troubleshooting > Debugging Information and send that info here
sezcl commented 1 month ago

Hi, thanks for reply.

1.- Attached

2.-

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

Regards! G MESSAGES DEBUG Tuba.txt

GeopJr commented 1 month ago

Thanks for the follow up!

Is that log from reproducing the bug? I don't see it crashing at the end or printing any critical logs. Did it close then?

Sorry for all the questions, I can't reproduce it so I'm trying to gather any info I can!

sezcl commented 1 month ago

Hi, no problem.

Yes, log says nothing special when the app get closed due clicking over the write button.

Here is a brief screen recording of the issue. This starting to happend two week ago approximately. No changes for my side, except the security updates.

Regards. P.S.- I'm using nvidia-driver btw.

Grabación de pantalla desde 2024-05-10 12-17-58.webm

GeopJr commented 1 month ago

:/

I'll ask for quite a bit now, feel free to do it whenever you get the time to:

And send it back (just the portion after running the last command and maybe a bit above)

If you are unsure on how to leave:

sezcl commented 1 month ago

Hi,

attached the output.

Regards. tuba log.txt

GeopJr commented 1 month ago

Thanks!

It appears you are missing an sdk, would you mind installing it?

$ flatpak install runtime/org.gnome.Sdk/x86_64/46 (if tuba was installed for the current user only, pass --user too)

And re-do it. If it works right, it will show many logs

sezcl commented 1 month ago

No problm.

It 'freeze now' with this:

Thread 1 "dev.geopjr.Tuba" received signal SIGSEGV, Segmentation fault.
0x000055555559f962 in ?? ()

attached the log.

Regards.

tuba log.txt

GeopJr commented 1 month ago

Thanks for the log!

It pointed me to the approximate location but I'm still missing some bits that would help me track it down exactly.

I installed Debian 12 in a VM and followed your setup but couldn't reproduce it, unfortunately... So I'll have to ask you to do it one more time after running the following:

$ flatpak install dev.geopjr.Tuba.Debug (if tuba was installed for the current user only, pass --user too)

And just run the same commands as before, reproduce it, send back the logs!

sezcl commented 1 month ago

Hi, no problm.

Attached it is the log.

Regards. tuba log.txt

GeopJr commented 1 month ago

Awesome, thank you so much!

This has been fixed by f5bd1c93f50eab09b09bca4032115fe893a0199f and will be available in the next release!

Feel free to uninstall everything you installed: $ flatpak remove dev.geopjr.Tuba.Debug runtime/org.gnome.Sdk/x86_64/46

If it's a dealbreaker and you cannot wait until the next release, you can install the CI artifact from that commit (https://nightly.link/GeopJr/Tuba/actions/runs/8652968034), or the latest nightly