Bugs item #1912110, was opened at 2008-03-11 20:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1912110&group_id=139143
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: modules Group: None Status: Open Resolution: None Priority: 7 Private: No Submitted By: Dan (dan_pascu) Assigned to: Nobody/Anonymous (nobody) Summary: Core dump in presence on refreshWatchers Initial Comment: The trace is from 1.3.0, but I suspect it is also present in trunk. Program terminated with signal 11, Segmentation fault. #0 0xb7d28f0b in strlen () from /lib/i686/cmov/libc.so.6 (gdb) bt #0 0xb7d28f0b in strlen () from /lib/i686/cmov/libc.so.6 #1 0xb7997064 in get_subs_db (pres_uri=0xbfcf607c, event=0xb5930a30, sender=0x0, s_array=0xbfcf5ed8, n=0xbfcf5ed4) at notify.c:1005 #2 0xb7997b3c in get_subs_dialog (pres_uri=0xbfcf607c, event=0xb5930a30, sender=0x0) at notify.c:1102 #3 0xb799c96e in query_db_notify (pres_uri=0xbfcf607c, event=0xb5930a30, watcher_subs=0x0) at notify.c:1248 #4 0xb79a000c in mi_refreshWatchers (cmd=0x816fec0, param=0x0) at presence.c:571 #5 0xb78485f1 in default_method (env=0xbfcf61b4, host=0x0, methodName=0x827d0c0 "refreshWatchers", paramArray=0x827d970, serverInfo=0x0) at ../../mi/mi.h:84 #6 0xb79840fd in xmlrpc_dispatchCall () from /usr/lib/libxmlrpc_server.so.3 #7 0xb79842e7 in xmlrpc_registry_process_call () from /usr/lib/libxmlrpc_server.so.3 #8 0xb7846514 in handleXmlrpcReq (this=0x82650e8, abyssSessionP=0xbfcf6284, handledP=0xbfcf6338) at abyss_xmlrpc_server.c:381 #9 0xb7843a44 in serverFunc (userHandle=0x827b460) at abyss_server.c:1050 #10 0xb783e8f0 in connJob (userHandle=0x827b460) at abyss_conn.c:33 #11 0xb78457bc in ThreadCreate (threadPP=0x827b484, userHandle=0x827b460, func=0xb783e8d0 <connJob>, threadDone=0xb783e000 <threadDone>, useSigchld=0, errorP=0xbfcf64c0) at abyss_thread_fork.c:225 #12 0xb783e87d in ConnCreate (connectionPP=0xbfcf6528, serverP=0xb784de00, connectedSocketP=0x827b428, job=0xb78438d0 <serverFunc>, done=0xb78436b0 <destroyConnSocket>, foregroundBackground=ABYSS_BACKGROUND, useSigchld=0, errorP=0xbfcf6514) at abyss_conn.c:88 #13 0xb7843da3 in ServerRun (serverP=0xb784de00) at abyss_server.c:1419 #14 0xb7847238 in xmlrpc_process (rank=0) at mi_xmlrpc.c:235 #15 0x0809e805 in start_module_procs () at sr_module.c:571 #16 0x080692e0 in main (argc=13, argv=0xbfcf6734) at main.c:878 (gdb) frame 1 #1 0xb7997064 in get_subs_db (pres_uri=0xbfcf607c, event=0xb5930a30, sender=0x0, s_array=0xbfcf5ed8, n=0xbfcf5ed4) at notify.c:1005 warning: Source file is more recent than executable. 1005 s.record_route.len= (s.record_route.s)?strlen(s.record_route.s):0; (gdb) print s.record_route $1 = {s = 0x8c5a <Address 0x8c5a out of bounds>, len = 0} (gdb) print s $2 = {pres_uri = {s = 0x827d738 "sip:[EMAIL PROTECTED]", len = 26}, to_user = { s = 0x827dce0 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n", ' ' <repeats 16 times>, "<presence xmlns='urn:ietf:params:xml:ns:pidf' xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model' \n", ' ' <repeats 18 times>, "xmlns:rpid='urn:ietf:params:xm"..., len = 738}, to_domain = {s = 0x8292a20 "31162714019", len = 11}, from_user = {s = 0x8292a2c "budgetphone.nl", len = 14}, from_domain = {s = 0x8292a3b "31162714019", len = 11}, event = 0x0, event_id = {s = 0x8292a47 "budgetphone.nl", len = 14}, to_tag = { s = 0x8292a76 "10.5123.1204041897.284773", len = 25}, from_tag = {s = 0x8292a56 "[EMAIL PROTECTED]", len = 31}, callid = {s = 0x8292a90 "4a752cc55f2534f7", len = 16}, sockinfo_str = {s = 0x0, len = 0}, remote_cseq = 0, local_cseq = 0, contact = {s = 0x0, len = 0}, local_contact = {s = 0x0, len = 0}, record_route = {s = 0x8c5a <Address 0x8c5a out of bounds>, len = 0}, expires = 0, status = 0, reason = {s = 0x0, len = 0}, version = 0, send_on_cback = 0, db_flag = 0, auth_rules_doc = 0x0, next = 0x0} ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1912110&group_id=139143 _______________________________________________ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/devel