bleakgrey / tootle

GTK-based Mastodon client for Linux
GNU General Public License v3.0
401 stars 61 forks source link

Tootle Crashes on Startup **Bug Report** #172

Closed securerootd closed 4 years ago

securerootd commented 4 years ago

What should happen: I should be able to use tootle

What happened instead: Window opens and closes before even loading the feed. Same behavior every-time.

How to reproduce:

  1. Open tootle
  2. It crashes

Build context:

Logs: tootle [INFO 20:56:12.382030] Application.vala:156: Tootle version: 0.2.0 [INFO 20:56:12.382076] Application.vala:158: Kernel version: 5.4.0-25-lowlatency [INFO 20:56:12.456352] Notificator.vala:40: Starting: /api/v1/streaming/?stream=user [INFO 20:56:12.458930] Notificator.vala:40: Starting: /api/v1/streaming/?stream=user [INFO 20:56:12.462606] Notificator.vala:40: Starting: /api/v1/streaming/?stream=public:local [INFO 20:56:12.464110] Notificator.vala:40: Starting: /api/v1/streaming/?stream=public

(tootle:8406): Gtk-WARNING : 20:56:12.567: gtk_window_set_titlebar() called on a realized window [INFO 20:56:13.919248] Watchlist.vala:23: Reloading [INFO 20:56:13.919328] Watchlist.vala:34: Watching for 0 users and 0 hashtags ERROR:../../src/API/NotificationType.vala:43:tootle_notification_type_from_string: code should not be reached Bail out! ERROR:../../src/API/NotificationType.vala:43:tootle_notification_type_from_string: code should not be reached [1] 8406 abort (core dumped) tootle

Additional info: Not known

bleakgrey commented 4 years ago

...Ubuntu 20.04 has Tootle in its official repos? Uh oh. I should probably fix this.

jmbmkn commented 4 years ago

I'm having the same issue on elementary 5.1.4, anything we can do to troubleshoot?

kolgza commented 4 years ago

Same issue on Pop!_OS 20.04

colin@colin-pc:~$ flatpak run com.github.bleakgrey.tootle 
Gtk-Message: 21:25:56.886: Failed to load module "appmenu-gtk-module"
Gtk-Message: 21:25:57.973: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:25:57.973: Failed to load module "canberra-gtk-module"
[INFO 21:25:57.974168] Application.vala:155: Tootle version: 0.2.0
[INFO 21:25:57.974202] Application.vala:157: Kernel version: 5.4.0-7629-generic
[INFO 21:25:58.305453] Notificator.vala:40: Starting: /api/v1/streaming/?stream=user
[INFO 21:25:58.624704] Notificator.vala:40: Starting: /api/v1/streaming/?stream=user
[INFO 21:25:58.663502] Notificator.vala:40: Starting: /api/v1/streaming/?stream=public:local
[INFO 21:25:58.665233] Notificator.vala:40: Starting: /api/v1/streaming/?stream=public

(com.github.bleakgrey.tootle:2): Gtk-WARNING **: 21:26:03.234: gtk_window_set_titlebar() called on a realized window
[INFO 21:26:04.404878] Watchlist.vala:23: Reloading
[INFO 21:26:04.404956] Watchlist.vala:34: Watching for 0 users and 0 hashtags
**
ERROR:com.github.bleakgrey.tootle@exe/src/API/NotificationType.c:215:tootle_notification_type_from_string: code should not be reached
colin@colin-pc:~$ 
despens commented 4 years ago

Using version 0.2.0 from flathub, which still exposes the crash-on-launch behavior.

bleakgrey commented 4 years ago

Tootle 1.0 is still WIP and will be published once it's ready.