Re: [SR-Users] kamailio crash after sqlops failures

2014-01-19 Thread Uri Shacked
Hi, I do use SQL query in several places. 1. In the failure route to insert an event to the local DB where ACC module does not do it. It is an insert to the local server DB and seems to be very fast. 2. In the "event_route[*dialog:end*]" I call a procedure to delete a row based on the callid as

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-18 Thread Daniel-Constantin Mierla
Hello, do you call any sql query in failure routes? I want to see of worth looking at if the query is too slow for the transaction to stay in memory after there is a final response to it. Cheers, Daniel On 16/01/14 11:51, Uri Shacked wrote: Daniel hi, I attached the following file: 1."bt

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-15 Thread Daniel-Constantin Mierla
Hello, the backtrace shows a crash in tm module, not sqlops. Can you tell which of the log files correspond to the instance that produced the core file from where you took the back trace you attached? Can you give the backtraces from all cores? You say there were 3 crashes. It is important t

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-08 Thread Daniel-Constantin Mierla
Previously you said 3.2.0, but anyhow there are new releases in the 3.3.x series as well -- just upgrade to the latest 3.3.x, config file and database are the same. Just deploy new binaries and restart. Cheers, Daniel On 06/01/14 15:27, Uri Shacked wrote: I am using 3.3.2 a91b2b-dirty On Su

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-06 Thread Uri Shacked
I am using 3.3.2 a91b2b-dirty On Sun, Jan 5, 2014 at 2:19 PM, Uri Shacked wrote: > Hi > > kamailio version 3.2.0 > 16M configured has private memory > and 4G as shared memory. > using sqlops to query the DB. > the DB was down and kamailio crashed after some time with the following > log under >

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-06 Thread Daniel-Constantin Mierla
Hello, can you upgrade to latest 3.2.x? Because there were many fixes since first release in that series (3.2.0). If the issue persists, would be good to get a backtrace. Not using sql_result_free() should not be a problem. Cheers, Daniel On 05/01/14 13:30, Uri Shacked wrote: And one more

Re: [SR-Users] kamailio crash after sqlops failures

2014-01-05 Thread Uri Shacked
And one more thing I am not using "sql_result_free(result)" Is it related to the problem? after all, there is no result if the DB was down On Sun, Jan 5, 2014 at 2:19 PM, Uri Shacked wrote: > Hi > > kamailio version 3.2.0 > 16M configured has private memory > and 4G as shared memory. >

[SR-Users] kamailio crash after sqlops failures

2014-01-05 Thread Uri Shacked
Hi kamailio version 3.2.0 16M configured has private memory and 4G as shared memory. using sqlops to query the DB. the DB was down and kamailio crashed after some time with the following log under 1. /var/log/messages "kernel: kamailio[PID]: segfault at 5 ip 7fdacc65e175 sp 7fff85897810