[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is "pipe prediction wrong"? (router hangs)



On Tue, Mar 23, 2004 at 02:05:35PM +0200, Matti Aarnio wrote:

> Running that last after issuing command:
> 
> z# rtrace
> z# router root
> 
> will produce a lot longer report of what is going on.
> It might tell what happens when that message appears.
> (What happens just before, that is.)

It now seems that the router doesn't actually hang, but
waiting for more input.  

In interactive mode, if I press ^D when it "hangs", it
incorrectly gives "nil" as the result, even though it
seems to have expanded the alias correctly at some point.

--------------------------------------------------------
[...]
z# rtrace
 lapply('PS1', ())
z# router nobody
    router nobody
        attributes=default_attributes
        : default_attributes
        defer=''
        log address: nobody
            get (get envelopeinfo message-id) <0>
            echo -- <acli.interactive@>: address: nobody
<acli.interactive@>: address: nobody
        [ 0 != 1 ]
        db flush expansions
        msgidfilter nobody default_attributes
            return (return 0) <0>
        tmp=''
        rrouter nobody nobody default_attributes ''
            didhostexpand=''
            fqdn_neighbour nobody nobody default_attributes
                recase -l -- nobody
                lcaddress=nobody
                key=nobody
                plustail=''
                tcomparing '^@(.*):(.+)@(.+)$' and 'nobody'
                tcomparing '^(.+)@(.+)$' and 'nobody'
                tcomparing '^.*$' and 'nobody'
                tmatched '^.*$' and 'nobody'
                return (return 1) <0>
?=1
?=1
?=1
            tmp=''
?=1
            sSiftBody 'nobody'
            scomparing '^"(.*)"<(.*)$' and 'nobody'
            scomparing '^"(.*)">(.*)$' and 'nobody'
            scomparing '^([\"].*[\"])<(.*)$' and 'nobody'
            scomparing '^([\"].*[\"])>(.*)$' and 'nobody'
?=1
            canonicalize nobody
                sSiftBody 'nobody'
                scomparing '^(/.+)@(.+)$' and 'nobody'
                scomparing '^((\|.+)|(/.+)|(:include:.+))$' and 'nobody'
                tcomparing '^((<>)|(:;))$' and 'nobody'
                tcomparing '^(.*)<@(.*)>(.*)$' and 'nobody'
                tcomparing '^(@.+),(.+)$' and 'nobody'
                tcomparing '^(@.+):(.+:.+)$' and 'nobody'
                tcomparing '^@([^,:]+)([,:].+)$' and 'nobody'
                tcomparing '^(.*)@([^@]*.uucp)$' and 'nobody'
                tcomparing '^(.*)@([^@]*)$' and 'nobody'
                tcomparing '^\[(.*)\]!(.*)$' and 'nobody'
                tcomparing '^([^!.]*)!(.*)$' and 'nobody'
                tcomparing '^([^!]*)!(.*)$' and 'nobody'
                tcomparing '^(.*)%([^%]*)$' and 'nobody'
                echo -- nobody
            address=nobody
            sSiftBody 'nobody'
            scomparing '^<@\[([A-Za-z0-9]+)\]>:(.+)@(.+)$' and 'nobody'
            tcomparing '^@$' and 'nobody'
            tcomparing '^(.*)<@\[(.+)\]>(.*)$' and 'nobody'
            tcomparing '^(.*)<@(.*)\.>(.*)$' and 'nobody'
            tcomparing '^(.*)<@(.*)(XXXXX)>(.*)$' and 'nobody'
            tcomparing '^<@(.*)>[:,](.+)@(.+)$' and 'nobody'
            tcomparing '^<@(XXXXX)>[:,](.+)@(.+)$' and 'nobody'
            tcomparing '^(.+)<@(.+)>(.*)$' and 'nobody'
            tcomparing '^<@>.(.+)$' and 'nobody'
            tcomparing '^(.+)<@>$' and 'nobody'
            tcomparing '^(.*)<@(.+)>(.*)$' and 'nobody'
            dequote -- nobody
            sSiftBody 'nobody'
            scomparing '^\\(.+)$' and 'nobody'
            scomparing '^/.+$' and 'nobody'
            scomparing '^\|.+$' and 'nobody'
            scomparing '^:include:.+$' and 'nobody'
            scomparing '^(.+)::(.+)$' and 'nobody'
            scomparing '^.*$' and 'nobody'
            smatched '^.*$' and 'nobody'
            [ -z  ]
            domain=@YYYYY.XXXXX
            tmp=(local nobody nobody default_attributes)
            routeuser (local nobody nobody default_attributes) '' @YYYYY.XXXXX
                plustail2=''
                attributes (attributes (local nobody nobody default_attributes)) <0>
                attr=default_attributes
                channel (channel (local nobody nobody default_attributes)) <0>
                chan=local
                host (host (local nobody nobody default_attributes)) <0>
                host=nobody
                user (user (local nobody nobody default_attributes)) <0>
                user=nobody
                key=nobody
                get (get default_attributes type) <0>
                type=recipient
                get (get default_attributes sender) <0>
                sender=nil
                a=(local nobody nobody default_attributes)
                al=nil
                condquote -- nobody
                user=nobody
                condquote -- nobody
                host=nobody
                [ -n  ]
?=1
                dequote -- nobody
                sSiftBody 'nobody'
                scomparing '^\\(.*)$' and 'nobody'
                scomparing '^:include:[\ \t]*(.+)[\ \t]*$' and 'nobody'
                scomparing '^[|/].*$' and 'nobody'
                priv=99
                didexpand aliases
                    %dblookup (expansions nobody.aliases) <0>
expansions(nobody.aliases)
expansions(nobody.aliases) = NIL
?=1
?=1
                    a=''
?=1
                    return (return 0) <0>
                aliases nobody
                    %dblookup (aliases_1 nobody) <0>
aliases_1(nobody)
aliases_1(nobody) = /dev/null
                    a=/dev/null
                    db owner aliases_1
                    filepriv -M 644 /usr/local/zmailer/db/aliases.db 0
                    priv=0
                    returns (returns /dev/null) <0>
                a=/dev/null
                db add expansions nobody.aliases 1
                newattribute default_attributes privilege 0
                    gensym
                    a=g0
                    eval g0=$default_attributes
                        g0=(privilege nobody type recipient sender nil)
?=7
?=7
                    [ 2 != 0 ]
                    lreplace (lreplace g0 privilege 0) <0>
?=1
                    shift
                    shift
                    [ 0 != 0 ]
?=1
?=1
                    echo -- g0
                nattr=g0
                zapDSNnotify g0 expanded nobody@YYYYY.XXXXX
                echo -- /dev/null
router: pipe prediction wrong: got 8|6 not 9|8
                maprrouter g0 nobody nobody '' @YYYYY.XXXXX
                    al=nil
                    read address

--------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi