<p></p>
<h3>Description</h3>
<p>I have compiled Kamailio on aarch64 hosts with Google ASAN. Also used system memory manager ("make MEMPKG=sys cfg").</p>
<p>During compilation used flags</p>
<pre><code>-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fno-sanitize=null -fno-sanitize=alignment
</code></pre>
<p>When Kamailio is started with the default config file I get an error</p>
<pre><code>core/script_cb.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
</code></pre>
<p>As used 64 bit CPU, looks like a strange this error</p>
<h3>Additional Information</h3>
<p>compiled commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/102d5dab4f45cab238ffeb72e7ddf378c8daa17d/hovercard" href="https://github.com/kamailio/kamailio/commit/102d5dab4f45cab238ffeb72e7ddf378c8daa17d"><tt>102d5da</tt></a></p>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>
<pre><code>[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
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2897">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPLYCNPBPABFTB2XPLUIMJXXANCNFSM5GSTX7NQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZJIXPVBZGF7OZNR24DUIMJXXA5CNFSM5GSTX7N2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PNFNLYA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2897",
"url": "https://github.com/kamailio/kamailio/issues/2897",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>