### Description
I have compiled Kamailio on aarch64 hosts with Google ASAN. Also used system memory manager ("make MEMPKG=sys cfg").
During compilation used flags ``` -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize=null -fno-sanitize=alignment ``` When Kamailio is started with the default config file I get an error
``` core/script_cb.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' ``` As used 64 bit CPU, looks like a strange this error
### Additional Information
compiled commit 102d5dab4f45cab238ffeb72e7ddf378c8daa17d
* **Operating System**:
``` [root@logger-west kamailio]# uname -a Linux example.com 4.18.0-305.7.1.el8_4.aarch64 #1 SMP Tue Jun 29 21:32:00 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
[root@logger-west kamailio]# lsb_release -a LSB Version: :core-4.1-aarch64:core-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 8.4.2105 Release: 8.4.2105 Codename: n/a ```
I made the related 1's to be explicitly unsigned int constant literals.
If still a problem at that line, reopen. If ok, it will be backported to 5.5.
Closed #2897.
Reopened #2897.
just compiled 77bc4c6c96cfb2ce5b7086ccfffd19750b085d74 with `ASAN`. Now with default config Kamailio started properly.
Then I started with my config and get similar error. ``` 0(571247) INFO: <core> [core/tcp_main.c:4997]: init_tcp(): using epoll_lt as the io watch method (auto detected) 0(571247) NOTICE: regex [regex_mod.c:168]: mod_init(): 'file' parameter is not set, group matching disabled ../../core/hashes.h:276:8: runtime error: left shift of 198 by 24 places cannot be represented in type 'int' ```
Can you try again with master branch? I pushed a commit for last error message.
Thanks Tested f7f9ea0f3cfb8e61a4f2f47a214cb4e89d713da4. Now Kamailio started properly.
Closed #2897.