Language server extensions crashes on mac os 15.6.1 (Intel)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After updating to the latest version I get a bunch of errors that make IDE unusable for Python
The messages are:

  • The basedpyright server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
  • Server initialization failed. Message: Pending response rejected since connection got disposed Code: -32097

the basedpyright output was:

# Fatal error in , line 0
# Check failed: 12 == (*__error()).
#
#
#
#FailureMessage Object: 0x7ff7b07d4bd0
----- Native stack trace -----

 1: 0x10f8a8e62 node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 2: 0x110bc9f83 V8_Fatal(char const*, ...) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 3: 0x110bd5038 v8::base::OS::SetPermissions(void*, unsigned long, v8::base::OS::MemoryPermission) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 4: 0x10fc96b20 v8::internal::MemoryAllocator::SetPermissionsOnExecutableMemoryChunk(v8::internal::VirtualMemory*, unsigned long, unsigned long, unsigned long) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 5: 0x10fc968b0 v8::internal::MemoryAllocator::AllocateAlignedMemory(unsigned long, unsigned long, unsigned long, v8::internal::AllocationSpace, v8::internal::Executability, void*, v8::internal::VirtualMemory*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 6: 0x10fc96d23 v8::internal::MemoryAllocator::AllocateUninitializedChunkAt(v8::internal::BaseSpace*, unsigned long, v8::internal::Executability, unsigned long, v8::internal::PageSize) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 7: 0x10fc97575 v8::internal::MemoryAllocator::AllocatePage(v8::internal::MemoryAllocator::AllocationMode, v8::internal::Space*, v8::internal::Executability) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 8: 0x10fcad969 v8::internal::PagedSpaceBase::TryExpandImpl() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 9: 0x10fcaf01b v8::internal::PagedSpaceBase::TryExpand(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
10: 0x10fcaed6a v8::internal::PagedSpaceBase::RawRefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
11: 0x10fcae7c1 v8::internal::PagedSpaceBase::RefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
12: 0x10fc13df9 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
13: 0x10fbf5ffa v8::internal::Factory::CodeBuilder::AllocateInstructionStream(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
14: 0x10fbf5a86 v8::internal::Factory::CodeBuilder::BuildInternal(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
15: 0x10fa63a4c v8::internal::baseline::BaselineCompiler::Build(v8::internal::LocalIsolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
16: 0x10fa74782 v8::internal::GenerateBaselineCode(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
17: 0x10facbf0b v8::internal::Compiler::CompileSharedWithBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
18: 0x10facc216 v8::internal::Compiler::CompileBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
19: 0x10fa60136 v8::internal::baseline::BaselineBatchCompiler::CompileBatch(v8::internal::Handle<v8::internal::JSFunction>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
20: 0x10fbb1bc9 v8::internal::TieringManager::OnInterruptTick(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
21: 0x11007c2a8 v8::internal::(anonymous namespace)::BytecodeBudgetInterruptWithStackCheck(v8::internal::Isolate*, v8::internal::Arguments<(v8::internal::ArgumentsType)0>&, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
22: 0x11007ad84 v8::internal::Runtime_BytecodeBudgetInterruptWithStackCheck_Ignition(int, unsigned long*, v8::internal::Isolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
23: 0x1104445f6 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
[Error - 7:32:30 PM] Server process exited with signal SIGTRAP.
[Error - 7:32:30 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 7:32:30 PM] Connection to server got closed. Server will restart.
[Error - 7:32:30 PM] basedpyright client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 


#
# Fatal error in , line 0
# Check failed: 12 == (*__error()).
#
#
#
#FailureMessage Object: 0x7ff7b961cbd0
----- Native stack trace -----

 1: 0x106a60e62 node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 2: 0x107d81f83 V8_Fatal(char const*, ...) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 3: 0x107d8d038 v8::base::OS::SetPermissions(void*, unsigned long, v8::base::OS::MemoryPermission) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 4: 0x106e4eb20 v8::internal::MemoryAllocator::SetPermissionsOnExecutableMemoryChunk(v8::internal::VirtualMemory*, unsigned long, unsigned long, unsigned long) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 5: 0x106e4e8b0 v8::internal::MemoryAllocator::AllocateAlignedMemory(unsigned long, unsigned long, unsigned long, v8::internal::AllocationSpace, v8::internal::Executability, void*, v8::internal::VirtualMemory*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 6: 0x106e4ed23 v8::internal::MemoryAllocator::AllocateUninitializedChunkAt(v8::internal::BaseSpace*, unsigned long, v8::internal::Executability, unsigned long, v8::internal::PageSize) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 7: 0x106e4f575 v8::internal::MemoryAllocator::AllocatePage(v8::internal::MemoryAllocator::AllocationMode, v8::internal::Space*, v8::internal::Executability) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 8: 0x106e65969 v8::internal::PagedSpaceBase::TryExpandImpl() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 9: 0x106e6701b v8::internal::PagedSpaceBase::TryExpand(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
10: 0x106e66d6a v8::internal::PagedSpaceBase::RawRefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
11: 0x106e667c1 v8::internal::PagedSpaceBase::RefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
12: 0x106dcbdf9 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
13: 0x106dadffa v8::internal::Factory::CodeBuilder::AllocateInstructionStream(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
14: 0x106dada86 v8::internal::Factory::CodeBuilder::BuildInternal(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
15: 0x106c1ba4c v8::internal::baseline::BaselineCompiler::Build(v8::internal::LocalIsolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
16: 0x106c2c782 v8::internal::GenerateBaselineCode(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
17: 0x106c83f0b v8::internal::Compiler::CompileSharedWithBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
18: 0x106c84216 v8::internal::Compiler::CompileBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
19: 0x106c18136 v8::internal::baseline::BaselineBatchCompiler::CompileBatch(v8::internal::Handle<v8::internal::JSFunction>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
20: 0x106d69bc9 v8::internal::TieringManager::OnInterruptTick(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
21: 0x1072342a8 v8::internal::(anonymous namespace)::BytecodeBudgetInterruptWithStackCheck(v8::internal::Isolate*, v8::internal::Arguments<(v8::internal::ArgumentsType)0>&, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
22: 0x107232d84 v8::internal::Runtime_BytecodeBudgetInterruptWithStackCheck_Ignition(int, unsigned long*, v8::internal::Isolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
23: 0x1075fc5f6 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
[Error - 7:32:30 PM] Server process exited with signal SIGTRAP.
[Error - 7:32:30 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 7:32:30 PM] Connection to server got closed. Server will restart.
[Error - 7:32:30 PM] basedpyright client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 


#
# Fatal error in , line 0
# Check failed: 12 == (*__error()).
#
#
#
#FailureMessage Object: 0x7ff7b13e4bd0
----- Native stack trace -----

 1: 0x10ec98e62 node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 2: 0x10ffb9f83 V8_Fatal(char const*, ...) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 3: 0x10ffc5038 v8::base::OS::SetPermissions(void*, unsigned long, v8::base::OS::MemoryPermission) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 4: 0x10f086b20 v8::internal::MemoryAllocator::SetPermissionsOnExecutableMemoryChunk(v8::internal::VirtualMemory*, unsigned long, unsigned long, unsigned long) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 5: 0x10f0868b0 v8::internal::MemoryAllocator::AllocateAlignedMemory(unsigned long, unsigned long, unsigned long, v8::internal::AllocationSpace, v8::internal::Executability, void*, v8::internal::VirtualMemory*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 6: 0x10f086d23 v8::internal::MemoryAllocator::AllocateUninitializedChunkAt(v8::internal::BaseSpace*, unsigned long, v8::internal::Executability, unsigned long, v8::internal::PageSize) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 7: 0x10f087575 v8::internal::MemoryAllocator::AllocatePage(v8::internal::MemoryAllocator::AllocationMode, v8::internal::Space*, v8::internal::Executability) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 8: 0x10f09d969 v8::internal::PagedSpaceBase::TryExpandImpl() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 9: 0x10f09f01b v8::internal::PagedSpaceBase::TryExpand(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
10: 0x10f09ed6a v8::internal::PagedSpaceBase::RawRefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
11: 0x10f09e7c1 v8::internal::PagedSpaceBase::RefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
12: 0x10f003df9 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
13: 0x10efe5ffa v8::internal::Factory::CodeBuilder::AllocateInstructionStream(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
14: 0x10efe5a86 v8::internal::Factory::CodeBuilder::BuildInternal(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
15: 0x10ee53a4c v8::internal::baseline::BaselineCompiler::Build(v8::internal::LocalIsolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
16: 0x10ee64782 v8::internal::GenerateBaselineCode(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
17: 0x10eebbf0b v8::internal::Compiler::CompileSharedWithBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
18: 0x10eebc216 v8::internal::Compiler::CompileBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
19: 0x10ee50136 v8::internal::baseline::BaselineBatchCompiler::CompileBatch(v8::internal::Handle<v8::internal::JSFunction>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
20: 0x10efa1bc9 v8::internal::TieringManager::OnInterruptTick(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
21: 0x10f46c2a8 v8::internal::(anonymous namespace)::BytecodeBudgetInterruptWithStackCheck(v8::internal::Isolate*, v8::internal::Arguments<(v8::internal::ArgumentsType)0>&, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
22: 0x10f46ad84 v8::internal::Runtime_BytecodeBudgetInterruptWithStackCheck_Ignition(int, unsigned long*, v8::internal::Isolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
23: 0x10f8345f6 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
[Error - 7:32:31 PM] Server process exited with signal SIGTRAP.
[Error - 7:32:31 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 7:32:31 PM] Connection to server got closed. Server will restart.
[Error - 7:32:31 PM] basedpyright client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 7:32:31 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 


#
# Fatal error in , line 0
# Check failed: 12 == (*__error()).
#
#
#
#FailureMessage Object: 0x7ff7be091bd0
----- Native stack trace -----

 1: 0x101febe62 node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 2: 0x10330cf83 V8_Fatal(char const*, ...) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 3: 0x103318038 v8::base::OS::SetPermissions(void*, unsigned long, v8::base::OS::MemoryPermission) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 4: 0x1023d9b20 v8::internal::MemoryAllocator::SetPermissionsOnExecutableMemoryChunk(v8::internal::VirtualMemory*, unsigned long, unsigned long, unsigned long) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 5: 0x1023d98b0 v8::internal::MemoryAllocator::AllocateAlignedMemory(unsigned long, unsigned long, unsigned long, v8::internal::AllocationSpace, v8::internal::Executability, void*, v8::internal::VirtualMemory*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 6: 0x1023d9d23 v8::internal::MemoryAllocator::AllocateUninitializedChunkAt(v8::internal::BaseSpace*, unsigned long, v8::internal::Executability, unsigned long, v8::internal::PageSize) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 7: 0x1023da575 v8::internal::MemoryAllocator::AllocatePage(v8::internal::MemoryAllocator::AllocationMode, v8::internal::Space*, v8::internal::Executability) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 8: 0x1023f0969 v8::internal::PagedSpaceBase::TryExpandImpl() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 9: 0x1023f201b v8::internal::PagedSpaceBase::TryExpand(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
10: 0x1023f1d6a v8::internal::PagedSpaceBase::RawRefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
11: 0x1023f17c1 v8::internal::PagedSpaceBase::RefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
12: 0x102356df9 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
13: 0x102338ffa v8::internal::Factory::CodeBuilder::AllocateInstructionStream(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
14: 0x102338a86 v8::internal::Factory::CodeBuilder::BuildInternal(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
15: 0x1021a6a4c v8::internal::baseline::BaselineCompiler::Build(v8::internal::LocalIsolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
16: 0x1021b7782 v8::internal::GenerateBaselineCode(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
17: 0x10220ef0b v8::internal::Compiler::CompileSharedWithBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
18: 0x10220f216 v8::internal::Compiler::CompileBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
19: 0x1021a3136 v8::internal::baseline::BaselineBatchCompiler::CompileBatch(v8::internal::Handle<v8::internal::JSFunction>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
20: 0x1022f4bc9 v8::internal::TieringManager::OnInterruptTick(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
21: 0x1027bf2a8 v8::internal::(anonymous namespace)::BytecodeBudgetInterruptWithStackCheck(v8::internal::Isolate*, v8::internal::Arguments<(v8::internal::ArgumentsType)0>&, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
22: 0x1027bdd84 v8::internal::Runtime_BytecodeBudgetInterruptWithStackCheck_Ignition(int, unsigned long*, v8::internal::Isolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
23: 0x102b875f6 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
[Error - 7:32:31 PM] Server process exited with signal SIGTRAP.
[Error - 7:32:31 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 7:32:31 PM] Connection to server got closed. Server will restart.
[Error - 7:32:31 PM] basedpyright client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 7:32:31 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 


#
# Fatal error in , line 0
# Check failed: 12 == (*__error()).
#
#
#
#FailureMessage Object: 0x7ff7b1242bd0
----- Native stack trace -----

 1: 0x10ee3ae62 node::NodePlatform::GetStackTracePrinter()::$_0::__invoke() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 2: 0x11015bf83 V8_Fatal(char const*, ...) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 3: 0x110167038 v8::base::OS::SetPermissions(void*, unsigned long, v8::base::OS::MemoryPermission) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 4: 0x10f228b20 v8::internal::MemoryAllocator::SetPermissionsOnExecutableMemoryChunk(v8::internal::VirtualMemory*, unsigned long, unsigned long, unsigned long) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 5: 0x10f2288b0 v8::internal::MemoryAllocator::AllocateAlignedMemory(unsigned long, unsigned long, unsigned long, v8::internal::AllocationSpace, v8::internal::Executability, void*, v8::internal::VirtualMemory*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 6: 0x10f228d23 v8::internal::MemoryAllocator::AllocateUninitializedChunkAt(v8::internal::BaseSpace*, unsigned long, v8::internal::Executability, unsigned long, v8::internal::PageSize) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 7: 0x10f229575 v8::internal::MemoryAllocator::AllocatePage(v8::internal::MemoryAllocator::AllocationMode, v8::internal::Space*, v8::internal::Executability) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 8: 0x10f23f969 v8::internal::PagedSpaceBase::TryExpandImpl() [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
 9: 0x10f24101b v8::internal::PagedSpaceBase::TryExpand(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
10: 0x10f240d6a v8::internal::PagedSpaceBase::RawRefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
11: 0x10f2407c1 v8::internal::PagedSpaceBase::RefillLabMain(int, v8::internal::AllocationOrigin) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
12: 0x10f1a5df9 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
13: 0x10f187ffa v8::internal::Factory::CodeBuilder::AllocateInstructionStream(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
14: 0x10f187a86 v8::internal::Factory::CodeBuilder::BuildInternal(bool) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
15: 0x10eff5a4c v8::internal::baseline::BaselineCompiler::Build(v8::internal::LocalIsolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
16: 0x10f006782 v8::internal::GenerateBaselineCode(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
17: 0x10f05df0b v8::internal::Compiler::CompileSharedWithBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
18: 0x10f05e216 v8::internal::Compiler::CompileBaseline(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ClearExceptionFlag, v8::internal::IsCompiledScope*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
19: 0x10eff2136 v8::internal::baseline::BaselineBatchCompiler::CompileBatch(v8::internal::Handle<v8::internal::JSFunction>) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
20: 0x10f143bc9 v8::internal::TieringManager::OnInterruptTick(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
21: 0x10f60e2a8 v8::internal::(anonymous namespace)::BytecodeBudgetInterruptWithStackCheck(v8::internal::Isolate*, v8::internal::Arguments<(v8::internal::ArgumentsType)0>&, v8::internal::CodeKind) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
22: 0x10f60cd84 v8::internal::Runtime_BytecodeBudgetInterruptWithStackCheck_Ignition(int, unsigned long*, v8::internal::Isolate*) [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
23: 0x10f9d65f6 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/Applications/Cursor.app/Contents/Resources/app/resources/helpers/node]
[Error - 7:32:31 PM] Server process exited with signal SIGTRAP.
[Error - 7:32:31 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 7:32:31 PM] The basedpyright server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 7:32:31 PM] basedpyright client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 7:32:31 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 

Steps to Reproduce

On start with python files

Expected Behavior

IDE starts normally without errors

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.34
VSCode Version: 1.99.3
Commit: 45fd70f3fe72037444ba35c9e51ce86a1977ac10
Date: 2025-10-29T06:51:29.202Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 24.6.0

Does this stop you from using Cursor

Yes - Cursor is unusable

3 Likes

Also, when going to js/ts file, error messages appear

  • The JS/TS language service immediately crashed 5 times. The service will not be restarted.
2025-10-29 21:42:12.320 \[info\] Starting TS Server

2025-10-29 21:42:12.320 \[info\] Using tsserver from: /Applications/Cursor.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js

2025-10-29 21:42:12.320 \[info\] <syntax> Forking...

2025-10-29 21:42:12.320 \[info\] <syntax> Starting...

2025-10-29 21:42:12.320 \[info\] <semantic> Forking...

2025-10-29 21:42:12.320 \[info\] <semantic> Starting...

2025-10-29 21:42:12.991 \[error\] TSServer exited. Code: null. Signal: SIGTRAP

2025-10-29 21:42:12.991 \[info\] Starting TS Server

2025-10-29 21:42:12.991 \[info\] Using tsserver from: /Applications/Cursor.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js

2025-10-29 21:42:12.991 \[info\] <syntax> Forking...

2025-10-29 21:42:12.991 \[info\] <syntax> Starting...

2025-10-29 21:42:12.991 \[info\] <semantic> Forking...

2025-10-29 21:42:12.991 \[info\] <semantic> Starting...

2025-10-29 21:42:13.447 \[error\] TSServer exited. Code: null. Signal: SIGTRAP

2025-10-29 21:42:13.447 \[info\] Starting TS Server

2025-10-29 21:42:13.447 \[info\] Using tsserver from: /Applications/Cursor.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js

2025-10-29 21:42:13.447 \[info\] <syntax> Forking...

2025-10-29 21:42:13.447 \[info\] <syntax> Starting...

2025-10-29 21:42:13.447 \[info\] <semantic> Forking...

2025-10-29 21:42:13.447 \[info\] <semantic> Starting...

2025-10-29 21:42:14.091 \[error\] TSServer exited. Code: null. Signal: SIGTRAP

2025-10-29 21:42:14.091 \[info\] Starting TS Server

2025-10-29 21:42:14.091 \[info\] Using tsserver from: /Applications/Cursor.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js

2025-10-29 21:42:14.091 \[info\] <syntax> Forking...

2025-10-29 21:42:14.091 \[info\] <syntax> Starting...

2025-10-29 21:42:14.091 \[info\] <semantic> Forking...

2025-10-29 21:42:14.091 \[info\] <semantic> Starting...

2025-10-29 21:42:14.676 \[error\] TSServer exited. Code: null. Signal: SIGTRAP

2025-10-29 21:42:14.676 \[info\] Starting TS Server

2025-10-29 21:42:14.676 \[info\] Using tsserver from: /Applications/Cursor.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js

2025-10-29 21:42:14.676 \[info\] <syntax> Forking...

2025-10-29 21:42:14.676 \[info\] <syntax> Starting...

2025-10-29 21:42:14.676 \[info\] <semantic> Forking...

2025-10-29 21:42:14.676 \[info\] <semantic> Starting...

2025-10-29 21:42:15.266 \[error\] TSServer exited. Code: null. Signal: SIGTRAP

2025-10-29 21:42:15.266 \[info\] Starting TS Server

2025-10-29 21:42:15.266 \[info\] Using tsserver from: /Applications/Cursor.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js

2025-10-29 21:42:15.266 \[info\] <syntax> Forking...

2025-10-29 21:42:15.266 \[info\] <syntax> Starting...

2025-10-29 21:42:15.266 \[info\] <semantic> Forking...

2025-10-29 21:42:15.266 \[info\] <semantic> Starting...

2025-10-29 21:42:15.826 \[error\] TSServer exited. Code: null. Signal: SIGTRAP
3 Likes

Same happening on mac os 15.5 (Intel)

2025-10-29 22:24:35.557 [info] <syntax> Forking...
2025-10-29 22:24:35.557 [info] <syntax> Starting...
2025-10-29 22:24:35.557 [info] <semantic> Forking...
2025-10-29 22:24:35.557 [info] <semantic> Starting...
2025-10-29 22:24:35.983 [error] TSServer exited. Code: null. Signal: SIGTRAP

Same happening for me “The JS/TS language service immediately crashed 5 times. The service will not be restarted.” (MacOS on Intel). Essentially makes the new version unusable.

same, im using a mac intel

I have the same issue with the python extensions Python-ms-python.
Mac intel, 26.0.1

Same, downgrading to 1.7 seems to fix it. Please make sure you test out your new releases on Mac Intel as well :frowning:

Download 1.7 from here Download · Cursor

1 Like

well yeah that’s not exactly what I would call a fix :slight_smile: but yeah downgrade works as a workaround :+1:

Same issue. OSX 15.6.1 - Intel

“The JS/TS language service immediately crashed 5 times. The service will not be restarted.”

Hey, thanks for the report. This is a known issue in version 2.0.34 affecting macOS Intel x64.

Solution: update to version 2.0.38, some users reported this fixes the regression.

This affects all language servers on Intel Macs. ARM64 Macs are not impacted.

Please let us know if 2.0.38 resolves it for you.

macOS Sequoia 15.7.1
Intel Macbook Pro
Cursor v2.0.43

The previously described error no longer occurs.
It is currently running smoothly.

For your information.

1 Like