THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#283 - xcap_server crash
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Fixed
Additional comments about closing: Should be fixed by GIT#2d27dd1080cd490e93646b38d3912dcbe3761ca5
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=283
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
i got this warning on debian wheezy while building ctl command on master:
parse_listen_id.c: In function 'str2s':
parse_listen_id.c:66:17: warning: variable 'init' set but not used [-Wunused-but-set-variable]
that i don't remember seeing it before, but may be i was not looking.
-- juha
i have in usrloc memory a single AOR that has two contacts with the same
ruid:
sip-proxy_ctl mi ul_dump | grep -E -i -w 'AOR|Ruid'
AOR:: jh(a)test.fi
Ruid:: uloc-516852e9-1a18-1
Ruid:: ulcx-516852e9-1a16-1
Ruid:: ulcx-516852e9-1a16-1
in location table is it not possible because of this:
<index>
<name>ruid_idx</name>
<colref linkend="ruid"/>
<unique/>
</index>
as result, i'm getting these kind of errors to syslog:
Apr 13 10:48:40 siika /usr/sbin/sip-proxy[6704]: ERROR: db_mysql [km_dbase.c:122]: driver error on query: Duplicate entry 'ulcx-516852e9-1a16-1' for key 'ruid_idx'
Apr 13 10:48:40 siika /usr/sbin/sip-proxy[6704]: ERROR: <core> [db_query.c:235]: error while submitting query
Apr 13 10:48:40 siika /usr/sbin/sip-proxy[6704]: ERROR: usrloc [ucontact.c:615]: inserting contact in db failed
Apr 13 10:48:40 siika /usr/sbin/sip-proxy[6704]: ERROR: usrloc [urecord.c:352]: inserting contact into database failed
this happened while i was doing tests with master, but may be this bug
already exists in 4.0.
how is it possible that memory usrloc has two contacts with same ruid?
-- juha
parser has parse_supported function that produces a bitmap of all
supported options. based on that it would be quite easy to implement
is_supported(option)
function. however, i was not able to find such a function. is there
one?
if not, i could try to implement it.
-- juha
Module: sip-router
Branch: 4.0
Commit: 5ba5a0a5bb6fc5080604e1abaef6cd41148911de
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5ba5a0a…
Author: Richard Fuchs <rfuchs(a)sipwise.com>
Committer: Richard Fuchs <rfuchs(a)sipwise.com>
Date: Wed Apr 10 09:33:53 2013 -0400
srdb1: add new db-private generic pointer to struct db1_res
---
lib/srdb1/db_res.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/srdb1/db_res.h b/lib/srdb1/db_res.h
index f8f909f..62fc11c 100644
--- a/lib/srdb1/db_res.h
+++ b/lib/srdb1/db_res.h
@@ -61,6 +61,7 @@ typedef struct db1_res {
int n; /**< Number of rows in current fetch */
int res_rows; /**< Number of total rows in query */
int last_row; /**< Last row */
+ void* ptr; /**< For use by DB modules */
} db1_res_t;
@@ -78,6 +79,8 @@ typedef struct db1_res {
#define RES_LAST_ROW(re) ((re)->last_row)
/** Return the number of total result rows */
#define RES_NUM_ROWS(re) ((re)->res_rows)
+/** Return the module-specific pointer */
+#define RES_PTR(re) ((re)->ptr)
/**