On Wed, Jul 28, 2010 at 2:13 AM, John DeSoi <de...@pgedit.com> wrote:
> I'm trying to create a 4D plugin to host ECL (OS X 10.5.8). I call cl_boot
> when the plugin is initialized, but 4D always crashes. If I trace under GDB,
> it appears to crash in GC_push_all_eager at the line "q = (ptr_t)(*p);"
>
There might be some incompatibility between the garbage collector and 4D's
code. To ensure this is not the case, remove the call to cl_boot() and call
instead GC_init(). If the collector still crashes then this is the culprit.
Otherwise one would have to look for other causes. BTW, for safety when
embedding in multithreaded applications I would recommend *not* using
--enable-gengc
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list