Skip to content
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

No Spectrum or Waterfall #28

Closed
KC7NOA opened this issue May 18, 2017 · 5 comments
Closed

No Spectrum or Waterfall #28

KC7NOA opened this issue May 18, 2017 · 5 comments

Comments

@KC7NOA
Copy link

KC7NOA commented May 18, 2017

In my special circumstance -- My HDMI output is blown.
Ubuntu Mate 16.04 32bit only USB2.0, no USB3.0 ports on the Odroid-X2

Odroid EGS is not quite right, display uses RGB and qt needs a more specific rendering type to display correctly.(this is something that had bugged me for some time about HardKernel use of Mali400 GPU -- which i cant even use ,,,, i use a Displaylink165)

So i dont get any waterfall or spectrum.

@KC7NOA KC7NOA changed the title PulseAudio No Spectrum or Waterfall May 20, 2017
@KC7NOA
Copy link
Author

KC7NOA commented May 21, 2017

Just trying to get some insight

kc7noaodroid@odroid:~$ sdrangel

(process:4848): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
QMetaObject::connectSlotsByName: No matching signal for on_sampleSource_confirmClicked(bool)
QMetaObject::connectSlotsByName: No matching signal for on_sampleSink_confirmClicked(bool)
QMetaObject::connectSlotsByName: No matching signal for on_channel_addClicked(bool)
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libcodec2.so.0.5'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libfcdhid.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libfcdlib.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libgnuradio-osmosdr.so.0.1.5git'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libitpp.so.8.2.1'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/liblimesdrdevice.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libLimeSuite.so.17.03.0'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libmbe.so.1.0'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libpsk.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libsdrbase.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libSoapySDR.so.0.6.0'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/libwdsp.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/addons/library.kodi.adsp/libKODI_adsp-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/addons/library.kodi.audioengine/libKODI_audioengine-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/addons/library.kodi.guilib/libKODI_guilib-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/addons/library.xbmc.addon/libXBMC_addon-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/addons/library.xbmc.codec/libXBMC_codec-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/addons/library.xbmc.pvr/libXBMC_pvr-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/system/ImageLib-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/system/libcpluff-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/system/libexif-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/system/players/dvdplayer/libdvdcss-arm.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/kodi/system/players/dvdplayer/libdvdnav-arm.so'
PluginManager::loadPlugins: loaded plugin libchanalyzer.so
PluginManager::loadPlugins: loaded plugin libchanalyzerng.so
PluginManager::loadPlugins: loaded plugin libdemodam.so
PluginManager::loadPlugins: loaded plugin libdemodatv.so
PluginManager::loadPlugins: loaded plugin libdemodbfm.so
PluginManager::loadPlugins: loaded plugin libdemodlora.so
PluginManager::loadPlugins: loaded plugin libdemodnfm.so
PluginManager::loadPlugins: loaded plugin libdemodssb.so
PluginManager::loadPlugins: loaded plugin libdemodtcpsrc.so
PluginManager::loadPlugins: loaded plugin libdemodudpsrc.so
PluginManager::loadPlugins: loaded plugin libdemodwfm.so
PluginManager::loadPlugins: loaded plugin libmodam.so
PluginManager::loadPlugins: loaded plugin libmodatv.so
PluginManager::loadPlugins: loaded plugin libmodnfm.so
PluginManager::loadPlugins: loaded plugin libmodssb.so
PluginManager::loadPlugins: loaded plugin libmodwfm.so
PluginManager::loadPlugins: loaded plugin liboutputfilesink.so
PluginManager::loadPlugins: loaded plugin liboutputlimesdr.so
PluginManager::loadPlugins: loaded plugin libinputfcdpro.so
PluginManager::loadPlugins: loaded plugin libinputfcdproplus.so
PluginManager::loadPlugins: loaded plugin libinputfilesource.so
PluginManager::loadPlugins: loaded plugin libinputlimesdr.so
PluginManager::loadPlugins: loaded plugin libinputrtlsdr.so
PluginManager::loadPlugins: loaded plugin libinputsdrdaemon.so
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/_SoapySDR.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/osmosdr/_osmosdr_swig.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/quisk/_quisk.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/quisk/sdriqpkg/sdriq.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/codecs/argb/argb.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/codecs/csc_cython/colorspace_converter.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/codecs/enc_x264/encoder.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/codecs/v4l2/pusher.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/codecs/vpx/decoder.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/codecs/vpx/encoder.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/codecs/xor/cyxor.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/gtk_common/gdk_atoms.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/net/vsock.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/net/bencode/cython_bencode.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/server/cystats.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/server/window/motion.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/server/window/region.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/bindings/core_bindings.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/bindings/display_source.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/bindings/keyboard_bindings.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/bindings/posix_display_source.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/bindings/randr_bindings.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/bindings/wait_for_x_server.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/bindings/window_bindings.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/bindings/ximage.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/gtk2/gdk_bindings.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/python2.7/dist-packages/xpra/x11/gtk2/gdk_display_source.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/SoapySDR/modules0.6/libLMS7Support.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/SoapySDR/modules0.6-dev/librtlsdrSupport.so'
PluginManager::loadPlugins: Plugin verification data mismatch in '/usr/local/lib/SoapySDR/modules0.6-dev/Hide/CrapJacklibaudioSupport.so'
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
[INFO] Estimated reference clock 30.7198 MHz
[INFO] Selected reference clock 30.720 MHz
[INFO] LMS7002M cache /home/kc7noaodroid/.limesuite/LMS7002M_cache_values.db
MCU algorithm time: 11 ms
MCU Ref. clock: 30.72 MHz
MCU algorithm time: 198 ms
DeviceLimeSDR::setNCOFrequency: cannot disable NCO
LimeSDRInput::applySettings: could not disable and set NCO to -24000000 Hz
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 30 MHz, BW: 4.5 MHz, RF input: LNAW, PGA: 0, LNA: 8, TIA: 1
Performed by: MCU

MCU algorithm time: 1 ms
Current MCU firmware: 3, DC/IQ calibration full
MCU Ref. clock: 30.72 MHz
MCU algorithm time: 250 ms
MCU algorithm time: 1 ms
MCU Ref. clock: 30.72 MHz
MCU algorithm time: 198 ms
DeviceLimeSDR::setNCOFrequency: cannot disable NCO
LimeSDRInput::applySettings: could not disable and set NCO to -24000000 Hz
############################################################
Rx calibration using RSSI INTERNAL ON BOARD loopback
Rx ch.A @ 30 MHz, BW: 4.5 MHz, RF input: LNAW, PGA: 0, LNA: 8, TIA: 1
Performed by: MCU

MCU algorithm time: 1 ms
Current MCU firmware: 3, DC/IQ calibration full
MCU Ref. clock: 30.72 MHz
MCU algorithm time: 249 ms
AudioOutput::start: using default device alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00.analog-stereo

@f4exb
Copy link
Owner

f4exb commented May 24, 2017

Hello,

this is the problem:
"QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled"

You DO need a working OpenGL on your system as a prerequisite to display the OpenGL parts which are the spectrum, scope and TV monitor windows.

Please make sure that OpenGL is working in your system first.

Best regards.

@f4exb f4exb closed this as completed May 24, 2017
@KC7NOA
Copy link
Author

KC7NOA commented May 30, 2017

yes .. verified ... after searching some ... DisplayLink under linux DOES NOT have opengl support ... bummer

@KC7NOA
Copy link
Author

KC7NOA commented Jan 27, 2019

Displaylink, it turns out, has nothing to do with the issue ....

Quote from maveric "In fact if you have the correct Qt5 version it should already use GLES anyway."
page https://forum.odroid.com/viewtopic.php?f=136&t=31237&p=244557#p244557

with a picture of what i see using hdmi and a HD tv

@KC7NOA
Copy link
Author

KC7NOA commented Jan 28, 2019

this does seem to work ...
kc7noa@odroid:~$ glmark2
MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: mali_drm_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: mali_drm
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.

glmark2 2014.03+git20150611.fa71af2d

=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: llvmpipe (LLVM 6.0, 128 bits)
GL_VERSION: 3.0 Mesa 18.0.5

** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
[build] use-vbo=false:
there is a spinning horse/unicorn figure

