<p></p>
<p dir="auto">How should we enable the debug information when Kamailio is compiled from source please?</p>
<p dir="auto">At the moment running valgrind on a test system we get an output like the one below.</p>
<p dir="auto">==3246448== HEAP SUMMARY:<br>
==3246448==     in use at exit: 9,225,711 bytes in 293 blocks<br>
==3246448==   total heap usage: 4,020 allocs, 3,727 frees, 9,833,603 bytes allocated<br>
==3246448==<br>
==3246448== LEAK SUMMARY:<br>
==3246448==    definitely lost: 0 bytes in 0 blocks<br>
==3246448==    indirectly lost: 0 bytes in 0 blocks<br>
==3246448==      possibly lost: 0 bytes in 0 blocks<br>
==3246448==    still reachable: 9,225,711 bytes in 293 blocks<br>
==3246448==         suppressed: 0 bytes in 0 blocks<br>
==3246448== Rerun with --leak-check=full to see details of leaked memory<br>
==3246448==<br>
==3246448== For lists of detected and suppressed errors, rerun with: -s<br>
==3246448== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)<br>
==3246474== Invalid read of size 8<br>
==3246474==    at 0x5A89590: Perl__invlist_intersection_maybe_complement_2nd (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5A89BD4: ??? (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5A99C7E: ??? (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5AA0267: ??? (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5AA4D02: ??? (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5AA52CE: ??? (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5AA0086: ??? (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5AA4D02: ??? (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5AA52CE: ??? (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5AAA36B: Perl_re_op_compile (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5A3EC34: Perl_pmruntime (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
==3246474==    by 0x5A7B23A: Perl_yyparse (in /usr/lib/x86_64-linux-gnu/libperl.so.5.30.0)<br>
...etc..</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3134#issuecomment-1165960874">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPOTRJV3QTOTXCV2QDVQYTMHANCNFSM5X6CTBMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZMW4HH4XCGJX3Q32RDVQYTMHA5CNFSM5X6CTBMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIV7SNKQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3134/1165960874</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3134#issuecomment-1165960874",
"url": "https://github.com/kamailio/kamailio/issues/3134#issuecomment-1165960874",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>