Forum: CFEngine Help Subject: Re: Segfault in 3.1.5 on 32 bit debian lenny Author: andrela Link to topic: https://cfengine.com/forum/read.php?3,23376,23510#msg-23510
This is a full backtrace of 3.2 community downloaded from cfengine.com. I have tested this on two separate machines running Debian Lenny. Same behaviour. Ill make a bugreport in the bugtracker /Andreas Program received signal SIGABRT, Aborted. 0xb7448556 in raise () from /lib/libc.so.6 #0 0xb7448556 in raise () from /lib/libc.so.6 No symbol table info available. #1 0xb7449d78 in abort () from /lib/libc.so.6 No symbol table info available. #2 0xb7482b95 in __libc_message () from /lib/libc.so.6 No symbol table info available. #3 0xb7488935 in malloc_printerr () from /lib/libc.so.6 No symbol table info available. #4 0xb748a7dc in free () from /lib/libc.so.6 No symbol table info available. #5 0x08067aa7 in EvalExpression (expr=0x81d19c8, nameevalfn=0x8066395 , varrefevalfn=0x806646a , param=0x0) at logic_expressions.c:258 name = 0x81d19d8 "any" ret = EXP_TRUE #6 0x08066528 in IsDefinedClass (class=0x81d1788 "any") at env_context.c:959 r = 134527520 res = {result = 0x81d19c8, position = 3} #7 0x080b20bb in ReCheckAllConstraints (pp=0x81d1710) at constraints.c:640 cp = (struct Constraint *) 0x6 sp = 0x81d1710 "\210\027\035\b`\031\035\bn" handle = 0x0 prid = (struct PromiseIdent *) 0x81d1770 ptr = (struct Item *) 0x73 in_class_any = 0 #8 0x080a7bd6 in ExpandPromiseAndDo (agent=cf_common, scopeid=0x81f8db0 "edit_aliases", pp=0x8211950, scalarvars=0x0, listvars=0x0, fnptr=0) at expand.c:681 number = "34\000�\000\000\000\000�\216\f\b\020\000\000\000H����\177U�\a\000\000\000\a\000\000\000X���v�H�`\221U�\a\000\000\000`\221U�x����\177U�\a\000\000\000����x���x�H�\230F\036\b����\a\000\000\000�����\216\f\b �\004\b����\004\025\n\b����\000\004\000\000�#\016\b\001\000\000\000\000\000\000" lol = (struct Rlist *) 0x0 pexp = (struct Promise *) 0x81d1710 cf_null_cutoff = 5 handle = 0x0 v = "0", '\0' , "this_1", '\0' , "A�H�", '\0' , "A�H� \000\000\000\230\221U�\000\000\000\000\021\000\000\000\002", '\0' , "`\024\035\b\000\000\000\000\230\221U�\000\000\000\000)\000\000\000\005\000\000\000\000\000\000\000D�H�(\024\035\b\000\000\000\000\230\221U�\220\221U�X\024\035\b\003\000\000\000\001\000\000\000\002\000\000\000�I\037\bp\000\000\000�\177U�\004\000\000\000\004\000\000\000����v�H�`\221U�\004\000\000\000`\221U��\177U��\177U�\004\000\000\000\020\223\037\b����x�H�"... cutoff = 0 #9 0x080a68ee in ExpandPromise (agent=cf_common, scopeid=0x81f8db0 "edit_aliases", pp=0x81f9288, fnptr=0x0) at expand.c:128 listvars = (struct Rlist *) 0x0 scalarvars = (struct Rlist *) 0x0 cp = (struct Constraint *) 0x0 pcopy = (struct Promise *) 0x8211950 #10 0x08062385 in VerifyPromises (agent=cf_common) at generic_agent.c:1518 bp = (struct Bundle *) 0x81f8ae8 sp = (struct SubType *) 0x81f8d90 pp = (struct Promise *) 0x81f9288 bdp = (struct Body *) 0x81f47e8 rp = (struct Rlist *) 0x0 fp = (struct FnCall *) 0x80c8ed0 scope = 0x81f8db0 "edit_aliases" #11 0x0805fa91 in ReadPromises (ag=cf_agent, agents=0x80c9673 "agent") at generic_agent.c:361 v = 0x80ceafd "not specified" rettype = 115 's' retval = (void *) 0x80ceae6 vbuff = "Expanded promises for agent\000-promises -f \"/tmp/testbug3.cf\"\000idating it", '\0' , "endl", '\0' , "\003oH�", '\0' , "\004���\000\000\000\000�\177U�@'\016\b\003oH�L���E�p���$���\000\000\000\000�\177U�O�\f\b\000\000\000\000l���E�\220���O�\f\b\000\000\000\000��E�", '\0' , "����\020\022"... #12 0x0805f4ee in GenericInitialize (argc=3, argv=0xbfffe854, agents=0x80c9673 "agent") at generic_agent.c:186 ag = cf_agent vbuff = "control_agent", '\0' , "��\177�+�<�4���h'\177�+�<��E~���\177���\177�\b�������Ƽ~�!�<��HX�", '\0' , "+�<�", '\0' , " �\177�\000\000\000\000\000\000\000\000\001\000\000\000��A�\000\000\000\000\000\000\000\000�HX�", '\0' , "�\217z�\2340=�����h'\177�\2340=��\217z���\177�P\215z�w�\000\000T���Ƽ~�\2340=��HX�", '\0' ... ok = 1 #13 0x0804bb1f in main (argc=3, argv=0xbfffe854) at agent.c:143 ret = 0 0xb7448556 : xchg %edi,%ebx 0xb7448558 : mov %eax,%edx 0xb744855a : cmp $0xfffff000,%edx 0xb7448560 : ja 0xb744858c 0xb7448562 : mov (%esp),%ebx 0xb7448565 : mov 0x4(%esp),%edi 0xb7448569 : mov %ebp,%esp 0xb744856b : pop %ebp 0xb744856c : ret 0xb744856d : lea 0x0(%esi),%esi 0xb7448570 : test %edx,%edx 0xb7448572 : mov %edx,%edi 0xb7448574 : mov %eax,%ecx 0xb7448576 : jg 0xb744854a 0xb7448578 : test $0x7fffffff,%edx 0xb744857e : mov %eax,%edi Thread 1 (Thread 0xb73cc6b0 (LWP 13358)): #0 0xb7448556 in raise () from /lib/libc.so.6 #1 0xb7449d78 in abort () from /lib/libc.so.6 #2 0xb7482b95 in __libc_message () from /lib/libc.so.6 #3 0xb7488935 in malloc_printerr () from /lib/libc.so.6 #4 0xb748a7dc in free () from /lib/libc.so.6 #5 0x08067aa7 in EvalExpression (expr=0x81d19c8, nameevalfn=0x8066395 , varrefevalfn=0x806646a , param=0x0) at logic_expressions.c:258 #6 0x08066528 in IsDefinedClass (class=0x81d1788 "any") at env_context.c:959 #7 0x080b20bb in ReCheckAllConstraints (pp=0x81d1710) at constraints.c:640 #8 0x080a7bd6 in ExpandPromiseAndDo (agent=cf_common, scopeid=0x81f8db0 "edit_aliases", pp=0x8211950, scalarvars=0x0, listvars=0x0, fnptr=0) at expand.c:681 #9 0x080a68ee in ExpandPromise (agent=cf_common, scopeid=0x81f8db0 "edit_aliases", pp=0x81f9288, fnptr=0x0) at expand.c:128 #10 0x08062385 in VerifyPromises (agent=cf_common) at generic_agent.c:1518 #11 0x0805fa91 in ReadPromises (ag=cf_agent, agents=0x80c9673 "agent") at generic_agent.c:361 #12 0x0805f4ee in GenericInitialize (argc=3, argv=0xbfffe854, agents=0x80c9673 "agent") at generic_agent.c:186 #13 0x0804bb1f in main (argc=3, argv=0xbfffe854) at agent.c:143 The program is running. Exit anyway? (y or n) _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine