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

Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) #109

Open
wisepmlin opened this issue Jul 7, 2024 · 4 comments
Open

Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) #109

wisepmlin opened this issue Jul 7, 2024 · 4 comments

Comments

@wisepmlin
Copy link

Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
A bad CPU instruction stopped the process.

@wisepmlin
Copy link
Author

CodeEditorView
CodeEditor(text: $viewModel.receivedData,
position: $position,
messages: $messages,
language: .none)
在拖拽选择文本时候
Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

@wisepmlin
Copy link
Author

mac 电脑

@wisepmlin
Copy link
Author

或者全选文本时候,出现Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

@mchakravarty
Copy link
Owner

@wisepmlin Thanks for the bug report. I have trouble reproducing it: selecting all or part of the text doesn't lead to a crash in my case.

Hence, I would like to ask three questions:

  1. Which version of CodeEditorView are you exactly using (i.e., which commit)?
  2. Have you tried (CodeEditorDemo)[https://github.com/mchakravarty/CodeEditorDemo]? Does it work for you? Does it also have problems with text selection?
  3. Which version of macOS do you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants