<HTML><BODY><div class="cl-vl2z8ckiog"><div>Hi, Sergey!</div><div> </div><div>> Fixed your comment and force-pushed the branch.</div><div> </div><div>Thanks for the patch!</div><div> </div><div>Also, I have a problem to run lldb tests inside Docker container with Ubuntu 24.04.</div><div> </div><div>The gdb produce a warning «Error disabling address space randomization: Operation not permitted» only, but lldb produce an error «Cannot launch '/xxx/src/luajit': personality set failed: Operation not permitted» and don’t want to continue without disabling the ASLR. ‘/xxx’ is my build directory.</div><div> </div><div>Please, consider this fix:</div><div> </div><div><div><div>diff --git a/test/tarantool-debugger-tests/debug-extension-tests.py b/test/tarantool-debugger-tests/debug-extension-tests.py</div><div>index f337f0e9..65eefd0c 100644</div><div>--- a/test/tarantool-debugger-tests/debug-extension-tests.py</div><div>+++ b/test/tarantool-debugger-tests/debug-extension-tests.py</div><div>@@ -22,7 +22,7 @@ TIMEOUT = 10</div><div> if LLDB:</div><div>     INFERIOR_ARGS = '--'</div><div>     LOAD_EXTENSION = 'command script import ' + EXTENSION</div><div>-    PROCESS_RUN = 'process launch'</div><div>+    PROCESS_RUN = 'settings set target.disable-aslr false\nprocess launch'</div><div>     # Don't run any initialization scripts.</div><div>     RUN_CMD_FILE = [</div><div>         '--batch',</div></div></div><div> </div><div> </div><div data-signature-widget="container"><div data-signature-widget="content"><div>--<br>Best regards,</div><div>Evgeniy Temirgaleev</div></div></div><br><div class="mail-quote-collapse"><blockquote style="border-left:1px solid #0857A6;margin:10px;padding:0 0 0 10px"><span>From: Sergey Kaplun <<a href="mailto:skaplun@tarantool.org">skaplun@tarantool.org</a>><br>To: Evgeniy Temirgaleev <<a href="mailto:e.temirgaleev@tarantool.org">e.temirgaleev@tarantool.org</a>><br>Cc: tarantool-patches@dev.tarantool.org, Mikhail Elhimov <<a href="mailto:m.elhimov@vk.team">m.elhimov@vk.team</a>>, Sergey Bronnikov <<a href="mailto:sergeyb@tarantool.org">sergeyb@tarantool.org</a>><br>Date: Tuesday, May 26, 2026 5:42 PM +03:00</span><br> <div><div id=""><div class="cl-dq4xx0m3fc"><div class="js-helper_mr_css_attr js-readmsg-msg_mr_css_attr"><div id="style_17798065331224962514_mr_css_attr"><div id="style_17798065331224962514_BODY_mr_css_attr">Hi, Evgeniy!<br>Thanks for the review!<br>Fixed your comment and force-pushed the branch.<br><br>On 26.05.26, Evgeniy Temirgaleev wrote:<br>> Hi, Sergey!<br>><br>> Thanks for the patch. Please, consider my suggestion: the debugger-aware «constants» are defined in one block per debugger.<br>><br>> diff --git a/test/tarantool-debugger-tests/debug-extension-tests.py b/test/tarantool-debugger-tests/debug-extension-tests.py<br>> index 30a2c478..f4414f4d 100644<br>> --- a/test/tarantool-debugger-tests/debug-extension-tests.py<br>> +++ b/test/tarantool-debugger-tests/debug-extension-tests.py<br>> @@ -19,9 +19,6 @@ LLDB = 'lldb' in DEBUGGER<br>> EXTENSION = EXTENSION_PATH + '/luajit_dbg.py'<br>> TIMEOUT = 10<br>><br>> -# Don't run any initialization scripts.<br>> -RUN_CMD_FILE = []<br>> -<br>> if LLDB:<br>> RUN_CMD_FILE = [<br>> '--batch',<br>> @@ -30,15 +27,15 @@ if LLDB:<br>> '--source-quietly',<br>> '--source'<br>> ]<br>> +    INFERIOR_ARGS = '--'<br>> +    PROCESS_RUN = 'process launch'<br>> +    LOAD_EXTENSION = 'command script import {ext}'.format(ext=EXTENSION)<br>> else:<br>> # GDB.<br>> RUN_CMD_FILE = ['--batch', '--nx', '--quiet', '--command']<br>> -<br>> -INFERIOR_ARGS = '--' if LLDB else '--args'<br>> -PROCESS_RUN = 'process launch' if LLDB else 'r'<br>> -LOAD_EXTENSION = (<br>> -    'command script import {ext}' if LLDB else 'source {ext}'<br>> -).format(ext=EXTENSION)<br>> +    INFERIOR_ARGS = '--args'<br>> +    PROCESS_RUN = 'r'<br>> +    LOAD_EXTENSION = 'source {ext}'.format(ext=EXTENSION)<br><br>Fixed. See the iterative patch below:<br><br>===================================================================<br>diff --git a/test/tarantool-debugger-tests/debug-extension-tests.py b/test/tarantool-debugger-tests/debug-extension-tests.py<br>index 30a2c478..f337f0e9 100644<br>--- a/test/tarantool-debugger-tests/debug-extension-tests.py<br>+++ b/test/tarantool-debugger-tests/debug-extension-tests.py<br>@@ -19,10 +19,11 @@ LLDB = 'lldb' in DEBUGGER<br>EXTENSION = EXTENSION_PATH + '/luajit_dbg.py'<br>TIMEOUT = 10<br><br>-# Don't run any initialization scripts.<br>-RUN_CMD_FILE = []<br>-<br>if LLDB:<br>+ INFERIOR_ARGS = '--'<br>+ LOAD_EXTENSION = 'command script import ' + EXTENSION<br>+ PROCESS_RUN = 'process launch'<br>+ # Don't run any initialization scripts.<br>RUN_CMD_FILE = [<br>'--batch',<br>'--no-lldbinit',<br>@@ -32,15 +33,12 @@ if LLDB:<br>]<br>else:<br># GDB.<br>+ INFERIOR_ARGS = '--args'<br>+ LOAD_EXTENSION = 'source ' + EXTENSION<br>+ PROCESS_RUN = 'run'<br>+ # Don't run any initialization scripts.<br>RUN_CMD_FILE = ['--batch', '--nx', '--quiet', '--command']<br><br>-INFERIOR_ARGS = '--' if LLDB else '--args'<br>-PROCESS_RUN = 'process launch' if LLDB else 'r'<br>-LOAD_EXTENSION = (<br>- 'command script import {ext}' if LLDB else 'source {ext}'<br>-).format(ext=EXTENSION)<br>-<br>-<br>RX_ADDR = r'0x[a-f0-9]+'<br>RX_HASH = RX_ADDR # The same pattern for hexademic values.<br>RX_FRAME = r'\[(S|\s)(B|\s)(T|\s)(M|\s)\]'<br>===================================================================<br><br>><br>> --<br>> Best regards,<br>> Evgeniy Temirgaleev<br>><br>> ><br><br><snipped><br><br>--<br>Best regards,<br>Sergey Kaplun</div></div></div></div></div></div></blockquote></div></div></BODY></HTML>