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

SPMT starts up and dies at 99% load screen #38

Open
vampyren opened this issue Aug 28, 2020 · 14 comments
Open

SPMT starts up and dies at 99% load screen #38

vampyren opened this issue Aug 28, 2020 · 14 comments

Comments

@vampyren
Copy link

I just installed the latest version on a new pc and started to setup my MN. It worked during the first start up and MN setup and i closed it and started SPMT with no issue.
After 20min or so now it wont start. It loads to 99% (shows SPMT ready) and then closes without any error pop-up or anything.
debug file shows:

2020-08-28 12:36:01,573 - INFO - MainThread | DB: Initializing...
2020-08-28 12:36:01,573 - INFO - MainThread | DB: Initialized
2020-08-28 12:36:01,573 - INFO - MainThread | DB: Opening...
2020-08-28 12:36:01,574 - INFO - MainThread | DB: Initializing tables...
2020-08-28 12:36:01,575 - INFO - MainThread | DB: Tables initialized
2020-08-28 12:36:01,583 - INFO - MainThread | DB: Database open
2020-08-28 12:36:01,583 - INFO - MainThread | DB: Clearing table REWARDS...
2020-08-28 12:36:01,585 - INFO - MainThread | DB: Table REWARDS cleared
2020-08-28 12:36:01,609 - INFO - MainThread | DB: Clearing table PROPOSALS...
2020-08-28 12:36:01,610 - INFO - MainThread | DB: Table PROPOSALS cleared
2020-08-28 12:36:01,637 - INFO - MainThread | DB: Clearing table MY_VOTES...
2020-08-28 12:36:01,638 - INFO - MainThread | DB: Table MY_VOTES cleared
2020-08-28 12:36:01,653 - INFO - MainThread | Pruning table RAWTXES
2020-08-28 12:36:01,663 - INFO - MainThread | DB: Getting masternode list
2020-08-28 12:36:01,742 - INFO - MainThread | DB: Getting all RPC servers from table PUBLIC_RPC_SERVERS
2020-08-28 12:36:01,743 - INFO - MainThread | DB: Getting all RPC servers from table CUSTOM_RPC_SERVERS
2020-08-28 12:36:01,744 - INFO - MainThread | HW: Initializing Class...
2020-08-28 12:36:01,744 - DEBUG - MainThread | HW: Class initialized
2020-08-28 12:36:01,744 - DEBUG - MainThread | STARTING SPMT
2020-08-28 12:36:01,744 - INFO - MainThread | Console Log thread started
2020-08-28 12:36:01,816 - INFO - MainThread | Checking SPMT version...
2020-08-28 12:36:01,816 - DEBUG - MainThread | Hello! Welcome to SPMT - Secure PIVX Masternode Tool - v.0.6.1-a

Also restarted my pc and tried. Same thing.

@vampyren vampyren changed the title SPMT starts and dies at 99% load screen SPMT starts up and dies at 99% load screen Aug 28, 2020
@vampyren
Copy link
Author

I learned that if i click in the loading windows when its almost done then it loads. But i have to time it so its on the right moment.
Any idea when we can get an update for this mate?

@random-zebra
Copy link
Contributor

Hey @vampyren.
The new version is out (0.6.2), although I am not sure if this is fixed as I wasn't able to reproduce it (are you on windows, right? which version?).
I suspect this is a packaging issue (are you able to run the application directly from the python sources?). Perhaps you see something about ucrtbase.DLL in the crash report?

@vampyren
Copy link
Author

Hey @vampyren.
The new version is out (0.6.2), although I am not sure if this is fixed as I wasn't able to reproduce it (are you on windows, right? which version?).
I suspect this is a packaging issue (are you able to run the application directly from the python sources?). Perhaps you see something about ucrtbase.DLL in the crash report?

Just tested and it seems to work fine now. Will update if that changes.
And no i never got any crash messages or anything. The windows just closes without showing anything. And yes i use Windows 10 latest build and all.
Thanks allot for the update!

@vampyren
Copy link
Author

Spoke to soon, happens again, made a video, had to add music, had a video playing in the background :)
The first time it closes, second time i click on the window and it works, third time it closes again
https://youtu.be/ySEPIiKSRyQ

ps. as i said sometimes it does work without clicking on the splash screen too.

@yenachar
Copy link

I'm seeing this crashing problem, too, under latest Windows running version 0.6.2. The problem seems to grow with an increasing number of masternodes. No crash appears for me with just one masternode. As a workaround, it is possible to use multiple application.db files, each with one or a couple of masternodes, and swap them in and out. That's a little awkward, of course.

@vampyren
Copy link
Author

It happens for me with 1 and 2 MN. Almost to the point that its unusable. Have to use it on my VM where it for some reason works much better.

@yenachar
Copy link

yenachar commented Oct 19, 2021

This problem is present both when configured for RPC to a local and a remote wallet, if that is relevant.

@vampyren
Copy link
Author

Just to update, this is still an issue, and its worse now. Happens every time after a MN is added :(

@davidrib
Copy link

davidrib commented Sep 1, 2023

This should be corrected, I can't use it, allays fails

@davidrib
Copy link

davidrib commented Sep 2, 2023

should be fixed !!
the problem is when it reads config files, I always need to clean with "SecurePivxMasternodeTool.exe --clearAppData --clearMnData --clearRpcData" only start with this.
I use win10.

@vampyren
Copy link
Author

vampyren commented Sep 3, 2023

Ok so you mean if you start SPMT with thoese parameters it works every time?
This is good news if you manage to find a work around for it.
And this issue is very strange. For now atleast it works for me again. I run win11.

The problem sort of comes and goes it seems. I haven't manage to isolate the problem.

@davidrib
Copy link

davidrib commented Sep 3, 2023

with those parameters I need always to recofigure the master node again, always,😒😒, to view the status or get rewards

@vampyren
Copy link
Author

vampyren commented Sep 4, 2023

with those parameters I need always to recofigure the master node again, always,😒😒, to view the status or get rewards

Sorry to hear :( i was there before, no idea what happened, it started to work all of the sudden. This is a very annoying bug. It would help if more people ask for this to be fixed in Discord where team members are. I think people got a bit tired of me asking for a fix on this. I know the team is working hard on multiple projects but still this problem has existed for a very long time and people using hw wallet are sort of dependent on this tool.

@dinizc
Copy link

dinizc commented Nov 15, 2023

Hi.
I have the same issue, in Windows 11.
It seems it's related to the reading of the Masternode configuration because I started the SPMT with just the --clearMnData option and it works.
As @davidrib wrote with this it's needed to setup the MN every time so it's annoying.
Also, if not using any options and when running the app and it crashes (at 99% loaded) the following event in the Application Log of the Event Viewer appears;
"Event 1000, Application Error
Faulting application name: SecurePivxMasternodeTool.exe, version: 0.0.0.0, time stamp: 0x5ffec13d
Faulting module name: Qt5Core.dll, version: 5.14.0.0, time stamp: 0x5deb49d0
Exception code: 0xc0000409
Faulting application path: C:\Program Files\SPMT\SecurePivxMasternodeTool.exe
Faulting module path: C:\Users\user\AppData\Local\Temp_MEI344802\Qt5Core.dll"

I tried to use SPMT in a Mac and it works well so it seams it's a Windows issue.

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

5 participants