andersrex/notesollama

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

INKXXXXYY opened this issue · 4 comments

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.

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

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.

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.