Fixes:
2024-05-25 18:42:35.213 (W) StaticFileController::service: File :/webapi/doc/swagger/include/SID.yaml not found
2024-05-25 18:42:35.221 (W) StaticFileController::service: File :/webapi/doc/swagger/include/SkyMap.yaml not found
2024-05-25 18:42:35.370 (W) StaticFileController::service: File :/webapi/doc/swagger/include/ChannelPower.yaml not found
2024-05-25 18:42:35.403 (W) StaticFileController::service: File :/webapi/doc/swagger/include/FreqScanner.yaml not found
2024-05-25 18:42:35.403 (W) StaticFileController::service: File :/webapi/doc/swagger/include/EndOfTrainDemod.yaml not found
2024-05-25 18:42:35.444 (W) StaticFileController::service: File :/webapi/doc/swagger/include/FT8Demod.yaml not found
2024-05-25 18:42:35.485 (W) StaticFileController::service: File :/webapi/doc/swagger/include/M17Mod.yaml not found
2024-05-25 19:13:16.040 (W) StaticFileController::service: File :/webapi/doc/swagger/include/MorseDecoder.yaml not found
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel
Fixes:
Direct leak of 176096 byte(s) in 5503 object(s) allocated from:
#0 0x7f3a464f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f3a44009219 in Airline::Init::Init() sdrbase/util/airlines.cpp:5559
#2 0x7f3a43dc797d in _sub_I_65535_0.0 (build/lib/libsdrbase.so+0x3c797d) (BuildId: fb568b705538a6e506ee23027626f4366b25aa50)
#3 0x7f3a46c6ce3d in call_init elf/dl-init.c:74
#4 0x7f3a46c6ce3d in call_init elf/dl-init.c:26
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel
Fixes:
Direct leak of 56 byte(s) in 1 object(s) allocated from:
#0 0x7f9d7d0f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f9d7af247aa in MainCore::appendDeviceSet(int) sdrbase/maincore.cpp:219
#2 0x7f9d7c95c8a5 in MainWindow::sampleSourceAdd(Workspace*, Workspace*, int) sdrgui/mainwindow.cpp:359
#3 0x7f9d7c97ce3c in MainWindow::loadConfiguration(Configuration const*, bool) sdrgui/mainwindow.cpp:1439
#4 0x7f9d7c95a610 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:261
#5 0x562f7c492175 in runQtApplication app/main.cpp:196
#6 0x562f7c48fab7 in main app/main.cpp:248
#7 0x7f9d776456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
and 34 others that I'm not copying here.
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel
Fixes:
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7ff2588f46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7ff256723dd0 in MainCore::appendFeatureSet() sdrbase/maincore.cpp:190
#2 0x7ff25817fb89 in MainWindow::addFeatureSet() sdrgui/mainwindow.cpp:1191
#3 0x7ff25815a4d0 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:250
#4 0x559632289175 in runQtApplication app/main.cpp:196
#5 0x559632286ab7 in main app/main.cpp:248
#6 0x7ff252e456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
Fixes:
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7eff8bcf46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7eff897b484d in DeviceUserArgs::serialize() const sdrbase/device/deviceuserargs.cpp:43
#2 0x7eff897f4904 in MainSettings::save() const sdrbase/settings/mainsettings.cpp:237
#3 0x7eff8b578654 in MainWindow::closeEvent(QCloseEvent*) sdrgui/mainwindow.cpp:1749
#4 0x7eff877a5dc7 in QWidget::event(QEvent*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x1a5dc7) (BuildId: 983eca66d9695a1892aa796da4160d8d6f9b9ac4)
Direct leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7eff8bcf46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7eff897b484d in DeviceUserArgs::serialize() const sdrbase/device/deviceuserargs.cpp:43
#2 0x7eff897f4904 in MainSettings::save() const sdrbase/settings/mainsettings.cpp:237
#3 0x7eff8b552c9a in MainWindow::~MainWindow() sdrgui/mainwindow.cpp:326
#4 0x564e8b36e1e5 in runQtApplication app/main.cpp:212
#5 0x564e8b36bab7 in main app/main.cpp:248
#6 0x7eff862456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
Fixes the 5 includes that are different from the majority:
grep -Ehr "#include .+dsptypes" --include=*.h | sort | uniq -c
110 #include "dsp/dsptypes.h"
1 #include <dsp/dsptypes.h>
4 #include "dsptypes.h"