Hi ABL -

Thanks for the tip. I haven't done this and am not familiar with those
tools -- will check them out.

Meanwhile, two further notes:

1. I realized I references fluid->get_num_channels() which is an addition
by me -- it simply returned channel.size()

2. I have found a brute-force workaround to the problem -- sleep for 3
seconds before accessing the channel info -- this fixes the problem
reliably as far as I can tell, again suggesting there is some kind of race
condition.

--Ien

On Fri, May 6, 2016 at 8:44 AM, ABL <[email protected]> wrote:

> Hi.
> Have you tried to run the executable under a memory check tool like, for
> example, Valgrind, AddressSanitizer, Dr. Memory (or whatever you prefer
> more)?
> If there is an unitialized variable being used or a memory corruption, such
> a tool could help in pinning down the problem.
>
> Ciao,
> ABL
>
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/Odd-non-deterministic-behavior-getting-synth-info-in-command-line-mode-tp7579895p7579897.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> _______________________________________________
> Mscore-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to