[OpenSIPS-Devel] [OpenSIPS/opensips] ab2246: Fixed detection of the module functions used in sc...

2014-03-26 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ab22467a2ed8af97ba89ce53144d4414dbcd5a52
  
https://github.com/OpenSIPS/opensips/commit/ab22467a2ed8af97ba89ce53144d4414dbcd5a52
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
M route_struct.c

  Log Message:
  ---
  Fixed detection of the module functions used in script - we need to look also 
into the logical expressions (like IF and WHILE conditions)
Credits for reportind and helping with the troubleshooting go to Justin Zondagh


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 932e7d: Fixed detection of the module functions used in sc...

2014-03-26 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 932e7d5ccd7e5499c68634c05b6ea24d55d66225
  
https://github.com/OpenSIPS/opensips/commit/932e7d5ccd7e5499c68634c05b6ea24d55d66225
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
M route_struct.c

  Log Message:
  ---
  Fixed detection of the module functions used in script - we need to look also 
into the logical expressions (like IF and WHILE conditions)
Credits for reportind and helping with the troubleshooting go to Justin Zondagh

(cherry picked from commit ab22467a2ed8af97ba89ce53144d4414dbcd5a52)


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 5cb96e: Fixed detection of the module functions used in sc...

2014-03-26 Thread Bogdan-Andrei Iancu
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5cb96e4e966292050a1463e4ac1d6ee8d6308878
  
https://github.com/OpenSIPS/opensips/commit/5cb96e4e966292050a1463e4ac1d6ee8d6308878
  Author: Bogdan-Andrei Iancu bog...@opensips.org
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
M route_struct.c

  Log Message:
  ---
  Fixed detection of the module functions used in script - we need to look also 
into the logical expressions (like IF and WHILE conditions)
Credits for reportind and helping with the troubleshooting go to Justin Zondagh

