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

Testing Feedback #1

Open
vk6mo opened this issue May 23, 2023 · 8 comments
Open

Testing Feedback #1

vk6mo opened this issue May 23, 2023 · 8 comments

Comments

@vk6mo
Copy link

vk6mo commented May 23, 2023

Environment: LM21.1, Qt6.5.0, Main Branch, Pulled 23May2023, Version Displayed 10.0.00
Command line build is successful and executes. Cannot exit application though.
QtCreator build is successful, but execute dumps core. Message below.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
Will try code on shack machine and provide further feedback

@vk6mo
Copy link
Author

vk6mo commented May 23, 2023

Another couple of points from testing of CLI build

  1. ONAIR status does not go out when program is started.
  2. DRM mode does not receive pictures. Seems to receive about 20 segments, then FAC sync is lost, then looks like whole interface is reset because all 4 indicators of the traffic lights go red, and then it seems to start the sync process again. Note that the code you took this fork from may already have had a RX bug. I have reported there as well.

@pa2eon
Copy link
Owner

pa2eon commented May 23, 2023

Hi Dave,
Many thanks for the update.
I have found the same issues ( No receiving DRM )
I had also emailed ON4QZ .. but I did not receive any message .. I will try calling him as well.
So I understand that you have the code up and running.
In the wiki from this code .. I will written down, what I have done so-far.
Also that I have leaved the QT 6.5 and go a little lower, because the 'runtimers' in Linux Mint of QT are not available for QT 6.5 .. they will for 6.2.4
Check my pages later these days ..

Regards,
Eric

@vk6mo
Copy link
Author

vk6mo commented May 23, 2023 via email

@pa2eon
Copy link
Owner

pa2eon commented May 23, 2023

Hi Dave,
I have updated the Wiki ..
I will check the code .. to find out if I can find why the DMR will not receive.
When you make a restart of the code you have also delete the file ' qsstv.pro.user' this file is an history file and you will not use this in as clean compiling within the QT6 creator.
Maybe we have to check the lines with ' count()' in it .. so the routines will not calculate the DRM information correct.
In the wiki I will written the files who I have changed the 'count()' lines in size() or lenght().

@vk6mo
Copy link
Author

vk6mo commented Jun 1, 2023

DId you use the "qt-unified-linux-x64-4.5.2-online" from Qt to install Qt 6.2.4?
It keeps failing for me.
Screenshot at 2023-06-01 10-38-58

@vk6mo
Copy link
Author

vk6mo commented Jun 1, 2023

OK, this was solved with using a mirror for the install.
FYI below is a help link for online installations
https://wiki.qt.io/Online_Installer_4.x#Selecting_a_mirror_for_opensource

@vk6mo
Copy link
Author

vk6mo commented Jun 20, 2023

Hi Eric
How are you going? Wondered if you've had much time to look at the DRM RX issue?
I have spent quite some time on it, and whilst not yet solved, I feel I am closer.
I went back and confirmed the 9.5.8 source code built and runs correctly. I have made some of your changes to the 9.5.8 code (such as count->size, removing <malloc.h> etc but not adding the raptor changes. This code is what I call my "v9.5.8modified" code. With this "9.5.8modified" code, I can compile with Qt5 and it decodes DRM RX successfully. With Qt6 it can be built successfully, but it does NOT decode DRM RX correctly.
SO
The EXACT same code works when built under Qt5 (v5.15.3) but NOT under Qt6 (v6.2.4)
Where I am up to is comparing the Makefiles in case there is some clue there. If that does not help, then I might try a later version of Qt6 and see if that helps.
I have attached the two different makefiles (one generated by qmake v5, the other by qmake v6) in case you can spot something.
I did notice that both linkers include -lpthread, but the build under Qt6 also adds the option -pthread. Maybe the issue is a thread related issue?? Just a thought...
Let me know how you are going when you get a chance.
Thx

Makefile5.txt

Makefile6.txt

@pa2eon
Copy link
Owner

pa2eon commented Jun 21, 2023 via email

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

2 participants