Open
Description
Describe the bug
- only Debian-Ubuntu crash inside qsort()
- Alpine Linux - ok (!)
- all rest closures - ok
- whole
vlib/v/tests/
- ok except this one crash
Reproduction Steps
./v test vlib/v/tests/fns/closure_fn_arg_in_map_test.v
Expected Behavior
OK.
Current Behavior
Crash inside qsort().
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.10 b76b1ee
Environment details (OS name and version, etc.)
mpech@debian:~/v$ ./v doctor
|V full version |V 0.4.10 b76b1ee76328ce62a6a7e149f89b83ba786ad603.b76b1ee
|:-------------------|:-------------------
|OS |linux, Debian GNU/Linux 12 (bookworm)
|Processor |2 cpus, 64bit, big endian, s390x
|Memory |1.5GB/1.95GB
| |
|V executable |/home/mpech/v/v
|V last modified time|2025-04-22 13:55:54
| |
|V home dir |OK, value: /home/mpech/v
|VMODULES |OK, value: /home/mpech/.vmodules
|VTMP |OK, value: /tmp/v_1000
|Current working dir |OK, value: /home/mpech/v
| |
|Git version |git version 2.39.5
|V git status |weekly.2025.16-33-gb76b1ee7-dirty (50 commit(s) behind V master)
|.git/config present |true
| |
|cc version |cc (Debian 12.2.0-14) 12.2.0
|gcc version |gcc (Debian 12.2.0-14) 12.2.0
|clang version |N/A
|tcc version |N/A
|tcc git status |thirdparty-unknown-unknown de82a130
|emcc version |N/A
|glibc version |ldd (Debian GLIBC 2.36-9+deb12u10) 2.36
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.