Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sezcl opened this issue May 10, 2024 · 11 comments
Closed

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

sezcl opened this issue May 10, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@sezcl
Copy link

sezcl commented May 10, 2024

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

@sezcl sezcl added the bug Something isn't working label May 10, 2024
@GeopJr
Copy link
Owner

GeopJr commented May 10, 2024

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
Copy link
Author

sezcl commented May 10, 2024

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
Copy link
Owner

GeopJr commented May 10, 2024

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
Copy link
Author

sezcl commented May 10, 2024

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.

Grabacion.de.pantalla.desde.2024-05-10.12-17-58.webm

@GeopJr
Copy link
Owner

GeopJr commented May 10, 2024

:/

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

  • $ flatpak run --command=sh --devel dev.geopjr.Tuba
  • [📦 dev.geopjr.Tuba ~]$ gdb /app/bin/dev.geopjr.Tuba
  • (gdb) run
  • Reproduce it
  • (gdb) backtrace

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:

  • (gdb) exit
  • y
  • [📦 dev.geopjr.Tuba ~]$ exit

@sezcl
Copy link
Author

sezcl commented May 10, 2024

Hi,

attached the output.

Regards.
tuba log.txt

@GeopJr
Copy link
Owner

GeopJr commented May 10, 2024

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
Copy link
Author

sezcl commented May 10, 2024

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
Copy link
Owner

GeopJr commented May 16, 2024

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
Copy link
Author

sezcl commented May 20, 2024

Hi, no problm.

Attached it is the log.

Regards.
tuba log.txt

@GeopJr
Copy link
Owner

GeopJr commented May 20, 2024

Awesome, thank you so much!

This has been fixed by f5bd1c9 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

@GeopJr GeopJr closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants