Closed hugovanderlei closed 1 year ago
I get same error when open or scroll networking response
Was build app In XCode and get error with symbols:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Pulse Pro 0x1029045cc Swift runtime failure: Index out of range + 0 [inlined]
1 Pulse Pro 0x1029045cc $ss12_ArrayBufferV37_checkInoutAndNativeTypeCheckedBounds_03wasfgH0ySi_SbtFSJ_Tg5 + 4 [inlined]
2 Pulse Pro 0x1029045cc $sSa15_checkSubscript_20wasNativeTypeCheckeds16_DependenceTokenVSi_SbtFSJ_Tg5 + 4 [inlined]
3 Pulse Pro 0x1029045cc $sSayxSicigSJ_Tg5 + 4 [inlined]
4 Pulse Pro 0x1029045cc specialized JSONTextView.findCharater(_:in:for:startingIndex:isForward:) + 1172 (JSONTextView.swift:264)
5 Pulse Pro 0x1029043b4 specialized JSONTextView.findCharater(_:in:for:startingIndex:isForward:) + 636
6 Pulse Pro 0x10290162c $s9Pulse_Pro12JSONTextViewC12findCharater33_F5C27840B708162108E89F7A9BD9A96ELL_2in3for13startingIndex9isForwardSi_So18NSAttributedStringCtSS_AkA17JSONContainerNode_pSiSbtF + 24 [inlined]
7 Pulse Pro 0x10290162c $s9Pulse_Pro12JSONTextViewC21findMatchingSubstring33_F5C27840B708162108E89F7A9BD9A96ELL2in3for9substring5indexSi_So18NSAttributedStringCtAK_AA17JSONContainerNode_pAKSitF + 56 (JSONTextView.swift:247) [inlined]
8 Pulse Pro 0x10290162c JSONTextView.updateCurrentHighlight(at:) + 740 (JSONTextView.swift:61)
9 Pulse Pro 0x102901338 JSONTextView.mouseMoved(with:) + 132 (JSONTextView.swift:48)
10 Pulse Pro 0x1029018f4 @objc JSONTextView.mouseMoved(with:) + 52
11 AppKit 0x19c69ba3c -[NSTrackingArea mouseMoved:] + 124
This bug reproduced when text contains utf-16 symbols. In this s.count
and string.length
not the same for utf-16. But s.utf16.count
the same.
PRs are welcome.
Looks like https://github.com/kean/PulsePro/issues/35 duplicate. Should be fixed now.
Hello,
I got this error intermittently while moving my mouse near to the right menu bar
` Process: Pulse Pro [44271] Path: /Applications/Pulse Pro.app/Contents/MacOS/Pulse Pro Identifier: com.github.kean.pulse-pro Version: 1.4.1 (1) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501
Date/Time: 2022-05-06 15:38:04.0531 -0300 OS Version: macOS 12.3.1 (21E258) Report Version: 12 Anonymous UUID: 3E030ECF-D3F3-1725-1492-531647322FA1
Time Awake Since Boot: 89000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x00000001010232a4 Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5 Terminating Process: exc handler [44271]
Kernel Triage: VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 Pulse Pro 0x1010232a4 0x100fb4000 + 455332 1 Pulse Pro 0x10102316c 0x100fb4000 + 455020 2 Pulse Pro 0x1010203f8 0x100fb4000 + 443384 3 Pulse Pro 0x101020060 0x100fb4000 + 442464 4 Pulse Pro 0x101020640 0x100fb4000 + 443968 5 AppKit 0x1962cddc4 -[NSTrackingArea mouseMoved:] + 124 6 AppKit 0x1961acdb4 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 4172 7 AppKit 0x1961abb00 -[NSWindow(NSEventRouting) sendEvent:] + 348 8 AppKit 0x1961aac38 -[NSApplication(NSEvent) sendEvent:] + 3180 9 AppKit 0x196464848 -[NSApplication handleEvent:] + 76 10 AppKit 0x19602c618 -[NSApplication run] + 636 11 AppKit 0x195ffdd08 NSApplicationMain + 1132 12 SwiftUI 0x1b891f044 specialized runApp(:) + 148 13 SwiftUI 0x1b94ad870 runApp(_:) + 260 14 SwiftUI 0x1b8f23640 static App.main() + 128 15 Pulse Pro 0x100fb6648 0x100fb4000 + 9800 16 dyld 0x101489088 start + 516
Thread 1:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x1933d48d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1933d4d40 mach_msg + 76 2 CoreFoundation 0x1934dec1c CFRunLoopServiceMachPort + 372 3 CoreFoundation 0x1934dd0cc CFRunLoopRun + 1180 4 CoreFoundation 0x1934dc490 CFRunLoopRunSpecific + 600 5 AppKit 0x1961a86f4 _NSEventThread + 196 6 libsystem_pthread.dylib 0x19341226c _pthread_start + 148 7 libsystem_pthread.dylib 0x19340d08c thread_start + 8 `