<div>Klaus,</div>
<div> </div>
<div>Not sure what modules uses callback function. I am using the following modules:</div>
<div> </div>
<div>loadmodule "mysql.so"<br>loadmodule "sl.so"<br>loadmodule "tm.so"<br>loadmodule "rr.so"<br>loadmodule "maxfwd.so"<br>loadmodule "usrloc.so"<br>loadmodule "
registrar.so"<br>loadmodule "auth.so"<br>loadmodule "auth_db.so"<br>loadmodule "uri.so"<br>loadmodule "uri_db.so"<br>loadmodule "domain.so"<br>loadmodule "textops.so
"<br>loadmodule "avpops.so"<br>loadmodule "permissions.so"<br>loadmodule "enum.so"<br>loadmodule "acc.so"<br>loadmodule "dialog.so"<br>loadmodule "mi_fifo.so"
<br>loadmodule "snmpstats.so"<br>loadmodule "xlog.so"<br>loadmodule "lcr.so"<br>loadmodule "pdt.so"<br> </div>
<div>none of the above is written by us. </div>
<div> </div>
<div>Thanks very much.<br><br> </div>
<div><span class="gmail_quote">2007/6/21, Klaus Darilion <<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">looks like (not sure) process 1546 received a reply, does the tm<br>matching, and then forwards the reply. The last entry
<br><br>Jun 7 10:42:04 marge openser[1546]: DBG: trans=0xb577a938, callback<br>type 128, id 0 entered<br><br>references a callback. Maybe the tm module calls a registered callback<br>function and this function crashes.<br>
<br>Do you use any self-written modules?<br>Which modules are you using which uses callbacks (e.g. acc, dialog ...)?<br>Try to disable these modules.<br><br>regards<br>klaus<br><br>Antonio Higuera wrote:<br>> Thanks for your reply.
<br>><br>> You have attached a file with the logs. Be aware that the coredump<br>> backtrace<br>> i sent in my previous mail maybe is not the same crash you can see in the<br>> log.<br>><br>> Thanks again for your help.
<br>><br>><br>> Jun 7 10:42:04 marge openser[1546]: SIP Reply (status):<br>><br>> Jun 7 10:42:04 marge openser[1546]: version: <SIP/2.0><br>><br>> Jun 7 10:42:04 marge openser[1546]: status: <407>
<br>><br>> Jun 7 10:42:04 marge openser[1546]: reason: <Proxy Authentication Required><br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: flags=2<br>><br>> Jun 7 10:42:04 marge openser[1546]: Found param type 232, <branch> = <
<br>> z9hG4bK6202.244bec76.0>; state=6<br>><br>> Jun 7 10:42:04 marge openser[1546]: Found param type 234, <received> = <<br>> <a href="http://192.168.1.129">192.168.1.129</a>>; state=16<br>>
<br>> Jun 7 10:42:04 marge openser[1546]: end of header reached, state=5<br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: Via found, flags=2<br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: this is the first via
<br>><br>> Jun 7 10:42:04 marge openser[1546]: After parse_msg...<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:forward_reply: found module tm,<br>> passing reply to it<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: t_check: start=0xffffffff
<br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: flags=22<br>><br>> Jun 7 10:42:04 marge openser[1546]: Found param type 232, <branch> =<br>> <z9hG4bKcc503ea3c48d6b766>; state=16<br>
><br>> Jun 7 10:42:04 marge openser[1546]: end of header reached, state=5<br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: Via found, flags=22<br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: this is the second via
<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: add_param: tag=as4b55784e<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:parse_to:end of header reached,<br>> state=29<br>><br>> Jun 7 10:42:04 marge openser[1546]: DBUG:parse_to: display={21104}, ruri={
<br>> <a href="mailto:sip:21104@barik.com">sip:21104@barik.com</a>}<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: get_hdr_field: <To> [44]; uri=[<br>> <a href="mailto:sip:21104@barik.com">sip:21104@barik.com
</a>]<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: to body [21104 <<br>> <a href="mailto:sip:21104@barik.com">sip:21104@barik.com</a>>]<br>><br>> Jun 7 10:42:04 marge openser[1546]: get_hdr_field: cseq <CSeq>: <30425>
<br>> <INVITE><br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: flags=8<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: t_reply_matching: hash 8230<br>> label<br>> 1741599810 branch 0
<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:REF_UNSAFE: after is 1<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: t_reply_matching: reply matched<br>> (T=0xb577a938)!<br>><br>> Jun 7 10:42:04 marge openser[1546]: DBG: trans=0xb577a938, callback type 2,
<br>> id 0 entered<br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: flags=8<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: t_check: end=0xb577a938<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:reply_received: org. status
<br>> uas=100, uac[0]=0 local=0 is_invite=1)<br>><br>> Jun 7 10:42:04 marge openser[1546]: parse_headers: flags=8<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:build_local: using FROM=<From:<br>
> Arturo <<a href="mailto:sip:104@barik.com">sip:104@barik.com</a>>;tag=73529158ed >, TO=<To: 21104 <<br>> <a href="mailto:sip:21104@barik.com">sip:21104@barik.com</a>>;tag=as4b55784e >, CSEQ_N=<CSeq: 30425>
<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:t_should_relay_response:<br>> T_code=100, new_code=407<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:t_pick_branch: picked<br>> branch 0,<br>
> code 407<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:t_should_relay_response:<br>> dns-failover test: branch=0, last_recv=407, flags=2<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:relay_reply: branch=0, save=0,
<br>> relay=0<br>><br>> Jun 7 10:42:04 marge openser[1546]: old size: 533, new size: 448<br>><br>> Jun 7 10:42:04 marge openser[1546]: build_res_from_sip_res: copied size:<br>> orig:128, new: 43, rest: 405 msg= SIP/2.0 407 Proxy Authentication Required
<br>> Via: SIP/2.0/UDP <a href="http://192.168.1.64:5060">192.168.1.64:5060</a>;branch=z9hG4bKcc503ea3c48d6b766 From:<br>> Arturo <<a href="mailto:sip:104@barik.com">sip:104@barik.com</a>>;tag=73529158ed To: 21104
<br>> <<a href="mailto:sip:21104@barik.com">sip:21104@barik.com</a>>;tag=as4b55784e<br>> Call-ID: f35b076f65bee9c5 CSeq: 30425 INVITE User-Agent: Asterisk PBX<br>> Allow:<br>> INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
<br>> Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk",<br>> nonce="6f707e3f"<br>> Content-Length: 0<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:set_timer: relative timeout is
<br>> 500000<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: add_to_tail_of_timer[4]:<br>> 0xb577aa00 (52180600000)<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:set_timer: relative timeout is
<br>> 10<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG: add_to_tail_of_timer[0]:<br>> 0xb577aa1c (52190)<br>><br>> Jun 7 10:42:04 marge openser[1546]: DEBUG:tm:relay_reply: sent<br>> buf=0x819cce8: SIP/2.0 4..., shmem=0xb5778158: SIP/2.0 4
<br>><br>> Jun 7 10:42:04 marge openser[1546]: DBG: trans=0xb577a938, callback type<br>> 128, id 0 entered<br>><br>><br>><br>> 2007/6/20, Klaus Darilion <<a href="mailto:klaus.mailinglists@pernau.at">
klaus.mailinglists@pernau.at</a>>:<br>>><br>>> > The following lines are the log generated:<br>>> ><br>>> > Jun 7 10:42:04 marge openser[1545]: receive_msg: cleaning up<br>>> >
<br>>> > Jun 7 10:42:04 marge openser[1565]: ERROR: receive_fd: EOF on 8<br>>> ><br>>> > Jun 7 10:42:04 marge openser[1565]: DBG: handle_ser_child: dead<br>>> child 2,<br>>> > pid
<br>>> > 1546 (shutting down?)<br>>> ><br>>> > Jun 7 10:42:04 marge openser[1565]: DBG: io_watch_del (0x812d720, 8,<br>>> -1,<br>>> > 0x0) fd_no=23 called<br>>> ><br>>> > Jun 7 10:42:04 marge openser[1544]: child process 1546 exited by a
<br>>> > signal 11<br>>><br>>> Could you also post the last log lines of process 1546 ?<br>>><br>>><br>>> regards<br>>> klaus<br>>><br></blockquote></div><br>