I notice a comment in audiointerface.c // FIXME: synchronize access from multiple threads
I have tried making playback_time an int and getting and setting it atomically, which improved the chances of it working, but it still deadlocks sometimes. I notice that putting a printf inside the loop of the queue_thread_func (line 350) also makes the deadlock much less likely. But truly I am a blind man here, groping in the dark. (I also dropped the display updates during playback entirely with no effect). Richard On Tue, 2012-03-06 at 09:18 +0000, Richard Shann wrote: > On Mon, 2012-03-05 at 19:30 -0600, Jeremiah Benham wrote: > > On 03/05/2012 12:04 PM, Richard Shann wrote: > > > I downloaded and untarred this and ran ./configure, which failed with > > > > > > config.status: error: cannot find input file: `libsmf/Makefile.in' > > > > > > In fact, there does not seem to be a libsmf directory at all! > > > > Ok. I fixed this issue. It is fixed now with the rc2 tarball. I > > downloaded it compiled and installed. I noticed a bug. It only plays > > back once. It is easy to reproduce. enter a dew notes, hit f5, then hit > > f5 again. It only plays the first time. Denemo does not crash during this. > I have built this version. On the second f5 a threading bug shows up - > the display is not updating, but keypresses are still received, so (if > the file is saved) you can for example quit using Ctrl-Q. If you are not > saved the dialog pops up to save your changes, but it is not drawn (only > the window managers bit - title bar etc - is drawn). > This is something I have seen before, so it is going to be something > very hard to track down as it comes and goes, mostly goes, without any > obvious pattern. > Does anyone recognize the symptom (events are still received, > keypresses, mouseclicks... but no drawing updates are done by gtk)? > > Richard > > > > > > > Jeremiah > > > > > Richard > > > > > > > > > On Mon, 2012-03-05 at 08:49 -0600, Jeremiah Benham wrote: > > >> On 03/05/2012 03:11 AM, Richard Shann wrote: > > >>> One thing I notice: after the automagic merge the version for main > > >>> latest is 0.9.4 instead of 5. I have fixed this in git. > > >>> Jeremiah, can you get the showstopper bug fix (from draw.c) into the > > >>> release branch and re-create the candidate release? > > >> I called it rc2 because I am not sure if its a good idea to call it the > > >> same file. > > >> Here is the link to rc2: > > >> http://www.denemo.org/downloads/denemo-0.9.4rc2.tar.gz > > >> > > >> Jeremiah > > >> > > >>> Richard > > >>> > > >>> > > >>> On Mon, 2012-03-05 at 09:01 +0000, Richard Shann wrote: > > >>>> hmm, I just did git pull, autogen, make distclean, configure and make > > >>>> and I haven't had any error message. Also the automagic merge I > > >>>> mentioned looks all right in git... > > >>>> Perhaps something local to your set-up. (Try again?) > > >>>> Richard > > >>>> > > >>>> On Mon, 2012-03-05 at 08:51 +0000, Richard Shann wrote: > > >>>>> On Sun, 2012-03-04 at 21:49 +0100, Edgar Aichinger wrote: > > >>>>>> current git won't let me compile, something seems to be wrong > > >>>>>> with top-dir Makefile after autogen.sh/configure, i get: > > >>>>>> > > >>>>>> Makefile:868: *** missing separator. Stop. > > >>>>>> > > >>>>>> (fresh git checkout) > > >>>>>> > > >>>>>> the line mentioned looks perfectly ok to me, so i guess the error > > >>>>>> must > > >>>>>> be somewhere earlier in the Makefile or Makefile.in, maybe something > > >>>>>> with whitespace, windows line endings or similar? > > >>>>> Thanks for the feedback... > > >>>>> I suspect this is the result of some automagic merge git has done > > >>>>> between the AudioMixer work and the master branch. > > >>>>> > > >>>>> Richard > > >>>>> > > >>> > > >>> _______________________________________________ > > >>> Denemo-devel mailing list > > >>> [email protected] > > >>> https://lists.gnu.org/mailman/listinfo/denemo-devel > > >> > > >> _______________________________________________ > > >> Denemo-devel mailing list > > >> [email protected] > > >> https://lists.gnu.org/mailman/listinfo/denemo-devel > > > > > > _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
