1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00
Mirror of f4exb's SDRAngel
Go to file
Daniele Forsi 8829df3c3b Fix memleaks found with AddressSanitizer/LeakSanitizer
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 448 byte(s) in 2 object(s) allocated from:
    #0 0x7f78cd8f46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    #1 0x7f788e0e9d9c in GS232ControllerWorker::MsgConfigureGS232ControllerWorker::create(GS232ControllerSettings const&, QList<QString> const&, bool) sdrangel/plugins/feature/gs232controller/gs232controllerworker.h:51
    #2 0x7f788e0eeedf in GS232Controller::applySettings(GS232ControllerSettings const&, QList<QString> const&, bool) sdrangel/plugins/feature/gs232controller/gs232controller.cpp:291
    #3 0x7f788e0ec595 in GS232Controller::handleMessage(Message const&) sdrangel/plugins/feature/gs232controller/gs232controller.cpp:156
    #4 0x7f78cabe899f in Feature::handleInputMessages() sdrangel/sdrbase/feature/feature.cpp:46
    #5 0x7f78ca9f9b5c in Feature::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/3DM3QXXG3A/moc_feature.cpp:89
    #6 0x7f78c7f05fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    #7 0x7f78caa0584a in MessageQueue::messageEnqueued() build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/KH43KSYMFX/moc_messagequeue.cpp:131
    #8 0x7f78cad19c77 in MessageQueue::push(Message*, bool) sdrangel/sdrbase/util/messagequeue.cpp:55
    #9 0x7f788e142936 in GS232ControllerGUI::applySettings(QStringList const&, bool) sdrangel/plugins/feature/gs232controller/gs232controllergui.cpp:969
    #10 0x7f788e142727 in GS232ControllerGUI::applySetting(QString const&) sdrangel/plugins/feature/gs232controller/gs232controllergui.cpp:960
    #11 0x7f788e133c26 in GS232ControllerGUI::onWidgetRolled(QWidget*, bool) sdrangel/plugins/feature/gs232controller/gs232controllergui.cpp:206
    #12 0x7f788e0e25d9 in GS232ControllerGUI::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/plugins/feature/gs232controller/featuregs232controller_autogen/EWIEGA46WW/moc_gs232controllergui.cpp:234
    #13 0x7f78c7f05fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    #14 0x7f78ccdcd9a1 in RollupContents::widgetRolled(QWidget*, bool) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_rollupcontents.cpp:146
    #15 0x7f78cd06a080 in RollupContents::eventFilter(QObject*, QEvent*) sdrangel/sdrgui/gui/rollupcontents.cpp:403
    #16 0x7f78c7ecc4b2 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x2cc4b2) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)

and more
2024-05-19 19:44:45 +02:00
.github/workflows Temporarily disable building DATV plugins for MacOS CI 2024-04-26 23:04:12 +02: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 version and changelogs 2024-05-15 12:16:37 +02:00
devices Remove unused includes and use more direct includes 2024-04-20 19:10:18 +02:00
doc Metis MISO: added lock all Rx frequencies option 2024-05-13 22:09:12 +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-19 19:44:45 +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 typos 2024-04-29 19:07:29 +02:00
sdrbase Use qDeleteAll() for brevity 2024-05-19 19:44:45 +02:00
sdrbench Remove unneeded file 2024-04-10 10:50:45 +01:00
sdrgui Fix memleaks found with AddressSanitizer/LeakSanitizer 2024-05-19 19:44:45 +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 Metis MISO: added lock all Rx frequencies option 2024-05-13 22:09:12 +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 version and changelogs 2024-05-15 12:16:37 +02:00
CMakeLists.txt Add cmake option to optionally compile with LeakSanitizer 2024-05-19 19:44:45 +02:00
CMakePresets.json Add windows-default preset for building with Visual Studio 2023-09-08 13:21:01 +01:00
gitdiff.sh Utility script to list plugins changed petween commits 2023-11-29 05:07:50 +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

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.