dforsi added a commit to dforsi/sdrangel that referenced this issue May 4, 2024
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7f2360af46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    f4exb#1 0x7f2321a07706 in AFC::MsgDeviceSetListsReport::create() sdrangel/plugins/feature/afc/afc.h:151
    f4exb#2 0x7f2321a0ac1f in AFC::updateDeviceSetLists() sdrangel/plugins/feature/afc/afc.cpp:290
    f4exb#3 0x7f2321a09648 in AFC::handleMessage(Message const&) sdrangel/plugins/feature/afc/afc.cpp:214
    f4exb#4 0x7f235dfba569 in Feature::handleInputMessages() sdrangel/sdrbase/feature/feature.cpp:46
    f4exb#5 0x7f235ddea09e in Feature::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/3DM3QXXG3A/moc_feature.cpp:89
    f4exb#6 0x7f235b305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#7 0x7f235ddf5d8c in MessageQueue::messageEnqueued() build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/KH43KSYMFX/moc_messagequeue.cpp:131
    f4exb#8 0x7f235e0e1487 in MessageQueue::push(Message*, bool) sdrangel/sdrbase/util/messagequeue.cpp:55
    f4exb#9 0x7f2321a32fad in AFCGUI::requestDeviceSetLists() sdrangel/plugins/feature/afc/afcgui.cpp:213
    f4exb#10 0x7f2321a32124 in AFCGUI::AFCGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) sdrangel/plugins/feature/afc/afcgui.cpp:170
    f4exb#11 0x7f2321a308cc in AFCGUI::create(PluginAPI*, FeatureUISet*, Feature*) sdrangel/plugins/feature/afc/afcgui.cpp:32
    f4exb#12 0x7f2321a1c229 in AFCPlugin::createFeatureGUI(FeatureUISet*, Feature*) const sdrangel/plugins/feature/afc/afcplugin.cpp:70
    f4exb#13 0x7f235fffc534 in MainWindow::featureAddClicked(Workspace*, int) sdrangel/sdrgui/mainwindow.cpp:2890
    f4exb#14 0x7f23600172c1 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
    f4exb#15 0x7f2360012b8d 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
    f4exb#16 0x7f2360010016 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
    f4exb#17 0x7f235b3062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#18 0x7f235ffcc7fc in Workspace::addFeature(Workspace*, int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_workspace.cpp:393
    f4exb#19 0x7f23602f56f8 in Workspace::addFeatureEmitted(int) sdrangel/sdrgui/gui/workspace.cpp:413
    f4exb#20 0x7f236030d611 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
    f4exb#21 0x7f2360308bd9 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
    f4exb#22 0x7f2360305cdc 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
    f4exb#23 0x7f235b3062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#24 0x7f235ffba7cf in FeatureAddDialog::addFeature(int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:141
    f4exb#25 0x7f23600c2d19 in FeatureAddDialog::apply(QAbstractButton*) sdrangel/sdrgui/gui/featureadddialog.cpp:53
    f4exb#26 0x7f235ffba366 in FeatureAddDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:82
    f4exb#27 0x7f235b305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#28 0x7f235c1029b2 in QDialogButtonBox::clicked(QAbstractButton*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3029b2) (BuildId: dfefd27f084c0dd066215fc79825fceae604f481)
dforsi added a commit to dforsi/sdrangel that referenced this issue May 19, 2024
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7f2360af46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    f4exb#1 0x7f2321a07706 in AFC::MsgDeviceSetListsReport::create() sdrangel/plugins/feature/afc/afc.h:151
    f4exb#2 0x7f2321a0ac1f in AFC::updateDeviceSetLists() sdrangel/plugins/feature/afc/afc.cpp:290
    f4exb#3 0x7f2321a09648 in AFC::handleMessage(Message const&) sdrangel/plugins/feature/afc/afc.cpp:214
    f4exb#4 0x7f235dfba569 in Feature::handleInputMessages() sdrangel/sdrbase/feature/feature.cpp:46
    f4exb#5 0x7f235ddea09e in Feature::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/3DM3QXXG3A/moc_feature.cpp:89
    f4exb#6 0x7f235b305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#7 0x7f235ddf5d8c in MessageQueue::messageEnqueued() build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/KH43KSYMFX/moc_messagequeue.cpp:131
    f4exb#8 0x7f235e0e1487 in MessageQueue::push(Message*, bool) sdrangel/sdrbase/util/messagequeue.cpp:55
    f4exb#9 0x7f2321a32fad in AFCGUI::requestDeviceSetLists() sdrangel/plugins/feature/afc/afcgui.cpp:213
    f4exb#10 0x7f2321a32124 in AFCGUI::AFCGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) sdrangel/plugins/feature/afc/afcgui.cpp:170
    f4exb#11 0x7f2321a308cc in AFCGUI::create(PluginAPI*, FeatureUISet*, Feature*) sdrangel/plugins/feature/afc/afcgui.cpp:32
    f4exb#12 0x7f2321a1c229 in AFCPlugin::createFeatureGUI(FeatureUISet*, Feature*) const sdrangel/plugins/feature/afc/afcplugin.cpp:70
    f4exb#13 0x7f235fffc534 in MainWindow::featureAddClicked(Workspace*, int) sdrangel/sdrgui/mainwindow.cpp:2890
    f4exb#14 0x7f23600172c1 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
    f4exb#15 0x7f2360012b8d 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
    f4exb#16 0x7f2360010016 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
    f4exb#17 0x7f235b3062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#18 0x7f235ffcc7fc in Workspace::addFeature(Workspace*, int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_workspace.cpp:393
    f4exb#19 0x7f23602f56f8 in Workspace::addFeatureEmitted(int) sdrangel/sdrgui/gui/workspace.cpp:413
    f4exb#20 0x7f236030d611 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
    f4exb#21 0x7f2360308bd9 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
    f4exb#22 0x7f2360305cdc 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
    f4exb#23 0x7f235b3062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#24 0x7f235ffba7cf in FeatureAddDialog::addFeature(int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:141
    f4exb#25 0x7f23600c2d19 in FeatureAddDialog::apply(QAbstractButton*) sdrangel/sdrgui/gui/featureadddialog.cpp:53
    f4exb#26 0x7f235ffba366 in FeatureAddDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:82
    f4exb#27 0x7f235b305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#28 0x7f235c1029b2 in QDialogButtonBox::clicked(QAbstractButton*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3029b2) (BuildId: dfefd27f084c0dd066215fc79825fceae604f481)
dforsi added a commit to dforsi/sdrangel that referenced this issue May 19, 2024
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7f2360af46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    f4exb#1 0x7f2321a07706 in AFC::MsgDeviceSetListsReport::create() sdrangel/plugins/feature/afc/afc.h:151
    f4exb#2 0x7f2321a0ac1f in AFC::updateDeviceSetLists() sdrangel/plugins/feature/afc/afc.cpp:290
    f4exb#3 0x7f2321a09648 in AFC::handleMessage(Message const&) sdrangel/plugins/feature/afc/afc.cpp:214
    f4exb#4 0x7f235dfba569 in Feature::handleInputMessages() sdrangel/sdrbase/feature/feature.cpp:46
    f4exb#5 0x7f235ddea09e in Feature::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/3DM3QXXG3A/moc_feature.cpp:89
    f4exb#6 0x7f235b305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#7 0x7f235ddf5d8c in MessageQueue::messageEnqueued() build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/KH43KSYMFX/moc_messagequeue.cpp:131
    f4exb#8 0x7f235e0e1487 in MessageQueue::push(Message*, bool) sdrangel/sdrbase/util/messagequeue.cpp:55
    f4exb#9 0x7f2321a32fad in AFCGUI::requestDeviceSetLists() sdrangel/plugins/feature/afc/afcgui.cpp:213
    f4exb#10 0x7f2321a32124 in AFCGUI::AFCGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) sdrangel/plugins/feature/afc/afcgui.cpp:170
    f4exb#11 0x7f2321a308cc in AFCGUI::create(PluginAPI*, FeatureUISet*, Feature*) sdrangel/plugins/feature/afc/afcgui.cpp:32
    f4exb#12 0x7f2321a1c229 in AFCPlugin::createFeatureGUI(FeatureUISet*, Feature*) const sdrangel/plugins/feature/afc/afcplugin.cpp:70
    f4exb#13 0x7f235fffc534 in MainWindow::featureAddClicked(Workspace*, int) sdrangel/sdrgui/mainwindow.cpp:2890
    f4exb#14 0x7f23600172c1 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
    f4exb#15 0x7f2360012b8d 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
    f4exb#16 0x7f2360010016 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
    f4exb#17 0x7f235b3062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#18 0x7f235ffcc7fc in Workspace::addFeature(Workspace*, int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_workspace.cpp:393
    f4exb#19 0x7f23602f56f8 in Workspace::addFeatureEmitted(int) sdrangel/sdrgui/gui/workspace.cpp:413
    f4exb#20 0x7f236030d611 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
    f4exb#21 0x7f2360308bd9 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
    f4exb#22 0x7f2360305cdc 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
    f4exb#23 0x7f235b3062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#24 0x7f235ffba7cf in FeatureAddDialog::addFeature(int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:141
    f4exb#25 0x7f23600c2d19 in FeatureAddDialog::apply(QAbstractButton*) sdrangel/sdrgui/gui/featureadddialog.cpp:53
    f4exb#26 0x7f235ffba366 in FeatureAddDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:82
    f4exb#27 0x7f235b305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#28 0x7f235c1029b2 in QDialogButtonBox::clicked(QAbstractButton*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3029b2) (BuildId: dfefd27f084c0dd066215fc79825fceae604f481)
dforsi added a commit to dforsi/sdrangel that referenced this issue May 19, 2024
Found with:
ASAN_OPTIONS="detect_odr_violation=1,strip_path_prefix=$(pwd)/" build/sdrangel

Fixes:
Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x7f2360af46b8 in operator new(unsigned long) ../../../../src/libsanitizer/asan/asan_new_delete.cpp:95
    f4exb#1 0x7f2321a07706 in AFC::MsgDeviceSetListsReport::create() sdrangel/plugins/feature/afc/afc.h:151
    f4exb#2 0x7f2321a0ac1f in AFC::updateDeviceSetLists() sdrangel/plugins/feature/afc/afc.cpp:290
    f4exb#3 0x7f2321a09648 in AFC::handleMessage(Message const&) sdrangel/plugins/feature/afc/afc.cpp:214
    f4exb#4 0x7f235dfba569 in Feature::handleInputMessages() sdrangel/sdrbase/feature/feature.cpp:46
    f4exb#5 0x7f235ddea09e in Feature::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/3DM3QXXG3A/moc_feature.cpp:89
    f4exb#6 0x7f235b305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#7 0x7f235ddf5d8c in MessageQueue::messageEnqueued() build-sdrangel-Desktop_qt5-Debug/sdrbase/sdrbase_autogen/KH43KSYMFX/moc_messagequeue.cpp:131
    f4exb#8 0x7f235e0e1487 in MessageQueue::push(Message*, bool) sdrangel/sdrbase/util/messagequeue.cpp:55
    f4exb#9 0x7f2321a32fad in AFCGUI::requestDeviceSetLists() sdrangel/plugins/feature/afc/afcgui.cpp:213
    f4exb#10 0x7f2321a32124 in AFCGUI::AFCGUI(PluginAPI*, FeatureUISet*, Feature*, QWidget*) sdrangel/plugins/feature/afc/afcgui.cpp:170
    f4exb#11 0x7f2321a308cc in AFCGUI::create(PluginAPI*, FeatureUISet*, Feature*) sdrangel/plugins/feature/afc/afcgui.cpp:32
    f4exb#12 0x7f2321a1c229 in AFCPlugin::createFeatureGUI(FeatureUISet*, Feature*) const sdrangel/plugins/feature/afc/afcplugin.cpp:70
    f4exb#13 0x7f235fffc534 in MainWindow::featureAddClicked(Workspace*, int) sdrangel/sdrgui/mainwindow.cpp:2890
    f4exb#14 0x7f23600172c1 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
    f4exb#15 0x7f2360012b8d 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
    f4exb#16 0x7f2360010016 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
    f4exb#17 0x7f235b3062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#18 0x7f235ffcc7fc in Workspace::addFeature(Workspace*, int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_workspace.cpp:393
    f4exb#19 0x7f23602f56f8 in Workspace::addFeatureEmitted(int) sdrangel/sdrgui/gui/workspace.cpp:413
    f4exb#20 0x7f236030d611 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
    f4exb#21 0x7f2360308bd9 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
    f4exb#22 0x7f2360305cdc 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
    f4exb#23 0x7f235b3062b1  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x3062b1) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#24 0x7f235ffba7cf in FeatureAddDialog::addFeature(int) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:141
    f4exb#25 0x7f23600c2d19 in FeatureAddDialog::apply(QAbstractButton*) sdrangel/sdrgui/gui/featureadddialog.cpp:53
    f4exb#26 0x7f235ffba366 in FeatureAddDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) build-sdrangel-Desktop_qt5-Debug/sdrgui/sdrgui_autogen/DMHXEJ42XS/moc_featureadddialog.cpp:82
    f4exb#27 0x7f235b305fcc  (/lib/x86_64-linux-gnu/libQt5Core.so.5+0x305fcc) (BuildId: ed2abb344a128279a866aa6c4a79f3fa5c87c59e)
    f4exb#28 0x7f235c1029b2 in QDialogButtonBox::clicked(QAbstractButton*) (/lib/x86_64-linux-gnu/libQt5Widgets.so.5+0x3029b2) (BuildId: dfefd27f084c0dd066215fc79825fceae604f481)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants