[OpenSIPS-Users] opensips 3.2.2 Segfault on debian 11 bullseye

James Fox jpfox156 at yahoo.com.au
Fri Sep 24 14:53:27 EST 2021


Hi all,

 

I believe I am seeing the same issue as William.

 

I've recently upgraded to Opensips 3.2.0 branch, compiled for arm64 and
using sqlite db module. Passwords are stored as plaintext for auth_db. I
don't have a crash dump available at the moment, but can see my installation
is regularly segfaulting on www-authorize when handling REGISTER
transactions. 

 

Relevant script trace:

: Sep 25 00:09:38 [77082] [Script
Trace][/etc/opensips/opensips.cfg:401][core if] -> (REGISTER from
10.1.1.111, ruri=sip:192.168.2.3, user=1001@<null>)

: Sep 25 00:09:38 [77082] DBG:core:parse_headers: flags=14000

: Sep 25 00:09:38 [77082] DBG:core:parse_headers: flags=14000

: Sep 25 00:09:38 [77082] [Script
Trace][/etc/opensips/opensips.cfg:376][module is_method] -> (REGISTER from
10.1.1.111, ruri=sip:192.168.2.3, user=1001@<null>)

: Sep 25 00:09:38 [77082] DBG:core:parse_headers: flags=14000

: Sep 25 00:09:38 [77082] DBG:core:parse_headers: flags=14000

: Sep 25 00:09:38 [77082] [Script
Trace][/etc/opensips/opensips.cfg:386][core if] -> (REGISTER from
10.1.1.111, ruri=sip:192.168.2.3, user=1001@<null>)

: Sep 25 00:09:38 [77082] DBG:core:parse_headers: flags=14000

: Sep 25 00:09:38 [77082] DBG:core:parse_headers: flags=14000

: Sep 25 00:09:38 [77082] [Script
Trace][/etc/opensips/opensips.cfg:378][module www_authorize] -> (REGISTER
from 10.1.1.111, ruri=sip:192.168.2.3, user=1001@<null>)

: Sep 25 00:09:38 [77082] DBG:auth:pre_auth: nonce index= 0

: Sep 25 00:09:38 [77082] DBG:core:db_new_result: allocate 48 bytes for
result set at 0xffffb5f10c58

: Sep 25 00:09:38 [77082] DBG:db_sqlite:db_sqlite_get_columns: 1 columns
returned from the query

: Sep 25 00:09:38 [77082] DBG:core:db_allocate_columns: allocate 28 bytes
for result columns at 0xffffb5f10cb8

: Sep 25 00:09:38 [77082] DBG:db_sqlite:db_sqlite_get_columns:
RES_NAMES(0xffffb5f10cc0)[0]=[password]

: Sep 25 00:09:38 [77082] CRITICAL:core:sig_usr: segfault in process pid:
77082, id: 11

: Sep 25 00:09:38 [77082] DBG:core:restore_segv_handler: restoring SIGSEGV
handler...

: Sep 25 00:09:38 [77082] DBG:core:restore_segv_handler: successfully
restored system SIGSEGV handler

: Sep 25 00:09:38 [77070] DBG:core:handle_sigs: OpenSIPS exit status = 11

 

Relevant auth_db configuration parameters from my script:

loadmodule "auth_db.so"

modparam("auth_db", "calculate_ha1", yes)

modparam("auth_db", "password_column", "password")

modparam("auth_db", "load_credentials", "")

 

Previously this script was working with Opensips 3.1.1. I've manually
upgraded the subscriber database schema to include the new column:
ha1_sha512t256. 

 

I'll work on getting a crash dump. Any ideas in the meantime would be
welcome. 

 

Regards,

 

James


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210925/9d3ce282/attachment.html>


More information about the Users mailing list