Daniele Forsi
8647a991a4
Fix memleak found with AddressSanitizer/LeakSanitizer
...
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
2024-05-19 19:44:45 +02:00
Daniele Forsi
dbf630c424
Fix memleaks found with AddressSanitizer/LeakSanitizer
...
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
2024-05-19 19:44:45 +02:00
Daniele Forsi
87be13fcae
Fix memleaks found with AddressSanitizer/LeakSanitizer
...
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel
Fixes:
Direct leak of 72 byte(s) in 1 object(s) allocated from:
#0 0x7f7b94ef46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f7b929ff74c in MainSettings::load() sdrbase/settings/mainsettings.cpp:153
#2 0x7f7b947614f6 in MainWindow::loadSettings() sdrgui/mainwindow.cpp:1230
#3 0x7f7b94759e11 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:211
#4 0x55b694e0a175 in runQtApplication app/main.cpp:196
#5 0x55b694e07ab7 in main app/main.cpp:248
#6 0x7f7b8f4456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
Indirect leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x7f7b94ef46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f7b929e734d in QList<Preset>::node_construct(QList<Preset>::Node*, Preset const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:465
#2 0x7f7b929e734d in QList<Preset>::append(Preset const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:625
#3 0x7f7b929e734d in QList<Preset>::push_back(Preset const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:377
#4 0x7f7b929e734d in Configuration::deserialize(QByteArray const&) sdrbase/settings/configuration.cpp:112
#5 0x7f7b929ff934 in MainSettings::load() sdrbase/settings/mainsettings.cpp:155
#6 0x7f7b947614f6 in MainWindow::loadSettings() sdrgui/mainwindow.cpp:1230
#7 0x7f7b94759e11 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:211
#8 0x55b694e0a175 in runQtApplication app/main.cpp:196
#9 0x55b694e07ab7 in main app/main.cpp:248
#10 0x7f7b8f4456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7f7b94ef46c8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7f7b929e9706 in QList<Preset::DeviceConfig>::node_construct(QList<Preset::DeviceConfig>::Node*, Preset::DeviceConfig const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:465
#2 0x7f7b929e9706 in QList<Preset::DeviceConfig>::append(Preset::DeviceConfig const&) /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:625
#3 0x7f7b929f627c in Preset::deserialize(QByteArray const&) sdrbase/settings/preset.cpp:193
#4 0x7f7b929e74ca in Configuration::deserialize(QByteArray const&) sdrbase/settings/configuration.cpp:113
#5 0x7f7b929ff934 in MainSettings::load() sdrbase/settings/mainsettings.cpp:155
#6 0x7f7b947614f6 in MainWindow::loadSettings() sdrgui/mainwindow.cpp:1230
#7 0x7f7b94759e11 in MainWindow::MainWindow(qtwebapp::LoggerWithFile*, MainParser const&, QWidget*) sdrgui/mainwindow.cpp:211
#8 0x55b694e0a175 in runQtApplication app/main.cpp:196
#9 0x55b694e07ab7 in main app/main.cpp:248
#10 0x7f7b8f4456c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
2024-05-19 19:44:45 +02:00
Edouard Griffiths
20aed1b00d
Merge pull request #2110 from dforsi/feature/my-position
...
Explain that GPS is not the only means to get the position of the station
2024-05-14 09:42:32 +02:00
Daniele Forsi
dbc9ebbb64
Explain that GPS is not the only means to get the position of the station
...
Also print a debug message with the position provider in use.
2024-05-13 22:55:34 +02:00
f4exb
5231d1877b
Metis MISO: added lock all Rx frequencies option
2024-05-13 22:09:12 +02:00
f4exb
a85731d3f7
Interferometer: added localDeviceIndex and play to API
2024-05-13 01:02:44 +02:00
f4exb
bab47d41c7
Interferometer: implement gain and phase in API
2024-05-13 01:02:44 +02:00
Daniele Forsi
08c918f194
Fix saving configurations after deleting some entries
2024-05-11 19:36:31 +02:00
srcejon
c0fc8c3b73
Don't call start() in Demod's constructors. #2102
...
SSDDemodGUI: Disable AGC widgets when AGC disabled.
2024-05-08 18:52:34 +01:00
srcejon
4f2b03646f
AIS: Fix string decoding in safetey messages. #2094
2024-04-30 09:32:22 +01:00
Alessandro Gatti
fa5dc41503
vkFFT: Fix building with recent Vulkan SDKs.
...
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
2024-04-26 00:35:16 +02:00
Edouard Griffiths
4d43e53272
Merge pull request #2076 from dforsi/fix/includes
...
Fix/includes
2024-04-21 11:15:46 +02:00
Daniele Forsi
fe84c20aff
Make all include directives identical
...
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"
2024-04-20 19:19:11 +02:00
Daniele Forsi
613d9e4005
Fix "More '%' conversions than data arguments"
...
Fixes a compiler warning:
.../sdrangel/sdrbase/audio/audioinputdevice.cpp:106: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
2024-04-20 19:11:16 +02:00
Daniele Forsi
570c1f6877
Remove unused includes and use more direct includes
2024-04-20 19:10:18 +02:00
Daniele Forsi
8c3f7e3775
Remove unused includes and use more direct includes
2024-04-11 23:31:34 +02:00
srcejon
84960eff03
Fix Qt5 compilation
2024-04-10 01:58:31 +01:00
srcejon
2973eff337
Preset: Copy and initialise all fields for #2061 .
2024-04-10 01:40:57 +01:00
srcejon
a77b6f1b36
Radiosonde: Support uploading to SondeHub. Improve humidity calculation. Fix a couple of bugs.
2024-04-10 01:31:39 +01:00
srcejon
7b6bbe88f3
Regenerate swagger files
2024-04-07 16:53:16 +01:00
srcejon
67723563a4
Merge branch 'f4exb:master' into freq_scanner
2024-04-07 14:05:29 +01:00
Edouard Griffiths
98f5e610d7
Merge pull request #2056 from mxi-box/audio
...
Fix audio sink/source mapping
2024-04-07 11:42:40 +02:00
srcejon
035e6f59be
Add additional patchChannelSettings variants and addChannel.
2024-04-06 22:22:28 +01:00
mxi-box
32aee52ab3
Fix audio sink/source mapping
2024-04-07 03:25:31 +08:00
srcejon
83498f848b
Regnerate swagger files
2024-04-06 19:04:52 +01:00
srcejon
6134a2cf78
Add caching of index page, as can take 5s to load.
2024-04-05 16:34:35 +01:00
srcejon
2e169a1c4c
Merge branch 'f4exb:master' into freq_scanner
2024-04-05 10:49:10 +01:00
srcejon
4955e6ab08
Map: Add save to KML. Support MUF/foF2 varying with time. Support VLF transmitters being read from .csv.
2024-04-05 10:41:24 +01:00
RoboSchmied
6947d892a0
Fix typo
...
Signed-off-by: Michael Seibt <github@roboschmie.de>
2024-04-05 00:21:29 +02:00
srcejon
535f5c5e8f
Plot SID paths on map.
2024-04-04 21:41:07 +01:00
srcejon
879ce0e17b
Regenerate swagger
2024-04-04 15:24:08 +01:00
srcejon
3c75ac4f9e
Add add and removed channels or features.
2024-04-04 15:21:09 +01:00
srcejon
eac144acba
#2028 - Check for Cr or LF.
2024-04-03 15:14:14 +01:00
srcejon
610c36004e
Add SID (Sudden Ionospheric Disturbances) feature
2024-04-02 16:13:01 +01:00
srcejon
625513eaeb
Merge branch 'f4exb:master' into freq_scanner
2024-04-02 13:52:10 +01:00
mxi-box
1dddbd4424
Packet Plugin: packetmod supports multi Via; packetdemod fix H bit
2024-03-30 19:03:31 +08:00
mxi-box
556cc8ad45
Move AudioDeviceInfo singleton
2024-03-30 14:51:38 +08:00
mxi-box
ce3e78322b
Fix default audio boolean mark
2024-03-30 12:12:57 +08:00
mxi-box
eef0084a6e
Make AudioDeviceInfo singleton, remove the ones in AudioDeviceManager
2024-03-30 12:10:21 +08:00
srcejon
10993b447b
FeatureWebAPIUtils: Add method to open Sky Map and find a target.
2024-03-28 15:26:56 +00:00
srcejon
2be14f944a
Add util classes for getting data from GOES, SDO, Solar Orbiter STIX and Fermi satellites.
2024-03-28 15:26:23 +00:00
srcejon
605628567b
Regenerate swagger files
2024-03-27 16:49:46 +00:00
srcejon
7e859c938d
ChannelWebAPIUtils: Add method to run / stop feature.
2024-03-27 16:47:13 +00:00
srcejon
0ab0f33d00
Astronomy: Add sunrise / sunset calculation.
2024-03-27 16:46:27 +00:00
srcejon
68b833ad97
APRS: Fix forwarding of binary data to APRS-IS for #2028 . Support UTF-8.
...
PacketDemod: Support UTF-8.
2024-03-20 13:54:15 +00:00
srcejon
be554146bd
Regenerate swagger files
2024-03-18 14:20:07 +00:00
srcejon
c4e2bf2a38
FeatureWebAPIUtils: Add skyMapFind()
2024-03-18 14:16:41 +00:00
srcejon
29ae05a494
MainCore::getFeatureIndexFromId - Support Feature Ids without feature set index.
2024-03-18 14:10:02 +00:00
srcejon
c6143ca456
Db - Decrease default floor to -150dB.
2024-03-14 15:41:01 +00:00