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

Intermittent crash while moving the Mouse near to the right menu bar #22

Closed
hugovanderlei opened this issue May 6, 2022 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@hugovanderlei
Copy link
Collaborator

Hello,

I got this error intermittently while moving my mouse near to the right menu bar

Captura de Tela 2022-05-06 às 15 41 23

`
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
`

@kean kean added the bug Something isn't working label Jul 24, 2022
@mgolovko
Copy link

I get same error when open or scroll networking response

Report
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Pulse Pro [55683]
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-08-11 16:32:59.1910 +0300
OS Version:            macOS 12.4 (21F79)
Report Version:        12
Anonymous UUID:        8FA519A2-DDC6-C697-4A3E-22DD05496FF5

Sleep/Wake UUID:       F08429AF-5D1A-4B7D-A89E-5D52849C0328

Time Awake Since Boot: 470000 seconds
Time Since Wake:       60717 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000001, 0x000000010473f2a4
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 5 Trace/BPT trap: 5
Terminating Process:   exc handler [55683]

Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Pulse Pro                     	       0x10473f2a4 0x1046d0000 + 455332
1   Pulse Pro                     	       0x10473f16c 0x1046d0000 + 455020
2   Pulse Pro                     	       0x10473c3f8 0x1046d0000 + 443384
3   Pulse Pro                     	       0x10473c060 0x1046d0000 + 442464
4   Pulse Pro                     	       0x10473c640 0x1046d0000 + 443968
5   AppKit                        	       0x19c69ba3c -[NSTrackingArea mouseMoved:] + 124
6   AppKit                        	       0x19c57aa34 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 4172
7   AppKit                        	       0x19c579780 -[NSWindow(NSEventRouting) sendEvent:] + 348
8   AppKit                        	       0x19c5788b8 -[NSApplication(NSEvent) sendEvent:] + 3180
9   AppKit                        	       0x19c8324f8 -[NSApplication _handleEvent:] + 76
10  AppKit                        	       0x19c3fa278 -[NSApplication run] + 636
11  AppKit                        	       0x19c3cb96c NSApplicationMain + 1132
12  SwiftUI                       	       0x1bedf0e98 specialized runApp(_:) + 148
13  SwiftUI                       	       0x1bf97f588 runApp<A>(_:) + 260
14  SwiftUI                       	       0x1bf3f526c static App.main() + 128
15  Pulse Pro                     	       0x1046d2648 0x1046d0000 + 9800
16  dyld                          	       0x104ac108c start + 520

Thread 1:
0   libsystem_pthread.dylib       	       0x1997d3078 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	       0x1997d3078 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	       0x1997d3078 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	       0x1997d3078 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib       	       0x1997d3078 start_wqthread + 0

Thread 6:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x19979a8b0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x19979ad20 mach_msg + 76
2   CoreFoundation                	       0x1998a52b0 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x1998a3760 __CFRunLoopRun + 1180
4   CoreFoundation                	       0x1998a2b24 CFRunLoopRunSpecific + 600
5   AppKit                        	       0x19c576374 _NSEventThread + 196
6   libsystem_pthread.dylib       	       0x1997d826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x1997d308c thread_start + 8


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000600002ab0400   x1: 0x00000001e3a91267   x2: 0x000000000000007d   x3: 0xe100000000000000
    x4: 0x0000000000000000   x5: 0x0000000000000004   x6: 0x0000000000000020   x7: 0x0000000000000000
    x8: 0x0000000000061964   x9: 0x0100000000000000  x10: 0x01000001f21cf901  x11: 0x02000001f21cf901
   x12: 0x0000000000000067  x13: 0x0000000135069660  x14: 0x000000019aaa2c4b  x15: 0x00000001f21a1450
   x16: 0x00000001996609b0  x17: 0xdd29000199842d3c  x18: 0x0000000000000000  x19: 0x00000001482a8000
   x20: 0xe100000000000000  x21: 0x000000000000007d  x22: 0xe100000000000000  x23: 0x0000000000000001
   x24: 0x00000001482a8020  x25: 0x000000000000007d  x26: 0x0000000000061964  x27: 0x000060000270ed00
   x28: 0x0000000134f59480   fp: 0x000000016b72f030   lr: 0x000000010473f16c
    sp: 0x000000016b72ef50   pc: 0x000000010473f2a4 cpsr: 0x60001000
   far: 0x0000600002ab0000  esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
       0x1046d0000 -        0x1048cffff com.github.kean.pulse-pro (1.4.1) <a76212a2-28a4-3434-b97c-9bd9f50c3888> /Applications/Pulse Pro.app/Contents/MacOS/Pulse Pro
       0x19c3c8000 -        0x19d27ffff com.apple.AppKit (6.9) <a773dd23-b1c8-3c9b-9175-9a71d210ace0> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1bed5c000 -        0x1bfdabfff com.apple.SwiftUI (3.5.2) <a0880407-aa9e-3896-ac89-319c36ae4a0f> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
       0x104abc000 -        0x104b1bfff dyld (*) <d9c2a46e-8dc4-3950-9d6a-f799e8ccb683> /usr/lib/dyld
       0x1997d1000 -        0x1997ddfff libsystem_pthread.dylib (*) <42166a2c-89a9-3c38-a215-f028544cea23> /usr/lib/system/libsystem_pthread.dylib
       0x199799000 -        0x1997d0fff libsystem_kernel.dylib (*) <03f48dc5-caa7-3678-af61-1a3c7fa8b06e> /usr/lib/system/libsystem_kernel.dylib
       0x199820000 -        0x199d66fff com.apple.CoreFoundation (6.9) <994db908-11a1-3e43-b7df-25c09d51368a> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 219
    thread_create: 0
    thread_set_state: 11318

VM Region Summary:
ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=1.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.9G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG backing stores                 3520K        4 
CG image                           416K       19 
ColorSync                          528K       26 
CoreAnimation                     28.9M      213 
CoreData Object IDs               4112K        2 
CoreGraphics                        16K        1 
CoreUI image data                 1520K       13 
Foundation                          48K        2 
Kernel Alloc Once                   32K        1 
MALLOC                           336.3M       63 
MALLOC guard page                  192K       10 
MALLOC_MEDIUM (reserved)           1.2G       10         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
SQLite page cache                  256K        4 
STACK GUARD                       56.1M        7 
Stack                             11.2M        7 
VM_ALLOCATE                       3264K       13 
__AUTH                            2435K      254 
__AUTH_CONST                      18.7M      442 
__CTF                               756        1 
__DATA                            12.2M      431 
__DATA_CONST                      15.6M      447 
__DATA_DIRTY                      1555K      169 
__FONT_DATA                          4K        1 
__LINKEDIT                       577.6M        4 
__OBJC_CONST                      2621K      210 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3152K        1 
__TEXT                           451.4M      464 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
mapped file                      366.5M       29 
shared memory                     2896K       15 
===========                     =======  ======= 
TOTAL                              3.5G     2870 
TOTAL, minus reserved VM space     1.9G     2870 



-----------
Full Report
-----------

