h3poteto / fedistar

Multi-column Fediverse client for desktop
https://fedistar.net
GNU General Public License v3.0
132 stars 6 forks source link

Bug: Crash on loading notifications #689

Closed throwException closed 1 year ago

throwException commented 1 year ago

Specs

How to reproduce

Add notifications for specific account

Observed behavior

Crash on loading notification

Expected behavior

Loading the notifications

Debug information

How do I open the browser console in the desktop app?

h3poteto commented 1 year ago

How do I open the browser console in the desktop app?

This is not allowed by Tauri, so you can't do it on the production release.

h3poteto commented 1 year ago

Can you share your log when crashing? https://fedistar.net/help

h3poteto commented 1 year ago

And I want to know

throwException commented 1 year ago
* Which server are you using?

The server that's causing the crash is https://tooting.ch

* Can you load notifications of other servers?

Yes.

* Can you load other timelines? For example, Home, Local, or Federated.

Yes, I can load other timelines from another account on the same server. From the problematic account, no timeline works. It even just crashed after adding the account again, before adding any timeline.

throwException commented 1 year ago

Can you share your log when crashing?

fedistar.txt

h3poteto commented 1 year ago

Can you please check your libwebkit2gtk version? Because I suspect this problem: https://github.com/h3poteto/fedistar/issues/673

throwException commented 1 year ago

Can you please check your libwebkit2gtk version? Because I suspect this problem: #673

The following versions are present:

h3poteto commented 1 year ago

Thank you!

  • libwebkit2gtk-4.0.so.37.63.1
  • libwebkit2gtk-4.1.so.0.8.1

libwebkit2gtk-4.0.so.37.63.1 is this: https://packages.debian.org/bookworm/libwebkit2gtk-4.0-37 libwebkit2gtk-4.1.so.0.8.1 is this: https://packages.debian.org/bookworm/libwebkit2gtk-4.1-0

These are both webkit2gtk-2.40.0-3, so it is the same problem as #673

I found the same log in your log file.

09:07:28 [ERROR] [front] TypeError: t.match is not a function. (In 't.match(a)', 't.match' is undefined)
h3poteto commented 1 year ago

I think this is a problem on Tauri's side or webkit2gtk's side. So the only current solution is to downgrade webkit2gtk. Could you please downgrade both two libraries? (Of course, this is a temporary solution).

I'm sorry, but there is nothing I can do right now.

throwException commented 1 year ago

Will you be fixing this problem? Or is there a webkit2gtk 2.38 I can install on bookworm?

h3poteto commented 1 year ago

Yes, I will watch for Tauri and webkit2gtk updates. You can check available versions with apt-cache showpkg <package-name>.

h3poteto commented 1 year ago

@throwException Could you please try v1.3.2? Tauri is updated, so perhaps this error is resolved.

throwException commented 1 year ago

@throwException Could you please try v1.3.2? Tauri is updated, so perhaps this error is resolved.

Yes, this solves the error. Many thanks!