microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.85k stars 29.51k forks source link

Extension host is crashing repeatedly once i open my Pawn dedicated workspace #172686

Closed Zorono closed 1 year ago

Zorono commented 1 year ago

Type: Bug

I just tried to open my Pawn Language dedicated workspace and found that the extension host is crashing repeatedly...

workbench.desktop.main.js:89 [Extension Host] Lua:MTA LUA: Init
workbench.desktop.main.js:89 [Extension Host] MTA:SA LUA: Init
workbench.desktop.main.js:89 [Extension Host] Looking for parseable documents...
workbench.desktop.main.js:2153 Activating extension 'subtixx.mtasa-lua' failed: command 'extension.mta-new-resource' already exists.
$onExtensionActivationError @ workbench.desktop.main.js:2153
N @ workbench.desktop.main.js:1689
M @ workbench.desktop.main.js:1689
H @ workbench.desktop.main.js:1689
G @ workbench.desktop.main.js:1689
(anonymous) @ workbench.desktop.main.js:1689
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:550
y @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
acceptChunk @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
k @ workbench.desktop.main.js:550
emit @ node:events:526
addChunk @ node:internal/streams/readable:315
readableAddChunk @ node:internal/streams/readable:289
Readable.push @ node:internal/streams/readable:228
onStreamRead @ node:internal/stream_base_commons:190
workbench.desktop.main.js:616   ERR [Extension Host] (node:28892) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `code --trace-deprecation ...` to show where the warning was created)
workbench.desktop.main.js:89 [Extension Host] (node:28892) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `code --trace-deprecation ...` to show where the warning was created)
E @ workbench.desktop.main.js:89
$logExtensionHostMessage @ workbench.desktop.main.js:1689
N @ workbench.desktop.main.js:1689
M @ workbench.desktop.main.js:1689
H @ workbench.desktop.main.js:1689
G @ workbench.desktop.main.js:1689
(anonymous) @ workbench.desktop.main.js:1689
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:550
y @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
acceptChunk @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
k @ workbench.desktop.main.js:550
emit @ node:events:526
addChunk @ node:internal/streams/readable:315
readableAddChunk @ node:internal/streams/readable:289
Readable.push @ node:internal/streams/readable:228
onStreamRead @ node:internal/stream_base_commons:190
workbench.desktop.main.js:89 [Extension Host] search-pawn-package is activated
workbench.desktop.main.js:89 [Extension Host] Found no documents
workbench.desktop.main.js:774 Makefile entry point not found
c @ workbench.desktop.main.js:774
(anonymous) @ workbench.desktop.main.js:774
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
addNotification @ workbench.desktop.main.js:774
notify @ workbench.desktop.main.js:1747
(anonymous) @ workbench.desktop.main.js:1682
d @ workbench.desktop.main.js:1682
$showMessage @ workbench.desktop.main.js:1682
N @ workbench.desktop.main.js:1689
M @ workbench.desktop.main.js:1689
H @ workbench.desktop.main.js:1689
G @ workbench.desktop.main.js:1689
(anonymous) @ workbench.desktop.main.js:1689
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:550
y @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
acceptChunk @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
k @ workbench.desktop.main.js:550
emit @ node:events:526
addChunk @ node:internal/streams/readable:315
readableAddChunk @ node:internal/streams/readable:289
Readable.push @ node:internal/streams/readable:228
onStreamRead @ node:internal/stream_base_commons:190
Show 2 more frames
workbench.desktop.main.js:616   ERR [Extension Host] TypeError: response.data.filter is not a function
    at /home/johnm/.vscode/extensions/sreyassreelal.search-pawn-package-0.0.3/out/extension.js:25:38
    at Generator.next (<anonymous>)
    at fulfilled (/home/johnm/.vscode/extensions/sreyassreelal.search-pawn-package-0.0.3/out/extension.js:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
workbench.desktop.main.js:89 [Extension Host] TypeError: response.data.filter is not a function
    at /home/johnm/.vscode/extensions/sreyassreelal.search-pawn-package-0.0.3/out/extension.js:25:38
    at Generator.next (<anonymous>)
    at fulfilled (/home/johnm/.vscode/extensions/sreyassreelal.search-pawn-package-0.0.3/out/extension.js:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
E @ workbench.desktop.main.js:89
$logExtensionHostMessage @ workbench.desktop.main.js:1689
N @ workbench.desktop.main.js:1689
M @ workbench.desktop.main.js:1689
H @ workbench.desktop.main.js:1689
G @ workbench.desktop.main.js:1689
(anonymous) @ workbench.desktop.main.js:1689
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:550
y @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
acceptChunk @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
k @ workbench.desktop.main.js:550
emit @ node:events:526
addChunk @ node:internal/streams/readable:315
readableAddChunk @ node:internal/streams/readable:289
Readable.push @ node:internal/streams/readable:228
onStreamRead @ node:internal/stream_base_commons:190
workbench.desktop.main.js:774 Couldn't connect to https://api.sampctl.com/
c @ workbench.desktop.main.js:774
(anonymous) @ workbench.desktop.main.js:774
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
addNotification @ workbench.desktop.main.js:774
notify @ workbench.desktop.main.js:1747
(anonymous) @ workbench.desktop.main.js:1682
d @ workbench.desktop.main.js:1682
$showMessage @ workbench.desktop.main.js:1682
N @ workbench.desktop.main.js:1689
M @ workbench.desktop.main.js:1689
H @ workbench.desktop.main.js:1689
G @ workbench.desktop.main.js:1689
(anonymous) @ workbench.desktop.main.js:1689
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:550
y @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
acceptChunk @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:550
k @ workbench.desktop.main.js:550
emit @ node:events:526
addChunk @ node:internal/streams/readable:315
readableAddChunk @ node:internal/streams/readable:289
Readable.push @ node:internal/streams/readable:228
onStreamRead @ node:internal/stream_base_commons:190
Show 2 more frames
workbench.desktop.main.js:1925 Extension Host
workbench.desktop.main.js:1925 /home/johnm/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:123      throw ex;      ^RuntimeError: abort(Git error {  "exitCode": 128,  "stdout": "",  "stderr": ""}) at Error:     at jsStackTrace (/home/johnm/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1796:17)    at stackTrace (/home/johnm/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1813:16)    at process.abort (/home/johnm/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1596:44)    at process.emit (node:events:538:35)    at process.emit (/home/johnm/.vscode/extensions/node_modules/source-map-support/source-map-support.js:516:21)    at processEmit (/home/johnm/.vscode/extensions/node_modules/signal-exit/index.js:199:34)    at process.on.process.emit (/home/johnm/.vscode/extensions/zignd.html-css-class-completion-1.20.0/dist/extension.js:2:802330)    at processEmit [as emit] (/home/johnm/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.5823/extension.js:394:51519)    at emit (node:internal/process/promises:140:20)    at processPromiseRejections (node:internal/process/promises:274:27)    at processTicksAndRejections (node:internal/process/task_queues:97:32)    at process.abort (/home/johnm/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1602:9)    at process.emit (node:events:538:35)    at process.emit (/home/johnm/.vscode/extensions/node_modules/source-map-support/source-map-support.js:516:21)    at processEmit (/home/johnm/.vscode/extensions/node_modules/signal-exit/index.js:199:34)    at process.on.process.emit (/home/johnm/.vscode/extensions/zignd.html-css-class-completion-1.20.0/dist/extension.js:2:802330)    at processEmit [as emit] (/home/johnm/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.5823/extension.js:394:51519)    at emit (node:internal/process/promises:140:20)    at processPromiseRejections (node:internal/process/promises:274:27)    at processTicksAndRejections (node:internal/process/task_queues:97:32) {  vslsStack: [    CallSite {}, CallSite {},    CallSite {}, CallSite {},    CallSite {}, CallSite {},    CallSite {}, CallSite {},    CallSite {}  ]}
workbench.desktop.main.js:616   ERR A system error occurred (read ECONNRESET): Error: read ECONNRESET
    at __node_internal_captureLargerStackTrace (node:internal/errors:464:5)
    at __node_internal_errnoException (node:internal/errors:594:12)
    at Pipe.onStreamRead (node:internal/stream_base_commons:217:20)
workbench.desktop.main.js:2834 Extension host (LocalProcess) terminated unexpectedly. Code: 7, Signal: null
Eb @ workbench.desktop.main.js:2834
Eb @ workbench.desktop.main.js:2836
Db @ workbench.desktop.main.js:2834
(anonymous) @ workbench.desktop.main.js:2834
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
M @ workbench.desktop.main.js:1925
(anonymous) @ workbench.desktop.main.js:1925
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
Q @ workbench.desktop.main.js:550
s @ workbench.desktop.main.js:550
r @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:549
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
ae @ workbench.desktop.main.js:83
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:81
workbench.desktop.main.js:616   ERR Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
workbench.desktop.main.js:774 Extension host terminated unexpectedly 3 times within the last 5 minutes.
c @ workbench.desktop.main.js:774
(anonymous) @ workbench.desktop.main.js:774
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
addNotification @ workbench.desktop.main.js:774
notify @ workbench.desktop.main.js:1747
prompt @ workbench.desktop.main.js:1747
Eb @ workbench.desktop.main.js:2836
Db @ workbench.desktop.main.js:2834
(anonymous) @ workbench.desktop.main.js:2834
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
M @ workbench.desktop.main.js:1925
(anonymous) @ workbench.desktop.main.js:1925
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
Q @ workbench.desktop.main.js:550
s @ workbench.desktop.main.js:550
r @ workbench.desktop.main.js:550
(anonymous) @ workbench.desktop.main.js:549
invoke @ workbench.desktop.main.js:85
deliver @ workbench.desktop.main.js:85
fire @ workbench.desktop.main.js:85
ae @ workbench.desktop.main.js:83
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:81

VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:57:40.428Z) Kernel version: Linux x64 5.15.0-58-generic OS: Ubuntu 22.04.1 LTS (amd64) Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz (4 x 2993)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|4, 6, 7| |Memory (System)|7.46GB (2.35GB free)| |Process Argv|--unity-launch --crash-reporter-id 78e10b24-7d26-4dfc-bc9e-660ef7ec7506| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Gnome| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|wayland|
Extensions (129) Extension|Author (truncated)|Version ---|---|--- asp-net-core-snippet-pack|adr|1.51.0 Bookmarks|ale|13.3.1 electron-snippets|ant|1.0.3 All-Autocomplete|Ati|0.0.23 vscode-icontheme-nomo-dark|be5|1.3.6 npm-intellisense|chr|1.4.4 path-intellisense|chr|2.8.4 regex|chr|0.4.0 gitignore|cod|0.9.0 vscode-github-actions|csc|0.24.4 vscode-svgviewer|css|2.0.0 php-class-generator-composer-psr-4|dam|1.0.1 dart-code|Dar|3.58.0 flutter|Dar|3.58.0 vscode-markdownlint|Dav|0.49.0 vscode-eslint|dba|2.2.6 devdocs|dei|0.2.0 javascript-ejs-support|Dig|1.3.1 xml|Dot|2.5.1 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|13.2.0 vscode-html-css|ecm|1.13.1 EditorConfig|Edi|0.16.4 apacheconf-snippets|eim|1.3.0 mtasa-dgs-lua|ERA|2.7.4 prettier-vscode|esb|9.10.4 bootstrap-4-cdn-snippet|eve|1.13.0 php-intellisense|fel|2.3.14 code-runner|for|0.12.0 shell-format|fox|7.2.2 vscode-google-translate|fun|1.4.13 codespaces|Git|1.13.7 remotehub|Git|0.48.0 vscode-pull-request-github|Git|0.56.0 go|gol|0.37.1 gc-excelviewer|Gra|4.2.56 todo-tree|Gru|0.0.222 vscode-systemd-support|han|1.0.1 composer|ika|0.8.0 compareit|in4|0.0.2 easy-snippet|inu|0.6.3 path-autocomplete|ion|1.22.1 search-node-modules|jas|1.3.0 c-cpp-flylint|jbe|1.13.0 vscode-gnupg-tool|JHe|1.3.9 mtatd|jus|1.1.0 php-xdebug|kak|0.0.7 vsc-python-indent|Kev|1.18.0 kite|kit|0.147.0 electron-debug|kod|18.11.1 node-module-intellisense|lei|1.5.0 VS-code-drupal|mar|0.0.12 manpages|mer|0.1.3 python-path|mge|0.0.14 vscode-language-babel|mgm|0.0.36 dotenv|mik|1.0.1 prettify-json|moh|0.0.3 compare-folders|mos|0.22.3 vscode-apache|mrm|1.2.0 vscode-docker|ms-|1.23.3 csharp|ms-|1.25.4 isort|ms-|2022.8.0 python|ms-|2022.20.2 vscode-pylance|ms-|2023.1.40 jupyter|ms-|2022.11.1003412109 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.14 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 cmake-tools|ms-|1.13.43 cpptools|ms-|1.14.0 cpptools-extension-pack|ms-|1.3.0 makefile-tools|ms-|0.6.0 notepadplusplus-keybindings|ms-|1.0.7 powershell|ms-|2023.1.0 remote-repositories|ms-|0.26.0 vs-keybindings|ms-|0.2.1 vsliveshare|ms-|1.0.5823 sqltools|mtx|0.27.1 sqltools-driver-mysql|mtx|0.5.1 sqltools-driver-sqlite|mtx|0.5.0 color-highlight|nau|2.5.0 gremlins|nho|0.26.0 linux-desktop-file|nic|0.0.21 vetur|oct|0.36.1 pawn-development|ope|1.1.5 vscode-jest|Ort|5.1.0 explorer-exclude|Pet|1.3.2 apparmor|pjb|0.0.2 material-icon-theme|PKi|4.23.1 material-product-icons|PKi|1.4.1 fabric8-analytics|red|0.3.6 vscode-commons|red|0.0.6 vscode-xml|red|0.23.0 vscode-yaml|red|1.11.0 format-html-in-php|rif|1.7.0 bootstrap-product-icons|rub|1.0.2 lualint|sat|0.0.5 vscode-javascript-booster|sbu|14.0.1 html5-boilerplate|sid|1.1.1 search-pawn-package|sre|0.0.3 rewrap|stk|1.16.3 mtasa-lua|sub|2.4.0 lua|sum|3.6.7 control-snippets|svi|1.9.1 ejs-snippets|Tao|0.1.0 vs-code-node-require|tgr|1.10.2 bootstrap4-vscode|the|6.1.0 mtasasnippets|the|0.0.3 shellcheck|tim|0.29.3 msbuild-project-tools|tin|0.4.9 cmake|twx|0.0.17 lorem-ipsum|Tyr|1.3.1 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-arduino|vsc|0.4.13 snippet|vsc|0.9.2 codetour|vsl|0.0.58 quokka-vscode|Wal|1.0.524 rc-script|wil|1.0.0 wordpress-toolbox|wor|1.3.15 eno|Wsc|2.3.53 JavaScriptSnippets|xab|1.8.0 php-debug|xde|1.30.0 php-pack|xde|1.0.3 markdown-all-in-one|yzh|3.5.0 makefile-creator|zen|0.0.3 html-css-class-completion|Zig|1.20.0 php-intellisense|zob|1.0.13 (2 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 pyindex848cf:30577861 nodejswelcome1cf:30587006 2e4cg342:30602488 f6dab269:30613381 pythonsymbol12cf:30652349 a9j8j154:30646983 ```
Zorono commented 1 year ago

@AmyrAhmady i believe there is a relation between my problem and open.mp's Pawn Extension

Zorono commented 1 year ago

image

Zorono commented 1 year ago

image image

in addition to, after disabling wallabyjs.console-ninja it showed a new error related to submodule amx_assembly's amx_base.inc:

Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}

full log;

console.ts:137 [Extension Host] activate
console.ts:137 [Extension Host] Lua:MTA LUA: Init
console.ts:137 [Extension Host] MTA:SA LUA: Init
mainThreadExtensionService.ts:112 Activating extension 'subtixx.mtasa-lua' failed: command 'extension.mta-new-resource' already exists.
$onExtensionActivationError @ mainThreadExtensionService.ts:112
N @ rpcProtocol.ts:455
M @ rpcProtocol.ts:440
H @ rpcProtocol.ts:370
G @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
fire @ ipc.net.ts:671
G.onmessage @ localProcessExtensionHost.ts:617
console.ts:137 [Extension Host] Looking for parseable documents...
console.ts:137 [Extension Host] Found no documents
console.ts:137 [Extension Host] Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}
console.ts:137 [Extension Host] Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}
T @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
N @ rpcProtocol.ts:455
M @ rpcProtocol.ts:440
H @ rpcProtocol.ts:370
G @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
fire @ ipc.net.ts:671
G.onmessage @ localProcessExtensionHost.ts:617
mainThreadExtensionService.ts:80 [[object Object]]abort(Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}) at Error: 
    at jsStackTrace (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1796:17)
    at stackTrace (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1813:16)
    at process.abort (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1596:44)
    at process.emit (node:events:538:35)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:274:27)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
N @ rpcProtocol.ts:455
M @ rpcProtocol.ts:440
H @ rpcProtocol.ts:370
G @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
fire @ ipc.net.ts:671
G.onmessage @ localProcessExtensionHost.ts:617
mainThreadExtensionService.ts:81 RuntimeError: abort(Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}) at Error: 
    at jsStackTrace (vscode-file://vscode-app/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1796:17)
    at stackTrace (vscode-file://vscode-app/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1813:16)
    at process.abort (vscode-file://vscode-app/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1596:44)
    at process.emit (node:events:538:35)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:274:27)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)
    at process.abort (vscode-file://vscode-app/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1602:9)
    at process.emit (node:events:538:35)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:274:27)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81
N @ rpcProtocol.ts:455
M @ rpcProtocol.ts:440
H @ rpcProtocol.ts:370
G @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
fire @ ipc.net.ts:671
G.onmessage @ localProcessExtensionHost.ts:617
abstractExtensionService.ts:604 Extension host (LocalProcess) terminated unexpectedly. Code: 7, Signal: unknown
mb @ abstractExtensionService.ts:604
mb @ nativeExtensionService.ts:165
lb @ abstractExtensionService.ts:596
(anonymous) @ abstractExtensionService.ts:574
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
M @ localProcessExtensionHost.ts:509
(anonymous) @ localProcessExtensionHost.ts:303
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
_ @ ipc.ts:672
t @ ipc.ts:740
s @ ipc.ts:729
(anonymous) @ ipc.ts:549
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
ee @ event.ts:457
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:81
log.ts:441   ERR Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
log.ts:421  INFO Automatically restarting the extension host.
localProcessExtensionHost.ts:293 Extension Host
localProcessExtensionHost.ts:294 /home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:123      throw ex;      ^RuntimeError: abort(Git error {  "exitCode": 128,  "gitErrorCode": "IsInSubmodule",  "stdout": "",  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"}) at Error:     at jsStackTrace (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1796:17)    at stackTrace (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1813:16)    at process.abort (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1596:44)    at process.emit (node:events:538:35)    at emit (node:internal/process/promises:140:20)    at processPromiseRejections (node:internal/process/promises:274:27)    at processTicksAndRejections (node:internal/process/task_queues:97:32)    at process.abort (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1602:9)    at process.emit (node:events:538:35)    at emit (node:internal/process/promises:140:20)    at processPromiseRejections (node:internal/process/promises:274:27)    at processTicksAndRejections (node:internal/process/task_queues:97:32)
console.ts:137 [Extension Host] activate
console.ts:137 [Extension Host] Lua:MTA LUA: Init
console.ts:137 [Extension Host] MTA:SA LUA: Init
mainThreadExtensionService.ts:112 Activating extension 'subtixx.mtasa-lua' failed: command 'extension.mta-new-resource' already exists.
$onExtensionActivationError @ mainThreadExtensionService.ts:112
N @ rpcProtocol.ts:455
M @ rpcProtocol.ts:440
H @ rpcProtocol.ts:370
G @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
fire @ ipc.net.ts:671
G.onmessage @ localProcessExtensionHost.ts:617
console.ts:137 [Extension Host] Looking for parseable documents...
console.ts:137 [Extension Host] Found no documents
console.ts:137 [Extension Host] Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}
console.ts:137 [Extension Host] Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}
T @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
N @ rpcProtocol.ts:455
M @ rpcProtocol.ts:440
H @ rpcProtocol.ts:370
G @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
fire @ ipc.net.ts:671
G.onmessage @ localProcessExtensionHost.ts:617
mainThreadExtensionService.ts:80 [[object Object]]abort(Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}) at Error: 
    at jsStackTrace (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1796:17)
    at stackTrace (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1813:16)
    at process.abort (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1596:44)
    at process.emit (node:events:538:35)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:274:27)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:80
N @ rpcProtocol.ts:455
M @ rpcProtocol.ts:440
H @ rpcProtocol.ts:370
G @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
fire @ ipc.net.ts:671
G.onmessage @ localProcessExtensionHost.ts:617
mainThreadExtensionService.ts:81 RuntimeError: abort(Git error {
  "exitCode": 128,
  "gitErrorCode": "IsInSubmodule",
  "stdout": "",
  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"
}) at Error: 
    at jsStackTrace (vscode-file://vscode-app/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1796:17)
    at stackTrace (vscode-file://vscode-app/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1813:16)
    at process.abort (vscode-file://vscode-app/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1596:44)
    at process.emit (node:events:538:35)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:274:27)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)
    at process.abort (vscode-file://vscode-app/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1602:9)
    at process.emit (node:events:538:35)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:274:27)
    at processTicksAndRejections (node:internal/process/task_queues:97:32)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:81
N @ rpcProtocol.ts:455
M @ rpcProtocol.ts:440
H @ rpcProtocol.ts:370
G @ rpcProtocol.ts:296
(anonymous) @ rpcProtocol.ts:161
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
fire @ ipc.net.ts:671
G.onmessage @ localProcessExtensionHost.ts:617
abstractExtensionService.ts:604 Extension host (LocalProcess) terminated unexpectedly. Code: 7, Signal: unknown
mb @ abstractExtensionService.ts:604
mb @ nativeExtensionService.ts:165
lb @ abstractExtensionService.ts:596
(anonymous) @ abstractExtensionService.ts:574
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
M @ localProcessExtensionHost.ts:509
(anonymous) @ localProcessExtensionHost.ts:303
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
_ @ ipc.ts:672
t @ ipc.ts:740
s @ ipc.ts:729
(anonymous) @ ipc.ts:549
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
ee @ event.ts:457
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:81
log.ts:441   ERR Extension host (LocalProcess) terminated unexpectedly. No extensions were activated.
notificationsAlerts.ts:42 Extension host terminated unexpectedly 3 times within the last 5 minutes.
c @ notificationsAlerts.ts:42
(anonymous) @ notificationsAlerts.ts:28
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
addNotification @ notifications.ts:204
notify @ notificationService.ts:175
prompt @ notificationService.ts:253
mb @ nativeExtensionService.ts:230
lb @ abstractExtensionService.ts:596
(anonymous) @ abstractExtensionService.ts:574
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
M @ localProcessExtensionHost.ts:509
(anonymous) @ localProcessExtensionHost.ts:303
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
_ @ ipc.ts:672
t @ ipc.ts:740
s @ ipc.ts:729
(anonymous) @ ipc.ts:549
invoke @ event.ts:723
deliver @ event.ts:936
fire @ event.ts:892
ee @ event.ts:457
emit @ node:events:526
onMessage @ node:electron/js2c/renderer_init:81
localProcessExtensionHost.ts:293 Extension Host
localProcessExtensionHost.ts:294 /home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:123      throw ex;      ^RuntimeError: abort(Git error {  "exitCode": 128,  "gitErrorCode": "IsInSubmodule",  "stdout": "",  "stderr": "fatal: Pathspec '/sdc1/path/to/SA-MP Server/dependencies/amx_assembly/amx_base.inc' is in submodule 'dependencies/amx_assembly'\n"}) at Error:     at jsStackTrace (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1796:17)    at stackTrace (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1813:16)    at process.abort (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1596:44)    at process.emit (node:events:538:35)    at emit (node:internal/process/promises:140:20)    at processPromiseRejections (node:internal/process/promises:274:27)    at processTicksAndRejections (node:internal/process/task_queues:97:32)    at process.abort (/home/zorono/.vscode/extensions/openmp.pawn-development-1.1.5/node_modules/astyle/dist/libastyle.js:1602:9)    at process.emit (node:events:538:35)    at emit (node:internal/process/promises:140:20)    at processPromiseRejections (node:internal/process/promises:274:27)    at processTicksAndRejections (node:internal/process/task_queues:97:32)
alexdima commented 1 year ago

All extensions execute together on a single nodejs process, so in order to narrow down the possible problematic extension, please try the following:

initial step final
image image image
Zorono commented 1 year ago

@alexdima image

vscodenpa commented 1 year ago

Hey @alexdima, this issue might need further attention.

@Zorono, you can help us out by closing this issue if the problem no longer exists, or adding more information.

vscodenpa commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!