-
Notifications
You must be signed in to change notification settings - Fork 822
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
Comments
Massive +1 to this bug report
|
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 |
Here you go: https://aka.ms/AAamuxe |
@lucent-sea : Can you please share the output of a recursive strace on man find ( Can you also share the output of |
Sure thing! WSL 1:
WSL 2:
DMESG output from WSL2:jared@Jared-Work:~$ dmesg |
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 Can you also check if this reproduces with other distros (and provide straces if it does) ? |
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.
Kali
Debian
|
Also, I ran Windows Memory Diagnostic. It didn't find anything. |
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 |
Sure thing.
|
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. |
WSL 1: WSL 2: |
The best thread to tug on for this one remains the:
That is a Windows error code and didn't come from Linux-land. Occam still says the distro contents is borked. For example:
That What is most curious is that |
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. :) |
@lucent-sea: What kind of physical disks does your machine have ? Just to check, can the you share the output of |
It has one 2TB ADATA Swordfish PCIe SSD.
|
Fun story. I was using
Here's the dump:
|
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. :( |
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. 😄
Steps to reproduce
Strace
https://gist.github.com/lucent-sea/7217ee93a92296f05d5ffacca5d36dcc
Expected behavior
Expect commands to work without seg faults. 😄
Actual behavior
Here are some examples:
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
The text was updated successfully, but these errors were encountered: