detective icon indicating copy to clipboard operation
detective copied to clipboard

Crashes after a few minutes

Open SzunTibor opened this issue 3 years ago • 7 comments

Hey, Any idea why does my detective freeze up after a minute of launch, pretty much independently of anything, as far as I can tell? Running on win 10, already disabled anti-virus, terminal says Connecting to ws://... and the UI becomes unresponsive, cpu consumption is 0.

SzunTibor avatar May 31 '21 16:05 SzunTibor

Can you try running the detective executable from the command line and see if there is any output?

Instead of just running detective (which runs a script launching detective), you will have to locate the executable (.pub-cache/git/detective-someUuid) and launch it via the command line.

Norbert515 avatar May 31 '21 21:05 Norbert515

Started w debuggable.exe, no output, but, it works fine, running for 30mins now without a crash.

SzunTibor avatar Jun 01 '21 13:06 SzunTibor

Does it also work when running via the detective command now?

Norbert515 avatar Jun 01 '21 14:06 Norbert515

No, running through the script still produces a crash.

SzunTibor avatar Jun 01 '21 17:06 SzunTibor

Sorry overlooked this comment, I pushed an unrelated new version. Can you try using that? Maybe something with your installation was corrupt

Norbert515 avatar Jun 07 '21 08:06 Norbert515

No worries, same result, script freezes, exe is good, however, it is true that I'm having troubles w upgrades. Atm on 0.0.20-fix Pro and I press the Update to 0.0.20-2 now, to no avail. A terminal window pops up but nothing happens and just closes after a while.

SzunTibor avatar Jun 10 '21 15:06 SzunTibor

The update button just executes 'flutter pub global activate -sgit https://github.com/Norbert515/detective.git' in the background. Depending on how you installed it (with Flutter or without) you might need a different command.

Which way have you installed it? In the meantime, you can update by choosing your pub command and updating it

Norbert515 avatar Jun 14 '21 08:06 Norbert515