Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when doing... anything. #6325

Closed
bitbound opened this issue Dec 10, 2020 · 18 comments
Closed

Segmentation fault when doing... anything. #6325

bitbound opened this issue Dec 10, 2020 · 18 comments
Assignees

Comments

@bitbound
Copy link

Environment

I would guess that this isn't very wide-spread, or there would be more reports of it. I don't know where to begin diagnosing the problem, though.

Maybe I'm just doing something incredibly, stupidly wrong. 😄

Windows build number:  
Microsoft Windows [Version 10.0.19042.685]

Your Distribution version:  
Ubuntu 20.04

Whether the issue is on WSL 2 and/or WSL 1:  
Linux version 4.4.0-19041-Microsoft ([email protected]) (gcc version 5.4.0 (GCC) ) #488-Microsoft Mon Sep 01 13:43:00 PST 2020

(Happens in both WSL 1 and 2.)

Steps to reproduce

  • Follow steps to install WSL and update to v2: https://docs.microsoft.com/en-us/windows/wsl/install-win10
  • Install Ubuntu (or Ubuntu 20.04) from Microsoft Store and launch it.
  • Try to do stuff.
    • Sometimes crashes or has crazy behavior while creating username and password.
    • If I get past that, I get random seg faults randomly on any command.

Strace

https://gist.github.com/lucent-sea/7217ee93a92296f05d5ffacca5d36dcc

Expected behavior

Expect commands to work without seg faults. 😄

Actual behavior

Here are some examples:


jared@Jared-Work:/$ man find
Segmentation fault (core dumped)
jared@Jared-Work:/$ man find
man: command exited with status 2: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=117n -rLT=117n -Tutf8)
jared@Jared-Work:/$ man find
man: command exited with status 127: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=117n -rLT=117n -Tutf8)
jared@Jared-Work:/$ man find
jared@Jared-Work:/$


-----------------------------------------


jared@Jared-Work:~$ sudo apt-get install jq
Segmentation fault (core dumped)
jared@Jared-Work:~$ sudo apt-get install jq
Segmentation fault (core dumped)
jared@Jared-Work:~$ sudo apt-get install jq
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libjq1 libonig5
The following NEW packages will be installed:
  jq libjq1 libonig5
0 upgraded, 3 newly installed, 0 to remove and 142 not upgraded.
Need to get 313 kB of archives.
After this operation, 1062 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libonig5 amd64 6.9.4-1 [142 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libjq1 amd64 1.6-1 [121 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 jq amd64 1.6-1 [50.2 kB]
Fetched 313 kB in 1s (213 kB/s)
Selecting previously unselected package libonig5:amd64.
(Reading database ... 31857 files and directories currently installed.)
Preparing to unpack .../libonig5_6.9.4-1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.4-1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../libjq1_1.6-1_amd64.deb ...
Unpacking libjq1:amd64 (1.6-1) ...
Segmentation fault (core dumped)
jared@Jared-Work:~$ sudo apt-get install jq
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.



-----------------------------------------



jared@Jared-Work:/$ man find
Segmentation fault (core dumped)
jared@Jared-Work:/$ man find
man: command exited with status 139: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=117n -rLT=117n -Tutf8)
jared@Jared-Work:/$ man find
man: command exited with status 139: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=117n -rLT=117n -Tutf8)
jared@Jared-Work:/$ man find
man: command exited with status 127: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=117n -rLT=117n -Tutf8)
jared@Jared-Work:/$ man find
jared@Jared-Work:/$ man find
jared@Jared-Work:/$



-----------------------------------------



Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: jared
Enter new UNIX username: jared
New password:
Retype new password:
passwd: password updated successfully
Error: 0x80070057 The parameter is incorrect.

Press any key to continue...

(Crashed after this.)

-----------------------------------------



Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: jared
configuration error - unknown item 'All' (notify administrator)
configuration error - unknown item 'described' (notify administrator)
configuration error - unknown item 'R' (notify administrator)
configuration error - unknown item 'by' (notify administrator)
configuration error - unknown item 'bian,' (notify administrator)
New password:
Retype new password:
passwd: password updated successfully
Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

free(): invalid next size (fast)
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 4.4.0-19041-Microsoft x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Thu Dec 10 14:26:03 PST 2020

Error processing line 1 of /usr/lib/python3/dist-packages/zope.interface-4.7.1-nspkg.pth:

  Traceback (most recent call last):
    File "/usr/lib/python3.8/site.py", line 175, in addpackage
      exec(line)
    File "<string>", line 1, in <module>
  ModuleNotFoundError: No module named 'importlib.util'

Remainder of file ignored
run-parts: /etc/update-motd.d/50-landscape-sysinfo exited with return code 2

1 update can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable


The list of available updates is more than a week old.
To check for new updates run: sudo apt update


This message is shown once once a day. To disable it please create the
/�x�/.hushlogin file.
touch: cannot touch '/'$'\273\022''x'$'\207\177''/.motd_shown': No such file or directory
jared@Jared-Work:/$


-----------------------------------------


jared@Jared-Work:/$ sudo apt-get update
[sudo] password for jared:
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
  Sub-process apt-key exited unexpectedly
Get:4 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [376 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [682 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [87.2 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [5584 B]
Get:9 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [69.9 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [11.4 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [521 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [68.6 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [9364 B]
Get:14 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [1256 B]
0% [14 Packages store 0 B] [6 Packages 489 kB/682 kB 72%] [Connecting to security.ubuntu.com (91.189.91.39)]E: SECURITY: Message contains control characters, rejecting.
E: SECURITY: Message contains control characters, rejecting.
E: SECURITY: Message contains control characters, rejecting.
E: SECURITY: Message contains control characters, rejecting.
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu focal InRelease: Sub-process apt-key exited unexpectedly
E: Method gave invalid 400 URI Failure message: SECURITY: Message contains control characters, rejecting.
E: Method store has died unexpectedly!
E: Sub-process store received signal 6.
jared@Jared-Work:/$


System Info

System Information report written at: 12/10/20 14:26:33
System Name: JARED-WORK
[System Summary]

Item Value
OS Name Microsoft Windows 10 Pro
Version 10.0.19042 Build 19042
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name JARED-WORK
System Manufacturer ASUSTeK COMPUTER INC.
System Model TUF Gaming FA706IU_TUF706IU
System Type x64-based PC
System SKU
Processor AMD Ryzen 7 4800H with Radeon Graphics, 2900 Mhz, 8 Core(s), 16 Logical Processor(s)
BIOS Version/Date American Megatrends Inc. FA706IU.309, 7/2/2020
SMBIOS Version 3.2
Embedded Controller Version 3.09
BIOS Mode UEFI
BaseBoard Manufacturer ASUSTeK COMPUTER INC.
BaseBoard Product FA706IU
BaseBoard Version 1.0
Platform Role Mobile
Secure Boot State On
PCR7 Configuration Binding Possible
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume1
Locale United States
Hardware Abstraction Layer Version = "10.0.19041.488"
User Name JARED-WORK\jared
Time Zone Pacific Standard Time
Installed Physical Memory (RAM) 64.0 GB
Total Physical Memory 63.4 GB
Available Physical Memory 55.6 GB
Total Virtual Memory 72.9 GB
Available Virtual Memory 63.7 GB
Page File Space 9.50 GB
Page File C:\pagefile.sys
Kernel DMA Protection Off

@tvfmmfvt
Copy link

tvfmmfvt commented Dec 11, 2020 via email

@therealkenc
Copy link
Collaborator

therealkenc commented Dec 15, 2020

passwd: password updated successfully
Error: 0x80070057 The parameter is incorrect.

Please collect WSL logs and post the backlink to the feedback item here. The thing you are trying to catch in the log recording is that 0x80070057. As you've already surmised, your distro has gone south after that point.

@bitbound
Copy link
Author

Here you go: https://aka.ms/AAamuxe

@OneBlue
Copy link
Collaborator

OneBlue commented Dec 21, 2020

@lucent-sea : Can you please share the output of a recursive strace on man find (strace -f man find) on both WSL1 and WSL2 ?

Can you also share the output of dmesg from WSL2 ?

@bitbound
Copy link
Author

bitbound commented Dec 22, 2020

Sure thing!

WSL 1:

jared@Jared-Work:~$ strace -f man find
execve("/usr/bin/man", ["man", "find"], 0x7ffff2dd63c0 /* 19 vars */) = 0
brk(NULL)                               = 0x7fffca760000
arch_prctl(0x3001 /* ARCH_??? */, 0x7fffd2331c00) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/tls/x86_64/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/tls/x86_64/x86_64", 0x7fffd2330e50) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/tls/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/tls/x86_64", 0x7fffd2330e50) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/tls/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/tls/x86_64", 0x7fffd2330e50) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/tls/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/tls", 0x7fffd2330e50) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/x86_64/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/x86_64/x86_64", 0x7fffd2330e50) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/x86_64", 0x7fffd2330e50) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/x86_64", 0x7fffd2330e50) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200%\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=30712, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f75a7500000
mmap(NULL, 33072, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f75a74c0000
mprotect(0x7f75a74c2000, 20480, PROT_NONE) = 0
mmap(0x7f75a74c2000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f75a74c2000
mmap(0x7f75a74c5000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f75a74c5000
mmap(0x7f75a74c7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f75a74c7000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libman-2.9.1.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\262\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=271328, ...}) = 0
mmap(NULL, 274072, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f75a7470000
mprotect(0x7f75a747a000, 225280, PROT_NONE) = 0
mmap(0x7f75a747a000, 172032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f75a747a000
mmap(0x7f75a74a4000, 49152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x34000) = 0x7f75a74a4000
mmap(0x7f75a74b1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x40000) = 0x7f75a74b1000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27442, ...}) = 0
mmap(NULL, 27442, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74c9000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=108936, ...}) = 0
mmap(NULL, 110776, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f75a7450000
mprotect(0x7f75a7452000, 98304, PROT_NONE) = 0
mmap(0x7f75a7452000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f75a7452000
mmap(0x7f75a7463000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7f75a7463000
mmap(0x7f75a746a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7f75a746a000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libpipeline.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpipeline.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`8\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=63488, ...}) = 0
mmap(NULL, 65992, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f75a7430000
mmap(0x7f75a7433000, 36864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f75a7433000
mmap(0x7f75a743c000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f75a743c000
mmap(0x7f75a743f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f75a743f000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360q\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0cBR\340\305\370\2609W\242\345)q\235A\1"..., 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2029224, ...}) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0cBR\340\305\370\2609W\242\345)q\235A\1"..., 68, 880) = 68
mmap(NULL, 2036952, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f75a7230000
mprotect(0x7f75a7255000, 1847296, PROT_NONE) = 0
mmap(0x7f75a7255000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f75a7255000
mmap(0x7f75a73cd000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19d000) = 0x7f75a73cd000
mmap(0x7f75a7418000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f75a7418000
mmap(0x7f75a741e000, 13528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f75a741e000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libgdbm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgdbm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2407\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=59576, ...}) = 0
mmap(NULL, 61496, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f75a7220000
mmap(0x7f75a7223000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f75a7223000
mmap(0x7f75a722b000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7f75a722b000
mmap(0x7f75a722e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7f75a722e000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libseccomp.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\202\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=334192, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f75a7210000
mmap(NULL, 336112, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f75a71b0000
mmap(0x7f75a71d8000, 45056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f75a71d8000
mmap(0x7f75a71e3000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x33000) = 0x7f75a71e3000
mmap(0x7f75a71e7000, 114688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36000) = 0x7f75a71e7000
close(3)                                = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f75a71a0000
arch_prctl(ARCH_SET_FS, 0x7f75a71a0740) = 0
mprotect(0x7f75a7418000, 12288, PROT_READ) = 0
mprotect(0x7f75a71e7000, 110592, PROT_READ) = 0
mprotect(0x7f75a722e000, 4096, PROT_READ) = 0
mprotect(0x7f75a743f000, 4096, PROT_READ) = 0
mprotect(0x7f75a746a000, 4096, PROT_READ) = 0
mprotect(0x7f75a74b1000, 4096, PROT_READ) = 0
mprotect(0x7f75a74c7000, 4096, PROT_READ) = 0
mprotect(0x7f75a751e000, 4096, PROT_READ) = 0
mprotect(0x7f75a74fd000, 4096, PROT_READ) = 0
munmap(0x7f75a74c9000, 27442)           = 0
brk(NULL)                               = 0x7fffca760000
brk(0x7fffca781000)                     = 0x7fffca781000
brk(0x7fffca7a2000)                     = 0x7fffca7a2000
brk(0x7fffca7c3000)                     = 0x7fffca7c3000
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
brk(0x7fffca7e4000)                     = 0x7fffca7e4000
brk(0x7fffca805000)                     = 0x7fffca805000
umask(022)                              = 022
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3035952, ...}) = 0
mmap(NULL, 3035952, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a6eba000
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2996
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0
mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74fc000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27002, ...}) = 0
mmap(NULL, 27002, PROT_READ, MAP_SHARED, 3, 0) = 0x7f75a74c9000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74bf000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74be000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0
mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74bd000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74bc000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0
mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74bb000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0
mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74ba000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MONETARY", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=270, ...}) = 0
mmap(NULL, 270, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74b9000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_COLLATE", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1518110, ...}) = 0
mmap(NULL, 1518110, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a6d47000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TIME", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3360, ...}) = 0
mmap(NULL, 3360, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74b8000
close(3)                                = 0
brk(0x7fffca826000)                     = 0x7fffca826000
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NUMERIC", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
mmap(NULL, 50, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a74b7000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_CTYPE", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=201272, ...}) = 0
mmap(NULL, 201272, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f75a6d15000
close(3)                                = 0
fcntl(0, F_GETFD)                       = 0
fcntl(1, F_GETFD)                       = 0
fcntl(2, F_GETFD)                       = 0
getuid()                                = 1000
geteuid()                               = 1000
getgid()                                = 1000
getegid()                               = 1000
rt_sigaction(SIGHUP, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f61e0af6210}, 8) = 0
rt_sigaction(SIGHUP, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f61e0af6210}, 8) = 0
rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f61e0af6210}, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f61e0af6210}, 8) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f61e0af6210}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f61e0af6210}, 8) = 0
openat(AT_FDCWD, "/home/jared/.manpath", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/manpath.config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=5215, ...}) = 0
read(3, "# manpath.config\n#\n# This file i"..., 4096) = 4096
read(3, "arity, and will be concatenated "..., 4096) = 1119
read(3, "", 4096)                       = 0
close(3)                                = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
getpid()                                = 76
stat("/usr/local/sbin/pager", 0x7fffd2331870) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/pager", 0x7fffd2331870) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/pager", 0x7fffd2331870) = -1 ENOENT (No such file or directory)
stat("/usr/bin/pager", {st_mode=S_IFREG|0755, st_size=180064, ...}) = 0
openat(AT_FDCWD, "/usr/share/locale/C.UTF-8/LC_MESSAGES/man-db.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/C.utf8/LC_MESSAGES/man-db.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/C/LC_MESSAGES/man-db.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/C.UTF-8/LC_MESSAGES/man-db.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/C.utf8/LC_MESSAGES/man-db.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/C/LC_MESSAGES/man-db.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/games/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/games/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/WindowsApps/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.812.0_x64__79rhkp1fndgsc/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/WindowsApps/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.812.0_x64__79rhkp1fndgsc/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/system32/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/system32/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/man", 0x7fffd23317b0)      = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/Wbem/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/Wbem/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/WindowsPowerShell/v1.0/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/WindowsPowerShell/v1.0//man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/WindowsPowerShell/v1.0/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/WindowsPowerShell/v1.0//share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/OpenSSH/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/OpenSSH//man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/OpenSSH/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Windows/System32/OpenSSH//share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Git/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Git/cmd/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Git/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Git/cmd/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn//man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn//share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn//man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn//share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/nodejs/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/nodejs//man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/nodejs/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/nodejs//share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/PuTTY/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/PuTTY//man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/PuTTY/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/PuTTY//share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/PowerShell/7/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/PowerShell/7//man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/PowerShell/7/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/PowerShell/7//share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/dotnet/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/dotnet//man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/dotnet/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Program Files/dotnet//share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/Microsoft/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/Microsoft/WindowsApps/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/Microsoft/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/Microsoft/WindowsApps/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/GitHubDesktop/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/GitHubDesktop/bin/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/GitHubDesktop/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/GitHubDesktop/bin/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/ProgramData/Apps/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/ProgramData/Apps/PSTools/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/ProgramData/Apps/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/ProgramData/Apps/PSTools/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/Programs/Microsoft VS Code/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/Programs/Microsoft VS Code/bin/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/Programs/Microsoft VS Code/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Local/Programs/Microsoft VS Code/bin/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Roaming/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Roaming/npm/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Roaming/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/AppData/Roaming/npm/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/.dotnet/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/.dotnet/tools/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/.dotnet/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/mnt/c/Users/jared/.dotnet/tools/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/snap/man", 0x7fffd23317b0)       = -1 ENOENT (No such file or directory)
stat("/snap/bin/man", 0x7fffd23317b0)   = -1 ENOENT (No such file or directory)
stat("/snap/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/snap/bin/share/man", 0x7fffd23317b0) = -1 ENOENT (No such file or directory)
stat("/usr/man", 0x7fffd2331720)        = -1 ENOENT (No such file or directory)
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/man", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0
readlink("/usr/local/man", "share/man", 4095) = 9
lstat("/usr/local/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/man", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0
readlink("/usr/local/man", "share/man", 4095) = 9
lstat("/usr/local/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/local/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/usr/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/share/man", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
rt_sigaction(SIGHUP, NULL, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, 8) = 0
rt_sigaction(SIGINT, NULL, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, 8) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, 8) = 0
openat(AT_FDCWD, "/usr/local/man", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, /* 2 entries */, 32768)   = 48
getdents64(3, /* 0 entries */, 32768)   = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/local/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/var/cache/man/oldlocal/index.db", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/man", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, /* 33 entries */, 32768)  = 816
getdents64(3, /* 0 entries */, 32768)   = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/man/man1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, /* 873 entries */, 32768) = 32768
getdents64(3, /* 120 entries */, 32768) = 4200
getdents64(3, /* 0 entries */, 32768)   = 0
sysinfo({uptime=95, loads=[33984, 37856, 38400], totalram=68096192512, freeram=48656486400, sharedram=0, bufferram=0, totalswap=206158430208, freeswap=206125277184, procs=6, totalhigh=142548992, freehigh=278528, mem_unit=1}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
openat(3, "/usr/share/man/man1/find.1.gz", O_RDONLY) = 4
ioctl(4, FS_IOC_FIEMAP, {fm_start=0, fm_length=4096, fm_flags=0, fm_extent_count=1}) = -1 ENOTTY (Inappropriate ioctl for device)
close(4)                                = 0
close(3)                                = 0
lstat("/usr/share/man/man1/find.1.gz", {st_mode=S_IFREG|0644, st_size=21931, ...}) = 0
stat("/usr/share/man/man1/find.1.gz", {st_mode=S_IFREG|0644, st_size=21931, ...}) = 0
stat("/usr/share/man/man1/find.1.gz", {st_mode=S_IFREG|0644, st_size=21931, ...}) = 0
rt_sigaction(SIGCHLD, {sa_handler=0x7f75a74342f0, sa_mask=[HUP INT TERM CHLD], sa_flags=SA_RESTORER|SA_RESTART|SA_NOCLDSTOP, sa_restorer=0x7f75a7276210}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
openat(AT_FDCWD, "/usr/share/man/man1/find.1.gz", O_RDONLY) = 3
pipe([4, 5])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDstrace: Process 77 attached
, child_tidptr=0x7f75a71a0a10) = 77
[pid    77] rt_sigaction(SIGHUP, NULL,  <unfinished ...>
[pid    76] close(3 <unfinished ...>
[pid    77] <... rt_sigaction resumed>{sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, 8) = 0
[pid    76] <... close resumed>)        = 0
[pid    77] rt_sigaction(SIGHUP, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210},  <unfinished ...>
[pid    76] close(5 <unfinished ...>
[pid    77] <... rt_sigaction resumed>NULL, 8) = 0
[pid    76] <... close resumed>)        = 0
[pid    77] rt_sigaction(SIGINT, NULL,  <unfinished ...>
[pid    76] rt_sigprocmask(SIG_SETMASK, [],  <unfinished ...>
[pid    77] <... rt_sigaction resumed>{sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, 8) = 0
[pid    76] <... rt_sigprocmask resumed>NULL, 8) = 0
[pid    77] rt_sigaction(SIGINT, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210},  <unfinished ...>
[pid    76] read(4,  <unfinished ...>
[pid    77] <... rt_sigaction resumed>NULL, 8) = 0
[pid    77] rt_sigaction(SIGTERM, NULL, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, 8) = 0
[pid    77] rt_sigaction(SIGTERM, {sa_handler=0x7f75a747b830, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f75a7276210}, NULL, 8) = 0
[pid    77] dup2(3, 0)                  = 0
[pid    77] close(3)                    = 0
[pid    77] dup2(5, 1)                  = 1
[pid    77] close(5)                    = 0
[pid    77] close(4)                    = 0
[pid    77] prctl(PR_GET_SECCOMP)       = -1 EINVAL (Invalid argument)
[pid    77] dup(0)                      = 3
[pid    77] lseek(3, 0, SEEK_CUR)       = 0
[pid    77] read(3, "\37\213\10\0\0\0\0\0\2\3\355}}{\333\310\221\347\337\323\237\2\361\256\"rL\321\222\354\231I"..., 8192) = 8192
[pid    77] brk(0x7fffca847000)         = 0x7fffca847000
[pid    77] fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
[pid    77] write(1, "'\\\" t\n.TH FIND 1 \\\" -*- nroff -*"..., 4096) = 4096
[pid    76] <... read resumed>"'\\\" t\n.TH FIND 1 \\\" -*- nroff -*"..., 4096) = 4096
[pid    77] write(1, "not be examined.\nIf\n.B \\-H\nis in"..., 4096 <unfinished ...>
[pid    76] close(4 <unfinished ...>
[pid    77] <... write resumed>)        = 4096
[pid    76] <... close resumed>)        = 0
[pid    77] write(1, "\nstarts, that predicate is equiv"..., 4096 <unfinished ...>
[pid    76] wait4(-1,  <unfinished ...>
[pid    77] <... write resumed>)        = -1 EPIPE (Broken pipe)
[pid    77] --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=77, si_uid=1000} ---
[pid    77] +++ killed by SIGPIPE +++
<... wait4 resumed>[{WIFSIGNALED(s) && WTERMSIG(s) == SIGPIPE}], 0, NULL) = 77
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=77, si_uid=1000, si_status=SIGPIPE, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 77
wait4(-1, 0x7fffd23315c4, WNOHANG, NULL) = -1 ECHILD (No child processes)
openat(AT_FDCWD, "/usr/local/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/var/cache/man/index.db", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=393216, ...}) = 0
flock(3, LOCK_SH|LOCK_NB)               = 0
read(3, "\317\232W\23\0\20\0\0\0\20\0\0\0\0\0\0\0\20\0\0\t\0\0\0\0\20\0\0\246\0\0\0"..., 72) = 72
read(3, "\5\0\0\0\0\0\0\0\206)\2\0\0\0\0\0\5\0\0\0\0\0\0\0\373\217\3\0\0\0\0\0"..., 4024) = 4024
lseek(3, 4096, SEEK_SET)                = 4096
read(3, "\0000\3\0\0\0\0\0\0000\3\0\0\0\0\0\0000\3\0\0\0\0\0\0000\3\0\0\0\0\0"..., 4096) = 4096
fstat(3, {st_mode=S_IFREG|0644, st_size=393216, ...}) = 0
mmap(NULL, 393216, PROT_READ, MAP_SHARED, 3, 0) = 0x7f75a6cb5000
brk(0x7fffca847000)                     = 0x7fffca847000
brk(0x7fffca868000)                     = 0x7fffca868000
brk(0x7fffca889000)                     = 0x7fffca889000
munmap(0x7f75a6cb5000, 393216)          = 0
flock(3, LOCK_UN)                       = 0
close(3)                                = 0
brk(0x7fffca83f000)                     = 0x7fffca83f000
openat(AT_FDCWD, "/usr/local/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/local/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/man/man8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, /* 814 entries */, 32768) = 32768
getdents64(3, /* 43 entries */, 32768)  = 1624
getdents64(3, /* 0 entries */, 32768)   = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/local/man", O_RDONLY|O_PATH|O_DIRECTORY) = 3
fstatfs(3, {f_type=0x53464846, f_bsize=4096, f_blocks=488218961, f_bfree=396542906, f_bavail=396542906, f_files=999, f_ffree=1000000, f_fsid={val=[1, 0]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_NOATIME}) = 0
close(3)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xf} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

WSL 2:

jared@Jared-Work:~$ strace -f man find
execve("/usr/bin/man", ["man", "find"], 0x7ffd9e0e14a0 /* 20 vars */) = 0
brk(NULL)                               = 0x55bcad19a000
arch_prctl(0x3001 /* ARCH_??? */, 0x7fffe6f79110) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/tls/x86_64/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/tls/x86_64/x86_64", 0x7fffe6f78360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/tls/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/tls/x86_64", 0x7fffe6f78360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/tls/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/tls/x86_64", 0x7fffe6f78360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/tls/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/tls", 0x7fffe6f78360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/x86_64/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/x86_64/x86_64", 0x7fffe6f78360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/x86_64", 0x7fffe6f78360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/x86_64/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/man-db/x86_64", 0x7fffe6f78360) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/man-db/libmandb-2.9.1.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200%\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=30712, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f158c339000
mmap(NULL, 33072, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f158c330000
mprotect(0x7f158c332000, 20480, PROT_NONE) = 0
mmap(0x7f158c332000, 12288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f158c332000
mmap(0x7f158c335000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f158c335000
mmap(0x7f158c337000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f158c337000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libman-2.9.1.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\262\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=271328, ...}) = 0
mmap(NULL, 274072, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f158c2ed000
mprotect(0x7f158c2f7000, 225280, PROT_NONE) = 0
mmap(0x7f158c2f7000, 172032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7f158c2f7000
mmap(0x7f158c321000, 49152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x34000) = 0x7f158c321000
mmap(0x7f158c32e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x40000) = 0x7f158c32e000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27442, ...}) = 0
mmap(NULL, 27442, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158c2e6000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=108936, ...}) = 0
mmap(NULL, 110776, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f158c2ca000
mprotect(0x7f158c2cc000, 98304, PROT_NONE) = 0
mmap(0x7f158c2cc000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f158c2cc000
mmap(0x7f158c2dd000, 24576, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7f158c2dd000
mmap(0x7f158c2e4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7f158c2e4000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libpipeline.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpipeline.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`8\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=63488, ...}) = 0
mmap(NULL, 65992, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f158c2b9000
mmap(0x7f158c2bc000, 36864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f158c2bc000
mmap(0x7f158c2c5000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f158c2c5000
mmap(0x7f158c2c8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f158c2c8000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360q\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0cBR\340\305\370\2609W\242\345)q\235A\1"..., 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2029224, ...}) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0cBR\340\305\370\2609W\242\345)q\235A\1"..., 68, 880) = 68
mmap(NULL, 2036952, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f158c0c7000
mprotect(0x7f158c0ec000, 1847296, PROT_NONE) = 0
mmap(0x7f158c0ec000, 1540096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f158c0ec000
mmap(0x7f158c264000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19d000) = 0x7f158c264000
mmap(0x7f158c2af000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f158c2af000
mmap(0x7f158c2b5000, 13528, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f158c2b5000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/man-db/libgdbm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgdbm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2407\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=59576, ...}) = 0
mmap(NULL, 61496, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f158c0b7000
mmap(0x7f158c0ba000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f158c0ba000
mmap(0x7f158c0c2000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x7f158c0c2000
mmap(0x7f158c0c5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7f158c0c5000
close(3)                                = 0
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libseccomp.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\202\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=334192, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f158c0b5000
mmap(NULL, 336112, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f158c062000
mmap(0x7f158c08a000, 45056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f158c08a000
mmap(0x7f158c095000, 16384, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x33000) = 0x7f158c095000
mmap(0x7f158c099000, 114688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x36000) = 0x7f158c099000
close(3)                                = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f158c05f000
arch_prctl(ARCH_SET_FS, 0x7f158c05f740) = 0
mprotect(0x7f158c2af000, 12288, PROT_READ) = 0
mprotect(0x7f158c099000, 110592, PROT_READ) = 0
mprotect(0x7f158c0c5000, 4096, PROT_READ) = 0
mprotect(0x7f158c2c8000, 4096, PROT_READ) = 0
mprotect(0x7f158c2e4000, 4096, PROT_READ) = 0
mprotect(0x7f158c32e000, 4096, PROT_READ) = 0
mprotect(0x7f158c337000, 4096, PROT_READ) = 0
mprotect(0x55bcad03b000, 4096, PROT_READ) = 0
mprotect(0x7f158c368000, 4096, PROT_READ) = 0
munmap(0x7f158c2e6000, 27442)           = 0
brk(NULL)                               = 0x55bcad19a000
brk(0x55bcad1bb000)                     = 0x55bcad1bb000
brk(0x55bcad1dc000)                     = 0x55bcad1dc000
brk(0x55bcad1fd000)                     = 0x55bcad1fd000
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
brk(0x55bcad21e000)                     = 0x55bcad21e000
brk(0x55bcad23f000)                     = 0x55bcad23f000
umask(022)                              = 022
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", ) = 3
fstat(3, {st_mode=S_IFREG|%#03, st_size=3035952, ...}TC?) = 0=%ld
mmap(NULL, 3035952, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158bd79000
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2996, ...}) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2996
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_IDENTIFICATION", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=252, ...}) = 0
mmap(NULL, 252, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158c367000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27002, ...}) = 0
mmap(NULL, 27002, PROT_READ, MAP_SHARED, 3, 0) = 0x7f158c2e6000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MEASUREMENT", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
mmap(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158bd78000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_TELEPHONE", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
mmap(NULL, 47, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158bd77000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_ADDRESS", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=131, ...}) = 0
mmap(NULL, 131, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158bd76000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_NAME", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
mmap(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158bd75000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_PAPER", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0
mmap(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158bd74000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=48, ...}) = 0
mmap(NULL, 48, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f158bd73000
close(3)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x55bcad23f000} ---
+++ killed by SIGSEGV +++
Segmentation fault

DMESG output from WSL2:

jared@Jared-Work:~$ dmesg
[ 0.000000] Linux version 4.19.128-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Jun 23 12:58:10 UTC 2020
[ 0.000000] Command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=16
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000e0fff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000001fffff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x0000000000200000-0x00000000f7ffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000bffffffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000001000000000-0x00000010b6ffffff] usable
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI not present or invalid.
[ 0.000000] Hypervisor detected: Microsoft Hyper-V
[ 0.000000] Hyper-V: features 0xae7f, hints 0xc2c, misc 0x20bed7b2
[ 0.000000] Hyper-V Host Build:19041-10.0-0-0.685
[ 0.000000] Hyper-V: LAPIC Timer Frequency: 0x1e8480
[ 0.000000] tsc: Marking TSC unstable due to running on Hyper-V
[ 0.000000] Hyper-V: Using hypercall for remote TLB flush
[ 0.000000] tsc: Detected 2894.570 MHz processor
[ 0.000006] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000007] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000008] last_pfn = 0x10b7000 max_arch_pfn = 0x400000000
[ 0.000032] MTRR default type: uncachable
[ 0.000032] MTRR fixed ranges disabled:
[ 0.000033] 00000-FFFFF uncachable
[ 0.000033] MTRR variable ranges disabled:
[ 0.000034] 0 disabled
[ 0.000034] 1 disabled
[ 0.000034] 2 disabled
[ 0.000034] 3 disabled
[ 0.000034] 4 disabled
[ 0.000034] 5 disabled
[ 0.000035] 6 disabled
[ 0.000035] 7 disabled
[ 0.000035] Disabled
[ 0.000036] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[ 0.000042] CPU MTRRs all blank - virtualized system.
[ 0.000044] x86/PAT: Configuration [0-7]: WB WT UC- UC WB WT UC- UC
[ 0.000044] last_pfn = 0xf8000 max_arch_pfn = 0x400000000
[ 0.000058] Using GB pages for direct mapping
[ 0.000059] BRK [0x02e00000, 0x02e00fff] PGTABLE
[ 0.000059] BRK [0x02e01000, 0x02e01fff] PGTABLE
[ 0.000060] BRK [0x02e02000, 0x02e02fff] PGTABLE
[ 0.000082] BRK [0x02e03000, 0x02e03fff] PGTABLE
[ 0.000525] RAMDISK: [mem 0x02e35000-0x02e44fff]
[ 0.000529] ACPI: Early table checksum verification disabled
[ 0.000536] ACPI: RSDP 0x00000000000E0000 000024 (v02 VRTUAL)
[ 0.000539] ACPI: XSDT 0x0000000000100000 000044 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000542] ACPI: FACP 0x0000000000101000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000544] ACPI: DSDT 0x00000000001011B8 01E184 (v02 MSFTVM DSDT01 00000001 MSFT 05000000)
[ 0.000546] ACPI: FACS 0x0000000000101114 000040
[ 0.000547] ACPI: OEM0 0x0000000000101154 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000549] ACPI: SRAT 0x000000000011F33C 000310 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000550] ACPI: APIC 0x000000000011F64C 0000C8 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)
[ 0.000553] ACPI: Local APIC address 0xfee00000
[ 0.000854] Zone ranges:
[ 0.000855] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.000856] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.000856] Normal [mem 0x0000000100000000-0x00000010b6ffffff]
[ 0.000857] Movable zone start for each node
[ 0.000857] Early memory node ranges
[ 0.000858] node 0: [mem 0x0000000000001000-0x000000000009ffff]
[ 0.000858] node 0: [mem 0x0000000000200000-0x00000000f7ffffff]
[ 0.000859] node 0: [mem 0x0000000100000000-0x0000000bffffffff]
[ 0.000859] node 0: [mem 0x0000001000000000-0x00000010b6ffffff]
[ 0.001434] Zeroed struct page in unavailable ranges: 4449 pages
[ 0.001435] Initmem setup node 0 [mem 0x0000000000001000-0x00000010b6ffffff]
[ 0.001436] On node 0 totalpages: 13299359
[ 0.001437] DMA zone: 59 pages used for memmap
[ 0.001437] DMA zone: 22 pages reserved
[ 0.001438] DMA zone: 3743 pages, LIFO batch:0
[ 0.001494] DMA32 zone: 16320 pages used for memmap
[ 0.001494] DMA32 zone: 1011712 pages, LIFO batch:63
[ 0.021033] Normal zone: 191936 pages used for memmap
[ 0.021035] Normal zone: 12283904 pages, LIFO batch:63
[ 0.021658] ACPI: Local APIC address 0xfee00000
[ 0.021663] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
[ 0.021965] IOAPIC[0]: apic_id 16, version 17, address 0xfec00000, GSI 0-23
[ 0.021968] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.021969] ACPI: IRQ9 used by override.
[ 0.021971] Using ACPI (MADT) for SMP configuration information
[ 0.021976] smpboot: Allowing 16 CPUs, 0 hotplug CPUs
[ 0.021986] [mem 0xf8000000-0xffffffff] available for PCI devices
[ 0.021986] Booting paravirtualized kernel on bare hardware
[ 0.021987] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.120194] random: get_random_bytes called from start_kernel+0x93/0x4be with crng_init=0
[ 0.120203] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:16 nr_node_ids:1
[ 0.121209] percpu: Embedded 42 pages/cpu s133400 r8192 d30440 u262144
[ 0.121217] pcpu-alloc: s133400 r8192 d30440 u262144 alloc=1*2097152
[ 0.121217] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 12 13 14 15
[ 0.121233] Built 1 zonelists, mobility grouping on. Total pages: 13091022
[ 0.121235] Kernel command line: initrd=\initrd.img panic=-1 pty.legacy_count=0 nr_cpus=16
[ 0.134814] Dentry cache hash table entries: 8388608 (order: 14, 67108864 bytes)
[ 0.141383] Inode-cache hash table entries: 4194304 (order: 13, 33554432 bytes)
[ 0.173578] Memory: 4096404K/53197436K available (14360K kernel code, 1575K rwdata, 2856K rodata, 1512K init, 2756K bss, 1029480K reserved, 0K cma-reserved)
[ 0.173925] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[ 0.173932] ftrace: allocating 41883 entries in 164 pages
[ 0.184798] rcu: Hierarchical RCU implementation.
[ 0.184800] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=16.
[ 0.184800] All grace periods are expedited (rcu_expedited).
[ 0.184801] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=16
[ 0.186489] Using NULL legacy PIC
[ 0.186491] NR_IRQS: 16640, nr_irqs: 552, preallocated irqs: 0
[ 0.186791] Console: colour dummy device 80x25
[ 0.186794] console [tty0] enabled
[ 0.186800] ACPI: Core revision 20180810
[ 0.186893] Failed to register legacy timer interrupt
[ 0.186911] APIC: Switch to symmetric I/O mode setup
[ 0.186912] Switched APIC routing to physical flat.
[ 0.186933] Hyper-V: Using IPI hypercalls
[ 0.186934] Hyper-V: Using MSR based APIC access
[ 0.186938] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[ 0.187020] Calibrating delay loop (skipped), value calculated using timer frequency.. 5789.14 BogoMIPS (lpj=28945700)
[ 0.187022] pid_max: default: 32768 minimum: 301
[ 0.187038] Security Framework initialized
[ 0.187397] Mount-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.187492] Mountpoint-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.187778] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.187790] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 512
[ 0.187790] Last level dTLB entries: 4KB 2048, 2MB 2048, 4MB 1024, 1GB 0
[ 0.187793] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.187795] Spectre V2 : Spectre mitigation: LFENCE not serializing, switching to generic retpoline
[ 0.187795] Spectre V2 : Mitigation: Full generic retpoline
[ 0.187795] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 0.187796] Spectre V2 : Enabling Restricted Speculation for firmware calls
[ 0.187808] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 0.187808] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl
[ 0.187809] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp
[ 0.188131] Freeing SMP alternatives memory: 44K
[ 0.188979] smpboot: CPU0: AMD Ryzen 7 4800H with Radeon Graphics (family: 0x17, model: 0x60, stepping: 0x1)
[ 0.189031] Performance Events: PMU not available due to virtualization, using software events only.
[ 0.189156] rcu: Hierarchical SRCU implementation.
[ 0.189354] random: crng done (trusting CPU's manufacturer)
[ 0.189746] smp: Bringing up secondary CPUs ...
[ 0.189790] x86: Booting SMP configuration:
[ 0.189791] .... node #0, CPUs: #1
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.337776] #2
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.487557] #3
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.010251] calibrate_delay_direct() dropping max bogoMips estimate 1 = 41235448
[ 0.010251] calibrate_delay_direct() dropping min bogoMips estimate 2 = 18375762
[ 0.637530] #4
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.787107] #5
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 0.937102] #6
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.087096] #7
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.237130] #8
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.387113] #9
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.537112] #10
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.687589] #11
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.837118] #12
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 1.987131] #13
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 2.137117] #14
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 2.287095] #15
[ 0.010251] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature
[ 2.437097] smp: Brought up 1 node, 16 CPUs
[ 2.437097] smpboot: Max logical packages: 1
[ 2.437097] smpboot: Total of 16 processors activated (92757.35 BogoMIPS)
[ 2.767029] node 0 initialised, 12017888 pages in 330ms
[ 2.769700] devtmpfs: initialized
[ 2.769700] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 2.769700] futex hash table entries: 4096 (order: 6, 262144 bytes)
[ 2.769700] xor: automatically using best checksumming function avx
[ 2.769700] NET: Registered protocol family 16
[ 2.777080] ACPI: bus type PCI registered
[ 2.777097] PCI: Fatal: No config space access function found
[ 2.777744] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 2.777744] raid6: Forced to use recovery algorithm avx2x2
[ 2.777744] raid6: Forced gen() algo avx2x4
[ 2.777744] ACPI: Added _OSI(Module Device)
[ 2.777744] ACPI: Added _OSI(Processor Device)
[ 2.777744] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 2.777744] ACPI: Added _OSI(Processor Aggregator Device)
[ 2.777744] ACPI: Added _OSI(Linux-Dell-Video)
[ 2.777744] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 2.780488] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 2.781079] ACPI: Interpreter enabled
[ 2.781079] ACPI: (supports S0 S5)
[ 2.781079] ACPI: Using IOAPIC for interrupt routing
[ 2.781079] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 2.781079] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 2.788331] SCSI subsystem initialized
[ 2.788387] hv_vmbus: Vmbus version:5.0
[ 2.788387] PCI: Using ACPI for IRQ routing
[ 2.788387] PCI: System does not support PCI
[ 2.788387] clocksource: Switched to clocksource hyperv_clocksource_tsc_page
[ 2.788387] hv_vmbus: Unknown GUID: c376c1c3-d276-48d2-90a9-c04748072c60
[ 2.799875] VFS: Disk quotas dquot_6.6.0
[ 2.800264] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.800330] FS-Cache: Loaded
[ 2.800374] pnp: PnP ACPI init
[ 2.800612] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 2.800686] pnp: PnP ACPI: found 1 devices
[ 2.804621] NET: Registered protocol family 2
[ 2.804919] tcp_listen_portaddr_hash hash table entries: 32768 (order: 7, 524288 bytes)
[ 2.804989] TCP established hash table entries: 524288 (order: 10, 4194304 bytes)
[ 2.805913] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 2.806040] TCP: Hash tables configured (established 524288 bind 65536)
[ 2.806289] UDP hash table entries: 32768 (order: 8, 1048576 bytes)
[ 2.806419] UDP-Lite hash table entries: 32768 (order: 8, 1048576 bytes)
[ 2.806751] NET: Registered protocol family 1
[ 2.807155] RPC: Registered named UNIX socket transport module.
[ 2.807156] RPC: Registered udp transport module.
[ 2.807157] RPC: Registered tcp transport module.
[ 2.807157] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.807160] PCI: CLS 0 bytes, default 64
[ 2.807199] Trying to unpack rootfs image as initramfs...
[ 2.807313] Freeing initrd memory: 64K
[ 2.807315] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 2.807316] software IO TLB: mapped [mem 0xf4000000-0xf8000000] (64MB)
[ 2.808478] kvm: no hardware support
[ 2.808479] has_svm: svm not available
[ 2.808479] kvm: no hardware support
[ 2.808841] Initialise system trusted keyrings
[ 2.808978] workingset: timestamp_bits=46 max_order=24 bucket_order=0
[ 2.809683] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.810108] NFS: Registering the id_resolver key type
[ 2.810118] Key type id_resolver registered
[ 2.810118] Key type id_legacy registered
[ 2.810120] Installing knfsd (copyright (C) 1996 [email protected]).
[ 2.811136] Key type cifs.idmap registered
[ 2.811201] fuse init (API version 7.27)
[ 2.811316] SGI XFS with ACLs, security attributes, realtime, scrub, no debug enabled
[ 2.812695] 9p: Installing v9fs 9p2000 file system support
[ 2.812702] FS-Cache: Netfs '9p' registered for caching
[ 2.812733] FS-Cache: Netfs 'ceph' registered for caching
[ 2.812737] ceph: loaded (mds proto 32)
[ 2.815619] NET: Registered protocol family 38
[ 2.815621] Key type asymmetric registered
[ 2.815622] Asymmetric key parser 'x509' registered
[ 2.815634] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 2.815636] io scheduler noop registered (default)
[ 2.816316] hv_vmbus: registering driver hv_pci
[ 2.816464] ACPI: AC Adapter [AC1] (on-line)
[ 2.816673] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 2.816999] battery: ACPI: Battery Slot [BAT1] (battery present)
[ 2.817001] Non-volatile memory driver v1.3
[ 2.819847] brd: module loaded
[ 2.820765] loop: module loaded
[ 2.821021] hv_vmbus: registering driver hv_storvsc
[ 2.821075] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 2.821481] tun: Universal TUN/TAP device driver, 1.6
[ 2.821592] PPP generic driver version 2.4.2
[ 2.821725] PPP BSD Compression module registered
[ 2.821726] PPP Deflate Compression module registered
[ 2.821734] PPP MPPE Compression module registered
[ 2.821736] NET: Registered protocol family 24
[ 2.821747] hv_vmbus: registering driver hv_netvsc
[ 2.826254] scsi host0: storvsc_host_t
[ 2.832661] VFIO - User Level meta-driver version: 0.3
[ 2.832949] hv_vmbus: registering driver hyperv_keyboard
[ 2.833210] rtc_cmos 00:00: RTC can wake from S4
[ 2.854438] rtc_cmos 00:00: registered as rtc0
[ 2.854451] rtc_cmos 00:00: alarms up to one month, 114 bytes nvram
[ 2.854569] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: [email protected]
[ 2.854974] hv_utils: Registering HyperV Utility Driver
[ 2.854975] hv_vmbus: registering driver hv_util
[ 2.854999] hv_vmbus: registering driver hv_balloon
[ 2.855006] hv_utils: cannot register PTP clock: 0
[ 2.855019] dxgk:err: dxg_drv_init Version: 1
[ 2.855023] hv_vmbus: registering driver dxgkrnl
[ 2.855218] drop_monitor: Initializing network drop monitor service
[ 2.855249] Mirror/redirect action on
[ 2.855415] hv_utils: TimeSync IC version 4.0
[ 2.855587] hv_balloon: Using Dynamic Memory protocol version 2.0
[ 2.855727] IPVS: Registered protocols (TCP, UDP)
[ 2.855769] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
[ 2.856427] hv_balloon: cold memory discard enabled
[ 2.857807] IPVS: ipvs loaded.
[ 2.857810] IPVS: [rr] scheduler registered.
[ 2.857811] IPVS: [wrr] scheduler registered.
[ 2.857811] IPVS: [sh] scheduler registered.
[ 2.859821] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 2.860171] Initializing XFRM netlink socket
[ 2.860231] NET: Registered protocol family 10
[ 2.860762] Segment Routing with IPv6
[ 2.863701] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.863808] NET: Registered protocol family 17
[ 2.863824] Bridge firewalling registered
[ 2.863831] 8021q: 802.1Q VLAN Support v1.8
[ 2.863849] sctp: Hash tables configured (bind 1024/1024)
[ 2.863899] 9pnet: Installing 9P2000 support
[ 2.863915] Key type dns_resolver registered
[ 2.863926] Key type ceph registered
[ 2.864304] libceph: loaded (mon/osd proto 15/24)
[ 2.864307] hv_vmbus: registering driver hv_sock
[ 2.864399] NET: Registered protocol family 40
[ 2.864672] registered taskstats version 1
[ 2.864678] Loading compiled-in X.509 certificates
[ 2.864874] Btrfs loaded, crc32c=crc32c-generic
[ 2.865495] rtc_cmos 00:00: setting system clock to 2020-12-22 17:35:06 UTC (1608658506)
[ 2.865524] Unstable clock detected, switching default tracing clock to "global"
If you want to keep using the local clock, then add:
"trace_clock=local"
on the kernel command line
[ 2.868236] Freeing unused kernel image memory: 1512K
[ 2.927188] Write protecting the kernel read-only data: 20480k
[ 2.927909] Freeing unused kernel image memory: 1984K
[ 2.928183] Freeing unused kernel image memory: 1240K
[ 2.928184] Run /init as init process
[ 3.132977] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 3.133517] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.134169] sd 0:0:0:0: [sda] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 3.134171] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 3.134263] sd 0:0:0:0: [sda] Write Protect is off
[ 3.134265] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[ 3.134462] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.135564] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3.138372] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.148133] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 3.167647] scsi 0:0:0:1: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 3.168040] sd 0:0:0:1: Attached scsi generic sg1 type 0
[ 3.168773] sd 0:0:0:1: [sdb] 536870912 512-byte logical blocks: (275 GB/256 GiB)
[ 3.168775] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[ 3.168862] sd 0:0:0:1: [sdb] Write Protect is off
[ 3.168863] sd 0:0:0:1: [sdb] Mode Sense: 0f 00 00 00
[ 3.169029] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.171158] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 3.188278] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 3.356300] Adding 13631488k swap on /swap/file. Priority:-2 extents:4 across:13656064k
[ 3.867075] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.996246] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: discard,errors=remount-ro,data=ordered
[ 32.900256] grep[283]: segfault at 55d07660d000 ip 00007f3a362b14e5 sp 00007ffefa878818 error 4 in libc-2.31.so[7f3a3614b000+178000]
[ 32.900259] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
[ 33.019538] apt-config[301]: segfault at 55cb136bc000 ip 00007efc267cd4e5 sp 00007fff51f50318 error 4 in libc-2.31.so[7efc26667000+178000]
[ 33.019543] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
[ 33.021936] apt-config[302]: segfault at 559b821f4000 ip 00007f4b362c34e5 sp 00007ffc44b04bb8 error 4 in libc-2.31.so[7f4b3615d000+178000]
[ 33.021942] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
[ 33.023067] find[303]: segfault at 7f3cb4925000 ip 00007f3cb48c94e5 sp 00007ffc2ca74eb8 error 4 in libc-2.31.so[7f3cb4763000+178000]
[ 33.023072] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
[ 33.023959] id[304]: segfault at 7f6ab2b5e000 ip 00007f6ab2b024e5 sp 00007ffea877f588 error 4 in libc-2.31.so[7f6ab299c000+178000]
[ 33.023963] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
[ 33.033107] env[313]: segfault at 7f8d5c669000 ip 00007f8d5c60d4e5 sp 00007ffd363ffdf8 error 4 in libc-2.31.so[7f8d5c4a7000+178000]
[ 33.033111] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
[ 33.035896] touch[314]: segfault at 55f374cb4000 ip 00007fa763dc44e5 sp 00007ffc0c4ebb88 error 4 in libc-2.31.so[7fa763c5e000+178000]
[ 33.035900] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
[ 33.039811] basename[316]: segfault at 55839029c000 ip 00007f8bb33fc4e5 sp 00007fffb6273068 error 4 in libc-2.31.so[7f8bb3296000+178000]
[ 33.039816] Code: 00 00 0f 1f 00 31 c0 c5 f8 77 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 2b fd 74 0f c5 fd d7 c1 85 c0 0f 85 eb 00 00 00 48 83 c7 20 83 e1
[ 51.677284] hv_balloon: Max. dynamic memory size: 51952 MB
[ 64.137136] WSL2: Performing memory compaction.

@OneBlue
Copy link
Collaborator

OneBlue commented Dec 22, 2020

Hmm, I can't see anything obvious in the straces. This is an interesting one.

So because this happens in both WSL1 and WSL2, my first guess would be that something went wrong during the distro setup and that some core libraries might be corrupted.

I also wonder if this could be a memory allocation issue, could you share the output of cat /proc/meminfo in WSL2 and how much physical memory does your machine have ?

Can you also check if this reproduces with other distros (and provide straces if it does) ?

@bitbound
Copy link
Author

It has 64GB RAM.

Below is the meminfo output. I tried both Kali and Debian, but I couldn't get far enough to run any commands. The output from those escapades is at the bottom. I tried to reinstall, but I'm getting rut-roh messages. No time to reboot right now, but will try again tomorrow.

image

jared@Jared-Work:~$ cat /proc/meminfo
Segmentation fault
jared@Jared-Work:~$ cat /proc/meminfo
MemTotal:       52172800 kB
MemFree:        52007212 kB
MemAvailable:   51661100 kB
Buffers:            6588 kB
Cached:            36228 kB
SwapCached:            0 kB
Active:            28708 kB
Inactive:          16136 kB
Active(anon):       2080 kB
Inactive(anon):        8 kB
Active(file):      26628 kB
Inactive(file):    16128 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:      13631488 kB
SwapFree:       13631488 kB
Dirty:               416 kB
Writeback:             0 kB
AnonPages:          2060 kB
Mapped:             3976 kB
Shmem:                68 kB
Slab:              32828 kB
SReclaimable:      15060 kB
SUnreclaim:        17768 kB
KernelStack:        2784 kB
PageTables:          140 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    39717888 kB
Committed_AS:      61504 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
Percpu:             3776 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:       13312 kB
DirectMap2M:     3901440 kB
DirectMap1G:    49283072 kB
jared@Jared-Work:~$

Kali

Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: jared
Enter new UNIX username: jared
Enter new UNIX username: jared
adduser: `/sbin/groupadd -g 1000 jared' exited from signal 11. Exiting.
Enter new UNIX username: jared
useradd: failure while writing changes to /etc/subuid
adduser: `/sbin/useradd -d /home/jared -g jared -s /bin/bash -u 1000 jared' returned error code 16. Exiting.
Enter new UNIX username: jared
adduser: The user `jared' already exists.
Enter new UNIX username: jared
adduser: The user `jared' already exists.
Enter new UNIX username:

Debian


Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: jared
Can't locate warnings.pm in @INC (you may need to install the warnings module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/sbin/adduser line 32.
BEGIN failed--compilation aborted at /usr/sbin/adduser line 32.
Enter new UNIX username: jared
Enter new UNIX username: jared
malloc(): corrupted top size
Enter new UNIX username: jared
Invalid \0 character in pathname for require: /usr/lib/x86_64-linux-gnu/perl5/5.28/strict.pm\0.28/strict.pm .
Invalid \0 character in @INC entry for require: /usr/local/lib/site_perl\0al/lib/site_perl at /usr/sbin/adduser line 33.
Invalid \0 character in pathname for require: /usr/share/perl5/Debian/AdduserCommon.pm\0AdduserCommon.pm at  line 34.
Invalid \0 character in @INC entry for require: /usr/lib/x86_64-linux-gnu/perl-base\0inux-gnu/perl-base at /usr/sbin/adduser line 34.
Can't locate Debian/AdduserCommon.pm in @INC (you may need to install the Debian::AdduserCommon module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/sbin/adduser line 34.
BEGIN failed--compilation aborted at /usr/sbin/adduser line 34.
Enter new UNIX username: jared
malloc(): corrupted top size
rcmd: Cannot allocate memory
Enter new UNIX username: jared
bash: malloc.c:2385: :  Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
Enter new UNIX username: jared
Global symbol "$orig" requires explicit package name (did you forget to declare "my $orig"?) at /usr/lib/x86_64-linux-gnu/perl-base/Getopt/Long.pm line 389.
Global symbol "$orig" requires explicit package name (did you forget to declare "my $orig"?) at /usr/lib/x86_64-linux-gnu/perl-base/Getopt/Long.pmExecution of /usr/lib/x86_64-linux-gnu/perl-base/Getopt/Long.pm aborted due to compilation errors.
Compilation failed in require at /usr/sbin/adduser line 35.
BEGIN failed--compilation aborted at  line 35.
Enter new UNIX username: jared
malloc(): corrupted top size
Enter new UNIX username: jared
malloc(): corrupted top size
Enter new UNIX username: jared
String found where operator expected at /usr/lib/x86_64-linux-gnu/perl5/5.28/Locale/gettext.pm line 67, near "croak "Missing constant $constname""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/x86_64-linux-gnu/perl5/5.28/Locale/gettext.pm line 88, near "croak "Encode module not available, cannot use Locale::gettext->domain""
        (Do you need to predeclare croak?)
