<br><br><div class="gmail_quote">On Tue, Jul 3, 2012 at 9:15 PM, Razvan Cojocaru <span dir="ltr"><<a href="mailto:razvanco@gmx.net" target="_blank">razvanco@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br></div>
As for how simple it is to get acquainted with the GTK+ threading model,<br>
I admit that I'm far from being a heavyweight on the matter, but I did<br>
manage to Google myself this earlier today:<br>
<br>
<a href="http://blogs.operationaldynamics.com/andrew/software/gnome-desktop/gtk-thread-awareness" target="_blank">http://blogs.operationaldynamics.com/andrew/software/gnome-desktop/gtk-thread-awareness</a></blockquote><div>
<br></div><div>a bit out of date. the basic advice that he tries to workaround is the single factoid you need to know:</div><div><br></div><div>    only make GTK/GDK calls from the (single) thread running the GTK event loop,</div>
<div>         except for g_idle_add() and its cousins.</div><div><br></div><div>ardour adheres to this model 100%. no GUI code is ever executed from anything except that thread.</div><div> </div><div>Clearly. I never meant to imply that they are. What I find interesting</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
is that I can't reproduce it at all (tried on an x86 and an x86_64<br>
Gentoo) to no avail, and thus it has, perhaps, been fixed in the meantime?<br></blockquote><div><br></div><div>this is not impossible, but its also about equally likely that you have a machine like mine that is remarkably resistant to many serious ardour crash bugs. i've very rarely been able to reproduce the zoom bug, even with the same session. others will see it every time. such is the nature of pointer-walk-related bugs - the crash depends on what is in the memory zone where the pointer walks into, and that can differ for lots of different reasons.</div>
<div><br></div><div>i'm working quite hard on not worrrying about it anymore because of the planned canvas switched. </div></div><br>