AdguardTeam / AdguardForMac

Open bug tracker for Mac version of AdGuard
https://adguard.com/
299 stars 15 forks source link

Network extension unexpected crash #1139

Open ameshkov opened 2 years ago

ameshkov commented 2 years ago

Crash report: https://s10.adtidy.org/organizations/adg/issues/42415/?project=43&query=is%3Aunresolved

However, it seems that the problem occurred before this crash.

Here's what happened:

  1. At one point filtering stopped completely and the network extension process died.
  2. I've tried to restart filtering via the program menu.
  3. After some time the main process crashed.
Crash report from the system ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: Adguard [3092] Path: /Applications/Adguard.app/Contents/MacOS/Adguard Identifier: com.adguard.mac.adguard Version: 2.9.0.1190 nightly (1190) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2022-09-25 13:21:30.1114 +0300 OS Version: macOS 12.3.1 (21E258) Report Version: 12 Bridge OS Version: 6.4 (19P4243) Anonymous UUID: 8029C02D-5608-A8EA-33F3-CC17443DE00B Sleep/Wake UUID: 92145DE9-A6E7-4442-B7C4-E6348D8D25EA Time Awake Since Boot: 5100 seconds Time Since Wake: 1182 seconds System Integrity Protection: enabled Crashed Thread: 4 Dispatch queue: com.apple.libdispatch-io.opq Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000030 Exception Codes: 0x0000000000000001, 0x0000000000000030 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [3092] VM Region Info: 0x30 is not in any region. Bytes before following region: 4523524048 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 10d9f8000-10de20000 [ 4256K] r-x/r-x SM=COW ...MacOS/Adguard Thread 0:: Dispatch queue: com.apple.main-thread 0 QuartzCore 0x7ff826514231 CA::Transaction::commit() + 777 1 QuartzCore 0x7ff8266be6d6 CA::Transaction::flush_as_runloop_observer(bool) + 128 2 CoreFoundation 0x7ff81f484e90 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 3 CoreFoundation 0x7ff81f484d22 __CFRunLoopDoObservers + 543 4 CoreFoundation 0x7ff81f4842d7 __CFRunLoopRun + 1131 5 CoreFoundation 0x7ff81f4837ac CFRunLoopRunSpecific + 562 6 HIToolbox 0x7ff82810ace6 RunCurrentEventLoopInMode + 292 7 HIToolbox 0x7ff82810aa4a ReceiveNextEventCommon + 594 8 HIToolbox 0x7ff82810a7e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70 9 AppKit 0x7ff821eaa53d _DPSNextEvent + 927 10 AppKit 0x7ff821ea8bfa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 11 AppKit 0x7ff821e9b2a9 -[NSApplication run] + 586 12 AppKit 0x7ff821e6f227 NSApplicationMain + 817 13 dyld 0x10f84251e start + 462 Thread 1: 0 libsystem_kernel.dylib 0x7ff81f3852be __semwait_signal + 10 1 libsystem_c.dylib 0x7ff81f299853 nanosleep + 196 2 libsystem_c.dylib 0x7ff81f2a46d8 sleep + 41 3 Adguard 0x10dd2992f 0x10d9f8000 + 3348783 4 libsystem_pthread.dylib 0x7ff81f3bf4e1 _pthread_start + 125 5 libsystem_pthread.dylib 0x7ff81f3baf6b thread_start + 15 Thread 2:: SentryCrash Exception Handler (Secondary) 0 libsystem_kernel.dylib 0x7ff81f38297a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x7ff81f382ce8 mach_msg + 56 2 Adguard 0x10dd310a4 0x10d9f8000 + 3379364 3 libsystem_pthread.dylib 0x7ff81f3bf4e1 _pthread_start + 125 4 libsystem_pthread.dylib 0x7ff81f3baf6b thread_start + 15 Thread 3:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff81f38297a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x7ff81f382ce8 mach_msg + 56 2 CoreFoundation 0x7ff81f485cdd __CFRunLoopServiceMachPort + 319 3 CoreFoundation 0x7ff81f484368 __CFRunLoopRun + 1276 4 CoreFoundation 0x7ff81f4837ac CFRunLoopRunSpecific + 562 5 AppKit 0x7ff822017f5e _NSEventThread + 132 6 libsystem_pthread.dylib 0x7ff81f3bf4e1 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff81f3baf6b thread_start + 15 Thread 4 Crashed:: Dispatch queue: com.apple.libdispatch-io.opq 0 libdispatch.dylib 0x7ff81f22f106 dispatch_data_get_size + 0 1 AdguardCore 0x110e1640f __60-[ANServiceManager startStandaloneServiceWithOptions:error:]_block_invoke_2 + 15 2 libdispatch.dylib 0x7ff81f22ece1 ___dispatch_operation_deliver_data_block_invoke + 109 3 libdispatch.dylib 0x7ff81f2030cc _dispatch_call_block_and_release + 12 4 libdispatch.dylib 0x7ff81f204317 _dispatch_client_callout + 8 5 libdispatch.dylib 0x7ff81f20a317 _dispatch_lane_serial_drain + 672 6 libdispatch.dylib 0x7ff81f20ae30 _dispatch_lane_invoke + 417 7 libdispatch.dylib 0x7ff81f20a1cd _dispatch_lane_serial_drain + 342 8 libdispatch.dylib 0x7ff81f20adfd _dispatch_lane_invoke + 366 9 libdispatch.dylib 0x7ff81f214eee _dispatch_workloop_worker_thread + 753 10 libsystem_pthread.dylib 0x7ff81f3bbfd0 _pthread_wqthread + 326 11 libsystem_pthread.dylib 0x7ff81f3baf57 start_wqthread + 15 Thread 5: 0 libsystem_pthread.dylib 0x7ff81f3baf48 start_wqthread + 0 Thread 6:: Dispatch queue: AANProxyServerHandlerQueue 0 libsystem_kernel.dylib 0x7ff81f3840ea __ulock_wait + 10 1 libdispatch.dylib 0x7ff81f204b06 _dlock_wait + 45 2 libdispatch.dylib 0x7ff81f204d95 _dispatch_group_wait_slow + 43 3 AGDnsProxy 0x10e08109c -[NSTask(AGTimeout) waitUntilExitOrInterruptAfterTimeoutMs:] + 732 4 AdguardCore 0x110e17189 -[ANServiceManager stopStandaloneService] + 153 5 AdguardCore 0x110e1724a -[ANServiceManager stopService] + 90 6 Adguard 0x10da4c8e2 0x10d9f8000 + 346338 7 Adguard 0x10da4c888 0x10d9f8000 + 346248 8 Adguard 0x10da4ca31 0x10d9f8000 + 346673 9 libdispatch.dylib 0x7ff81f204317 _dispatch_client_callout + 8 10 libdispatch.dylib 0x7ff81f2117ee _dispatch_lane_barrier_sync_invoke_and_complete + 60 11 Adguard 0x10da4ca0c 0x10d9f8000 + 346636 12 Adguard 0x10da68088 0x10d9f8000 + 458888 13 libdispatch.dylib 0x7ff81f204317 _dispatch_client_callout + 8 14 libdispatch.dylib 0x7ff81f206d7c _dispatch_continuation_pop + 453 15 libdispatch.dylib 0x7ff81f218208 _dispatch_source_invoke + 2179 16 libdispatch.dylib 0x7ff81f20a1cd _dispatch_lane_serial_drain + 342 17 libdispatch.dylib 0x7ff81f20adfd _dispatch_lane_invoke + 366 18 libdispatch.dylib 0x7ff81f214eee _dispatch_workloop_worker_thread + 753 19 libsystem_pthread.dylib 0x7ff81f3bbfd0 _pthread_wqthread + 326 20 libsystem_pthread.dylib 0x7ff81f3baf57 start_wqthread + 15 Thread 7: 0 libsystem_pthread.dylib 0x7ff81f3baf48 start_wqthread + 0 Thread 8: 0 libsystem_pthread.dylib 0x7ff81f3baf48 start_wqthread + 0 Thread 9: 0 libsystem_pthread.dylib 0x7ff81f3baf48 start_wqthread + 0 Thread 10: 0 libsystem_pthread.dylib 0x7ff81f3baf48 start_wqthread + 0 Thread 11: 0 libsystem_pthread.dylib 0x7ff81f3baf48 start_wqthread + 0 Thread 12: 0 libsystem_pthread.dylib 0x7ff81f3baf48 start_wqthread + 0 Thread 4 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000001 rcx: 0x0000000000000059 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000000000000001 rbp: 0x000070000ec9e770 rsp: 0x000070000ec9e758 r8: 0x00000000840f4000 r9: 0x00000000000008ff r10: 0x0000000000006f94 r11: 0x0060000000000001 r12: 0x0000000000000000 r13: 0x0000000000000114 r14: 0x0000600001526260 r15: 0x0000000000000000 rip: 0x00007ff81f22f106 rfl: 0x0000000000010202 cr2: 0x0000000000000030 Logical CPU: 0 Error Code: 0x00000004 (no mapping for user data read) Trap Number: 14 Thread 4 instruction stream: 55 48 89 e5 48 89 f8 bf-80 04 00 00 48 03 3d 4f UH..H.......H.=O 49 e7 3f 48 85 f6 48 0f-45 fe 8b 4f 08 81 f9 ff I.?H..H.E..O.... ff ff 7f 74 06 f0 ff 47-08 7e 23 48 87 78 18 48 ...t...G.~#H.x.H 85 ff 74 18 8b 47 08 3d-ff ff ff 7f 74 0e b8 ff ..t..G.=....t... ff ff ff f0 0f c1 47 08-85 c0 7e 07 5d c3 e8 ee ......G...~.]... 86 00 00 75 06 5d e9 9f-49 fd ff e8 d1 86 00 00 ...u.]..I....... [48]8b 47 30 c3 55 48 89-e5 41 57 41 56 41 54 53 H.G0.UH..AWAVATS <== 49 89 f6 48 83 7f 30 00-74 35 49 89 ff 49 83 7e I..H..0.t5I..I.~ 30 00 74 28 49 8b 47 38-48 85 c0 b9 01 00 00 00 0.t(I.G8H....... 48 0f 44 c1 49 8b 5e 38-48 85 db 48 0f 44 d9 48 H.D.I.^8H..H.D.H 01 c3 73 18 45 31 f6 e9-fc 00 00 00 4d 89 fe 4c ..s.E1......M..L 89 f7 e8 d9 49 fd ff e9-ec 00 00 00 48 8d 04 5b ....I.......H..[ Binary Images: 0x7ff826512000 - 0x7ff826821fff com.apple.QuartzCore (1.11) /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x7ff81f406000 - 0x7ff81f907fff com.apple.CoreFoundation (6.9) <743f0cb7-e962-3e42-8653-7bd141129561> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7ff8280db000 - 0x7ff8283cefff com.apple.HIToolbox (2.1.1) <7761967d-a138-33b6-9e3f-5c5420a2eeff> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x7ff821e6c000 - 0x7ff822cf9fff com.apple.AppKit (6.9) <92a78ebd-bba5-3f18-a5e1-768c955539d7> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x10f83d000 - 0x10f8a8fff dyld (*) /usr/lib/dyld 0x7ff81f381000 - 0x7ff81f3b8fff libsystem_kernel.dylib (*) <26a59789-b846-3ed4-96dc-8dbef3c0c8e7> /usr/lib/system/libsystem_kernel.dylib 0x7ff81f289000 - 0x7ff81f311fff libsystem_c.dylib (*) <8e54eca2-9bd8-3482-9589-b9574434d1aa> /usr/lib/system/libsystem_c.dylib 0x10d9f8000 - 0x10de1ffff com.adguard.mac.adguard (2.9.0.1190 nightly) /Applications/Adguard.app/Contents/MacOS/Adguard 0x7ff81f3b9000 - 0x7ff81f3c4fff libsystem_pthread.dylib (*) <2f6c275d-7e14-3d31-a924-e1bb41d2415f> /usr/lib/system/libsystem_pthread.dylib 0x7ff81f201000 - 0x7ff81f247fff libdispatch.dylib (*) <31d69d55-9895-326c-ad61-621c5ca87314> /usr/lib/system/libdispatch.dylib 0x110de4000 - 0x111653fff com.adguard.AdguardCore (*) /Applications/Adguard.app/Contents/Frameworks/AdguardCore.framework/Versions/A/AdguardCore 0x10e045000 - 0x10e734fff com.adguard.dnsproxy (0.1) <25de7632-26b2-3bf2-9278-1050216410b6> /Applications/Adguard.app/Contents/Frameworks/AGDnsProxy.framework/Versions/A/AGDnsProxy 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? 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: 0 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%) Writable regions: Total=776.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=776.0M(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 512K 4 Activity Tracing 256K 1 CG backing stores 2688K 4 CG image 2240K 16 ColorSync 228K 26 CoreAnimation 14.8M 46 CoreGraphics 16K 3 CoreImage 12K 1 CoreUI image data 964K 9 Foundation 40K 2 Kernel Alloc Once 8K 1 MALLOC 343.2M 115 MALLOC guard page 48K 12 MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) SQLite page cache 8768K 137 STACK GUARD 56.0M 13 Stack 14.1M 13 VM_ALLOCATE 80K 20 __DATA 30.5M 496 __DATA_CONST 29.3M 320 __DATA_DIRTY 1542K 199 __FONT_DATA 4K 1 __LINKEDIT 669.4M 13 __OBJC_RO 82.6M 1 __OBJC_RW 3200K 2 __TEXT 511.7M 512 __UNICODE 592K 1 dyld private memory 1024K 1 libnetwork 5760K 32 mapped file 196.5M 34 shared memory 776K 18 =========== ======= ======= TOTAL 2.3G 2054 TOTAL, minus reserved VM space 1.9G 2054 ----------- Full Report ----------- {"app_name":"Adguard","timestamp":"2022-09-25 13:21:33.00 +0300","app_version":"2.9.0.1190 nightly","slice_uuid":"e3d838b9-d76f-3f2e-a221-0e4ec3a29bf3","build_version":"1190","platform":1,"bundleID":"com.adguard.mac.adguard","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"86352776-BAB6-4979-A3CF-81538508F87B","name":"Adguard"} { "uptime" : 5100, "procLaunch" : "2022-09-22 19:28:58.7346 +0300", "procRole" : "Default", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro16,1", "procStartAbsTime" : 60308423996, "coalitionID" : 808, "osVersion" : { "train" : "macOS 12.3.1", "build" : "21E258", "releaseType" : "User" }, "captureTime" : "2022-09-25 13:21:30.1114 +0300", "incident" : "86352776-BAB6-4979-A3CF-81538508F87B", "bug_type" : "309", "pid" : 3092, "procExitAbsTime" : 5154968026611, "cpuType" : "X86-64", "procName" : "Adguard", "procPath" : "\/Applications\/Adguard.app\/Contents\/MacOS\/Adguard", "bundleInfo" : {"CFBundleShortVersionString":"2.9.0.1190 nightly","CFBundleVersion":"1190","CFBundleIdentifier":"com.adguard.mac.adguard"}, "storeInfo" : {"deviceIdentifierForVendor":"E18FD8E7-C583-5585-8F37-1E6503D9FC21","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.adguard.mac.adguard", "crashReporterKey" : "8029C02D-5608-A8EA-33F3-CC17443DE00B", "wakeTime" : 1182, "bridgeVersion" : {"build":"19P4243","train":"6.4"}, "sleepWakeUUID" : "92145DE9-A6E7-4442-B7C4-E6348D8D25EA", "sip" : "enabled", "vmRegionInfo" : "0x30 is not in any region. Bytes before following region: 4523524048\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 10d9f8000-10de20000 [ 4256K] r-x\/r-x SM=COW ...MacOS\/Adguard", "isCorpse" : 1, "exception" : {"codes":"0x0000000000000001, 0x0000000000000030","rawCodes":[1,48],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000030"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":3092}, "vmregioninfo" : "0x30 is not in any region. Bytes before following region: 4523524048\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 10d9f8000-10de20000 [ 4256K] r-x\/r-x SM=COW ...MacOS\/Adguard", "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 4, "threads" : [{"id":11630,"queue":"com.apple.main-thread","frames":[{"imageOffset":8753,"symbol":"CA::Transaction::commit()","symbolLocation":777,"imageIndex":0},{"imageOffset":1754838,"symbol":"CA::Transaction::flush_as_runloop_observer(bool)","symbolLocation":128,"imageIndex":0},{"imageOffset":519824,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__","symbolLocation":23,"imageIndex":1},{"imageOffset":519458,"symbol":"__CFRunLoopDoObservers","symbolLocation":543,"imageIndex":1},{"imageOffset":516823,"symbol":"__CFRunLoopRun","symbolLocation":1131,"imageIndex":1},{"imageOffset":513964,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":1},{"imageOffset":195814,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":2},{"imageOffset":195146,"symbol":"ReceiveNextEventCommon","symbolLocation":594,"imageIndex":2},{"imageOffset":194533,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":70,"imageIndex":2},{"imageOffset":255293,"symbol":"_DPSNextEvent","symbolLocation":927,"imageIndex":3},{"imageOffset":248826,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1394,"imageIndex":3},{"imageOffset":193193,"symbol":"-[NSApplication run]","symbolLocation":586,"imageIndex":3},{"imageOffset":12839,"symbol":"NSApplicationMain","symbolLocation":817,"imageIndex":3},{"imageOffset":21790,"symbol":"start","symbolLocation":462,"imageIndex":4}]},{"id":12194,"frames":[{"imageOffset":17086,"symbol":"__semwait_signal","symbolLocation":10,"imageIndex":5},{"imageOffset":67667,"symbol":"nanosleep","symbolLocation":196,"imageIndex":6},{"imageOffset":112344,"symbol":"sleep","symbolLocation":41,"imageIndex":6},{"imageOffset":3348783,"imageIndex":7},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":12195,"name":"SentryCrash Exception Handler (Secondary)","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":5},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":5},{"imageOffset":3379364,"imageIndex":7},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"id":12197,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6522,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":5},{"imageOffset":7400,"symbol":"mach_msg","symbolLocation":56,"imageIndex":5},{"imageOffset":523485,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":516968,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":1},{"imageOffset":513964,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":1},{"imageOffset":1752926,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":3},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":8},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":8}]},{"triggered":true,"id":100787,"instructionState":{"instructionStream":{"bytes":[85,72,137,229,72,137,248,191,128,4,0,0,72,3,61,79,73,231,63,72,133,246,72,15,69,254,139,79,8,129,249,255,255,255,127,116,6,240,255,71,8,126,35,72,135,120,24,72,133,255,116,24,139,71,8,61,255,255,255,127,116,14,184,255,255,255,255,240,15,193,71,8,133,192,126,7,93,195,232,238,134,0,0,117,6,93,233,159,73,253,255,232,209,134,0,0,72,139,71,48,195,85,72,137,229,65,87,65,86,65,84,83,73,137,246,72,131,127,48,0,116,53,73,137,255,73,131,126,48,0,116,40,73,139,71,56,72,133,192,185,1,0,0,0,72,15,68,193,73,139,94,56,72,133,219,72,15,68,217,72,1,195,115,24,69,49,246,233,252,0,0,0,77,137,254,76,137,247,232,217,73,253,255,233,236,0,0,0,72,141,4,91],"offset":96}},"threadState":{"r13":{"value":276},"rax":{"value":0},"rflags":{"value":66050},"cpu":{"value":0},"r14":{"value":105553138442848},"rsi":{"value":1},"r8":{"value":2215591936},"cr2":{"value":48},"rdx":{"value":0},"r10":{"value":28564},"r9":{"value":2303},"r15":{"value":0},"rbx":{"value":1},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":27021597764222977},"rip":{"value":140703651000582,"matchesCrashFrame":1},"rbp":{"value":123145550423920},"rsp":{"value":123145550423896},"r12":{"value":0},"rcx":{"value":89},"flavor":"x86_THREAD_STATE","rdi":{"value":0}},"queue":"com.apple.libdispatch-io.opq","frames":[{"imageOffset":188678,"symbol":"dispatch_data_get_size","symbolLocation":0,"imageIndex":9},{"imageOffset":205839,"symbol":"__60-[ANServiceManager startStandaloneServiceWithOptions:error:]_block_invoke_2","symbolLocation":15,"imageIndex":10},{"imageOffset":187617,"symbol":"___dispatch_operation_deliver_data_block_invoke","symbolLocation":109,"imageIndex":9},{"imageOffset":8396,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":9},{"imageOffset":13079,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":9},{"imageOffset":37655,"symbol":"_dispatch_lane_serial_drain","symbolLocation":672,"imageIndex":9},{"imageOffset":40496,"symbol":"_dispatch_lane_invoke","symbolLocation":417,"imageIndex":9},{"imageOffset":37325,"symbol":"_dispatch_lane_serial_drain","symbolLocation":342,"imageIndex":9},{"imageOffset":40445,"symbol":"_dispatch_lane_invoke","symbolLocation":366,"imageIndex":9},{"imageOffset":81646,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":753,"imageIndex":9},{"imageOffset":12240,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":8},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":8}]},{"id":101004,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":101005,"queue":"AANProxyServerHandlerQueue","frames":[{"imageOffset":12522,"symbol":"__ulock_wait","symbolLocation":10,"imageIndex":5},{"imageOffset":15110,"symbol":"_dlock_wait","symbolLocation":45,"imageIndex":9},{"imageOffset":15765,"symbol":"_dispatch_group_wait_slow","symbolLocation":43,"imageIndex":9},{"imageOffset":245916,"symbol":"-[NSTask(AGTimeout) waitUntilExitOrInterruptAfterTimeoutMs:]","symbolLocation":732,"imageIndex":11},{"imageOffset":209289,"symbol":"-[ANServiceManager stopStandaloneService]","symbolLocation":153,"imageIndex":10},{"imageOffset":209482,"symbol":"-[ANServiceManager stopService]","symbolLocation":90,"imageIndex":10},{"imageOffset":346338,"imageIndex":7},{"imageOffset":346248,"imageIndex":7},{"imageOffset":346673,"imageIndex":7},{"imageOffset":13079,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":9},{"imageOffset":67566,"symbol":"_dispatch_lane_barrier_sync_invoke_and_complete","symbolLocation":60,"imageIndex":9},{"imageOffset":346636,"imageIndex":7},{"imageOffset":458888,"imageIndex":7},{"imageOffset":13079,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":9},{"imageOffset":23932,"symbol":"_dispatch_continuation_pop","symbolLocation":453,"imageIndex":9},{"imageOffset":94728,"symbol":"_dispatch_source_invoke","symbolLocation":2179,"imageIndex":9},{"imageOffset":37325,"symbol":"_dispatch_lane_serial_drain","symbolLocation":342,"imageIndex":9},{"imageOffset":40445,"symbol":"_dispatch_lane_invoke","symbolLocation":366,"imageIndex":9},{"imageOffset":81646,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":753,"imageIndex":9},{"imageOffset":12240,"symbol":"_pthread_wqthread","symbolLocation":326,"imageIndex":8},{"imageOffset":8023,"symbol":"start_wqthread","symbolLocation":15,"imageIndex":8}]},{"id":101436,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":101437,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":101908,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":101909,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":101910,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]},{"id":101911,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 140703771467776, "CFBundleShortVersionString" : "1.11", "CFBundleIdentifier" : "com.apple.QuartzCore", "size" : 3211264, "uuid" : "ccb708de-75e3-3a64-81c8-f7c688b43d3b", "path" : "\/System\/Library\/Frameworks\/QuartzCore.framework\/Versions\/A\/QuartzCore", "name" : "QuartzCore", "CFBundleVersion" : "964.19.5" }, { "source" : "P", "arch" : "x86_64h", "base" : 140703652929536, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5251072, "uuid" : "743f0cb7-e962-3e42-8653-7bd141129561", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1858.112" }, { "source" : "P", "arch" : "x86_64", "base" : 140703800602624, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3096576, "uuid" : "7761967d-a138-33b6-9e3f-5c5420a2eeff", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "x86_64", "base" : 140703697387520, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15261696, "uuid" : "92a78ebd-bba5-3f18-a5e1-768c955539d7", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2113.40.127" }, { "source" : "P", "arch" : "x86_64", "base" : 4555264000, "size" : 442368, "uuid" : "dd9e80de-fb3b-349b-96a4-46874ad34d11", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "x86_64", "base" : 140703652384768, "size" : 229376, "uuid" : "26a59789-b846-3ed4-96dc-8dbef3c0c8e7", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703651368960, "size" : 561152, "uuid" : "8e54eca2-9bd8-3482-9589-b9574434d1aa", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 4523524096, "CFBundleShortVersionString" : "2.9.0.1190 nightly", "CFBundleIdentifier" : "com.adguard.mac.adguard", "size" : 4358144, "uuid" : "e3d838b9-d76f-3f2e-a221-0e4ec3a29bf3", "path" : "\/Applications\/Adguard.app\/Contents\/MacOS\/Adguard", "name" : "Adguard", "CFBundleVersion" : "1190" }, { "source" : "P", "arch" : "x86_64", "base" : 140703652614144, "size" : 49152, "uuid" : "2f6c275d-7e14-3d31-a924-e1bb41d2415f", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703650811904, "size" : 290816, "uuid" : "31d69d55-9895-326c-ad61-621c5ca87314", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 4577968128, "CFBundleShortVersionString" : "", "CFBundleIdentifier" : "com.adguard.AdguardCore", "size" : 8847360, "uuid" : "bc9ba426-de6f-3fb1-b962-e1606f81a329", "path" : "\/Applications\/Adguard.app\/Contents\/Frameworks\/AdguardCore.framework\/Versions\/A\/AdguardCore", "name" : "AdguardCore", "CFBundleVersion" : "" }, { "source" : "P", "arch" : "x86_64", "base" : 4530130944, "CFBundleShortVersionString" : "0.1", "CFBundleIdentifier" : "com.adguard.dnsproxy", "size" : 7274496, "uuid" : "25de7632-26b2-3bf2-9278-1050216410b6", "path" : "\/Applications\/Adguard.app\/Contents\/Frameworks\/AGDnsProxy.framework\/Versions\/A\/AGDnsProxy", "name" : "AGDnsProxy", "CFBundleVersion" : "0.1" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "sharedCache" : { "base" : 140703649341440, "size" : 15224815616, "uuid" : "6cc5ecdc-5119-37f0-9a85-4f48a50f5f78" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)\nWritable regions: Total=776.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=776.0M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 512K 4 \nActivity Tracing 256K 1 \nCG backing stores 2688K 4 \nCG image 2240K 16 \nColorSync 228K 26 \nCoreAnimation 14.8M 46 \nCoreGraphics 16K 3 \nCoreImage 12K 1 \nCoreUI image data 964K 9 \nFoundation 40K 2 \nKernel Alloc Once 8K 1 \nMALLOC 343.2M 115 \nMALLOC guard page 48K 12 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSQLite page cache 8768K 137 \nSTACK GUARD 56.0M 13 \nStack 14.1M 13 \nVM_ALLOCATE 80K 20 \n__DATA 30.5M 496 \n__DATA_CONST 29.3M 320 \n__DATA_DIRTY 1542K 199 \n__FONT_DATA 4K 1 \n__LINKEDIT 669.4M 13 \n__OBJC_RO 82.6M 1 \n__OBJC_RW 3200K 2 \n__TEXT 511.7M 512 \n__UNICODE 592K 1 \ndyld private memory 1024K 1 \nlibnetwork 5760K 32 \nmapped file 196.5M 34 \nshared memory 776K 18 \n=========== ======= ======= \nTOTAL 2.3G 2054 \nTOTAL, minus reserved VM space 1.9G 2054 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.libdispatch-io.opq" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "61301e3a61217b3110231469", "factorPackIds" : { "SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225" }, "deploymentId" : 240000016 }, { "rolloutId" : "5ffde50ce2aacd000d47a95f", "factorPackIds" : { }, "deploymentId" : 240000198 } ], "experiments" : [ { "treatmentId" : "5b729754-3882-4560-826f-9c0bc27d77c6", "experimentId" : "6192fb082171a2330e561df0", "deploymentId" : 400000034 } ] } } ```
Crash report from Sentry ``` OS Version: macOS 12.3.1 (21E258) Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: BUS_NOOP at 0x0000000000000030 Crashed Thread: 5 Application Specific Information: Exception 1, Code 48, Subcode 8 > Attempted to dereference garbage pointer 0x30. Thread 5 Crashed: 0 libdispatch.dylib 0xfff01f396106 _dispatch_data_set_target_queue 1 libdispatch.dylib 0xfff01f395ce1 ___dispatch_operation_deliver_data_block_invoke 2 libdispatch.dylib 0xfff01f36a0cc _dispatch_call_block_and_release 3 libdispatch.dylib 0xfff01f36b317 _dispatch_client_callout 4 libdispatch.dylib 0xfff01f371317 _dispatch_lane_serial_drain 5 libdispatch.dylib 0xfff01f371e30 _dispatch_lane_invoke 6 libdispatch.dylib 0xfff01f3711cd _dispatch_lane_serial_drain 7 libdispatch.dylib 0xfff01f371dfd _dispatch_lane_invoke 8 libdispatch.dylib 0xfff01f37beee _dispatch_workloop_worker_thread 9 libsystem_pthread.dylib 0xfff01f6dafd0 _pthread_wqthread 10 libsystem_pthread.dylib 0xfff01f6d9f57 start_wqthread Thread 0 0 libsystem_kernel.dylib 0xfff01f66997a mach_msg_trap 1 CoreFoundation 0xfff01f7f1cdd __CFRunLoopServiceMachPort 2 CoreFoundation 0xfff01f7f0368 __CFRunLoopRun 3 CoreFoundation 0xfff01f7ef7ac CFRunLoopRunSpecific 4 HIToolbox 0xfff03114bce6 RunCurrentEventLoopInMode 5 HIToolbox 0xfff03114ba4a ReceiveNextEventCommon 6 HIToolbox 0xfff03114b7e5 _BlockUntilNextEventMatchingListInModeWithFilter 7 AppKit 0xfff024c7c53d _DPSNextEvent 8 AppKit 0xfff024c7abfa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] 9 AppKit 0xfff024c6d2a9 -[NSApplication run] 10 AppKit 0xfff024c41227 NSApplicationMain 11 0x10f84251e Thread 1 0 libsystem_kernel.dylib 0xfff01f66c2be __semwait_signal 1 libsystem_c.dylib 0xfff01f4936d8 sleep 2 Adguard 0x20dd2992e monitorCachedData (SentryCrashCachedData.c:151) 3 libsystem_pthread.dylib 0xfff01f6de4e1 _pthread_start 4 libsystem_pthread.dylib 0xfff01f6d9f6b thread_start Thread 2 name: SentryCrash Exception Handler (Secondary) 0 libsystem_kernel.dylib 0xfff01f66997a mach_msg_trap 1 Adguard 0x20dd310a3 handleExceptions (SentryCrashMonitor_MachException.c:281) 2 libsystem_pthread.dylib 0xfff01f6de4e1 _pthread_start 3 libsystem_pthread.dylib 0xfff01f6d9f6b thread_start Thread 4 name: com.apple.NSEventThread 0 libsystem_kernel.dylib 0xfff01f66997a mach_msg_trap 1 CoreFoundation 0xfff01f7f1cdd __CFRunLoopServiceMachPort 2 CoreFoundation 0xfff01f7f0368 __CFRunLoopRun 3 CoreFoundation 0xfff01f7ef7ac CFRunLoopRunSpecific 4 AppKit 0xfff024de9f5e _NSEventThread 5 libsystem_pthread.dylib 0xfff01f6de4e1 _pthread_start 6 libsystem_pthread.dylib 0xfff01f6d9f6b thread_start Thread 6 0 libsystem_kernel.dylib 0xfff01f66b05a __workq_kernreturn 1 libsystem_pthread.dylib 0xfff01f6d9f57 start_wqthread Thread 7 0 libsystem_kernel.dylib 0xfff01f66b0ea __ulock_wait 1 libdispatch.dylib 0xfff01f36bd95 _dispatch_group_wait_slow 2 AGDnsProxy 0x10e08109b -[NSTask(AGTimeout) waitUntilExitOrInterruptAfterTimeoutMs:] (NSTask+AGTimeout.mm:37) 3 AdguardCore 0x110e17188 -[ANServiceManager stopStandaloneService] (ANServiceManager.mm:612) 4 AdguardCore 0x110e17249 -[ANServiceManager stopService] (ANServiceManager.mm:630) 5 Adguard 0x20da4c8e1 __29-[AANProxyServerHandler stop]_block_invoke (AANProxyServerHandler.m:299) 6 Adguard 0x20da4c887 -[AANProxyServerHandler stop] (AANProxyServerHandler.m:295) 7 Adguard 0x20da4ca30 __31-[AANProxyServerHandler unload]_block_invoke (AANProxyServerHandler.m:312) 8 libdispatch.dylib 0xfff01f36b317 _dispatch_client_callout 9 libdispatch.dylib 0xfff01f3787ee _dispatch_lane_barrier_sync_invoke_and_complete 10 Adguard 0x20da4ca0b -[AANProxyServerHandler unload] (AANProxyServerHandler.m:311) 11 Adguard 0x20da68087 __35-[AAService filteringNetwork:mode:]_block_invoke_2 (AAService.m:1301) 12 libdispatch.dylib 0xfff01f36b317 _dispatch_client_callout 13 libdispatch.dylib 0xfff01f36dd7c _dispatch_continuation_pop 14 libdispatch.dylib 0xfff01f37f208 _dispatch_source_invoke 15 libdispatch.dylib 0xfff01f3711cd _dispatch_lane_serial_drain 16 libdispatch.dylib 0xfff01f371dfd _dispatch_lane_invoke 17 libdispatch.dylib 0xfff01f37beee _dispatch_workloop_worker_thread 18 libsystem_pthread.dylib 0xfff01f6dafd0 _pthread_wqthread 19 libsystem_pthread.dylib 0xfff01f6d9f57 start_wqthread Thread 8 0 libsystem_kernel.dylib 0xfff01f66b05a __workq_kernreturn 1 libsystem_pthread.dylib 0xfff01f6d9f57 start_wqthread Thread 9 0 libsystem_kernel.dylib 0xfff01f66b05a __workq_kernreturn 1 libsystem_pthread.dylib 0xfff01f6d9f57 start_wqthread Thread 10 0 libsystem_kernel.dylib 0xfff01f66b05a __workq_kernreturn 1 libsystem_pthread.dylib 0xfff01f6d9f57 start_wqthread ```
lansman commented 6 months ago

I have the same issue. Adguard VPN just crashed twice in 5 minutes. First time I had started it in the selective mode, switched to the full mode, tried to open Instagram, and the app crashed.

I restarted the VPN, run in the full mode, opened Instagram, it was loaded partially (some pictures were loaded, some weren't), and the app crashed again. Both times I was connected to the Czechia server. App Version is the latest (2.3.0 release 589). 2024-04-22_03-24-39 adgurd vpn bug.txt