[Tarantool-patches] [PATCH v2 luajit 1/6] test: introduce tests for debugging extensions

Sergey Kaplun skaplun at tarantool.org
Wed May 27 10:56:48 MSK 2026


Evgeniy,
Fixed your comment and updated the branch.

On 26.05.26, Evgeniy Temirgaleev wrote:
> Hi, Sergey!
> 
> > Fixed your comment and force-pushed the branch.
> 
> Thanks for the patch!
> 
> Also, I have a problem to run lldb tests inside Docker container with Ubuntu 24.04.
> 
> 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.
> 
> Please, consider this fix:
> 
> diff --git a/test/tarantool-debugger-tests/debug-extension-tests.py b/test/tarantool-debugger-tests/debug-extension-tests.py
> index f337f0e9..65eefd0c 100644
> --- a/test/tarantool-debugger-tests/debug-extension-tests.py
> +++ b/test/tarantool-debugger-tests/debug-extension-tests.py
> @@ -22,7 +22,7 @@ TIMEOUT = 10
> if LLDB:
> INFERIOR_ARGS = '--'
> LOAD_EXTENSION = 'command script import ' + EXTENSION
> -    PROCESS_RUN = 'process launch'
> +    PROCESS_RUN = 'settings set target.disable-aslr false\nprocess launch'
> # Don't run any initialization scripts.
> RUN_CMD_FILE = [
> '--batch',

Thanks for the catch!

Fixed as you suggested:
===================================================================
diff --git a/test/tarantool-debugger-tests/debug-extension-tests.py b/test/tarantool-debugger-tests/debug-extension-tests.py
index f337f0e9..61529561 100644
--- a/test/tarantool-debugger-tests/debug-extension-tests.py
+++ b/test/tarantool-debugger-tests/debug-extension-tests.py
@@ -22,7 +22,11 @@ TIMEOUT = 10
 if LLDB:
     INFERIOR_ARGS = '--'
     LOAD_EXTENSION = 'command script import ' + EXTENSION
-    PROCESS_RUN = 'process launch'
+    PROCESS_RUN = (
+        # Prevent errors in case when running tests in Docker.
+        'settings set target.disable-aslr false\n'
+        'process launch'
+    )
     # Don't run any initialization scripts.
     RUN_CMD_FILE = [
         '--batch',
===================================================================

> 
> --
> Best regards,
> Evgeniy Temirgaleev
> 
> > 

<snipped>

> > --
> > Best regards,
> > Sergey Kaplun
> >

-- 
Best regards,
Sergey Kaplun


More information about the Tarantool-patches mailing list