dpaulat / supercell-wx

Supercell Wx is a free, open source advanced weather radar viewer.
https://supercell-wx.rtfd.io
MIT License
85 stars 14 forks source link

Crash on startup when ComputeSweep() is called #220

Closed Kiglirs closed 6 days ago

Kiglirs commented 1 month ago

When Supercell WX is launched, it would open the console and also the window, but then when ComputeSweep() is called, the program crashes and closes itself, with no message

image

I have tried to make new fresh installs, even deleting the files in the AppData folder, and install with either the msi installer or the zip file, nothing worked. I have a Vega 56 as a GPU for more context

dpaulat commented 1 month ago

Can you post a crash dump from %LocalAppData%\CrashDumps\? You should be able to upload it to https://wormhole.app/. This will help me see exactly where things are going wrong. Thanks!

dpaulat commented 1 month ago

I am unable to troubleshoot this issue without a crash dump.

Kiglirs commented 1 month ago

Hello. Sorry for the wait, somehow i hadn't seen or recieved any notifications for the messages above, had a busy week. Here's the crash dump https://wormhole.app/4aNkn#7oGm-RBptv309Rsxaeuf5w

dpaulat commented 1 month ago

The crash is occurring in time zone logic in Microsoft's libraries. The latest development snapshot built with an updated version, if you could try that: https://github.com/dpaulat/supercell-wx/actions/runs/9331180888. Note there is no more terminal in the latest snapshot, but rather a log file in %LocalAppData%\Supercell Wx.

If that doesn't work, you may need an updated Microsoft Visual Studio runtime (vc_redist.x64.exe included with the windows zip package), or potentially a Windows update (the dump file has references to a pretty old version of Windows 10, although I do claim I support that version).

What is your system time zone? Is your language set to English (US)? Neither of these should be a problem, but trying to cover all bases.

I'm interested to know which if any of these steps fix your issue.

Tdogb commented 4 weeks ago

I have this exact same issue. The development build linked above does not work either. Language is English and timezone is PST. It ran an installer the first time I opened it, but after that, it will just crash after computesweep. Windows 10

jwhitey2035 commented 3 weeks ago

Yep sameissue here. Was able to select map provider on the initial start up, but now it just crashes.

I'm on an Australia time zone though, but going by @Tdogb, it doesn't seem that would be the issue causing the crash.

Tdogb commented 3 weeks ago

Interesting finding: I installed it on my windows laptop and it works fine. So it must be something weird going on with specific computer setups

dpaulat commented 3 weeks ago

@Tdogb @jwhitey2035 These may be crashing at different points in the application. Did you follow the recommended steps? What Windows 10 release (Win+R > winver)? If it is still crashing, please provide a crash dump, see instructions in my original reply.

Kiglirs commented 3 weeks ago

The crash is occurring in time zone logic in Microsoft's libraries. The latest development snapshot built with an updated version, if you could try that: https://github.com/dpaulat/supercell-wx/actions/runs/9331180888. Note there is no more terminal in the latest snapshot, but rather a log file in %LocalAppData%\Supercell Wx.

If that doesn't work, you may need an updated Microsoft Visual Studio runtime (vc_redist.x64.exe included with the windows zip package), or potentially a Windows update (the dump file has references to a pretty old version of Windows 10, although I do claim I support that version).

I'm interested to know which if any of these steps fix your issue.

Hello! Any of those solutions didn't worked, i'm still having the same issue

What is your system time zone? Is your language set to English (US)? Neither of these should be a problem, but trying to cover all bases.

My language is set to French (fr-FR) and my timezone is CEST (UTC+2)

Tdogb commented 2 weeks ago

@dpaulat Uploaded crash log here https://wormhole.app/30jB1#b7sR56AObPkO_DXRZPuqKQ

dpaulat commented 2 weeks ago

@Tdogb Your issue will be mostly resolved by the latest development snapshot building now: https://github.com/dpaulat/supercell-wx/actions/runs/9533410597. It should be finished building within the next hour and a half. I'm interested to know what (if any) errors you see in the log file at %LocalAppData%\Supercell Wx\supercell-wx.#####.log. Note the console has been disabled in the latest snapshot. Please open a new issue for any of these errors. I'll continue to track a fix for Kiglirs here.

dpaulat commented 2 weeks ago

@Kiglirs Can you let me know how https://github.com/dpaulat/supercell-wx/actions/runs/9533848517?pr=231 works? It should be finished building within the next hour and a half. Note the console has been disabled and replaced with log files located at %LocalAppData%\Supercell Wx\supercell-wx.#####.log (if the application doesn't appear to be doing anything, it's still crashing).

Tdogb commented 2 weeks ago

@Tdogb Your issue will be mostly resolved by the latest development snapshot building now: https://github.com/dpaulat/supercell-wx/actions/runs/9533410597. It should be finished building within the next hour and a half. I'm interested to know what (if any) errors you see in the log file at %LocalAppData%\Supercell Wx\supercell-wx.#####.log. Note the console has been disabled in the latest snapshot. Please open a new issue for any of these errors. I'll continue to track a fix for Kiglirs here.

That fixed it for me!!

jwhitey2035 commented 1 week ago

Working for me on that latest build too

Kiglirs commented 1 week ago

@Kiglirs Can you let me know how https://github.com/dpaulat/supercell-wx/actions/runs/9533848517?pr=231 works? It should be finished building within the next hour and a half. Note the console has been disabled and replaced with log files located at %LocalAppData%\Supercell Wx\supercell-wx.#####.log (if the application doesn't appear to be doing anything, it's still crashing).

And yet again i haven't recieved or seen a mail that said i got a message... i'm sorry again

And for the good news: yes, it's working!