[yoshimi] Re: Not so good - possible answer

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Thu, 19 Jan 2017 18:27:32 +0000

It seems that the guithreadmessage system doesn't like two messages in rapid
sucession.

resetAll() used this to make a call to clear part of the config. This happened
immediately before the return and (in the calling function) my call to the
GUI to update the master window. So what I was doing with the 10mS delay was
to separate the calls by this amount. Apparenly this was mostly, but not
always sufficent to prevent the crash.

I've remopved that call, and integrated the config update at GUI level, then
removed the time delay.

I've since run yoshi/jack at only 16 frames and repeatedly done a reset then
immediate re-load of the patchset while Rosegarden was still sending MIDI.
I've done that with a wide variety of tunes over most of the afternoon. So far
there have been no problems. However, although I've updated the 'brokenReset'
branch I won't merge it back into the master until I'm more confident that this
is a fix.

In the meantime it would be very helpful if people tried this on different
architectures. Please be really brutal with it.

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
http://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts:

  • » [yoshimi] Re: Not so good - possible answer - Will Godfrey