help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.1.8 problems on Mac OS 10.3.4


From: Mark . Burgess
Subject: Re: 2.1.8 problems on Mac OS 10.3.4
Date: Thu, 12 Aug 2004 00:17:26 +0200 (MEST)

Chris,

try the snapshot at http://www.cfengine.org/src-mirror/cfengine-snap.tar.gz

M



On 11 Aug, Chris Kacoroski wrote:
> 
> 
> address@hidden wrote:
> 
>> Can you debug it with gdb?
>> 
>> Mark
> 
> Mark,
> 
> Using GDB I get the following in proto.c.  I think that something in the 
> code is trashing the return pointer from the function (reason for all 
> the backtraces).  I am not sure what to do next.  Any help appreciated.
> 
> ski
> 
> 
> Breakpoint 1, KeyAuthentication (ip=0xbfffdd30) at proto.c:178
> warning: Source file is more recent than executable.
> 
> 178     if (COMPATIBILITY_MODE)
> (gdb) break 263
> Breakpoint 2 at 0x4ce6c: file proto.c, line 263.
> (gdb) backtrace
> #0  KeyAuthentication (ip=0xbfffdd30) at proto.c:178
> #1  0x00011684 in OpenServerConnection (ip=0x307820) at client.c:84
> #2  0x0000befc in MakeImages () at do.c:2444
> #3  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #4  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 170     { char sendbuffer[CF_BUFSIZE],in[CF_BUFSIZE],*out,*decrypted_cchall;
> (gdb) cont
> Continuing.
> Loaded /var/cfengine/ppkeys/root-10.1.2.93.pub
> 
> Breakpoint 2, KeyAuthentication (ip=0x307820) at proto.c:263
> 263     len = BN_bn2mpi(PUBKEY->n,sendbuffer);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:263
> #1  0x00000000 in ?? ()
> Cannot access memory at address 0x0
> Cannot access memory at address 0x0
> #2  0x0004ce6c in KeyAuthentication (ip=0x307820) at proto.c:262
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 264     SendTransaction(CONN->sd,sendbuffer,len,CF_DONE); /* No need to 
> encrypt
> the public key ... */
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:264
> (gdb) n
> 263     len = BN_bn2mpi(PUBKEY->n,sendbuffer);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:263
> #1  0x0004ce80 in KeyAuthentication (ip=0x307820) at proto.c:263
> #2  0x00011684 in OpenServerConnection (ip=0xbfff1bc0) at client.c:84
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 264     SendTransaction(CONN->sd,sendbuffer,len,CF_DONE); /* No need to 
> encrypt
> the public key ... */
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:264
> #1  0x0004ce80 in KeyAuthentication (ip=0x307820) at proto.c:263
> #2  0x00011684 in OpenServerConnection (ip=0xbfff1bc0) at client.c:84
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 267     memset(sendbuffer,0,CF_BUFSIZE);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:267
> (gdb) n
> 268     len = BN_bn2mpi(PUBKEY->e,sendbuffer);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:268
> #1  0x00000000 in ?? ()
> Cannot access memory at address 0x0
> Cannot access memory at address 0x0
> #2  0x0004ceac in KeyAuthentication (ip=0x307820) at proto.c:267
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:268
> #1  0x00000000 in ?? ()
> #2  0x0004ceac in KeyAuthentication (ip=0x307820) at proto.c:267
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 269     SendTransaction(CONN->sd,sendbuffer,len,CF_DONE);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:269
> (gdb) n
> 268     len = BN_bn2mpi(PUBKEY->e,sendbuffer);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:268
> #1  0x0004cebc in KeyAuthentication (ip=0x307820) at proto.c:268
> #2  0x00011684 in OpenServerConnection (ip=0xbfff1bc0) at client.c:84
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 269     SendTransaction(CONN->sd,sendbuffer,len,CF_DONE);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:269
> #1  0x0004cebc in KeyAuthentication (ip=0x307820) at proto.c:268
> #2  0x00011684 in OpenServerConnection (ip=0xbfff1bc0) at client.c:84
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 274     memset(in,0,CF_BUFSIZE);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:274
> (gdb) n
> 276     if (ReceiveTransaction(CONN->sd,in,NULL) == -1)
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:276
> #1  0x00000000 in ?? ()
> Cannot access memory at address 0x0
> Cannot access memory at address 0x0
> #2  0x0004cee4 in KeyAuthentication (ip=0x307820) at proto.c:274
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 282     if (BadProtoReply(in))
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:282
> #1  0x0004cef8 in KeyAuthentication (ip=0x307820) at proto.c:276
> #2  0x00011684 in OpenServerConnection (ip=0xbfff1bc0) at client.c:84
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 291     memset(in,0,CF_BUFSIZE);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:291
> #1  0x0004cf08 in KeyAuthentication (ip=0x307820) at proto.c:282
> #2  0x00011684 in OpenServerConnection (ip=0xbfff1bc0) at client.c:84
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 293     if (ReceiveTransaction(CONN->sd,in,NULL) == -1)
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:293
> #1  0x00000000 in ?? ()
> Cannot access memory at address 0x0
> Cannot access memory at address 0x0
> #2  0x0004cf2c in KeyAuthentication (ip=0x307820) at proto.c:291
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 299     if (!ChecksumsMatch(digest,in,'m'))
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:299
> #1  0x0004cf40 in KeyAuthentication (ip=0x307820) at proto.c:293
> #2  0x00011684 in OpenServerConnection (ip=0xbfff1bc0) at client.c:84
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 308        ExpandVarstring(ip->server,server,NULL);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:308
> #1  0x000000fe in ?? ()
> #2  0x0004cf64 in KeyAuthentication (ip=0x307820) at proto.c:299
> #3  0x0000befc in MakeImages () at do.c:2444
> #4  0x000048b8 in DoTree (passes=1, info=0xf0674 "Update") at cfagent.c:1241
> #5  0x00001f58 in main (argc=1197148, argv=0x12445c) at cfagent.c:106
> (gdb) n
> 310        if (cant_trust_server == 'y')  /* challenge reply was correct */
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:310
> #1  0x00000000 in ?? ()
> (gdb) n
> 312 
> Verbose("\n.......................................................
> ........\n");
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:312
> #1  0x00000000 in ?? ()
> (gdb) n
> 
> ...............................................................
> 313           snprintf(OUTPUT,CF_BUFSIZE,"Strong authentication of 
> server=%s con
> nection confirmed\n",server);
> (gdb) backtrace
> #0  KeyAuthentication (ip=0x307820) at proto.c:313
> #1  0x00000000 in ?? ()
> (gdb)
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]