Re: Sub-agent/agent initialization

2004-10-25 Thread Ivens Porto
Robert Story (Coders) wrote: On Mon, 25 Oct 2004 15:13:59 -0200 Ivens wrote: IP> thank you for the patch, but unfortunately it didn't work (I applied it IP> against 5.1.2). Ok, try changing the "#if 0" to "#if 1" to enable the extra cleanup code. I haven't tested that code, but it seems like a re

Re: Sub-agent/agent initialization

2004-10-25 Thread Coders
On Mon, 25 Oct 2004 15:13:59 -0200 Ivens wrote: IP> thank you for the patch, but unfortunately it didn't work (I applied it IP> against 5.1.2). Ok, try changing the "#if 0" to "#if 1" to enable the extra cleanup code. I haven't tested that code, but it seems like a reasonable (if inefficient) fix

Re: Sub-agent/agent initialization

2004-10-25 Thread Ivens Porto
Robert, thank you for the patch, but unfortunately it didn't work (I applied it against 5.1.2). Valgrind is still complaining about the invalid free(): ==32669== Invalid free() / delete / delete[] ==32669==at 0x1B902460: free (vg_replace_malloc.c:153) ==32669==by 0x1BBABF2F: clear_callbac

Re: Sub-agent/agent initialization

2004-10-25 Thread Coders
On Wed, 20 Oct 2004 16:02:01 -0200 Ivens wrote: IP> Robert Story (Coders) wrote: IP> > On Tue, 19 Oct 2004 17:07:56 -0200 Ivens wrote: IP> > IP> Robert Story (Coders) wrote: IP> > IP> > On Tue, 19 Oct 2004 14:58:30 -0200 Ivens wrote: IP> > IP> What if I shut everything down before restarting as an

Re: Sub-agent/agent initialization

2004-10-20 Thread Ivens Porto
Robert Story (Coders) wrote: On Tue, 19 Oct 2004 17:07:56 -0200 Ivens wrote: IP> Robert Story (Coders) wrote: IP> > On Tue, 19 Oct 2004 14:58:30 -0200 Ivens wrote: IP> > IP> I'm embedding an agentx sub-agent in my application and now I would IP> > IP> like to make my sub-agent became a master agent

Re: Sub-agent/agent initialization

2004-10-20 Thread Coders
On Tue, 19 Oct 2004 17:07:56 -0200 Ivens wrote: IP> Robert Story (Coders) wrote: IP> > On Tue, 19 Oct 2004 14:58:30 -0200 Ivens wrote: IP> > IP> I'm embedding an agentx sub-agent in my application and now I would IP> > IP> like to make my sub-agent became a master agent when a master agent IP> > IP

Re: Sub-agent/agent initialization

2004-10-19 Thread Ivens Porto
Robert Story (Coders) wrote: On Tue, 19 Oct 2004 14:58:30 -0200 Ivens wrote: IP> I'm embedding an agentx sub-agent in my application and now I would like IP> to make my sub-agent became a master agent when a master agent is not IP> present. Interesting idea, but I'm not sure it will work. The do

Re: Sub-agent/agent initialization

2004-10-19 Thread Coders
On Tue, 19 Oct 2004 14:58:30 -0200 Ivens wrote: IP> I'm embedding an agentx sub-agent in my application and now I would like IP> to make my sub-agent became a master agent when a master agent is not IP> present. Interesting idea, but I'm not sure it will work. The double call to init will probab

Sub-agent/agent initialization

2004-10-19 Thread Ivens Porto
Hello, I'm embedding an agentx sub-agent in my application and now I would like to make my sub-agent became a master agent when a master agent is not present. To make it clear: when my application starts it tries to connect to the master agent, if it could not connect to the master agent (for w