Re: Bug report: segfault, etd, time sensitive operations

Kai Vehmanen <[email protected]>
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <[email protected]>
Hi,

On Sun, 27 May 2012, S. Massy wrote:

> I'm sorry to say the bug still seems to be lurking. :( Find the trace
> below and the last 250 lines of the most recent log attached.

refactoring attempt 3...thousand, pushed to git master. Tarball at:

http://ecasound.seul.org/download/snapshots/ecasound-2.8.1+dev-20120603.tar.gz

I now did what I should have done years ago. The "convenience" feature to 
allow cop-add/ctrl-add on connected chainsetups, by stopping the engine 
briefly for the edits (and trying to hide this), was a horrible mistake in 
retrospect, and keeping it around with increasing layers of hacks, was 
just really bad sw engineering from my part -- I should have known better.

With today's patch, "cop-add" and "ctrl-add" can actually be routed via 
engine, so that the engine actually does the modifications in its own 
context, as atomic operations with regards to engine's own state. While 
still not fully real-time safe (you can have gaps in real-time output when 
you add a chainop still), but a lot faster than earlier, less code overall 
than before, easier to read code and in theory race-free. So just like 
"cop-set", "c-bypass" et al have always been.

This does have one big compromise: cop-remove and ctrl-remove no longer 
work on connected chainsetups (you can use them, but a disconnect plus 
reconnect will happen, e.g. JACK client will deactivate and reactivate, so 
a fairly big break). In theory they can be supported in the future as 
well, but I just run out of time today,

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.