{"app_name":"Pulse Pro","timestamp":"2022-08-11 16:33:02.00 +0300","app_version":"1.4.1","slice_uuid":"a76212a2-28a4-3434-b97c-9bd9f50c3888","build_version":"1","platform":1,"bundleID":"com.github.kean.pulse-pro","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.4 (21F79)","incident_id":"7974FD6A-BFBA-4F35-A5CF-E0A31C923988","name":"Pulse Pro"}
{
  "uptime" : 470000,
  "procLaunch" : "2022-08-11 16:32:46.7416 +0300",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "procStartAbsTime" : 11412886034718,
  "coalitionID" : 7152,
  "osVersion" : {
    "train" : "macOS 12.4",
    "build" : "21F79",
    "releaseType" : "User"
  },
  "captureTime" : "2022-08-11 16:32:59.1910 +0300",
  "incident" : "7974FD6A-BFBA-4F35-A5CF-E0A31C923988",
  "bug_type" : "309",
  "pid" : 55683,
  "procExitAbsTime" : 11413184508715,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "Pulse Pro",
  "procPath" : "\/Applications\/Pulse Pro.app\/Contents\/MacOS\/Pulse Pro",
  "bundleInfo" : {"CFBundleShortVersionString":"1.4.1","CFBundleVersion":"1","CFBundleIdentifier":"com.github.kean.pulse-pro"},
  "storeInfo" : {"deviceIdentifierForVendor":"4124E6BB-26E0-535A-B604-BD3910ABCF09","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.github.kean.pulse-pro",
  "crashReporterKey" : "8FA519A2-DDC6-C697-4A3E-22DD05496FF5",
  "wakeTime" : 60717,
  "sleepWakeUUID" : "F08429AF-5D1A-4B7D-A89E-5D52849C0328",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x000000010473f2a4","rawCodes":[1,4369674916],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
  "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":55683},
  "ktriageinfo" : "VM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\nVM - pmap_enter failed with resource shortage\n",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":11318,"task_for_pid":219},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":4103050,"threadState":{"x":[{"value":105553161028608},{"value":8114475623,"objc-selector":"release"},{"value":125},{"value":16212958658533785600},{"value":0},{"value":4},{"value":32},{"value":0},{"value":399716},{"value":72057594037927936},{"value":72057602394880257,"symbolLocation":72057594037927937,"symbol":"OBJC_CLASS_$_NSConcreteMutableAttributedString"},{"value":144115196432808193,"symbolLocation":144115188075855873,"symbol":"OBJC_CLASS_$_NSConcreteMutableAttributedString"},{"value":103},{"value":5184591456},{"value":6889811019,"symbolLocation":17785,"symbol":"openingStrengthForQuoteCharacter.doubleStrengths"},{"value":8356762704,"symbolLocation":0,"symbol":"OBJC_CLASS_$___NSCFString"},{"value":6868568496,"symbolLocation":0,"symbol":"objc_release"},{"value":15936268763297754428,"symbolLocation":15936268756427210752,"symbol":"-[__NSCFString release]"},{"value":0},{"value":5505712128},{"value":16212958658533785600},{"value":125},{"value":16212958658533785600},{"value":1},{"value":5505712160},{"value":125},{"value":399716},{"value":105553157221632},{"value":5183476864}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4369674604},"cpsr":{"value":1610616832},"fp":{"value":6097662000},"sp":{"value":6097661776},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":4369674916,"matchesCrashFrame":1},"far":{"value":105553161027584}},"queue":"com.apple.main-thread","frames":[{"imageOffset":455332,"imageIndex":0},{"imageOffset":455020,"imageIndex":0},{"imageOffset":443384,"imageIndex":0},{"imageOffset":442464,"imageIndex":0},{"imageOffset":443968,"imageIndex":0},{"imageOffset":2964028,"symbol":"-[NSTrackingArea mouseMoved:]","symbolLocation":124,"imageIndex":1},{"imageOffset":1780276,"symbol":"-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]","symbolLocation":4172,"imageIndex":1},{"imageOffset":1775488,"symbol":"-[NSWindow(NSEventRouting) sendEvent:]","symbolLocation":348,"imageIndex":1},{"imageOffset":1771704,"symbol":"-[NSApplication(NSEvent) sendEvent:]","symbolLocation":3180,"imageIndex":1},{"imageOffset":4629752,"symbol":"-[NSApplication _handleEvent:]","symbolLocation":76,"imageIndex":1},{"imageOffset":205432,"symbol":"-[NSApplication run]","symbolLocation":636,"imageIndex":1},{"imageOffset":14700,"symbol":"NSApplicationMain","symbolLocation":1132,"imageIndex":1},{"imageOffset":609944,"symbol":"specialized runApp(_:)","symbolLocation":148,"imageIndex":2},{"imageOffset":12727688,"symbol":"runApp<A>(_:)","symbolLocation":260,"imageIndex":2},{"imageOffset":6918764,"symbol":"static App.main()","symbolLocation":128,"imageIndex":2},{"imageOffset":9800,"imageIndex":0},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":3}]},{"id":4103056,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":4103057,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":4103058,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":4103066,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":4103067,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":4103084,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":5},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":5},{"imageOffset":545456,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":6},{"imageOffset":538464,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":6},{"imageOffset":535332,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":6},{"imageOffset":1762164,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":1},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":4},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":4}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4369219584,
    "CFBundleShortVersionString" : "1.4.1",
    "CFBundleIdentifier" : "com.github.kean.pulse-pro",
    "size" : 2097152,
    "uuid" : "a76212a2-28a4-3434-b97c-9bd9f50c3888",
    "path" : "\/Applications\/Pulse Pro.app\/Contents\/MacOS\/Pulse Pro",
    "name" : "Pulse Pro",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6916177920,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15433728,
    "uuid" : "a773dd23-b1c8-3c9b-9175-9a71d210ace0",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.50.132"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7496646656,
    "CFBundleShortVersionString" : "3.5.2",
    "CFBundleIdentifier" : "com.apple.SwiftUI",
    "size" : 17104896,
    "uuid" : "a0880407-aa9e-3896-ac89-319c36ae4a0f",
    "path" : "\/System\/Library\/Frameworks\/SwiftUI.framework\/Versions\/A\/SwiftUI",
    "name" : "SwiftUI",
    "CFBundleVersion" : "3.5.2"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4373331968,
    "size" : 393216,
    "uuid" : "d9c2a46e-8dc4-3950-9d6a-f799e8ccb683",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6870077440,
    "size" : 53248,
    "uuid" : "42166a2c-89a9-3c38-a215-f028544cea23",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6869848064,
    "size" : 229376,
    "uuid" : "03f48dc5-caa7-3678-af61-1a3c7fa8b06e",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6870401024,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5533696,
    "uuid" : "994db908-11a1-3e43-b7df-25c09d51368a",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1863"
  }
],
  "sharedCache" : {
  "base" : 6866780160,
  "size" : 3136077824,
  "uuid" : "513553bb-5ca5-3b9e-a613-b0603ffe3038"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=1.9G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.9G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               256K        2 \nActivity Tracing                   256K        1 \nCG backing stores                 3520K        4 \nCG image                           416K       19 \nColorSync                          528K       26 \nCoreAnimation                     28.9M      213 \nCoreData Object IDs               4112K        2 \nCoreGraphics                        16K        1 \nCoreUI image data                 1520K       13 \nFoundation                          48K        2 \nKernel Alloc Once                   32K        1 \nMALLOC                           336.3M       63 \nMALLOC guard page                  192K       10 \nMALLOC_MEDIUM (reserved)           1.2G       10         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSQLite page cache                  256K        4 \nSTACK GUARD                       56.1M        7 \nStack                             11.2M        7 \nVM_ALLOCATE                       3264K       13 \n__AUTH                            2435K      254 \n__AUTH_CONST                      18.7M      442 \n__CTF                               756        1 \n__DATA                            12.2M      431 \n__DATA_CONST                      15.6M      447 \n__DATA_DIRTY                      1555K      169 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       577.6M        4 \n__OBJC_CONST                      2621K      210 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3152K        1 \n__TEXT                           451.4M      464 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nmapped file                      366.5M       29 \nshared memory                     2896K       15 \n===========                     =======  ======= \nTOTAL                              3.5G     2870 \nTOTAL, minus reserved VM space     1.9G     2870 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "61301e3a61217b3110231469",
      "factorPackIds" : {
        "SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225"
      },
      "deploymentId" : 240000016
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000434
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro18,3, BootROM 7459.121.3, proc 10:8:2 processors, 16 GB, SMC 
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Memory Module: LPDDR5
AirPort: Wi-Fi, wl0: Apr  6 2022 05:55:54 version 20.90.45.0.8.7.118 FWID 01-e7138ff2
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

@mgolovko
Copy link

mgolovko commented Aug 12, 2022

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.

@kean
Copy link
Owner

kean commented Sep 30, 2022

PRs are welcome.

@kean
Copy link
Owner

kean commented Dec 18, 2022

Looks like #35 duplicate. Should be fixed now.

@kean kean closed this as completed Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants