microsoft / vscode-ripgrep

For consuming the ripgrep binary from microsoft/ripgrep-prebuilt in a Node project
Other
112 stars 48 forks source link

fails on aarch64, genererates core.* dumps in current working directory #47

Closed audacioustux closed 1 year ago

audacioustux commented 1 year ago

Re-produce:

$ npm i -g @vscode/ripgrep
$ /usr/local/share/nvm/versions/node/v18.16.1/lib/node_modules/@vscode/ripgrep/bin/rg 
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 5 bytes failed
[1]    35196 abort (core dumped) 

as this library is being used in some vscode extensions, it's quite troublesome. and i'm not sure what's causing this, as ripgrep ubuntu/apt package works fine

audacioustux commented 1 year ago

https://github.com/BurntSushi/ripgrep/issues/2180

audacioustux commented 1 year ago

https://github.com/microsoft/vscode/issues/179907

audacioustux commented 1 year ago

https://github.com/microsoft/ripgrep-prebuilt/pull/30