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

Crash after installing continue #3168

Open
3 tasks done
hisalock opened this issue Dec 3, 2024 · 15 comments
Open
3 tasks done

Crash after installing continue #3168

hisalock opened this issue Dec 3, 2024 · 15 comments
Assignees
Labels
area:installation Relates to the installation process ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior

Comments

@hisalock
Copy link

hisalock commented Dec 3, 2024

Before submitting your bug report

Relevant environment info

- OS:Debian bookworm
- Continue version:0.8.60
- IDE version:code_1.95.3-1731513102_amd64
- Model:
- config.json:

Description

I tried to install on vscode the continue extension in vain. Vscode detects an extension that crashes. The bisect extension launches to identify which extension crashes. The continue extension is identified as the one that crashes.

To reproduce

Juste install "continue"

Log output

# first start vscode
INFO Started local extension host with pid 180063.
workbench.desktop.main.js:sourcemap:35  INFO Started initializing default profile extensions in extensions installation folder. file:///home/hisa/.vscode/extensions
workbench.desktop.main.js:sourcemap:3368 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ workbench.desktop.main.js:sourcemap:3368
workbench.desktop.main.js:sourcemap:3368 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ workbench.desktop.main.js:sourcemap:3368
workbench.desktop.main.js:sourcemap:35  INFO Completed initializing default profile extensions in extensions installation folder. file:///home/hisa/.vscode/extensions
workbench.desktop.main.js:sourcemap:35  INFO Settings Sync: Updating due to initialize
workbench.desktop.main.js:sourcemap:35  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
workbench.desktop.main.js:sourcemap:35  INFO Settings Sync: Authentication providers updated Array(2)
workbench.desktop.main.js:sourcemap:35  INFO [perf] Render performance baseline is 48ms
workbench.desktop.main.js:sourcemap:3368 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.

# search "continue" in the marketplace
ERR [network] #5: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - error POST Canceled

# selection of "continue" in the marketplace
webviewElement.ts:486 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
index.html?id=623a18…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-53b2f83e-92e1-47b4-8f9b-201ad589918b'". Either the 'unsafe-inline' keyword, a hash ('sha256-sOhztCLcQDj6UWemcAVe4e2bOyfl2/NxbQbrHagsVAo='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=623a18…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-53b2f83e-92e1-47b4-8f9b-201ad589918b'". Either the 'unsafe-inline' keyword, a hash ('sha256-VLeH8hLyP5RT+VmlyatgzqnTRaV2QEEu879+zSMjyPY='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=623a18…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-53b2f83e-92e1-47b4-8f9b-201ad589918b'". Either the 'unsafe-inline' keyword, a hash ('sha256-sOhztCLcQDj6UWemcAVe4e2bOyfl2/NxbQbrHagsVAo='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=623a18…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-53b2f83e-92e1-47b4-8f9b-201ad589918b'". Either the 'unsafe-inline' keyword, a hash ('sha256-VLeH8hLyP5RT+VmlyatgzqnTRaV2QEEu879+zSMjyPY='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=623a18…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-53b2f83e-92e1-47b4-8f9b-201ad589918b'". Either the 'unsafe-inline' keyword, a hash ('sha256-sOhztCLcQDj6UWemcAVe4e2bOyfl2/NxbQbrHagsVAo='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=623a18…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-53b2f83e-92e1-47b4-8f9b-201ad589918b'". Either the 'unsafe-inline' keyword, a hash ('sha256-VLeH8hLyP5RT+VmlyatgzqnTRaV2QEEu879+zSMjyPY='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
(anonymous)	@	index.html?id=623a18…iceWorker=true:1060

# install "continue"
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-76bf9604-2569-4e52-b3ac-c42419815705'". Either the 'unsafe-inline' keyword, a hash ('sha256-sOhztCLcQDj6UWemcAVe4e2bOyfl2/NxbQbrHagsVAo='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=20d8ae…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-76bf9604-2569-4e52-b3ac-c42419815705'". Either the 'unsafe-inline' keyword, a hash ('sha256-VLeH8hLyP5RT+VmlyatgzqnTRaV2QEEu879+zSMjyPY='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=20d8ae…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-76bf9604-2569-4e52-b3ac-c42419815705'". Either the 'unsafe-inline' keyword, a hash ('sha256-sOhztCLcQDj6UWemcAVe4e2bOyfl2/NxbQbrHagsVAo='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=20d8ae…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-76bf9604-2569-4e52-b3ac-c42419815705'". Either the 'unsafe-inline' keyword, a hash ('sha256-VLeH8hLyP5RT+VmlyatgzqnTRaV2QEEu879+zSMjyPY='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=20d8ae…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-76bf9604-2569-4e52-b3ac-c42419815705'". Either the 'unsafe-inline' keyword, a hash ('sha256-sOhztCLcQDj6UWemcAVe4e2bOyfl2/NxbQbrHagsVAo='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
index.html?id=20d8ae…iceWorker=true:1060 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'nonce-76bf9604-2569-4e52-b3ac-c42419815705'". Either the 'unsafe-inline' keyword, a hash ('sha256-VLeH8hLyP5RT+VmlyatgzqnTRaV2QEEu879+zSMjyPY='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.
abstractExtensionService.ts:810 Extension host (LocalProcess pid: 180063) terminated unexpectedly. Code: 4, Signal: unknown
log.ts:439   ERR Extension host (LocalProcess pid: 180063) terminated unexpectedly. The following extensions were running: vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict, vscode.emmet, Continue.continue
log.ts:419  INFO Automatically restarting the extension host.
log.ts:419  INFO Started local extension host with pid 180671.
abstractExtensionService.ts:810 Extension host (LocalProcess pid: 180671) terminated unexpectedly. Code: 4, Signal: unknown
log.ts:439   ERR Extension host (LocalProcess pid: 180671) terminated unexpectedly. The following extensions were running: vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict, vscode.emmet, Continue.continue
log.ts:419  INFO Automatically restarting the extension host.
log.ts:419  INFO Started local extension host with pid 180696.
abstractExtensionService.ts:810 Extension host (LocalProcess pid: 180696) terminated unexpectedly. Code: 4, Signal: unknown
log.ts:439   ERR Extension host (LocalProcess pid: 180696) terminated unexpectedly. The following extensions were running: vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict, vscode.emmet, Continue.continue
notificationsAlerts.ts:42 Extension host terminated unexpectedly 3 times within the last 5 minutes.
@dosubot dosubot bot added area:installation Relates to the installation process ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior labels Dec 3, 2024
@Patrick-Erichsen
Copy link
Collaborator

Hi @hisalock , thanks for the heads up here. Any chance you're able to view the Continue logs before it crashes? https://docs.continue.dev/troubleshooting#check-the-logs

@hisalock
Copy link
Author

hisalock commented Dec 4, 2024

sorry, i'm not used to using the console, i hope this is what you want...
All levels include "verbose"
1

Fetch finished loading: GET "".
request.ts:24 Fetch finished loading: GET "https://continue.gallerycdn.vsassets.io/extensions/continue/continue/0.8.60/1732930622522/Microsoft.VisualStudio.Code.Manifest?targetPlatform=linux-x64".
i$s @ request.ts:24
(anonymous) @ requestService.ts:31
c @ request.ts:81
request @ requestService.ts:31
G @ extensionGalleryService.ts:1283
await in G
getManifest @ extensionGalleryService.ts:1186
getGalleryManifest @ extensionsWorkbenchService.ts:407
getManifest @ extensionsWorkbenchService.ts:392
(anonymous) @ extensionEditor.ts:538
get @ cache.ts:24
zb @ extensionEditor.ts:589
await in zb
setInput @ extensionEditor.ts:462
await in setInput
U @ editorPanes.ts:447
M @ editorPanes.ts:255
openEditor @ editorPanes.ts:132
(anonymous) @ editorGroupView.ts:1277
Kb @ editorGroupView.ts:1301
Jb @ editorGroupView.ts:1259
openEditor @ editorGroupView.ts:1163
openEditor @ editorService.ts:573
open @ extensionsWorkbenchService.ts:1482
dd @ extensionsViews.ts:1125
(anonymous) @ extensionsViews.ts:225
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ event.ts:277
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ event.ts:170
B @ event.ts:1243
fire @ event.ts:1274
j @ listService.ts:770
g @ listService.ts:741
(anonymous) @ listService.ts:697
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ event.ts:136
B @ event.ts:1243
fire @ event.ts:1274
v @ listWidget.ts:781
(anonymous) @ event.ts:187
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ event.ts:136
B @ event.ts:1243
fire @ event.ts:1274
s @ event.ts:40
request.ts:24 Fetch finished loading: GET "https://continue.gallerycdn.vsassets.io/extensions/continue/continue/0.8.60/1732930622522/Microsoft.VisualStudio.Services.Content.Details?targetPlatform=linux-x64".
i$s @ request.ts:24
(anonymous) @ requestService.ts:31
c @ request.ts:81
request @ requestService.ts:31
G @ extensionGalleryService.ts:1283
await in G
getReadme @ extensionGalleryService.ts:1177
getReadme @ extensionsWorkbenchService.ts:446
(anonymous) @ extensionEditor.ts:536
get @ cache.ts:24
Gb @ extensionEditor.ts:872
await in Gb
Cb @ extensionEditor.ts:700
Bb @ extensionEditor.ts:685
Ab @ extensionEditor.ts:646
zb @ extensionEditor.ts:598
await in zb
setInput @ extensionEditor.ts:462
await in setInput
U @ editorPanes.ts:447
M @ editorPanes.ts:255
openEditor @ editorPanes.ts:132
(anonymous) @ editorGroupView.ts:1277
Kb @ editorGroupView.ts:1301
Jb @ editorGroupView.ts:1259
openEditor @ editorGroupView.ts:1163
openEditor @ editorService.ts:573
open @ extensionsWorkbenchService.ts:1482
dd @ extensionsViews.ts:1125
(anonymous) @ extensionsViews.ts:225
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ event.ts:277
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ event.ts:170
B @ event.ts:1243
fire @ event.ts:1274
j @ listService.ts:770
g @ listService.ts:741
(anonymous) @ listService.ts:697
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ event.ts:136
B @ event.ts:1243
fire @ event.ts:1274
v @ listWidget.ts:781
(anonymous) @ event.ts:187
B @ event.ts:1243
fire @ event.ts:1274
(anonymous) @ event.ts:136
B @ event.ts:1243
fire @ event.ts:1274
s @ event.ts:40
request.ts:24 Fetch finished loading: GET "https://continue.gallerycdn.vsassets.io/extensions/continue/continue/0.8.60/1732930622522/Microsoft.VisualStudio.Code.Manifest?targetPlatform=linux-x64".
i$s @ request.ts:24
(anonymous) @ requestService.ts:31
c @ request.ts:81
request @ requestService.ts:31
G @ extensionGalleryService.ts:1283
await in G
getManifest @ extensionGalleryService.ts:1186
X @ extensionManagementService.ts:605
installFromGallery @ extensionManagementService.ts:469
bc @ extensionsWorkbenchService.ts:2655
(anonymous) @ extensionsWorkbenchService.ts:2332
(anonymous) @ extensionsWorkbenchService.ts:2621
(anonymous) @ extensionsWorkbenchService.ts:2849
pn @ async.ts:27
(anonymous) @ extensionsWorkbenchService.ts:2849
r @ progressService.ts:56
D @ progressService.ts:539
y @ progressService.ts:441
withProgress @ progressService.ts:111
nc @ extensionsWorkbenchService.ts:2848
$b @ extensionsWorkbenchService.ts:2612
install @ extensionsWorkbenchService.ts:2332
bb @ extensionsActions.ts:600
run @ extensionsActions.ts:562
u @ actions.ts:194
run @ actions.ts:185
r @ contextmenuService.ts:257
click @ contextmenuService.ts:229
o @ contextmenu.ts:18
onceWrapper @ VM4 sandbox_bundle:2
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
request.ts:24 Fetch finished loading: GET "https://continue.gallerycdn.vsassets.io/extensions/continue/continue/0.8.60/1732930622522/Microsoft.VisualStudio.Services.Content.Details?targetPlatform=linux-x64".
i$s @ request.ts:24
(anonymous) @ requestService.ts:31
c @ request.ts:81
request @ requestService.ts:31
G @ extensionGalleryService.ts:1283
await in G
getReadme @ extensionGalleryService.ts:1177
getReadme @ extensionsWorkbenchService.ts:446
(anonymous) @ extensionEditor.ts:536
get @ cache.ts:24
Gb @ extensionEditor.ts:872
await in Gb
Cb @ extensionEditor.ts:700
Bb @ extensionEditor.ts:685
Ab @ extensionEditor.ts:646
zb @ extensionEditor.ts:598
await in zb
setOptions @ extensionEditor.ts:472
U @ editorPanes.ts:426
M @ editorPanes.ts:255
openEditor @ editorPanes.ts:132
(anonymous) @ editorGroupView.ts:1277
Kb @ editorGroupView.ts:1301
Jb @ editorGroupView.ts:1259
openEditor @ editorGroupView.ts:1163
openEditor @ editorService.ts:573
open @ extensionsWorkbenchService.ts:1482
run @ extensionsActions.ts:547
u @ actions.ts:194
run @ actions.ts:185
r @ contextmenuService.ts:257
click @ contextmenuService.ts:229
o @ contextmenu.ts:18
onceWrapper @ VM4 sandbox_bundle:2
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
log.ts:439 ERR Extension host (LocalProcess pid: 210634) terminated unexpectedly. The following extensions were running: vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict, vscode.emmet, Continue.continue
log.ts:439 ERR Extension host (LocalProcess pid: 210948) terminated unexpectedly. The following extensions were running: vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict, vscode.emmet, Continue.continue
log.ts:439 ERR Extension host (LocalProcess pid: 210968) terminated unexpectedly. The following extensions were running: vscode.git-base, vscode.git, vscode.github, vscode.debug-auto-launch, vscode.merge-conflict, vscode.emmet, Continue.continue

@mjkaye
Copy link

mjkaye commented Dec 4, 2024

I'm another user seeing the same behaviour on Debian bookworm (12.2). The behaviour is the same regardless of whether I use the release or pre-release version of Continue.

This is a fresh install of VSCode version 1.95.3 with only a few extensions installed (docker, F#...).

These are the logs from when I enable Continue. Let me know if there's anything else I can do to help narrow down the cause.

INFO Settings Sync: Updating authentication providers. Authentication Providers from store: (2) [{…}, {…}]
log.ts:419  INFO Settings Sync: Authentication providers updated (2) ['github', 'microsoft']
log.ts:419  INFO Settings Sync: Updating due to declared authentication providers changed
log.ts:419  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: (2) [{…}, {…}]
log.ts:419  INFO Settings Sync: Authentication providers updated (2) ['github', 'microsoft']0: "github"1: "microsoft"length: 2[[Prototype]]: Array(0)at: ƒ at()concat: ƒ concat()constructor: ƒ Array()copyWithin: ƒ copyWithin()entries: ƒ entries()every: ƒ every()fill: ƒ fill()filter: ƒ filter()find: ƒ find()findIndex: ƒ findIndex()findLast: ƒ findLast()findLastIndex: ƒ findLastIndex()flat: ƒ flat()flatMap: ƒ flatMap()forEach: ƒ forEach()includes: ƒ includes()indexOf: ƒ indexOf()join: ƒ join()keys: ƒ keys()lastIndexOf: ƒ lastIndexOf()length: 0map: ƒ map()pop: ƒ pop()push: ƒ push()reduce: ƒ reduce()reduceRight: ƒ reduceRight()reverse: ƒ reverse()shift: ƒ shift()slice: ƒ slice()some: ƒ some()sort: ƒ sort()splice: ƒ splice()toLocaleString: ƒ toLocaleString()toReversed: ƒ toReversed()toSorted: ƒ toSorted()toSpliced: ƒ toSpliced()toString: ƒ toString()unshift: ƒ unshift()values: ƒ values()with: ƒ with()Symbol(Symbol.iterator): ƒ values()Symbol(Symbol.unscopables): {at: true, copyWithin: true, entries: true, fill: true, find: true, …}[[Prototype]]: Object
console.ts:137 [Extension Host] [LineLensRenderer-LineLens] Config Changed event
console.ts:137 [Extension Host] [LineLensRenderer-PipelineHints] Config Changed event
abstractExtensionService.ts:810 Extension host (LocalProcess pid: 75412) terminated unexpectedly. Code: 4, Signal: unknown
xb @ abstractExtensionService.ts:810
xb @ nativeExtensionService.ts:159
wb @ abstractExtensionService.ts:802
(anonymous) @ abstractExtensionService.ts:775
B @ event.ts:1243
fire @ event.ts:1274
J @ localProcessExtensionHost.ts:524
(anonymous) @ localProcessExtensionHost.ts:284
B @ event.ts:1243
fire @ event.ts:1274
l @ ipc.ts:691
t @ ipc.ts:759
s @ ipc.ts:748
(anonymous) @ ipc.ts:550
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
ge @ event.ts:577
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
log.ts:439   ERR Extension host (LocalProcess pid: 75412) terminated unexpectedly. The following extensions were running: vscode.git-base, vscode.git, vscode.github, ms-dotnettools.vscode-dotnet-runtime, vscode.emmet, ms-dotnettools.csharp, Ionide.Ionide-fsharp, vscode.debug-auto-launch, vscode.merge-conflict, ms-vscode-remote.remote-containers, tuttieee.emacs-mcx, Continue.continue
notificationsAlerts.ts:42 Extension host terminated unexpectedly 3 times within the last 5 minutes.
c @ notificationsAlerts.ts:42
(anonymous) @ notificationsAlerts.ts:28
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
addNotification @ notifications.ts:228
notify @ notificationService.ts:253
prompt @ notificationService.ts:331
xb @ nativeExtensionService.ts:224
wb @ abstractExtensionService.ts:802
(anonymous) @ abstractExtensionService.ts:775
B @ event.ts:1243
fire @ event.ts:1274
J @ localProcessExtensionHost.ts:524
(anonymous) @ localProcessExtensionHost.ts:284
B @ event.ts:1243
fire @ event.ts:1274
l @ ipc.ts:691
t @ ipc.ts:759
s @ ipc.ts:748
(anonymous) @ ipc.ts:550
B @ event.ts:1243
C @ event.ts:1254
fire @ event.ts:1278
ge @ event.ts:577
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
event.ts:42 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
onWillAddFirstListener @ event.ts:42
q @ event.ts:1149
(anonymous) @ event.ts:136
onWillAddFirstListener @ event.ts:211
q @ event.ts:1149
lDe @ listWidget.ts:691
E @ listWidget.ts:1544
cl @ listWidget.ts:1524
Mg @ listService.ts:280
o @ instantiationService.ts:162
createInstance @ instantiationService.ts:128
r @ notificationsList.ts:74
show @ notificationsList.ts:53
Q @ notificationsToasts.ts:213
(anonymous) @ notificationsToasts.ts:160
execute @ dom.ts:326
n @ dom.ts:367
(anonymous) @ dom.ts:385
[Violation] 'setTimeout' handler took 53ms
[Violation] 'setTimeout' handler took 56ms
strings.ts:896 [Violation] 'setInterval' handler took 57ms
[Violation] 'setTimeout' handler took 56ms

@Patrick-Erichsen
Copy link
Collaborator

Thanks for the +1s here all, unfortunately it looks like our logs are a bit sparse and not really providing any useful info as to what the root of the problem is.

The only relevant line appears to be this:

abstractExtensionService.ts:810 Extension host (LocalProcess pid: 180063) terminated unexpectedly. Code: 4, Signal: unknown

Which doesn't provide much context.

If any folks are willing/interested in helping debug this, I think attempting to build the extension locally off of main and throwing some log lines into https://github.com/continuedev/continue/blob/main/extensions/vscode/src/extension/VsCodeExtension.ts could be helpful.

Also curious if folks are able to install the JetBrains extension without it crashing on Debian Bookworm.

@mjkaye
Copy link

mjkaye commented Dec 10, 2024

I am able to install the extension with JetBrains Rider RD-243.21565.191, although it doesn't actually allow me to select a model when I try to use it.

@mjkaye
Copy link

mjkaye commented Dec 10, 2024

If any folks are willing/interested in helping debug this, I think attempting to build the extension locally off of main and throwing some log lines into https://github.com/continuedev/continue/blob/main/extensions/vscode/src/extension/VsCodeExtension.ts could be helpful.

Could you point me in the direction of the build instructions, please?

@Patrick-Erichsen
Copy link
Collaborator

I am able to install the extension with JetBrains Rider RD-243.21565.191, although it doesn't actually allow me to select a model when I try to use it.

This likely implies that the GUI is unable to connect to JB.

Could you point me in the direction of the build instructions, please?

https://github.com/continuedev/continue/blob/main/extensions/intellij/CONTRIBUTING.md

Let me know if you have any issues/questions! This would be super helpful if you're able to figure out what's causing the GUI to connect with our JB logic.

@mjkaye
Copy link

mjkaye commented Dec 18, 2024

Could you point me in the direction of the build instructions, please?

https://github.com/continuedev/continue/blob/main/extensions/intellij/CONTRIBUTING.md

Thank you, Patrick, although I'm concentrating on VSCode. For anyone who stumbles across this issue, the VSCode extension instructions can be found at https://github.com/continuedev/continue/blob/main/extensions/vscode/CONTRIBUTING.md

I have managed to narrow down the cause of the issue to the LanceDB dependency. I believe this is due to the fact that my CPU does not support AVX2. @hisalock Can you confirm whether yours supports AVX2?

The AVX2 issue is described in #940, #2175, and lancedb/lance#2195.

Following the hints there, I've installed version 0.8.23 of Continue and this does not crash the Extension Host. However, I'm also unable to use the free trial with this old version. Using an old version of Continue is not really a long-term solution.

There is a possible workaround that involves building LanceDB from source, but I haven't tried that yet.

@mjkaye
Copy link

mjkaye commented Dec 18, 2024

There is a possible workaround that involves building LanceDB from source, but I haven't tried that yet.

I can confirm this works for both the latest release and pre-release versions of Continue. I had to downgrade a number of aws dependencies to get it to build, but Continue is working fine now.

Again, it's difficult to know how long this will work with Continue updates.

@Patrick-Erichsen
Copy link
Collaborator

Interesting, thanks for the deep dive here @mjkaye ! I wasn't aware of the AVX2 issues.

In the meantime, does the workaround Nate outlined here work for you, e.g. disabling indexing? Unfortunately I think that's the near-term solution.

@mjkaye
Copy link

mjkaye commented Dec 20, 2024

does the workaround Nate outlined here work for you,

The workaround instructions are a little vague, so I'm not completely sure I've done it right.

Adding the property disableIndexing with value true to ~/.continue/config.json does not work for me. Continue crashes.

If I have missed something in the instructions, please let me know and I'll test again.

@Patrick-Erichsen
Copy link
Collaborator

We are going to look into solving this by just disabling indexing by default for OS' that aren't supported by LanceDB.

@mjkaye
Copy link

mjkaye commented Dec 20, 2024

We are going to look into solving this by just disabling indexing by default for OS' that aren't supported by LanceDB.

I'll be happy to test that when you do.

@RomneyDa
Copy link
Collaborator

@hisalock @mjkaye can you check this on most recent prerelease? Thanks for digging into this.

@mjkaye
Copy link

mjkaye commented Feb 14, 2025

@hisalock @mjkaye can you check this on most recent prerelease? Thanks for digging into this.

Installing the latest pre-release crashes the Extension Host for me.

Has #3883 been merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:installation Relates to the installation process ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants