[asterisk-dev] blocking problem on Dial application

Guillermo Winkler gwinkler at inconcertcc.com
Wed Mar 7 11:13:56 MST 2007


I'm seeing this messages on one of our servers:

Mar  2 18:18:45 WARNING[13659] channel.c: Hard hangup called by thread 
-1285203024 on AsyncGoto/Zap/111-1<ZOMBIE>, while fd is blocked by 
thread -1285203024 in procedure ast_waitfor_nandfds!  Expect a failure
Mar  6 21:49:09 WARNING[23777] channel.c: Hard hangup called by thread 
-1768162384 on AsyncGoto/Zap/123-1<ZOMBIE>, while fd is blocked by 
thread -1768162384 in procedure ast_waitfor_nandfds!  Expect a failure.

The hangup is happening in(compiled with DO_CRASH and dont-optimize):

        if (res != AST_PBX_NO_HANGUP_PEER) {
            if (!chan->_softhangup)
                chan->hangupcause = peer->hangupcause;
            ast_hangup(peer);
        }

this code, in DIAL application(after bridge ends).

As you see the blocking thread is the same as the offending thread, 
which is strange cause looking at ast_waitfor_nandfs there is no 
execution path that does not clear the blocking 
flag(ast_clear_flag(c[x], AST_FLAG_BLOCKING);)

Any clues?

Thanks,
Guillermo


More information about the asterisk-dev mailing list