GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [sanitizer] TSan weekly run failure (fp 85bd1debc711) · Issue #7622 · aethersdr/AetherSDR

[sanitizer] TSan weekly run failure (fp 85bd1debc711) #7622

New issue
Copy link
New issue
Copy link
Backlog
Backlog
[sanitizer] TSan weekly run failure (fp 85bd1debc711)#7622
Copy link
Labels
GUIUser interfacebugSomething isn't workingexternal devicesFlexControl, MIDI, serial port, USB peripheralsmaintainer-reviewRequires maintainer review before any action is takenpriority: highHigh prioritysanitizertsan

Description

@github-actions
github-actions
bot
opened on Nov 26, 2026
Issue body actions

Run: https://github.com/aethersdr/AetherSDR/actions/runs/45883746590
Commit: 2595a06
Date: 2026-11-26
Fingerprint: 85bd1debc711

Sanitizer report (first SUMMARY block)
99% tests passed, 2 tests failed out of 1123
The following tests FAILED:
	288 - midi_mapping_dialog_test (Failed)
	963 - connection_workspace_test (Failed)
Errors while running CTest


  Previous write of size 8 at 0x7ffc07286190 by thread T5 (mutexes: write M0):
    #0 std::enable_if<std::__and_<std::__not_<std::__is_tuple_like<long long> >, std::is_move_constructible<long long>, std::is_move_assignable<long long> >::value, void>::type std::swap<long long>(long long&, long long&) /usr/include/c++/13/bits/move.h:198 (libQt6Test.so.6+0x329b6) (BuildId: 5cde2d6def69bdb6e83d255fdefd7c51b99521a4)
    #1 QArrayDataPointer<QList<QVariant> >::swap(QArrayDataPointer<QList<QVariant> >&) /tmp/qtbase-src/src/corelib/tools/qarraydatapointer.h:125 (libQt6Test.so.6+0x329b6)
    #2 QArrayDataPointer<QList<QVariant> >::reallocateAndGrow(QArrayData::GrowthPosition, long long, QArrayDataPointer<QList<QVariant> >*) /tmp/qtbase-src/src/corelib/tools/qarraydatapointer.h:239 (libQt6Test.so.6+0x329b6)
    #3 QArrayDataPointer<QList<QVariant> >::detachAndGrow(QArrayData::GrowthPosition, long long, QList<QVariant> const**, QArrayDataPointer<QList<QVariant> >*) /tmp/qtbase-src/src/corelib/tools/qarraydatapointer.h:201 (libQt6Test.so.6+0x33570) (BuildId: 5cde2d6def69bdb6e83d255fdefd7c51b99521a4)
    #4 void QtPrivate::QMovableArrayOps<QList<QVariant> >::emplace<QList<QVariant> >(long long, QList<QVariant>&&) /tmp/qtbase-src/src/corelib/tools/qarraydataops.h:794 (libQt6Test.so.6+0x33570)
    #5 QList<QVariant>& QList<QList<QVariant> >::emplaceBack<QList<QVariant> >(QList<QVariant>&&) /tmp/qtbase-src/src/corelib/tools/qlist.h:975 (libQt6Test.so.6+0x31902) (BuildId: 5cde2d6def69bdb6e83d255fdefd7c51b99521a4)
    #6 QList<QList<QVariant> >::append(QList<QVariant>&&) /tmp/qtbase-src/src/corelib/tools/qlist.h:531 (libQt6Test.so.6+0x31902)
    #7 QSignalSpy::appendArgs(void**) /tmp/qtbase-src/src/testlib/qsignalspy.cpp:284 (libQt6Test.so.6+0x31902)
    #8 QSignalSpyPrivate::qt_metacall(QMetaObject::Call, int, void**) /tmp/qtbase-src/src/testlib/qsignalspy.cpp:304 (libQt6Test.so.6+0x31ebe) (BuildId: 5cde2d6def69bdb6e83d255fdefd7c51b99521a4)
    #9 QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) /tmp/qtbase-src/src/corelib/kernel/qmetaobject.cpp:352 (libQt6Core.so.6+0x25a1d4) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #10 void doActivate<false>(QObject*, int, void**) /tmp/qtbase-src/src/corelib/kernel/qobject.cpp:4457 (libQt6Core.so.6+0x2f3709) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #11 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /tmp/qtbase-src/src/corelib/kernel/qobject.cpp:4491 (libQt6Core.so.6+0x2e64ed) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #12 AetherSDR::MidiControlManager::learnCancelled() /__w/AetherSDR/AetherSDR/build/aethercore_autogen/PRMOGMWJPH/moc_MidiControlManager.cpp:251 (libaethercore.so+0x6bfc2e) (BuildId: 9bcc5aa928ab20d7b87c4aef657827f26040f29e)
    #13 AetherSDR::MidiControlManager::cancelLearn() /__w/AetherSDR/AetherSDR/src/core/MidiControlManager.cpp:273 (libaethercore.so+0x1f41497) (BuildId: 9bcc5aa928ab20d7b87c4aef657827f26040f29e)
    #14 operator() /__w/AetherSDR/AetherSDR/src/gui/MidiMappingDialog.cpp:764 (midi_mapping_dialog_test+0x8f3ab) (BuildId: b487f0f352cac4c3c92889751ef14a2d535d5ca1)
    #15 operator() /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:117 (midi_mapping_dialog_test+0x8f3ab)
    #16 call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<long unsigned int>, QtPrivate::List<>, void, AetherSDR::MidiMappingDialog::hideEvent(QHideEvent*)::<lambda()> >::call(AetherSDR::MidiMappingDialog::hideEvent(QHideEvent*)::<lambda()>&, void**)::<lambda()> > /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:66 (midi_mapping_dialog_test+0x8f3ab)
    #17 call /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:116 (midi_mapping_dialog_test+0x8f3ab)
    #18 call<QtPrivate::List<>, void> /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:338 (midi_mapping_dialog_test+0x8f3ab)
    #19 impl /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:548 (midi_mapping_dialog_test+0x8f3ab)
    #20 QtPrivate::QSlotObjectBase::call(QObject*, void**) /tmp/qtbase-src/src/corelib/kernel/qobjectdefs_impl.h:462 (libQt6Core.so.6+0x2d5490) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #21 QMetaCallEvent::placeMetaCall(QObject*) /tmp/qtbase-src/src/corelib/kernel/qobject.cpp:556 (libQt6Core.so.6+0x2d5490)
    #22 QObject::event(QEvent*) /tmp/qtbase-src/src/corelib/kernel/qobject.cpp:1492 (libQt6Core.so.6+0x2dd163) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #23 QApplicationPrivate::notify_helper(QObject*, QEvent*) /tmp/qtbase-src/src/widgets/kernel/qapplication.cpp:3279 (libQt6Widgets.so.6+0x1a1486) (BuildId: 0bc45f02ebc79da3179ccaaafb34fcc28f95a04b)
    #24 QApplication::notify(QObject*, QEvent*) /tmp/qtbase-src/src/widgets/kernel/qapplication.cpp:3041 (libQt6Widgets.so.6+0x1aefb1) (BuildId: 0bc45f02ebc79da3179ccaaafb34fcc28f95a04b)
    #25 QCoreApplication::notifyInternal2(QObject*, QEvent*) /tmp/qtbase-src/src/corelib/kernel/qcoreapplication.cpp:1153 (libQt6Core.so.6+0x23ff82) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #26 QCoreApplication::sendEvent(QObject*, QEvent*) /tmp/qtbase-src/src/corelib/kernel/qcoreapplication.cpp:1598 (libQt6Core.so.6+0x240411) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #27 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) /tmp/qtbase-src/src/corelib/kernel/qcoreapplication.cpp:1953 (libQt6Core.so.6+0x2483c3) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #28 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /tmp/qtbase-src/src/corelib/kernel/qeventdispatcher_unix.cpp:443 (libQt6Core.so.6+0x537667) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #29 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /tmp/qtbase-src/src/corelib/kernel/qeventloop.cpp:109 (libQt6Core.so.6+0x256ddd) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #30 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) /tmp/qtbase-src/src/corelib/kernel/qeventloop.cpp:198 (libQt6Core.so.6+0x257899) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #31 QThread::exec() /tmp/qtbase-src/src/corelib/thread/qthread.cpp:672 (libQt6Core.so.6+0x421875) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #32 QThread::run() /tmp/qtbase-src/src/corelib/thread/qthread.cpp:793 (libQt6Core.so.6+0x421989) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #33 QThreadPrivate::start(void*) /tmp/qtbase-src/src/corelib/thread/qthread_unix.cpp:479 (libQt6Core.so.6+0x5349d6) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)

  Location is stack of main thread.

  Location is global '<null>' at 0x000000000000 ([stack]+0x1f190)

  Mutex M0 (0x7ffc072861f8) created at:
    #0 __tsan_mutex_pre_lock ../../../../src/libsanitizer/tsan/tsan_interface_ann.cpp:364 (libtsan.so.2+0x8db48) (BuildId: 2a13a7710e361d06f7babbea53065ca2be93f738)
    #1 QtTsan::mutexPreLock(void*, unsigned int) /tmp/qtbase-src/src/corelib/thread/qtsan_impl.h:51 (libQt6Test.so.6+0x3187e) (BuildId: 5cde2d6def69bdb6e83d255fdefd7c51b99521a4)
    #2 QBasicMutex::lock() /tmp/qtbase-src/src/corelib/thread/qmutex.h:42 (libQt6Test.so.6+0x3187e)
    #3 QMutexLocker<QMutex>::QMutexLocker(QMutex*) /tmp/qtbase-src/src/corelib/thread/qmutex.h:256 (libQt6Test.so.6+0x3187e)
    #4 QSignalSpy::appendArgs(void**) /tmp/qtbase-src/src/testlib/qsignalspy.cpp:283 (libQt6Test.so.6+0x3187e)
    #5 QSignalSpyPrivate::qt_metacall(QMetaObject::Call, int, void**) /tmp/qtbase-src/src/testlib/qsignalspy.cpp:304 (libQt6Test.so.6+0x31ebe) (BuildId: 5cde2d6def69bdb6e83d255fdefd7c51b99521a4)
    #6 QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) /tmp/qtbase-src/src/corelib/kernel/qmetaobject.cpp:352 (libQt6Core.so.6+0x25a1d4) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #7 void doActivate<false>(QObject*, int, void**) /tmp/qtbase-src/src/corelib/kernel/qobject.cpp:4457 (libQt6Core.so.6+0x2f3709) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #8 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /tmp/qtbase-src/src/corelib/kernel/qobject.cpp:4491 (libQt6Core.so.6+0x2e64ed) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #9 AetherSDR::MidiControlManager::learnCancelled() /__w/AetherSDR/AetherSDR/build/aethercore_autogen/PRMOGMWJPH/moc_MidiControlManager.cpp:251 (libaethercore.so+0x6bfc2e) (BuildId: 9bcc5aa928ab20d7b87c4aef657827f26040f29e)
    #10 AetherSDR::MidiControlManager::cancelLearn() /__w/AetherSDR/AetherSDR/src/core/MidiControlManager.cpp:273 (libaethercore.so+0x1f41497) (BuildId: 9bcc5aa928ab20d7b87c4aef657827f26040f29e)
    #11 operator() /__w/AetherSDR/AetherSDR/src/gui/MidiMappingDialog.cpp:764 (midi_mapping_dialog_test+0x8f3ab) (BuildId: b487f0f352cac4c3c92889751ef14a2d535d5ca1)
    #12 operator() /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:117 (midi_mapping_dialog_test+0x8f3ab)
    #13 call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<long unsigned int>, QtPrivate::List<>, void, AetherSDR::MidiMappingDialog::hideEvent(QHideEvent*)::<lambda()> >::call(AetherSDR::MidiMappingDialog::hideEvent(QHideEvent*)::<lambda()>&, void**)::<lambda()> > /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:66 (midi_mapping_dialog_test+0x8f3ab)
    #14 call /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:116 (midi_mapping_dialog_test+0x8f3ab)
    #15 call<QtPrivate::List<>, void> /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:338 (midi_mapping_dialog_test+0x8f3ab)
    #16 impl /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qobjectdefs_impl.h:548 (midi_mapping_dialog_test+0x8f3ab)
    #17 QtPrivate::QSlotObjectBase::call(QObject*, void**) /tmp/qtbase-src/src/corelib/kernel/qobjectdefs_impl.h:462 (libQt6Core.so.6+0x2d5490) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #18 QMetaCallEvent::placeMetaCall(QObject*) /tmp/qtbase-src/src/corelib/kernel/qobject.cpp:556 (libQt6Core.so.6+0x2d5490)
    #19 QObject::event(QEvent*) /tmp/qtbase-src/src/corelib/kernel/qobject.cpp:1492 (libQt6Core.so.6+0x2dd163) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #20 QApplicationPrivate::notify_helper(QObject*, QEvent*) /tmp/qtbase-src/src/widgets/kernel/qapplication.cpp:3279 (libQt6Widgets.so.6+0x1a1486) (BuildId: 0bc45f02ebc79da3179ccaaafb34fcc28f95a04b)
    #21 QApplication::notify(QObject*, QEvent*) /tmp/qtbase-src/src/widgets/kernel/qapplication.cpp:3041 (libQt6Widgets.so.6+0x1aefb1) (BuildId: 0bc45f02ebc79da3179ccaaafb34fcc28f95a04b)
    #22 QCoreApplication::notifyInternal2(QObject*, QEvent*) /tmp/qtbase-src/src/corelib/kernel/qcoreapplication.cpp:1153 (libQt6Core.so.6+0x23ff82) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #23 QCoreApplication::sendEvent(QObject*, QEvent*) /tmp/qtbase-src/src/corelib/kernel/qcoreapplication.cpp:1598 (libQt6Core.so.6+0x240411) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #24 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) /tmp/qtbase-src/src/corelib/kernel/qcoreapplication.cpp:1953 (libQt6Core.so.6+0x2483c3) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #25 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /tmp/qtbase-src/src/corelib/kernel/qeventdispatcher_unix.cpp:443 (libQt6Core.so.6+0x537667) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #26 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) /tmp/qtbase-src/src/corelib/kernel/qeventloop.cpp:109 (libQt6Core.so.6+0x256ddd) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #27 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) /tmp/qtbase-src/src/corelib/kernel/qeventloop.cpp:198 (libQt6Core.so.6+0x257899) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #28 QThread::exec() /tmp/qtbase-src/src/corelib/thread/qthread.cpp:672 (libQt6Core.so.6+0x421875) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #29 QThread::run() /tmp/qtbase-src/src/corelib/thread/qthread.cpp:793 (libQt6Core.so.6+0x421989) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #30 QThreadPrivate::start(void*) /tmp/qtbase-src/src/corelib/thread/qthread_unix.cpp:479 (libQt6Core.so.6+0x5349d6) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)

  Thread T5 'QThread' (tid=54595, running) created by main thread at:
    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 2a13a7710e361d06f7babbea53065ca2be93f738)
    #1 QThread::start(QThread::Priority) /tmp/qtbase-src/src/corelib/thread/qthread_unix.cpp:904 (libQt6Core.so.6+0x533d63) (BuildId: df7537396a20e90213c5905248579ad45024a8f2)
    #2 workerOwnedManagerCancelsOnItsThread /__w/AetherSDR/AetherSDR/tests/midi_mapping_dialog_test.cpp:308 (midi_mapping_dialog_test+0x89d9d) (BuildId: b487f0f352cac4c3c92889751ef14a2d535d5ca1)
    #3 main /__w/AetherSDR/AetherSDR/tests/midi_mapping_dialog_test.cpp:477 (midi_mapping_dialog_test+0x69b66) (BuildId: b487f0f352cac4c3c92889751ef14a2d535d5ca1)

SUMMARY: ThreadSanitizer: data race /opt/Qt-tsan/6.12.0/gcc_64/include/QtCore/qlist.h:462 in QList<QList<QVariant> >::size() const

Full sanitizer.log attached to the workflow run artifacts.

Activity

  1. github-actions
    added
    bugSomething isn't working
    priority: highHigh priority
    sanitizer
    tsan
    on Nov 26, 2026
  2. aethersdr-agent
    added
    claude-activeAetherClaude is actively working on this issue
    on Nov 26, 2026
  3. aethersdr-agent commented on Nov 26, 2026

    @aethersdr-agent
    aethersdr-agentBot
    on Nov 26, 2026 – with AetherSDR-Agent
    Contributor
    More actions

    This looks similar to #7562 — is this the same issue, or something different? If it is the same, we can track it there.

    The first SUMMARY block matches #7562 frame for frame. Both show a data race on the QSignalSpy list in midi_mapping_dialog_test's workerOwnedManagerCancelsOnItsThread (tests/midi_mapping_dialog_test.cpp:308). The path is MidiMappingDialog::hideEvent lambda (MidiMappingDialog.cpp:764) → MidiControlManager::cancelLearn() (:273) → learnCancelled() → QSignalSpy::appendArgs on the worker QThread, racing the main thread's QList::size(). No commit touched those three files between #7562's 9edf08e and this run's 2595a06, and 2595a06 is on main.

    The fingerprint is different only because the second failing test changed (gui_client_registration_recovery_test → connection_workspace_test). The fingerprint hashes the set of failed test names, so a different second test gives a new one. Whatever connection_workspace_test hit is not in the quoted report and should be checked in this run's sanitizer.log. It may be a separate finding.

    — AetherClaude (automated agent for AetherSDR)


    🤖 aethersdr-agent · cost: $0.6941 · model: claude-opus-5-5

  4. aethersdr-agent
    added
    external devicesFlexControl, MIDI, serial port, USB peripherals
    GUIUser interface
    maintainer-reviewRequires maintainer review before any action is taken
    on Nov 26, 2026
  5. aethersdr-agent commented on Nov 26, 2026

    @aethersdr-agent
    aethersdr-agentBot
    on Nov 26, 2026 – with AetherSDR-Agent
    Contributor
    More actions

    Triage

    The two failures here have different causes. The quoted race is a bug in the test itself, not in the product. It is also the same race that leads #7562 (fp a843baf7137a, run 45274697125, commit 9edf08e). The fingerprint changed only because the second failing test changed: gui_client_registration_recovery_test on 11-24, connection_workspace_test today. One fix to midi_mapping_dialog_test should cover the lead block of both issues.

    1. midi_mapping_dialog_test: the test reads a QSignalSpy across threads

    workerOwnedManagerCancelsOnItsThread() (tests/midi_mapping_dialog_test.cpp:302-335) moves MidiControlManager onto a worker QThread (started at :308) and attaches QSignalSpy cancelled to learnCancelled. When dialog.hide() runs, MidiMappingDialog::hideEvent() (src/gui/MidiMappingDialog.cpp:756-768) posts cancelLearn() to the manager's thread with Qt::AutoConnection. That is the behaviour #7044 intended. So learnCancelled is emitted on T5, and the spy appends the arguments there (QSignalSpy::appendArgs, under the spy's internal mutex M0).

    Meanwhile the main thread runs if (cancelled.isEmpty()) cancelled.wait(1000); and then cancelled.count() == 1. isEmpty() and count() are plain QList::size() reads that take no lock. That is the reported QList<QList<QVariant>>::size() race against the write at qsignalspy.cpp:284. The spy lives on the main thread's stack, which matches "Location is stack of main thread". The comment at :309-310 shows the author knew the spy wakes the main thread early. The isEmpty() pre-check and the count() after it are still unsynchronised reads of a list another thread writes.

    MidiControlManager::cancelLearn() (src/core/MidiControlManager.cpp:270-275) is fine as written.

    2. connection_workspace_test: cause not shown in this report

    The issue quotes only the first SUMMARY block, and it belongs to the MIDI test. Nothing in it explains connection_workspace_test. The test was not failing in #7562's run at 9edf08e. Between 9edf08e and 2595a06, tests/connection_workspace_test.cpp gained 85 lines and src/gui/ConnectionPanel.cpp gained about 437, across three commits: 68a740e5b (aetherd pairing), c40970b30 (#7507 IC-7110) and 71d33f4ab (#7600 IC-705 chooser). So this is most likely a race or wall-clock failure added in that window. Someone needs to read its own SUMMARY block, or its ctest output, in the run's sanitizer.log artifact before fixing it. I did not guess the cause.

    Proposed fix (test-only, for item 1)

    In workerOwnedManagerCancelsOnItsThread():

    • Replace the isEmpty()/wait(1000) pair with a blocking barrier on the worker, placed right after dialog.hide():
      QMetaObject::invokeMethod(&manager, [] {}, Qt::BlockingQueuedConnection);
      The cancellation event that hideEvent() posts is already queued ahead of this barrier, so it has run by the time the barrier returns. The semaphore inside BlockingQueuedConnection makes the spy's append on T5 happen-before the main thread's read.
    • Then read the spy, or swap it for a std::atomic<int> counter bumped in the existing DirectConnection lambda next to cancellationThread. Either way the assertion stays the same: one cancellation, dispatched on &worker.

    No product change is needed. The suppression file needs no change either, since this is a real test race and shouldn't be hidden.

    Handoff

    • Known: the lead race is a test-only cross-thread QSignalSpy read added by feat(gui): MIDI Controller Mapping is a CanonWindow workspace, its notices and questions are CanonMessageBoxes, and closing it stops a Learn. Principle VIII. #7044. It is shared with [sanitizer] TSan weekly run failure (fp a843baf7137a) #7562, and the fix is a few lines in one test function.
    • Unknown: why connection_workspace_test fails. It appeared between 9edf08e and 2595a06, so pull its block from the artifact first.
    • Suggest: fix item 1 once and close [sanitizer] TSan weekly run failure (fp a843baf7137a) #7562 and this issue together. Then track connection_workspace_test separately if it is still red after the MIDI fix, because the fingerprint will change again.

    🤖 aethersdr-agent · cost: $0.7630 · model: claude-opus-5-5


    📍 Citation health check (Foundry Constitution Principle I): 3 resolved, 1 unresolved against /Users/aetherclaude/workspace/AetherSDR at origin/main.

    Unresolved citations (1)
    Citation Reason
    qsignalspy.cpp:284 file not found in workspace
  6. aethersdr-agent
    removed
    claude-activeAetherClaude is actively working on this issue
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUIUser interfacebugSomething isn't workingexternal devicesFlexControl, MIDI, serial port, USB peripheralsmaintainer-reviewRequires maintainer review before any action is takenpriority: highHigh prioritysanitizertsan

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.