-
Notifications
You must be signed in to change notification settings - Fork 46
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
Crash on writing YAML file with multiple radio IDs #388
Comments
Status with current dev branch:
|
Ok, give it a try. |
Unfortunately, still crashes, but without helpful hints why:
|
Can you send/attach the YAML file, that causes the crash?
allesand ***@***.***> schrieb am Mo., 9. Okt. 2023, 11:37:
… Unfortunately, still crashes, but without helpful hints why:
Debug in ***@***.***: Try to detect radio at Serial interface
'ttyACM3'. Debug in ***@***.***: Try to open Serial interface
'ttyACM3'. Debug in ***@***.***: Opened serial port ttyACM3 with
115200baud. Debug in ***@***.***: Anytone: In
program-mode now. Debug in ***@***.***: Found radio
'D878UV2', version 'V100'. Speicherzugriffsfehler (Speicherabzug
geschrieben)
—
Reply to this email directly, view it on GitHub
<#388 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE6E52ZBJ7HXASOHAMQCLX6PAXNAVCNFSM6AAAAAA5T353C6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGY2TINJVGE>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Tried to strip down to the absolute minimum, still crashes. yaml file attached. |
Just to confirm:
works for me. |
It may only crash, when using qdmr. I'll check that, once I am home. |
Works here, too:
Looks like it. Thanks! |
…ore codeplug was encoded in binary format. Addresses #388.
Ok, give it a try. There is still a memory leak, I need to take care of. |
Works! So "0.12.0" seems to be able to handle my ever growing config now. Cool! |
Merged into |
Then, there seems to be something about more than one radio id (I have entered a second one for testing purposes), current devel crashes when writing the config with:
Debug in lib/config.cc@371: Using format version 0.12.0. Debug in lib/config.cc@425: Set default radio ID to 'first_id_here'.
[...]
Debug in lib/radioid.cc@207: Automatically set default radio id to second_id_here. Debug in lib/radioid.cc@207: Automatically set default radio id to second_id_here. Speicherzugriffsfehler (Speicherabzug geschrieben)
That never happened before, qdmr always wrote the ids where they belong. What should I look for, a digital channel entry without an ID or what makes qdmr jump to lib/radioid.cc@207 suddenly? I tried with some older yaml files, happens there as well, so it seems not to be caused by config changes?
(I replaced the ID identifiers, interesting: when writing the config, the second id is set as the default one according to the debug output - when opening the yaml file earlier the first one was reported correctly as the default one.)
Originally posted by @allesand in #383 (comment)
The text was updated successfully, but these errors were encountered: