[sr-dev] [tracker] Task opened: htable sht_lock problem

sip-router bugtracker at sip-router.org
Thu Nov 6 17:53:54 CET 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Savolainen Dmitri (snen) 

Attached to Project - sip-router
Summary - htable sht_lock problem
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - 4.2
Due in Version - Undecided
Due Date - Undecided
Details - i have config look like this

<code>

........

modparam("htable", "htable", "lock_test=>size=4;")

........

route{    
$sht(lock_test=>some_item) = 0;
sht_lock("lock_test=>some_item");
xlog("L_INFO", "inside lock before inc");
$sht(lock_test=>some_item) = $sht(lock_test=>some_item) + 1;
xlog("L_INFO", "inside lock after inc");
sht_unlock("lock_test=>some_item");
}
</code>

in log file after SIP reguest
<code>
Nov  6 19:38:12 sw4 ./kamailio[8754]: INFO: ctl [io_listener.c:225]: io_listen_loop(): io_listen_loop:  using epoll_lt io watch method (config)
Nov  6 19:38:12 sw4 ./kamailio[8726]: INFO: <script>: inside lock before inc




</code>

there is no message "inside lock after inc"  

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=490

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.



More information about the sr-dev mailing list