[OpenSER-Devel] subscribe crash
Juha Heinanen
jh at tutpro.com
Sat Feb 23 03:30:57 CET 2008
a couple of days old trunk openser crashed at subscribe:
Feb 23 03:40:13 rautu /usr/sbin/openser[6260]: ERROR:db_mysql:db_mysql_submit_query: driver error on query: Duplicate entry 'sip:test at test.fi-jh-test.fi-presence' for key 2
Feb 23 03:40:13 rautu /usr/sbin/openser[6260]: ERROR:core:db_do_insert: error while submitting query
Feb 23 03:40:13 rautu /usr/sbin/openser[6260]: ERROR:presence:insert_db_subs_auth: in sql insert
Feb 23 03:40:13 rautu /usr/sbin/openser[6260]: ERROR:presence:handle_subscribe: while inserting record in watchers table
Feb 23 03:40:13 rautu /usr/sbin/openser[6260]: ERROR: SUBSCRIBE to <sip:test at test.fi> failed
Feb 23 03:40:13 rautu /usr/sbin/openser[6261]: ERROR:tm:check_params: invalid From URI
Feb 23 03:40:13 rautu /usr/sbin/openser[6261]: ERROR:tm:check_params: invalid From URI
Feb 23 03:40:15 rautu /usr/sbin/openser[6246]: INFO:core:handle_sigs: child process 6259 exited by a signal 11
gdb where tells:
(gdb) where
#0 0xb7cf955b in strlen () from /lib/tls/i686/cmov/libc.so.6
#1 0xb77ce51c in get_p_notify_body (pres_uri=
{s = 0x81fbb40 "sip:jh at vm.test.fi", len = 17}, event=0xb5844c90,
etag=0x0) at notify.c:661
#2 0xb77d2e8c in send_notify_request (subs=0xbfcbe8c8, watcher_subs=0x0,
n_body=0x0, force_null_body=0) at notify.c:1388
#3 0xb77d40b3 in notify (subs=0xbfcbe8c8, watcher_subs=0x0, n_body=0x0,
force_null_body=0) at notify.c:1546
#4 0xb77e2e95 in update_subscription (msg=0x81fb0f0, subs=0xbfcbe8c8,
to_tag_gen=1, sent_reply=0xbfcbe96c) at subscribe.c:383
#5 0xb77e9c30 in handle_subscribe (msg=0x81fb0f0, str1=0x0, str2=0x0)
at subscribe.c:638
#6 0x0805538d in do_action (a=0x81c3880, msg=0x81fb0f0) at action.c:817
#7 0x0805785a in run_action_list (a=0x81c3880, msg=0x81fb0f0) at action.c:132
#8 0x0809f93a in eval_expr (e=0x81c38e8, msg=0x81fb0f0, val=0x0)
at route.c:1067
#9 0x0809f3b3 in eval_expr (e=0x81c3910, msg=0x81fb0f0, val=0x0)
at route.c:1374
#10 0x0809f347 in eval_expr (e=0x81c3938, msg=0x81fb0f0, val=0x0)
at route.c:1379
#11 0x08054e13 in do_action (a=0x81c3b60, msg=0x81fb0f0) at action.c:672
#12 0x0805785a in run_action_list (a=0x81c21b0, msg=0x81fb0f0) at action.c:132
#13 0x08056cf0 in do_action (a=0x81c3d20, msg=0x81fb0f0) at action.c:689
#14 0x0805785a in run_action_list (a=0x81c1a50, msg=0x81fb0f0) at action.c:132
#15 0x08055fdf in do_action (a=0x81b54a8, msg=0x81fb0f0) at action.c:112
#16 0x0805785a in run_action_list (a=0x81b47e0, msg=0x81fb0f0) at action.c:132
#17 0x08056cf0 in do_action (a=0x81b5578, msg=0x81fb0f0) at action.c:689
#18 0x0805785a in run_action_list (a=0x81b2f40, msg=0x81fb0f0) at action.c:132
#19 0x08055fdf in do_action (a=0x81a69b8, msg=0x81fb0f0) at action.c:112
#20 0x0805785a in run_action_list (a=0x81a5810, msg=0x81fb0f0) at action.c:132
#21 0x08056cf0 in do_action (a=0x81a6a88, msg=0x81fb0f0) at action.c:689
#22 0x0805785a in run_action_list (a=0x81a4a90, msg=0x81fb0f0) at action.c:132
#23 0x08056cf0 in do_action (a=0x81a7810, msg=0x81fb0f0) at action.c:689
#24 0x0805785a in run_action_list (a=0x81a48e8, msg=0x81fb0f0) at action.c:132
#25 0x08055fdf in do_action (a=0x819aa30, msg=0x81fb0f0) at action.c:112
#26 0x0805785a in run_action_list (a=0x8191488, msg=0x81fb0f0) at action.c:132
#27 0x08055fdf in do_action (a=0x81904d8, msg=0x81fb0f0) at action.c:112
#28 0x0805785a in run_action_list (a=0x818edd0, msg=0x81fb0f0) at action.c:132
#29 0x08057c09 in run_top_route (a=0x818edd0, msg=0x81fb0f0) at action.c:112
#30 0x08091a6d in receive_msg (
buf=0x8163240 "SUBSCRIBE sip:jh at test.fi SIP/2.0\r\nVia: SIP/2.0/UDP 192.98.101.10:5020;rport;branch=z9hG4bKeezsvduk\r\nMax-Forwards: 69\r\nProxy-Authorization: Digest username=\"jh\",realm=\"test.fi\",nonce=\"47bccdd9d7c06edee"...,
len=662, rcv_info=0xbfcc0cd4) at receive.c:156
#31 0x080cf147 in udp_rcv_loop () at udp_server.c:438
#32 0x0806dc6f in main (argc=15, argv=Cannot access memory at address 0x5
) at main.c:779
More information about the Devel
mailing list