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

Occasional Crash in Notes App on macOS – Exception Type: EXC_BREAKPOINT (SIGTRAP) #4

Open
INKXXXXYY opened this issue Mar 2, 2024 · 4 comments

Comments

@INKXXXXYY
Copy link

Description

The Notes application on macOS occasionally crashes, showing a system crash report with an EXC_BREAKPOINT (SIGTRAP) exception type.

Steps to Reproduce

  1. Launch the Notes app.
  2. [Include any specific actions taken that lead to the crash, if known.]
  3. After some time of usage, the app crashes unexpectedly.

Expected behavior

The Notes app should run without crashing during normal operations.

Screenshots

d0064696316319fb1a30c5c48fec962c

Crash Report Details

  • Process: Notes [18305]
  • Path: /System/Applications/Notes.app/Contents/MacOS/Notes
  • Version: 4.11 (2755)
  • Build Info: Notes-2755000000000000~9
  • Exception Type: EXC_BREAKPOINT (SIGTRAP)
  • Exception Codes: 0x0000000000000001, 0x0000000180d4a42c
  • Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5
  • Terminating Process: exc handler [18305]
  • Application Specific Information: NSString cannot be created from a negative number of bytes

Environment

  • macOS Version: macOS 14.3.1 (23D60)
  • Hardware: ARM-64 (Native)
  • Time Since Boot: 21000 seconds
  • Time Since Wake: 7452 seconds

Additional context

Occasionally appears during AI conversations

Thank you for looking into this issue.

@andersrex
Copy link
Owner

Thanks for reporting this. It's possible NotesOllama triggers some internal error state in Apple Notes. Did you notice anything special with the content that was being generated when the crash occurred? E.g formatting

@INKXXXXYY
Copy link
Author

First of all, thank you for your prompt response and support. Regarding the crash issue you asked about, I would like to elaborate on the specific problems I encountered.

While using your software, I indeed experienced some crashes during the content generation process. Specifically, sometimes when I click the generate button, the software would suddenly crash. After the crash, when I try to reopen the software, I find that the content I attempted to generate before the crash is completely lost, with no new generated content displayed on the interface.

Moreover, I noticed that the software crashes during the response process, meaning that the crashes usually occur while generating content. Sometimes, the software would show a part of the answer before crashing, but it crashes before completing the entire response. Upon restarting the software, the answers are not saved or displayed either.

In summary, the crashes seem to be related to certain actions during the generation process, and upon reopening the software after a crash, any content that was being generated is not retained.

I hope this information helps you in investigating and resolving the issue. Thank you again for your efforts and support. Please let me know if you need any more information.

@andersrex
Copy link
Owner

andersrex commented Mar 11, 2024

Got it! Do you have steps for reproducing this reliably? It would be super helpful if you had a prompt and the model this happens with so I could try to make it happen on my mac.

@INKXXXXYY
Copy link
Author

INKXXXXYY commented Mar 11, 2024 via email

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