Thanks for the test case. I will look into that along the week,<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 5, 2012 at 9:24 AM, Peter Enerccio <span dir="ltr"><<a href="mailto:enerccio@gmail.com" target="_blank">enerccio@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Should be the latest:<br><br>ECL (Embeddable Common-Lisp) 12.7.1 (git:99b1e54eb07373bda77110761c5143d2ad614e6c)<br>Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya<br>
Copyright (C) 1993 Giuseppe Attardi<br>Copyright (C) 2000 Juan J. Garcia-Ripoll<br>
ECL is free software, and you are welcome to redistribute it<br>under certain conditions; see file 'Copyright' for details.<br>Type :h for Help. <br>Top level in: #<process TOP-LEVEL>.<br><br>Here is the test case that reproduces it for me<br>
<br>It will print a, but not b so it froze on defclass.<div class="HOEnZb"><div class="h5"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/5 Mark Cox <span dir="ltr"><<a href="mailto:markcox80@gmail.com" target="_blank">markcox80@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Peter,<br>
<div><br>
On Mon, Nov 5, 2012 at 11:10 AM, Peter Enerccio <<a href="mailto:enerccio@gmail.com" target="_blank">enerccio@gmail.com</a>> wrote:<br>
> Hello, if I attempt to create new class in code evaluated in thread, it will<br>
> either ends with segfault or it will simply freeze the thread. Evaluating<br>
> same code in main thread is fine.<br>
<br>
</div>Which version of ECL are you using?<br>
<br>
The following works fine for me with 4a4c2289d<br>
(mp:process-run-function 'create-my-class #'(lambda ()<br>
(eval `(defclass my-class ()<br>
()))))<br>
<br>
(sleep 5)<br>
(print (make-instance 'my-class))<br>
(terpri)<br>
<br>
Thanks<br>
Mark<br>
<div><br>
><br>
> --<br>
> Bc. Peter Vaňušanik<br>
> <a href="http://www.bishojo.tk" target="_blank">http://www.bishojo.tk</a><br>
><br>
><br>
</div>> ------------------------------------------------------------------------------<br>
> LogMeIn Central: Instant, anywhere, Remote PC access and management.<br>
> Stay in control, update software, and manage PCs from one command center<br>
> Diagnose problems and improve visibility into emerging IT issues<br>
> Automate, monitor and manage. Do more in less time with Central<br>
> <a href="http://p.sf.net/sfu/logmein12331_d2d" target="_blank">http://p.sf.net/sfu/logmein12331_d2d</a><br>
> _______________________________________________<br>
> Ecls-list mailing list<br>
> <a href="mailto:Ecls-list@lists.sourceforge.net" target="_blank">Ecls-list@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>Bc. Peter Vaňušanik<br><a href="http://www.bishojo.tk" target="_blank">http://www.bishojo.tk</a><br><br>
</div>
</div></div><br>------------------------------------------------------------------------------<br>
LogMeIn Central: Instant, anywhere, Remote PC access and management.<br>
Stay in control, update software, and manage PCs from one command center<br>
Diagnose problems and improve visibility into emerging IT issues<br>
Automate, monitor and manage. Do more in less time with Central<br>
<a href="http://p.sf.net/sfu/logmein12331_d2d" target="_blank">http://p.sf.net/sfu/logmein12331_d2d</a><br>_______________________________________________<br>
Ecls-list mailing list<br>
<a href="mailto:Ecls-list@lists.sourceforge.net">Ecls-list@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/ecls-list" target="_blank">https://lists.sourceforge.net/lists/listinfo/ecls-list</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div>