WX Widgets Debug Alert [Software Issue]
Platform
Windows
Platform Version
Win10 22H2
FreeDV Version
v2.0.0-20250130
Steps to Reproduce
I open CAT and PTT Config and get this error, o press continue and if i try to save or change something it crash and closes. .
.
Expected Behavior
It should work normal
Actual Behavior
Additional Comments
No response
Is this when you're pushing the Test button inside the CAT and PTT Config dialog box? The screenshots and description aren't 100% clear.
No, the error pop after i press " CAT and PTT Config..", i press "Continue" and the menu opens, any intervention like OK or APPLY will lead to a software crash.
But i have found the solution that may help others in future,, RESTORE DEFAULTS lost all settings but now the software seams to work normal and no more Debug Error.
You may leave it open for some time to inform others or close,, as you wish.
Tanks for you fast replay
Regards
Roturbo.
It's great that you found a solution but it's probably a good idea to know why that worked in case there's an actual bug. Can you tell me what radio you're using? I may be able to duplicate this by pretending that I'm also using this radio.
I have a Anan 100D using VAC´s, but in this case i think is not important because the bug was before any software start, i just install it and open, than i was going to verify if all setting were in place.
For me it was some settings that i may have that were not ok for the new version, and i think after the reset it is not possible to turn back.
Any other test i can perform please tell me.
Hello, today a friend install the new version and also have problems, on his case it was not the " CAT and PTT Config.." but the "Audio Config.",, after open this menu the software crash.
The " CAT and PTT Config.." did open normal with no problems, so this may say that it can be different settings leads to the same crash.
I was using Anydesk and take the time search were the settings were so i save the REG files, one before the reset and the other after the reset, and yes the reset also solve the problem.
https://mega.nz/file/RQFTTDyZ#XTegFQpnCeOw1wG_iU_2od-aoEemN1OQKn-SmBZbqe4
If you open as TXT it will be easy to compare, i hope it helps to find the problem.
About this new version, i can tell you that for the first test i did it is working much better, more linear during the talk and only sometimes at the end we hear that strange voices that says nothing but sound as a fast repetitive words.
Also notice that the software did not keep the screen positions of every item, every time we open the software we need to move item by item (spectrum, audio etc) to some corner in order to have the info on screen, for me before it keep that settings.
The PTT problem is also present, sometime it works normal, other takes too long to stop or we have to press it again to stop.
But in general we can see the good improvements on this release.
.
I took a look at the .reg files and at least for audio config, somehow all four devices ended up being set to the same value in the "not working" version. Unfortunately I'm not able to duplicate the crash with the following procedure:
- Manually set audio devices to the same device in Registry Editor/FreeDV config file.
- Open FreeDV and go to Tools->Audio Config.
(Tested on macOS and Windows.)
Let me know if I'm missing any steps. It sounded like from your description that I just needed to try to open the configuration window to cause the issue to happen, right?
Hello,
after changing the REG did you restart windows ?
Or did you try to load (import) all the reg direct ?
I didn´t have time to compare the 2 files, but maybe could be some minor thing other than only the same audio on the four devices.
On my case it let me open the menu, any click on OK for example leads to the crash, with my friend it was different, he click the item but it didn´t open and the menu just close the software after a few seconds.
I will try to see if other friends have the same problem and will also copy the REG before and after the reset for compare.
About the soft not keeping the positions of each item,, any idea ?
after changing the REG did you restart windows ?
Or did you try to load (import) all the reg direct ?
I found that FreeDV seemed to reflect the changes after restarting the application, no Windows restart required. I made the changes manually instead of trying to import the .reg file as I don't have exactly the same devices.
On my case it let me open the menu, any click on OK for example leads to the crash, with my friend it was different, he click the item but it didn´t open and the menu just close the software after a few seconds.
Just tried the above steps and added a step to click OK. For me, it doesn't look like it crashes there either--just showed a dialog box saying that the device names have to be different (which is expected behavior).
I will try to see if other friends have the same problem and will also copy the REG before and after the reset for compare.
Sounds good.
About the soft not keeping the positions of each item,, any idea ?
Try Tools->Options->Debugging and then enabling "Enable Experimental Features". There is some ability to save the state of the window but given how it's implemented I'm not comfortable making it available to everyone by default.
BTW can you (and others who are trying this) enable crash dumps? It involves adding a few things to your Registry: https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps. That way, next time FreeDV crashes (or you push Stop if one of those wxWidgets windows pops up again) you can send over one of the logs that gets generated; I should be able to analyze those and maybe get a better idea of what's happening.
Hi,
tank you the "Enable Experimental Features" result, now the settings are the on next open.
About the "crash dumps",, sometimes i notice FreeDV stops decoding or encoding, stop and start it again without closing most of the times solve it,, will this be included on DUMPS or it is only if it crash ?
About the "crash dumps",, sometimes i notice FreeDV stops decoding or encoding, stop and start it again without closing most of the times solve it,, will this be included on DUMPS or it is only if it crash ?
The dump will only take place if FreeDV crashes, unfortunately.
I'm not sure this is still a problem, especially since 2.0.0 changed a lot of stuff with how FreeDV Reporter works. I'll close this for now; if this is still a problem in that release, let me know and we can reopen this.