Invalid \0 character in @INC entry for require: /usr/lib/x86_64-linux-gnu/perl5/5.28\0inux-gnu/perl5/5.28 at /usr/sbin/adduser line 61.
Invalid \0 character in @INC entry for require: /usr/lib/x86_64-linux-gnu/perl-base\0inux-gnu/perl-base at /usr/sbin/adduser line 61.
Invalid \0 character in @INC entry for require: /usr/lib/x86_64-linux-gnu/perl5/5.28\0inux-gnu/perl5/5.28 at /usr/sbin/adduser line 68.
Invalid \0 character in @INC entry for require: /usr/local/lib/site_perl\0al/lib/site_perl at /usr/sbin/adduser line 68.
"our" variable $version masks earlier declarati at /usr/sbin/adduser line 88.
"my" variable  masks earlier declaration in same statement at /usr/sbin/adduser line 111.
"my" variable $new_name masks earlier declaration in same scope at /usr/sbin/adduser line 114.
"my" variable  masks earlier declaration in same statement at /usr/sbin/adduser line 116.
"my" variable $new_gecos masks earlier declaration in same scopeCan't undef active subrout at /usr/sbin/adduser line 117.
"my" variable $home_dir masks earlier declaration in same scope at /usr/sbin/adduser line 118.
"my" variable $new_name masks earlier declaration in same scopeCan't undef active subrout at /usr/sbin/adduser line 119.
printf (...) interpreted as function at /usr/sbin/adduser line 329.
Global symbol "$found_group_opt" requires explicit package name (did you forget to declare "my $found_group_opt"?) at  line 130.
Global symbol "$found_group_opt" requires explicit package name (did you forget to declare "my $found_group_opt"?) at /usr/sbin/adduser line 182.
Global symbol "$found_group_opt" requires explicit package name (did you forget to declare "my $found_group_opt"?) at  line 196.
Global symbol "$found_group_opt" requires explicit package name (did you forget to declare "my $found_group_opt"?) at /usr/sbin/adduser line 213.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 215.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 384.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 389.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 401.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at  line 416.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at  line 423.
Global symbol "$shell" requires explicit package name (did you forget to declare "my $shell"?) at  line 434.
Global symbol "$shell" requires explicit package name (did you forget to declare "my $shell"?) at /usr/sbin/adduser line 438.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 472.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 480.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 493.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 508.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 513.
Global symbol "$shell" requires explicit package name (did you forget to declare "my $shell"?) at  line 524.
Global symbol "$shell" requires explicit package name (did you forget to declare "my $shell"?) at /usr/sbin/adduser line 528.
Global symbol "$ok" requires explicit package name (did you forget to declare "my $ok"?) at /usr/sbin/adduser line 542.
Global symbol "$ok" requires explicit package name (did you forget to declare "my $ok"?) at /usr/sbin/adduser line 545.
Global symbol "$ok" requires explicit package name (did you forget to declare "my $ok"?) at /usr/sbin/adduser line 546.
Global symbol "$ok" requires explicit package name (did you forget to declare "my $ok"?) at /usr/sbin/adduser line 547.
Global symbol "$ok" requires explicit package name (did you forget to declare "my $ok"?) at /usr/sbin/adduser line 548.
Global symbol "$ok" requires explicit package name (did you forget to declare "my $ok"?) at /usr/sbin/adduser line 549.
Global symbol "$ok" requires explicit package name (did you forget to declare "my $ok"?) at /usr/sbin/adduser line 550.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 670.
Global symbol "$make_group_also" requires explicit package name (did you forget to declare "my $make_group_also"?) at /usr/sbin/adduser line 790.
Execution of /usr/sbin/adduser aborted due to compilation errors.
Enter new UNIX username:

@bitbound
Copy link
Author

Also, I ran Windows Memory Diagnostic. It didn't find anything.

@OneBlue
Copy link
Collaborator

OneBlue commented Dec 28, 2020

Thanks @lucent-sea. Good call, a hardware issue would have been my next guess.

So these show that the issue doesn't come from corrupted distros. I'm wondering if your Windows installation is corrupted.

Can you share the output of sfc /scannow in an admin command prompt ?

@OneBlue OneBlue self-assigned this Dec 28, 2020
@bitbound
Copy link
Author

Sure thing.

Microsoft Windows [Version 10.0.19042.685]
(c) 2020 Microsoft Corporation. All rights reserved.

C:\Windows\system32>sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

C:\Windows\system32>

@OneBlue
Copy link
Collaborator

OneBlue commented Dec 29, 2020

Ok. This rules out the Windows corruption track.

Let's have a look at WSL logs. Can you please follow these instructions to create feedback hub entries and submit logs ? Please create one for WSL1 and another for WSL2 so I can compare them.

@bitbound
Copy link
Author

WSL 1:
https://aka.ms/AAapvfs

WSL 2:
https://aka.ms/AAapp08

@therealkenc
Copy link
Collaborator

The best thread to tug on for this one remains the:

Error: 0x80070057 The parameter is incorrect.