(cherry picked from commit ab22467a2ed8af97ba89ce53144d4414dbcd5a52)


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] presence_dialoginfo: Fix bounds checking by using a helper function. (#177)

2014-03-26 Thread Bogdan Andrei IANCU
Merged #177.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/177___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 2d1e4a: presence_dialoginfo: Fix bounds checking by using ...

2014-03-26 Thread Walter Doekes
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2d1e4a8706cf256b2f0883e457d9598d2420399e
  
https://github.com/OpenSIPS/opensips/commit/2d1e4a8706cf256b2f0883e457d9598d2420399e
  Author: Walter Doekes walter+git...@wjd.nu
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
M modules/presence_dialoginfo/notify_body.c

  Log Message:
  ---
  presence_dialoginfo: Fix bounds checking by using a helper function.

Reported by: dsandras
 About the bound checking error, the code was cutpasted from another
 place in the same file where the same error is still present:
 ...

Also I replaced a heap str with a stack one in build_dialoginfo. This
one wasn't freed either unless an error condition was hit.

(cherry picked from commit 6d058ec495c2faa015b24f412e2fe1b55526657e)


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 3972d2: presence_dialoginfo: Fix bounds checking by using ...

2014-03-26 Thread Walter Doekes
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3972d266958e6e49110a881e1c9733fa066873ff
  
https://github.com/OpenSIPS/opensips/commit/3972d266958e6e49110a881e1c9733fa066873ff
  Author: Walter Doekes walter+git...@wjd.nu
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
M modules/presence_dialoginfo/notify_body.c

  Log Message:
  ---
  presence_dialoginfo: Fix bounds checking by using a helper function.

Reported by: dsandras
 About the bound checking error, the code was cutpasted from another
 place in the same file where the same error is still present:
 ...

Also I replaced a heap str with a stack one in build_dialoginfo. This
one wasn't freed either unless an error condition was hit.

(cherry picked from commit 6d058ec495c2faa015b24f412e2fe1b55526657e)


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 38dc20: Fix two mem corruptions.

2014-03-26 Thread Walter Doekes
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 38dc20be0c20576510a8c57e296741c24a743a80
  
https://github.com/OpenSIPS/opensips/commit/38dc20be0c20576510a8c57e296741c24a743a80
  Author: Walter Doekes walter+git...@wjd.nu
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
M modules/xcap_client/xcap_callbacks.c
M modules/xcap_client/xcap_functions.c

  Log Message:
  ---
  Fix two mem corruptions.

Closes github issue #176


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] xcap_client: Fix two mem corruptions. (#176)

2014-03-26 Thread Bogdan Andrei IANCU
@wdoekes , this bug seems to be already fixed on trunk and 1.11, so I pushed 
your fix on 1.10 and 1.8. Once again, many thanks !

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/176#issuecomment-38720530___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] xcap_client: Fix two mem corruptions. (#176)

2014-03-26 Thread Bogdan Andrei IANCU
Closed #176.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/176___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 9c3fdd: Fix two mem corruptions.

2014-03-26 Thread Walter Doekes
  Branch: refs/heads/1.8
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9c3fdda8073fec5e67dcd55bd627c201a72d6d5b
  
https://github.com/OpenSIPS/opensips/commit/9c3fdda8073fec5e67dcd55bd627c201a72d6d5b
  Author: Walter Doekes walter+git...@wjd.nu
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
M modules/xcap_client/xcap_callbacks.c
M modules/xcap_client/xcap_functions.c

  Log Message:
  ---
  Fix two mem corruptions.

Closes github issue #176


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [opensips] Core dump at db_mysql (#186)

2014-03-26 Thread apsaras
Hello

I have a fully updated Centos 5 64Bit and playing around with 1.11 Beta. I am 
using MySQL as back end version 5.5.36 and I get the following during start up 
of opensips

Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_connect: server version is 
5.5.36-log
Mar 26 23:02:51 [32162] DBG:core:db_do_init: connection 0x2b43f21af968 inserted 
in pool as 0x2b43f21afb10
Mar 26 23:02:51 [32162] DBG:db_mysql:mysql_raise_event: MySQL status has not 
changed: connected
Mar 26 23:02:51 [32162] DBG:core:db_new_result: allocate 48 bytes for result 
set at 0x2b43f21afb70
Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: 1 columns returned 
from the query
Mar 26 23:02:51 [32162] DBG:core:db_allocate_columns: allocate 28 bytes for 
result columns at 0x2b43f21afbb8
Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: 
RES_NAMES(0x2b43f21afbc0)[0]=[table_version]
Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: use DB_INT result 
type
Mar 26 23:02:51 [32162] DBG:core:db_allocate_rows: allocate 48 bytes for result 
rows and values at 0x2b43f21da9a8
Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_str2val: converting INT [9]
Mar 26 23:02:51 [32162] DBG:core:db_free_columns: freeing result columns at 
0x2b43f21afbb8
Mar 26 23:02:51 [32162] DBG:core:db_free_rows: freeing 1 rows
Mar 26 23:02:51 [32162] DBG:core:db_free_row: freeing row values at 
0x2b43f21da9b8
Mar 26 23:02:51 [32162] DBG:core:db_free_rows: freeing rows at 0x2b43f21da9a8
Mar 26 23:02:51 [32162] DBG:core:db_free_result: freeing result set at 
0x2b43f21afb70
Mar 26 23:02:51 [32162] DBG:db_mysql:mysql_raise_event: MySQL status has not 
changed: connected
Mar 26 23:02:51 [32162] DBG:core:db_new_result: allocate 48 bytes for result 
set at 0x2b43f21afb70
Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: 25 columns returned 
from the query
Mar 26 23:02:51 [32162] DBG:core:db_allocate_columns: allocate 700 bytes for 
result columns at 0x2b43f21da9f0
Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: 
RES_NAMES(0x2b43f21daab8)[0]=[dlg_id]
Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: use DB_BIGINT result 
type
Segmentation fault (core dumped)

Thank you for your help

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/186___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Core dump at db_mysql (#186)

2014-03-26 Thread Ovidiu Sas
Make sure that you use the latest version of opensips from git.
It seems that you have a core file.
Get the output of the core file:
http://www.opensips.org/Documentation/TroubleShooting-Crash

Regards,
Ovidiu Sas


On Wed, Mar 26, 2014 at 5:13 PM, apsaras notificati...@github.com wrote:

 Hello

 I have a fully updated Centos 5 64Bit and playing around with 1.11 Beta. I
 am using MySQL as back end version 5.5.36 and I get the following during
 start up of opensips

 Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_connect: server version is
 5.5.36-log
 Mar 26 23:02:51 [32162] DBG:core:db_do_init: connection 0x2b43f21af968
 inserted in pool as 0x2b43f21afb10
 Mar 26 23:02:51 [32162] DBG:db_mysql:mysql_raise_event: MySQL status has
 not changed: connected
 Mar 26 23:02:51 [32162] DBG:core:db_new_result: allocate 48 bytes for
 result set at 0x2b43f21afb70
 Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: 1 columns
 returned from the query
 Mar 26 23:02:51 [32162] DBG:core:db_allocate_columns: allocate 28 bytes
 for result columns at 0x2b43f21afbb8
 Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns:
 RES_NAMES(0x2b43f21afbc0)[0]=[table_version]
 Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: use DB_INT
 result type
 Mar 26 23:02:51 [32162] DBG:core:db_allocate_rows: allocate 48 bytes for
 result rows and values at 0x2b43f21da9a8
 Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_str2val: converting INT [9]
 Mar 26 23:02:51 [32162] DBG:core:db_free_columns: freeing result columns
 at 0x2b43f21afbb8
 Mar 26 23:02:51 [32162] DBG:core:db_free_rows: freeing 1 rows
 Mar 26 23:02:51 [32162] DBG:core:db_free_row: freeing row values at
 0x2b43f21da9b8
 Mar 26 23:02:51 [32162] DBG:core:db_free_rows: freeing rows at
 0x2b43f21da9a8
 Mar 26 23:02:51 [32162] DBG:core:db_free_result: freeing result set at
 0x2b43f21afb70
 Mar 26 23:02:51 [32162] DBG:db_mysql:mysql_raise_event: MySQL status has
 not changed: connected
 Mar 26 23:02:51 [32162] DBG:core:db_new_result: allocate 48 bytes for
 result set at 0x2b43f21afb70
 Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: 25 columns
 returned from the query
 Mar 26 23:02:51 [32162] DBG:core:db_allocate_columns: allocate 700 bytes
 for result columns at 0x2b43f21da9f0
 Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns:
 RES_NAMES(0x2b43f21daab8)[0]=[dlg_id]
 Mar 26 23:02:51 [32162] DBG:db_mysql:db_mysql_get_columns: use DB_BIGINT
 result type
 Segmentation fault (core dumped)

 Thank you for your help

 --
 Reply to this email directly or view it on 
 GitHubhttps://github.com/OpenSIPS/opensips/issues/186
 .

 ___
 Devel mailing list
 Devel@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/devel




-- 
VoIP Embedded, Inc.
http://www.voipembedded.com
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Core dump at db_mysql (#186)

2014-03-26 Thread apsaras
I just downloaded opensips_head and tested. I have the same issue

version: opensips 1.12.0dev-tls (x86_64/linux)
flags: STATS: On, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST, 
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: ff937c8
@(#) $Id$
main.c compiled on 23:25:29 Mar 26 2014 with gcc 4.1.2

I can test with 1.11 if you want.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/186#issuecomment-38742469___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel