[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 
  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 
  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 
  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] 6d058e: presence_dialoginfo: Fix bounds checking by using ...

2014-03-26 Thread Bogdan Andrei IANCU
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d058ec495c2faa015b24f412e2fe1b55526657e
  
https://github.com/OpenSIPS/opensips/commit/6d058ec495c2faa015b24f412e2fe1b55526657e
  Author: Walter Doekes 
  Date:   2014-03-12 (Wed, 12 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 cut&pasted 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.


  Commit: ff937c874c663f94e849449b8e8e0dde7ce7e860
  
https://github.com/OpenSIPS/opensips/commit/ff937c874c663f94e849449b8e8e0dde7ce7e860
  Author: Bogdan Andrei IANCU 
  Date:   2014-03-26 (Wed, 26 Mar 2014)

  Changed paths:
M modules/presence_dialoginfo/notify_body.c

  Log Message:
  ---
  Merge pull request #177 from wdoekes/wjd-fix_dialogaggr_bounds

presence_dialoginfo: Fix bounds checking by using a helper function.


Compare: 
https://github.com/OpenSIPS/opensips/compare/ab22467a2ed8...ff937c874c66___
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
@wdoekes , thanks a lot for this fix ! I uploaded it on all maintained versions 
!!

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/177#issuecomment-38718400___
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 
  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 cut&pasted 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] fad349: presence_dialoginfo: Fix bounds checking by using ...

2014-03-26 Thread Walter Doekes
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fad349183d6271b8c6e7a40869b42383fe784fd9
  
https://github.com/OpenSIPS/opensips/commit/fad349183d6271b8c6e7a40869b42383fe784fd9
  Author: Walter Doekes 
  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 cut&pasted 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 
  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 cut&pasted 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] e69cc9: New modules included

2014-03-26 Thread Nick Altmann
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: e69cc9f0f182d8da97c592aeb1bdaa8c88b69cb0
  
https://github.com/OpenSIPS/opensips/commit/e69cc9f0f182d8da97c592aeb1bdaa8c88b69cb0
  Author: fabriziopicconi 
  Date:   2014-03-22 (Sat, 22 Mar 2014)

  Changed paths:
M packaging/rpm/opensips.spec.CentOS

  Log Message:
  ---
  New modules included

Some new rpm optional modules are added:
b2b_sca,call_center,mi_json,script_helper


  Commit: 41d677c158896f9d3c95d4ebea5d41da9ae704b4
  
https://github.com/OpenSIPS/opensips/commit/41d677c158896f9d3c95d4ebea5d41da9ae704b4
  Author: Nick Altmann 
  Date:   2014-03-23 (Sun, 23 Mar 2014)

  Changed paths:
M packaging/rpm/opensips.spec.CentOS

  Log Message:
  ---
  Merge pull request #182 from fabriziopicconi/patch-12

Update centos spec file: new modules included


Compare: 
https://github.com/OpenSIPS/opensips/compare/575c0db9193d...41d677c15889___
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 
  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 
  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  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 
> GitHub
> .
>
> ___
> 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
(gdb) bt full
#0  0x2b43f23b3d99 in db_mysql_get_columns (_h=, 
_r=0x2b43f21afb70) at res.c:71
col = 1
fields = 
__FUNCTION__ = "db_mysql_get_columns"
#1  0x2b43f23aca49 in db_mysql_fetch_result (_h=0x2b43f21af9e8, 
_r=0x7fffd5e778f0, nrows=236) at dbase.c:986
rows = 
i = 
__FUNCTION__ = "db_mysql_fetch_result"
#2  0x2b43f376e9ec in select_entire_dialog_table (res=0x7fffd5e778f0, 
no_rows=0x7fffd5e778fc) at dlg_db_handler.c:263
query_cols = {0x2b43f39bbdb0, 0x2b43f39bbdc0, 0x2b43f39bbdd0, 
0x2b43f39bbde0, 0x2b43f39bbdf0, 0x2b43f39bbe00, 0x2b43f39bbe20, 0x2b43f39bbe10,
  0x2b43f39bbe30, 0x2b43f39bbe50, 0x2b43f39bbe40, 0x2b43f39bbe90, 
0x2b43f39bbe80, 0x2b43f39bbeb0, 0x2b43f39bbea0, 0x2b43f39bbed0, 0x2b43f39bbec0,
  0x2b43f39bbf00, 0x2b43f39bbf10, 0x2b43f39bbf20, 0x2b43f39bbe70, 
0x2b43f39bbe60, 0x2b43f39bbf30, 0x2b43f39bbee0, 0x2b43f39bbef0}
__FUNCTION__ = "select_entire_dialog_table"
#3  0x2b43f3771686 in load_dialog_info_from_db (db_url=0x2b43f39bc0d0, 
dlg_hash_size=, db_update_period=60) at 
dlg_db_handler.c:512
__FUNCTION__ = "load_dialog_info_from_db"
#4  init_dlg_db (db_url=0x2b43f39bc0d0, dlg_hash_size=, 
db_update_period=60) at dlg_db_handler.c:209
__FUNCTION__ = "init_dlg_db"
#5  0x2b43f3765ee2 in mod_init () at dialog.c:823
n = 
__FUNCTION__ = "mod_init"
#6  0x0048f102 in init_mod (m=0x2b43f21b0c88) at sr_module.c:459
__FUNCTION__ = "init_mod"
#7  0x0048f07f in init_mod (m=0x2b43f21b1100) at sr_module.c:454
__FUNCTION__ = "init_mod"
#8  0x0048f07f in init_mod (m=0x2b43f21b11d0) at sr_module.c:454
__FUNCTION__ = "init_mod"
#9  0x0048f07f in init_mod (m=0x2b43f21b12a0) at sr_module.c:454
__FUNCTION__ = "init_mod"
#10 0x0048f07f in init_mod (m=0x2b43f21b1370) at sr_module.c:454
__FUNCTION__ = "init_mod"
#11 0x0048f07f in init_mod (m=0x2b43f21b1440) at sr_module.c:454
__FUNCTION__ = "init_mod"
#12 0x0048f07f in init_mod (m=0x2b43f21b1510) at sr_module.c:454
__FUNCTION__ = "init_mod"
#13 0x0048f07f in init_mod (m=0x2b43f21b15e0) at sr_module.c:454
__FUNCTION__ = "init_mod"
#14 0x0048f07f in init_mod (m=0x2b43f21b16b0) at sr_module.c:454
__FUNCTION__ = "init_mod"
#15 0x0048f07f in init_mod (m=0x2b43f21b1780) at sr_module.c:454
__FUNCTION__ = "init_mod"
#16 0x0048f07f in init_mod (m=0x2b43f21b1850) at sr_module.c:454
__FUNCTION__ = "init_mod"
#17 0x0048f07f in init_mod (m=0x2b43f21b1920) at sr_module.c:454
__FUNCTION__ = "init_mod"
---Type  to continue, or q  to quit---
#18 0x0048f07f in init_mod (m=0x2b43f21b19f0) at sr_module.c:454
__FUNCTION__ = "init_mod"
#19 0x0048f07f in init_mod (m=0x2b43f21b1ac0) at sr_module.c:454
__FUNCTION__ = "init_mod"
#20 0x0048f07f in init_mod (m=0x2b43f21b1b90) at sr_module.c:454
__FUNCTION__ = "init_mod"
#21 0x00438178 in main (argc=, argv=0x7da2) at 
main.c:1574
cfg_log_stderr = 0
cfg_stream = 0x17f855e0
c = 
r = 
tmp = 0x55f037 "H\215\005\302\037%"
tmp_len = 
port = 0
proto = -706249344
ret = 
seed = 2606154063
rfd = 
__FUNCTION__ = "main"


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/186#issuecomment-38741216___
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
Do you have the latest version from git?
Please print out the output of: opensips -V
There were some fixes related to memory a while ago and you need to make
sure that you have them.
See commit 22ca1a66d4811c620d32a1058e95f605a57ebfb3

Regards,
Ovidiu Sas
___
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


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

2014-03-26 Thread apsaras
The same issue with latest 1.11

version: opensips 1.11.0beta-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: fad3491
@(#) $Id$
main.c compiled on 23:38:17 Mar 26 2014 with gcc 4.1.2


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/186#issuecomment-38743929___
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
Please post the output of bt full somewhere on pastebin (one week
expiration).
Github messed up the output.
Please print also the value of fields[1].

Regards,
Ovidiu Sas


On Wed, Mar 26, 2014 at 5:43 PM, apsaras  wrote:

> The same issue with latest 1.11
>
> version: opensips 1.11.0beta-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: fad3491
> @(#) $Id$
> main.c compiled on 23:38:17 Mar 26 2014 with gcc 4.1.2
>
> --
> Reply to this email directly or view it on 
> GitHub
> .
>
> ___
> 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