For the record (and for my own future reference), here's what I did with `lldb`: 1. `b -[TTSSpeechServerInstance _unzipFile:withPassword:]` 2. `br command add -o "br set -b objc_autoreleaseReturnValue -t current -o true -C 'call (long) CFDataGetLength($x0)' -G true"` 3. `br modify -G true` These contortions display the length of the `CFData` object returned by `-[TTSSpeechServerInstance _unzipFile:withPassword:]`. From comment #24 above, my hunch was that this bug's crashes were triggered by this object getting truncated (so that in no longer had a terminal NULL). If my hunch was right, I should have seen the length change just before a crash. I did this on an Apple Silicon Mac running macOS 13 Beta 5 (build 22A5321d).
Bug 1780938 Comment 27 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
For the record (and for my own future reference), here's what I did with `lldb`: 1. `b -[TTSSpeechServerInstance _unzipFile:withPassword:]` 2. `br command add -o "br set -b objc_autoreleaseReturnValue -t current -o true -C 'call (long) CFDataGetLength($x0)' -G true"` 3. `br modify -G true` These contortions display the length of the `CFData` object returned by `-[TTSSpeechServerInstance _unzipFile:withPassword:]` without stopping at each breakpoint. From comment #24 above, my hunch was that this bug's crashes were triggered by this object getting truncated (so that in no longer had a terminal NULL). If my hunch was right, I should have seen the length change just before a crash. I did this on an Apple Silicon Mac running macOS 13 Beta 5 (build 22A5321d).
For the record (and for my own future reference), here's what I did with `lldb`: 1. `b -[TTSSpeechServerInstance _unzipFile:withPassword:]` 2. `br command add -o "br set -b objc_autoreleaseReturnValue -t current -o true -C 'call (long) CFDataGetLength($x0)' -G true"` 3. `br modify -G true` These contortions display the length of the `CFData` object returned by `-[TTSSpeechServerInstance _unzipFile:withPassword:]` without stopping at each breakpoint. From comment #24 above, my hunch was that this bug's crashes were triggered by this object getting truncated (so that it no longer had a terminal NULL). If my hunch was right, I should have seen the length change just before a crash. I did this on an Apple Silicon Mac running macOS 13 Beta 5 (build 22A5321d).