Mirror of f4exb's SDRAngel
Go to file
Daniele Forsi a708ffed79 Fix memleaks found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fabe9cf46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7faba9afa508 in WebServer::addSubstitution(QString, QString, QString) sdrangel/plugins/feature/skymap/webserver.cpp:83
    #2 0x7faba9b11591 in SkyMapGUI::SkyMapGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) sdrangel/plugins/feature/skymap/skymapgui.cpp:224
    #3 0x7faba9b0f0a0 in SkyMapGUI::create(PluginAPI*, FeatureUISet*, Feature*) sdrangel/plugins/feature/skymap/skymapgui.cpp:44
    #4 0x7faba9af70e9 in SkyMapPlugin::createFeatureGUI(FeatureUISet*, Feature*) const sdrangel/plugins/feature/skymap/skymapplugin.cpp:72
    #5 0x7fabe920938b in MainWindow::featureAddClicked(Workspace*, int) sdrangel/sdrgui/mainwindow.cpp:2888
    #6 0x7fabe9224621 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<Workspace*, int>, void, void (MainWindow::*)(Workspace*, int)>::call(void (MainWindow::*)(Workspace*, int), MainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
    #7 0x7fabe921feed in void QtPrivate::FunctionPointer<void (MainWindow::*)(Workspace*, int)>::call<QtPrivate::List<Workspace*, int>, void>(void (MainWindow::*)(Workspace*, int), MainWindow*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
    #8 0x7fabe921d376 in QtPrivate::QSlotObject<void (MainWindow::*)(Workspace*, int), QtPrivate::List<Workspace*, int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:418
    #9 0x7fabe43062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    #10 0x7fabe91d5ca4 in Workspace::addFeature(Workspace*, int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_workspace.cpp:393
    #11 0x7fabe950c6a2 in Workspace::addFeatureEmitted(int) sdrangel/sdrgui/gui/workspace.cpp:413
    #12 0x7fabe95245bb in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<int>, void, void (Workspace::*)(int)>::call(void (Workspace::*)(int), Workspace*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
    #13 0x7fabe951fb83 in void QtPrivate::FunctionPointer<void (Workspace::*)(int)>::call<QtPrivate::List<int>, void>(void (Workspace::*)(int), Workspace*, void**) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
    #14 0x7fabe951cc86 in QtPrivate::QSlotObject<void (Workspace::*)(int), QtPrivate::List<int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:418
    #15 0x7fabe43062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    #16 0x7fabe91c3c77 in FeatureAddDialog::addFeature(int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:141
    #17 0x7fabe92d0d79 in FeatureAddDialog::apply(QAbstractButton*) sdrangel/sdrgui/gui/featureadddialog.cpp:53
    #18 0x7fabe91c380e in FeatureAddDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:82
    #19 0x7fabe4305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    #20 0x7fabe51029b2 in QDialogButtonBox::clicked(QAbstractButton*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3029b2) (BuildId: dfefd27f084c0dd066215fc79825fceae604f481)

and more
2024-05-04 18:02:32 +02:00
.github/workflows Windows buid: changed Boost archive repository 2024-01-02 08:44:27 +01:00
app Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893 2023-11-19 13:43:10 +01:00
appbench Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893 2023-11-19 13:43:10 +01:00
appsrv Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893 2023-11-19 13:43:10 +01:00
cmake Scan all plugins for qml 2024-03-11 13:45:56 +00:00
custom add gettimeofday() compatibility function for windows 2019-05-28 15:19:19 +02:00
debian Updated versions and changelogs 2024-04-14 11:41:00 +02:00
devices Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
doc Fix title of window (s/Source/Sink/) 2024-04-27 18:48:02 +02:00
exports Rewriting of copyright notices for all but plugins (done), sdrbase, sdrgui. Part of #1893 2023-11-19 13:43:10 +01:00
external Upgraded RTL-SDR library to v2.0.1 2024-02-22 02:04:18 +01:00
fcdhid Funcube dongle support on windows. 2022-05-29 21:26:04 +01:00
fcdlib Updated changelogs and plugins versions 2023-11-29 05:00:58 +01:00
flatpak Workaround Flatpak issues on Wayland 2020-11-05 14:20:50 +01:00
ft8 FT8: implement Gray decoding when decoding from magnitudes 2024-04-06 11:01:21 +02:00
httpserver Fix spellling errors found with aspell 2024-04-26 21:18:32 +02:00
logging : FT8 demod: implement Qt dependency and export for MSVC 2023-01-11 16:36:10 +01:00
mac Request authorization for access to camera and microphone on Mac 2023-09-12 09:20:07 +01:00
modemm17 Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
plugins Fix memleaks found with AddressSanitizer/LeakSanitizer 2024-05-04 18:02:32 +02:00
qrtplib Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
rescuesdriq Perform sec to msec upconversion before first printout 2021-08-18 21:01:12 +00:00
scriptsapi Fix spelling using ispell 2023-05-02 19:43:59 +02:00
sdrbase Use qDeleteAll() for brevity 2024-05-03 23:59:08 +02:00
sdrbench Remove unneeded file 2024-04-10 10:50:45 +01:00
sdrgui Fix memleaks found with AddressSanitizer/LeakSanitizer 2024-04-30 23:23:38 +02:00
sdrsrv Fix spellling errors found with LibreOffice Writer 2024-04-26 21:18:32 +02:00
settings Allow sampling devices to be refreshed while SDRangel is running. 2022-12-20 21:06:39 +00:00
snap Add desktop file and icon 2024-03-12 12:00:35 +00:00
swagger Fix typos in ChannelAnalyzer settings 2024-04-18 22:46:21 +02:00
.appveyor.yml Add libqt5svg5-dev dependency. 2024-02-27 15:53:40 +00:00
.gitattributes Star Tracker updates. 2021-01-29 12:57:58 +00:00
.gitignore Normalise pulse shaping. Enable RTTY Mod in Demod analyser. 2023-09-04 09:36:19 +01:00
.gitmodules Return to original external/windows non LFS submodule 2021-11-04 00:17:34 +01:00
.travis.yml Revert "Remove codec2 from Appveyor and Travis builds" 2022-10-18 21:21:10 +02:00
CHANGELOG Updated versions and changelogs 2024-04-14 11:41:00 +02:00
CMakeLists.txt Add cmake option to optionally compile with LeakSanitizer 2024-04-30 16:28:44 +02:00
CMakePresets.json Add windows-default preset for building with Visual Studio 2023-09-08 13:21:01 +01:00
IssueTemplate.md Fix spelling using ispell 2023-05-02 19:43:59 +02:00
LICENSE Create LICENSE 2019-04-11 07:06:30 +02:00
Readme.md Update Readme.md 2022-10-29 13:37:09 +02:00
gitdiff.sh Utility script to list plugins changed petween commits 2023-11-29 05:07:50 +01:00

Readme.md

SDR Angel banner

SDRangel is an open-source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.

Wiki: Most of the information and documentation related to SDRangel can be found in the Wiki. Please make sure to check it in case of questions or trouble and before you post issues on GitHub. You may also seek help from other users using the discussion group below. Before running the program, make sure you read at least the Home and Quick Start pages.

Discussion group: You can ask other users for help or discuss subjects related to SDRangel and its ancillary projects here.

Ancillary projects

  • SDRangelcli is a web application that can be used to control a headless (server flavor) instance of SDRangel. It can also be used as a remote control for the GUI flavor.
  • SDRangel-Docker is a collection of Docker files and scripts to facilitate building and running SDRangel in a Docker container. Works for either the GUI (only on a Linux host) or the server.