That is a Windows error code and didn't come from Linux-land.

Occam still says the distro contents is borked. For example:

Invalid \0 character in pathname for require: /usr/lib/x86_64-linux-gnu/perl5/5.28/strict.pm\0.28/strict.pm .
Invalid \0 character in @INC entry for require: /usr/local/lib/site_perl\0al/lib/site_perl at /usr/sbin/adduser line 33.

That @INC string is compiled into /usr/bin/perl. If that bogus string with a null character didn't come off the disk, the remaining option is the string was corrupted somewhere between the disk and being paged into memory. The latter is tough (though I suppose not impossible) to square with rando bad data ending up in memory on both WSL1 and WSL2.

What is most curious is that /usr/bin/perl (via /usr/sbin/adduser), or for that matter /bin/bash, even makes it far enough to run in the first place.

@bitbound
Copy link
Author

I feel kind of bad that you guys have spent so much time on this issue. I use WSL on other machines and have never had this problem. So whatever's going on, I'm assuming it's due to something different/broken on this particular machine. It's weird that I have no issues with anything else, though.

If you guys want to close this with something like, "User's machine is looney tunes", I'd be fine with that. :)

@OneBlue
Copy link
Collaborator

OneBlue commented Jan 26, 2021

@lucent-sea: What kind of physical disks does your machine have ?

