-
Notifications
You must be signed in to change notification settings - Fork 154
[BUG] CLI crashes in VS Code Terminal but not in iTerm #406
Copy link
Copy link
Closed
Labels
BugSomething isn't workingSomething isn't working
Description
Version: 0.100.1
Repro steps:
- Open iTerm in macOS Ventura 13.3.1 (a), Intel.
- Successfully run
databricks clusters list. - Open VS Code 1.78.2 and click Terminal > New Terminal.
- Run
databricks clusters list.
Result:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x16898f5]
goroutine 1 [running]:
github.com/databricks/cli/bundle/config.(*Root).SetConfigFilePath(0xc0001bf520, {0xc00078e880, 0x3b})
github.com/databricks/cli/bundle/config/root.go:81 +0x335
github.com/databricks/cli/bundle/config.(*Root).Load(0xc0001bf520, {0xc00078e880, 0x3b})
github.com/databricks/cli/bundle/config/root.go:122 +0x8a
github.com/databricks/cli/bundle/config.Load({0xc00078e880, 0x3b})
github.com/databricks/cli/bundle/config/root.go:68 +0xbe
github.com/databricks/cli/bundle/config/mutator.(*processInclude).Apply(0x1cbe620?, {0xc000003ef0?, 0x1b1f40b?}, 0xc0004b4000)
github.com/databricks/cli/bundle/config/mutator/process_include.go:29 +0x28
github.com/databricks/cli/bundle.applyMutator({0x1cbe620, 0xc0000037d0}, 0x0?, {0x1cb88b8, 0xc00014dcc0})
github.com/databricks/cli/bundle/mutator.go:28 +0x162
github.com/databricks/cli/bundle.Apply({0x1cbe620, 0xc0000037d0}, 0x1b1f40b?, {0xc00014dce0?, 0x2, 0x0?})
github.com/databricks/cli/bundle/mutator.go:48 +0x85
github.com/databricks/cli/bundle.applyMutator({0x1cbe620, 0xc0000dbb90}, 0x1b253d5?, {0x1cb88e0, 0x23bf2e8})
github.com/databricks/cli/bundle/mutator.go:35 +0x1ec
github.com/databricks/cli/bundle.Apply({0x1cbe620, 0xc0000dbb90}, 0xc00063fa78?, {0xc00063fa78?, 0x4, 0x203000?})
github.com/databricks/cli/bundle/mutator.go:48 +0x85
github.com/databricks/cli/cmd/root.loadBundle(0x2343940, {0x16f3974?, 0x263c108?, 0xc0000071e0?}, 0x238f520?)
github.com/databricks/cli/cmd/root/bundle.go:42 +0x193
github.com/databricks/cli/cmd/root.configureBundle(0x2343940, {0x23bf2e8?, 0x7?, 0xedbfea6bd?}, 0x238d100?)
github.com/databricks/cli/cmd/root/bundle.go:52 +0x2a
github.com/databricks/cli/cmd/root.TryConfigureBundle(...)
github.com/databricks/cli/cmd/root/bundle.go:88
github.com/databricks/cli/cmd/root.MustWorkspaceClient(0x2343940, {0x23bf2e8, 0x0, 0x0})
github.com/databricks/cli/cmd/root/auth.go:88 +0xda
github.com/spf13/cobra.(*Command).execute(0x2343940, {0x23bf2e8, 0x0, 0x0})
github.com/spf13/cobra@v1.7.0/command.go:925 +0x7db
github.com/spf13/cobra.(*Command).ExecuteC(0x233d4a0)
github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd
github.com/spf13/cobra.(*Command).ExecuteContextC(...)
github.com/spf13/cobra@v1.7.0/command.go:1001
github.com/databricks/cli/cmd/root.Execute()
github.com/databricks/cli/cmd/root/root.go:81 +0x6a
main.main()
github.com/databricks/cli/main.go:18 +0x17
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working