On 05/03/2011 03:32 PM, no-re...@cfengine.com wrote:

> $ pwd
> /usr/local/groundwork/nwatson/src/cfengine-3.1.5/src
> 
> $ file ./cf-promises 
> ./cf-promises: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
> statically linked, not stripped
> 
> $ gdb ./cf-promises 
> GNU gdb Red Hat Linux (6.3.0.0-1.162.el4rh)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db 
> library "/lib/tls/libthread_db.so.1".
> 
> (gdb) run -x
> Starting program: 
> /usr/local/groundwork/nwatson/src/cfengine-3.1.5/src/cf-promises -x
> ----------------------------------------------------------
> Cfengine - Level 1 self-diagnostic 
> ----------------------------------------------------------
> 
>  -> editfilesize ok (10000/10000)
>  -> editbinaryfilesize ok (100000/100000)
>  -> Internal consistency done
> 
> ----------------------------------------------------------
> Cfengine - Level 2 self-diagnostic 
> ----------------------------------------------------------
> 
> 1. Test variable scanning
> 2. Testing internal function templates and knowledge
> 3. Testing promise duplication and expansion
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00161fd0 in ?? ()
> (gdb) back
> #0  0x00161fd0 in ?? ()
> #1  0x00363f24 in ?? ()
> #2  0xbfffe3e4 in ?? ()
> #3  0xbfffe47c in ?? ()
> #4  0x00154aea in ?? ()
> #5  0xbfffe3e8 in ?? ()
> #6  0x00000000 in ?? ()

Weird, stack looks completely smashed. I will try to reproduce it locally.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to