Just to check, can the you share the output of wmic diskdrive get model,status (in an administrator cmd) ?

@bitbound
Copy link
Author

It has one 2TB ADATA Swordfish PCIe SSD.

PS C:\Windows\system32> wmic diskdrive get model,status
Model            Status
ADATA SWORDFISH  OK

@bitbound
Copy link
Author

bitbound commented Feb 2, 2021

Fun story. I was using git log today and got the following:

0 [main] sh 1822 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump

Here's the dump:

Stack trace:
Frame        Function    Args
000FFFFBD88  00180063DB0 (000FFFFBFA8, 00000000002, 00000000000, 000FFFFDE50)
000FFFFDE50  00180065F9C (00000000064, 00000000000, 0000000027C, 00000000000)
000FFFFC4B0  00180147C18 (001800D851C, 00000000002, 00000000002, 00000000000)
00000000000  00180171354 (0010046F280, 00800054140, 00800054144, 0000000000B)
00000000000  00180143F1B (00800054144, 00800054050, 001803261CD, 00000000000)
00000000000  00180215FC8 (00800054110, 001803261C8, 00000000000, 00000000000)
00000000000  00180216422 (00800052230, 00000000000, 00800054110, 00800052450)
00000000000  001800D85F5 (00800052490, 00000000001, 00000000000, 0080003CBE0)
00000000000  0018013EF9B (00800052490, 00000000001, 00000000000, 0080003CBE0)
00000000000  00100415994 (001800D85F5, 00000000003, 0080004E710, 00800054000)
000FFFFCA30  001004178E4 (001004CD548, 00000000003, 0080004E0F0, 001005DAEA8)
000FFFFCA30  00100401E1F (00000000002, 00000000001, 00000000001, 00000000008)
000FFFFCA30  001004BFB92 (000FFFFCC10, 0080003BFF0, 0018004AE3E, 000FFFFCC00)
000FFFFCCE0  0018004AEAA (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  00180048846 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  001800488F4 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace

@bitbound
Copy link
Author

bitbound commented Feb 8, 2021

I finally found the problem.

My laptop was sold to me with more memory than the mainboard actually supports. After removing one of the sticks, everything works.

I'm sorry for wasting so much of your time. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants