[distcc] Protocol derailment

Linc Davis ld-temp-hls0 at pobox.com
Tue May 27 00:48:06 GMT 2003

OS: MacOS 10.2.6
distcc version: 2.4.1
gcc version: 3.1
make version: 3.79

Above applies to both client and server.

I have a host set up to run distcc as a service from xinetd. The xinetd 
configuration file contains this:

service distcc
    disable        = no
    socket_type    = stream
    wait           = no
    nice           = 10
    user           = distcc
    server         = /sw/bin/distccd
    only_from      =
    server_args    = --inetd
    groups         = yes

I added the following line to /etc/services:

distcc      3632/tcp #distcc

Everything seems to work on the server side. I get log entries like

distccd[1026]: (dcc_critique_status) /usr/bin/gcc on localhost 
completed ok

But on the client (with the verbose flag set) I get this:

distcc[1641] (dcc_send_job) client finished sending request to server
distcc[1641] (dcc_r_token_int) ERROR: protocol derailment: expected 
token "DONE"
distcc[1641] (dcc_explain_mismatch) ERROR: error context: "*** 
malloc[1027]: Deallocation of a pointer not malloced: 0xa00062b0; This 
could be a double free(), or free() called with the middle of an 
allocated block; Try setting environment variable MallocHel"

Thanks for any suggestions.

Linc Davis
DH/DSS 2048/1024
D625 5F4F 4884 144D BCA5 4522 4F65 04BF FA0D 30AD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 174 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20030526/3cbb9180/attachment.bin

More information about the distcc mailing list