[OpenSER-Users] Pua crash in subs_cback_func
Pablo Guijarro Enríquez
pge at moviquity.com
Wed Jun 18 10:00:28 CEST 2008
Hi,
I am running openser 1.3.1 with pua and pua_xmpp modules and, from time to
time, it crashes due to a segmentation fault while processing the response
to a SUBSCRIBE from a XMPP user. Below you can see the information provided
by the log file and the backtrace of the core generated. If there is
something more that could be useful just ask me for it. Any hint on how to
solve it will be much appreciated.
Thanks in advance,
Pablo
- Log file:
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:pua:subs_cback_func: completed with status 202
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]: DBG:core:receive_msg:
After parse_msg...
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if port 5060 matches port 5060
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]:
DBG:core:parse_headers: flags=200
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:core:parse_headers: flags=ffffffffffffffff
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]:
DBG:core:forward_reply: found module tm, passing reply to it
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if host==us: 10==9 && [cmovil.net] ==
[127.0.0.1]
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]:
DBG:core:get_hdr_field: found end of header
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:core:get_hdr_field: content_length=0
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]: DBG:tm:t_check:
start=0xffffffff
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if port 5060 matches port 5060
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]:
DBG:rr:find_first_route: No Route headers found
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:core:get_hdr_field: found end of header
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]:
DBG:core:parse_headers: flags=22
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if host==us: 10==12 && [cmovil.net] ==
[192.168.1.33]
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]: DBG:rr:loose_route:
There is no Route HF
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]:
DBG:pua:subs_cback_func: lexpire= 180
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]:
DBG:core:parse_to_param: tag=10.18828.1212990569.29
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:grep_sock_info: checking if port 5060 matches port 5060
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]: DBG:tm:t_newtran:
transaction on entrance=0xffffffff
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18827]: DBG:pua:get_dialog:
core_hash= 427
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18842]:
CRITICAL:core:receive_fd: EOF on 16
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18820]:
INFO:core:handle_sigs: child process 18827 exited by a signal 11
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]:
DBG:tm:insert_timer_unsafe: [2]: 0xb5a0a778 (736)
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]:
DBG:core:parse_headers: this is the first via
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]: DBG:core:parse_to:
end of header reached, state=29
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18842]:
DBG:core:handle_ser_child: dead child 6, pid 18827 (shutting down?)
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18830]:
DBG:tm:utimer_routine: timer routine:5,tl=0xb59fe57c next=(nil),
timeout=731600000
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18820]:
INFO:core:handle_sigs: core was generated
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18826]: DBG:tm:t_unref:
UNREF_UNSAFE: after is 0
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18829]: DBG:core:receive_msg:
After parse_msg...
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18828]: DBG:core:parse_to:
display={}, ruri={sip:pintoa*gmail.com at gw}
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18842]:
DBG:core:io_watch_del: io_watch_del (0x8154c80, 16, -1, 0x0) fd_no=22 called
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18820]:
INFO:core:handle_sigs: terminating due to SIGCHLD
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18840]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18842]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18839]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18837]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18838]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18832]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18831]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18830]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18835]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18823]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18825]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18824]: INFO:core:sig_usr:
signal 15 received
Jun 9 07:49:29 cmovil /usr/local/sbin/openser[18822]: INFO:core:sig_usr:
signal 15 received
- Backtrace:
Core was generated by `/usr/local/sbin/openser -P /var/run/openser.pid -m
64'.
Program terminated with signal 11, Segmentation fault.
#0 0xb78be14f in subs_cback_func (t=0xb3a538e8, cb_type=256, ps=0xb7ba2234)
at send_subscribe.c:454
454 size= sizeof(ua_pres_t)+ 2*sizeof(str)+( pto->uri.len+
(gdb) backtrace
#0 0xb78be14f in subs_cback_func (t=0xb3a538e8, cb_type=256, ps=0xb7ba2234)
at send_subscribe.c:454
#1 0xb7b7a0d7 in run_trans_callbacks (type=256, trans=0xb3a538e8, req=0x0,
rpl=0x818f6f8, code=202) at t_hooks.c:205
#2 0xb7b92cb1 in local_reply (t=0xb3a538e8, p_msg=0x818f6f8, branch=0,
msg_status=202, cancel_bitmap=0xbfcc5730) at t_reply.c:1245
#3 0xb7b95844 in reply_received (p_msg=0x818f6f8) at t_reply.c:1384
#4 0x08063e08 in forward_reply (msg=0x818f6f8) at forward.c:499
#5 0x08094372 in receive_msg (
buf=0x8165000 "SIP/2.0 202 OK\r\nVia: SIP/2.0/UDP
192.168.1.33;branch=z9hG4bKb79c.15401d07.0\r\nTo:
sip:jesus at cmovil.net;tag=10.16365.1213770124.16\r\nFrom:
sip:jveglop*gmail.com at gw;tag=533cb9e91f4b999cf76861cbb9ed54ed-55"...,
len=368, rcv_info=0xbfcc5864) at receive.c:194
#6 0x080d4063 in udp_rcv_loop () at udp_server.c:438
#7 0x0806c506 in main (argc=5, argv=0xbfcc5a44) at main.c:834
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080618/30bf5e2e/attachment.htm
More information about the Users
mailing list