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

FIRO UI on Linux is hanging #1418

Open
skironDotNet opened this issue Mar 7, 2024 · 11 comments
Open

FIRO UI on Linux is hanging #1418

skironDotNet opened this issue Mar 7, 2024 · 11 comments

Comments

@skironDotNet
Copy link

skironDotNet commented Mar 7, 2024

This never happened on previous versions, now if you click "Hide" on the very first screen you get this

firo not responding

on linux

@skironDotNet skironDotNet changed the title FIRO UI is hanging FIRO UI on Linux is hanging Mar 7, 2024
@firstcryptoman
Copy link
Collaborator

@skironDotNet
Could you please provide more details to help us address the problem? Specifically, we would appreciate if you could share:

  1. What operating system and version are you using?
  2. Can you outline the steps that you took leading up to when the issue occurred, starting from the moment you open the application?
  3. Does the issue occur every time you follow these steps, or is it intermittent?
  4. Have you noticed if performing any specific action or series of actions in the app triggers the problem?
    Any additional details about your usage context or system configuration would also be helpful.

@skironDotNet
Copy link
Author

Distributor ID: Linuxmint
Description: Linux Mint 21.3
Release: 21.3
Codename: virginia

Cinnamon GUI

  1. I start the QT and it loads chain ok, then this screen with overlay shows up. (I'll update with pictures later)
    when trying to click hide there is no response from UI, like syncing occurs on the same thread, while UI thread should be separate from syncing thread.

  2. everytime, but intermittent is the linux popup saying firo not responding. It happens only during the sync. I think it has been reported back to me elsewhere that not having converted coins to spark from lelentus but I did and it still does it.
    I'm going to report back with empty wallet, I have quite a balance (don't want to mention publicly exact details) so maybe it causes the problem, but give me time to wait so I can get blockchain behind 24-48h

  3. It all happened after you released a new version, the UI dropdowns are completely off, I think it has been reported

Screenshot from 2024-03-28 18-18-56

@justanwar
Copy link
Member

@skironDotNet Could you try reproducing this issue again with the latest master commit?

@skironDotNet
Copy link
Author

Allow me some time to test...

@erciccione
Copy link
Contributor

@skironDotNet any luck?

@skironDotNet
Copy link
Author

compiled from master f55383c
having 6 days behind, everything was smooth, could switch tabs before hiding overlay, could hide overlay, drop-downs are ok,
Everything was smooth until 24h left, then it started to freeze, hanging, being unresponsive, finally after it since, everything was fine again, something about those 24. I'll post the logs next time

@skironDotNet
Copy link
Author

When starting Firo with chain synced under 24h like let say "15h left (or behind)" clicking Hide on the overlay does nothing. I don't recall ever such behavior on previous versions. It all started with spark. Once synced everything seems to be working fine, must be something about a thread checking chain vs wallet inputs.
I can try to run it over and under 24h on a empty wallet and see it this affect anything.

@erciccione
Copy link
Contributor

clicking Hide on the overlay does nothing

This is a known issue (#1391).

About the problem you are having. You say everything was smooth until 24 hours left for syncing. Are you sure this is not a local problem related to memory or other programs running?

@skironDotNet
Copy link
Author

I realized I need take a snapshot of the chain, to restore it for each test, otherwise must wait 24h+ to keep testing :)

It must be related to inputs/transactions in the wallet because when tried on empty wallet it worked OK either way but I did spot the reason for 24h mark. Here is the empty wallet. The sync stopped for a second or 2 and then ran ok, I was able to hide the overlay on either before and after 24h
firo spark

Tried again with my wallet, and surprised having 2days, left waited to 24h clicked hide, and it went fine, but everytime I clicked around on menu tabs, the output log was paused with each click. So using this picture more or less, those batches of the log were output fluently as groups (I'm trying to describe what I see in terminal not how this are programmed) but when clicked on the UI, those groups we output with a pause after each click.

firo 2

Tried again and, clicking around before Spark batch verification started. everything OK with UI, getting constant logs. When clicking around after Spark, it feels like threads locks accumulate, with each click there were more delay in log output after each click until the UI froze

firo 3

Clicking around after sync completed (and or Spark batch verification) does not affect the UI

@skironDotNet
Copy link
Author

You need to consider also inputs in the wallet, so a test case is while I restored chain snapshot to let FIRO sync from past 2 days, my wallet state was changed after first sync. I didn't restore wallet file. So need to consider a cumulative reason:
chain state (unfinished sync) + spark verification + wallet inputs/transactions + UI threads. All together may create those hard to capture issues.

@erciccione
Copy link
Contributor

I am also seeing firo-qt hanging several times, to the point of freezing, when syncing is about to be completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants