Bas, thanks for this. Fix is in svn now. rev 1169

On 07/29/2010 03:33 PM, Bas van der Vlies wrote:
> 
> On 29 jul 2010, at 15:23, Bas van der Vlies wrote:
> 
> 
> On 29 jul 2010, at 15:02, 
> <no-re...@cfengine.com<mailto:no-re...@cfengine.com>> 
> <no-re...@cfengine.com<mailto:no-re...@cfengine.com>> wrote:
> 
> Forum: Cfengine Help
> Subject: Re: Segmentation fault when using usebundle and bundle does not 
> exists
> Author: matter
> Link to topic: https://cfengine.com/forum/read.php?3,17810,17816#msg-17816
> 
> Interesting, I do not get the segmentation fault of the 3.0.5(p0) release. 
> What OS it this?
> 
> debian squeeze.  What is yours?
> 
> 
> and here is backtrace for cfengine3 trunk:
> {{{
> Reading symbols from /var/tmp/cfengine3-trunk/src/.libs/cf-agent...done.
> (gdb) run -f /var/tmp/crash.cf
> Starting program: /var/tmp/cfengine3-trunk/src/.libs/cf-agent -f 
> /var/tmp/crash.cf
> [Thread debugging using libthread_db enabled]
> 
> Program received signal SIGSEGV, Segmentation fault.
> VerifyMethod (a=..., pp=0x1089020) at verify_methods.c:121
> 121   cfPS(cf_error,CF_FAIL,"",pp,a," !! Method \"%s\" was used but was not 
> defined!\n",bp->name);
> (gdb) bt
> #0  VerifyMethod (a=..., pp=0x1089020) at verify_methods.c:121
> #1  0x000000000040932d in VerifyMethodsPromise (pp=0x1089020) at 
> verify_methods.c:43
> #2  0x00000000004061bf in KeepAgentPromise (pp=0x1089020) at agent.c:1015
> #3  0x00002aaaaad44ae8 in ExpandPromiseAndDo (agent=cf_agent, scopeid=<value 
> optimized out>, pp=0x1089b50, scalarvars=<value optimized out>,
>     listvars=<value optimized out>, fnptr=0x405e50 <KeepAgentPromise>) at 
> expand.c:615
> #4  0x00002aaaaad452b9 in ExpandPromise (agent=<value optimized out>, 
> scopeid=0x1088830 "action", pp=0x1088920, fnptr=<value optimized out>)
>     at expand.c:120
> #5  0x00000000004063fb in ScheduleAgentOperations (bp=0x1088890) at 
> agent.c:825
> #6  0x000000000040660c in KeepPromiseBundles () at agent.c:785
> #7  0x0000000000407203 in KeepPromises () at agent.c:370
> #8  0x000000000040782b in main (argc=3, argv=0x7fffffffec18) at agent.c:149
> (gdb)
> 
> }}}
> 
> 
> --
> Bas van der Vlies
> b...@sara.nl<mailto:b...@sara.nl>
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to