Vscode: Report "spawn UNKNOWN" when global searching

Created on 9 Nov 2017  路  16Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.18.0
  • OS Version: Win7 32bits

Steps to Reproduce:

  1. upgrade to the latest version 1.18.0
  2. open any existing project then carry out one global search.


Reproduces without extensions: Yes

bug candidate important needs more info search verified

Most helpful comment

There's clearly an issue with the 32-bit rg.exe on 32-bit Win7. Will have to find a 32 bit VM tomorrow to try it.

As a workaround, it sounds like it will probably work to download https://github.com/roblourens/ripgrep/releases/download/0.5.1-patch.1/ripgrep-0.5.1-patch.1-win32-ia32.zip, unzip, and copy it in place of the bad rg.exe (.../resources/app/node_modules/vscode-ripgrep/bin/rg.exe)

All 16 comments

  • Where do you see that message?
  • Can you try reinstalling?
  • Does this file exist? C:\Program Files (x86)\Microsoft VS Code\resources\app\node_modules\vscode-ripgrep\bin\rg.exe

i got this error msg in the search panel just after i upgraded it to the latest 1.18.0. it used to work fine on my side before upgrading.
i have tried running without any extension, still not ok.
i also reinstalled it. but not solved.
For the rg.exe, i am not sure, since i have downgraded to version 1.17.2. but i can try it later.

Please check later if you get a chance. It works for me...

dumpbin rg.exe, machine is "Unknown".

FILE HEADER VALUES
            8664 machine (Unknown)

Win32bit installer contain rg.exe for 64bit.

i replace the rg.exe of version 1.18.0 with that from version 1.17.2. it works.

Did you run dumpbin with some flag? I see, File Type: EXECUTABLE IMAGE, then a summary section with correct-looking values.

@Ani-kun, what OS? Also 32-bit win7?

@roblourens I ran dumpbin with /HEADERS parameter and it displayed similar value.
dumpbin.txt
I replace rg.exe from https://github.com/BurntSushi/ripgrep/releases and now it works.

@LeThiHyVong are you using the 32 bit version as well? What OS?

I'm using 32-bit win7 version 1.18.0 and got the same error.

@roblourens Win7 32bit. Dumpbin with /HEADERS

There's clearly an issue with the 32-bit rg.exe on 32-bit Win7. Will have to find a 32 bit VM tomorrow to try it.

As a workaround, it sounds like it will probably work to download https://github.com/roblourens/ripgrep/releases/download/0.5.1-patch.1/ripgrep-0.5.1-patch.1-win32-ia32.zip, unzip, and copy it in place of the bad rg.exe (.../resources/app/node_modules/vscode-ripgrep/bin/rg.exe)

We are simply publishing the 64-bit version of ripgrep with the 32-bit build, which is only an issue on an actual 32-bit OS. Will be fixed in next Insiders/update.

Hi, is a fix available for this?

For all those, who is facing the same issue kindly download the file sent by @roblourens mentioned above this has resolved my problem.
Thanks guys

It should also be fixed in the current insiders build.

Was this page helpful?
0 / 5 - 0 ratings