azonenberg changed the topic of #scopehal to: ngscopeclient, libscopehal, and libscopeprotocols development and testing | https://github.com/ngscopeclient/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
Degi has quit [Ping timeout: 252 seconds]
Degi has joined #scopehal
<d1b2> <azonenberg> ok well this is derpy
<d1b2> <azonenberg> i'm chasing a validation bug that appears to be caused by trying to tone map and rasterize the same waveform simultaneously in different threads
<d1b2> <azonenberg> but i have a mutex that is explicitly intended to prevent this from happening
<d1b2> <azonenberg> and i'm trying to understand what's happening
<d1b2> <azonenberg> the rendering is happening in WaveformThread in RenderAllWaveforms, backtrace shows us on line 169 in the queue->SubmitAndBlock() call
<d1b2> <azonenberg> but just above on line 161 we have lock_guard<mutex> lock3(session->GetRasterizedWaveformMutex());
<d1b2> <azonenberg> Which should prevent any attempt to touch the rasterized waveform textures we are actively writing to
<d1b2> <azonenberg> ... waitn a minute the MainWindow thread is in lock_guard<mutex> lock(m_session.GetRasterizedWaveformMutex()); in MainWindow.cpp
<d1b2> <azonenberg> it is blocking
<d1b2> <azonenberg> and the error is related to the queue being used from multiple threads. the plot thickens
_whitenotifier-1 has joined #scopehal
<_whitenotifier-1> [scopehal] azonenberg pushed 2 commits to master [+0/-0/±6] https://github.com/ngscopeclient/scopehal/compare/92c8c14d0a3c...fef28c88939b
<_whitenotifier-1> [scopehal] azonenberg 4301b4f - UHDBridgeSDR / ComplexSpectrogramFilter: initial support for passing center frequency as a scalar port
<_whitenotifier-1> [scopehal] azonenberg fef28c8 - Merge branch 'master' of github.com:ngscopeclient/scopehal
<_whitenotifier-1> [scopehal-apps] azonenberg pushed 4 commits to master [+0/-0/±6] https://github.com/ngscopeclient/scopehal-apps/compare/b7fd0e9bde90...f35122d9fe71
<_whitenotifier-1> [scopehal-apps] azonenberg 2604b94 - Updated to latest scopehal
<_whitenotifier-1> [scopehal-apps] azonenberg 9650914 - Clarified comment
<_whitenotifier-1> [scopehal-apps] azonenberg 64928ef - Added locks to vkDeviceWaitIdle calls to prevent anything happening on other threads simultaneously
<_whitenotifier-1> [scopehal-apps] azonenberg f35122d - Merge branch 'master' of github.com:ngscopeclient/scopehal-apps
<_whitenotifier-1> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±5] https://github.com/ngscopeclient/scopehal/compare/fef28c88939b...fbb74272744b
<_whitenotifier-1> [scopehal] azonenberg fbb7427 - Moved g_vulkanActivityMutex to scopehal from ngscopeclient so we can use it in the filter graph thread
<_whitenotifier-1> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±3] https://github.com/ngscopeclient/scopehal-apps/compare/f35122d9fe71...b1d9f15729e0
<_whitenotifier-1> [scopehal-apps] azonenberg b1d9f15 - Moved g_vulkanActivityMutex to libscopehal
<_whitenotifier-1> [scopehal] azonenberg opened issue #958: IIO driver - https://github.com/ngscopeclient/scopehal/issues/958