[Ardour-Dev] ARDOUR::AutomationList and the StateChanged signal

Carl Hetherington lists at carlh.net
Tue Apr 20 13:47:05 PDT 2010


On Tue, 20 Apr 2010, John Emmas wrote:

> Hi Paul,
>
> I'm trying to sweep up some of the show-stopping problems in my Windows
> build.  One of them is the fact that Ardour crashes whenever I use "Undo"
> from the Edit menu.
>
> I've tracked the crash down to a problem with ARDOUR::AutomationList
> (libs/ardour/automation_event.cc).  There are two places where it emits the
> StateChanged() signal.  Most of the time it works fine but if the signal
> gets emitted whilst undoing an action I see a crash (my debugger tells me
> it's something to do with an iterator being illegally decremented but I
> haven't yet found out where).  I'm guessing it must be in the slot callback
> function for that signal but I can't see where it gets connected.  Or more
> correctly, there are so many callback functions for StateChanged signals
> that I can't figure out which one I need.

If all else fails it might be worth building your code (or as close as 
possible) on Linux and running under valgrind.

Carl




More information about the Ardour-Dev mailing list