THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#319 - Possible memory leak in srdb1
User who did this - Konstantin (Konstantin)
----------
I found an example of dynamically allocated column names in db_oracle module (get_columns function in res.c file).
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=319#comment1012
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Hugh Waite (hugh.waite)
Attached to Project - sip-router
Summary - Websocket module leaks tcp connection buffers
Task Type - Bug Report
Category - tcp
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - The websocket module uses the tcpconn_get function when it needs to lookup the tcp connection from a websocket connection structure.
The tcpconn_get function increases to reference count of the connection, and the structure, including the buffer, is not freed while this count is positive.
I have tried solve this by adding a tcpconn_put function at the end of each function that did a get, but the system is still leaking buffers.
These buffers are not visible in the tcp.dump output because the connection has been closed, but they can be seen in a memory dump (the buffer is 1MB on our system)
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=326
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#319 - Possible memory leak in srdb1
User who did this - Konstantin (Konstantin)
----------
Yes Daniel, give me time please to find an example.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=319#comment1011
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#319 - Possible memory leak in srdb1
User who did this - Daniel-Constantin Mierla (miconda)
----------
Have you read my previous comment? Why you add again the patch?
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=319#comment1010
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#319 - Possible memory leak in srdb1
User who did this - Konstantin (Konstantin)
----------
Please find the fix in the attachment
----------
One or more files have been attached.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=319#comment1009
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#319 - Possible memory leak in srdb1
User who did this - Daniel-Constantin Mierla (miconda)
----------
I checked and the column name is not allocated dynamically by kamailio, but points to a structure to underline db lib. I looked at db_mysql and db_postgres.
For example with postgres, the column is set with:
/* The pointer that is here returned is part of the result structure. */
RES_NAMES(_r)[col]->s = PQfname(CON_RESULT(_h), col);
RES_NAMES(_r)[col]->len = strlen(PQfname(CON_RESULT(_h), col));
Now, looking at postgres lib manual:
PQfname - Returns the column name associated with the given column number. Column numbers start at 0. The caller should not free the result directly. It will be freed when the associated PGresult handle is passed to PQclear.
Therefore kamailio should not free RES_NAMES(_r)[col]->s.
If you think is different, provide more details of how you consider that RES_NAMES(_r)[col]->s is allocated dynamically by kamailio.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=319#comment1008
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#294 - force_send_socket() doesnt set the source IP address reliably when using uac_req_send()
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Implemented
Additional comments about closing: Re-open if not working.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=294
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#294 - force_send_socket() doesnt set the source IP address reliably when using uac_req_send()
User who did this - Daniel-Constantin Mierla (miconda)
----------
I committed to master branch an enhancement to be able to set local socket for uac requests.
You have to set:
$uac_req(sock)= "proto:host:port";
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=294#comment1007
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.