Skip to content

Instantly share code, notes, and snippets.

@kolen
Created January 7, 2020 16:46
Show Gist options
  • Save kolen/c6d9e28105489afa85d0bec48b5fb4f0 to your computer and use it in GitHub Desktop.
Save kolen/c6d9e28105489afa85d0bec48b5fb4f0 to your computer and use it in GitHub Desktop.
Analysis of sampling login (pid 13098) every 1 millisecond
Process: login [13098]
Path: /usr/bin/login
Load Address: 0x10a645000
Identifier: login
Version: 790.50.6
Code Type: X86-64
Parent Process: sh [13097]
Date/Time: 2020-01-07 19:42:07.670 +0300
Launch Time: 2020-01-07 19:42:05.609 +0300
OS Version: Mac OS X 10.13.6 (17G10021)
Report Version: 7
Analysis Tool: /usr/bin/sample
----
Call graph:
1939 Thread_1557013: Main Thread DispatchQueue_<multiple>
+ 1939 start (in libdyld.dylib) + 1 [0x7fff52a32015]
+ 1929 ??? (in login) load address 0x10a645000 + 0x1b18 [0x10a646b18]
+ ! 1929 ??? (in login) load address 0x10a645000 + 0x299d [0x10a64799d]
+ ! 1929 openpam_dispatch (in libpam.2.dylib) + 504 [0x7fff52208ecc]
+ ! 1928 pam_sm_acct_mgmt (in pam_opendirectory.so.2) + 495 [0x7fff528acb95]
+ ! : 1928 od_record_check_pwpolicy (in pam_opendirectory.so.2) + 26 [0x7fff528abfee]
+ ! : 1928 ODRecordAuthenticationAllowed (in CFOpenDirectory) + 303 [0x7fff3323d0dd]
+ ! : 1928 transaction_simple (in CFOpenDirectory) + 370 [0x7fff33230d0a]
+ ! : 1928 _dispatch_semaphore_wait_slow (in libdispatch.dylib) + 101 [0x7fff52a00979]
+ ! : 1928 _dispatch_sema4_wait (in libdispatch.dylib) + 16 [0x7fff52a08893]
+ ! : 1928 semaphore_wait_trap (in libsystem_kernel.dylib) + 10 [0x7fff52b79236]
+ ! 1 pam_sm_acct_mgmt (in pam_opendirectory.so.2) + 87 [0x7fff528ac9fd]
+ ! 1 _CFRelease (in CoreFoundation) + 300 [0x7fff2ab0aa5c]
+ ! 1 __ODRecordFinalize (in CFOpenDirectory) + 49 [0x7fff332341c8]
+ ! 1 _CFRelease (in CoreFoundation) + 300 [0x7fff2ab0aa5c]
+ ! 1 __ODNodeFinalize (in CFOpenDirectory) + 14 [0x7fff33232096]
+ ! 1 _ODNodeExternalRelease (in CFOpenDirectory) + 26 [0x7fff3323210d]
+ ! 1 node_cache_release (in CFOpenDirectory) + 127 [0x7fff33232209]
+ ! 1 _dispatch_queue_barrier_sync_invoke_and_complete (in libdispatch.dylib) + 60 [0x7fff52a0c1e1]
+ ! 1 _dispatch_client_callout (in libdispatch.dylib) + 8 [0x7fff529f8db8]
+ ! 1 __node_cache_release_block_invoke (in CFOpenDirectory) + 195 [0x7fff332322f2]
+ ! 1 _ODNodeExternalRelease (in CFOpenDirectory) + 113 [0x7fff33232164]
+ ! 1 transaction_simple (in CFOpenDirectory) + 370 [0x7fff33230d0a]
+ ! 1 _dispatch_semaphore_wait_slow (in libdispatch.dylib) + 101 [0x7fff52a00979]
+ ! 1 _dispatch_sema4_wait (in libdispatch.dylib) + 16 [0x7fff52a08893]
+ ! 1 semaphore_wait_trap (in libsystem_kernel.dylib) + 10 [0x7fff52b79236]
+ 6 ??? (in login) load address 0x10a645000 + 0x1e79 [0x10a646e79]
+ ! 6 __wait4 (in libsystem_kernel.dylib) + 10 [0x7fff52b8322a]
+ 3 ??? (in login) load address 0x10a645000 + 0x1e31 [0x10a646e31]
+ ! 3 openpam_dispatch (in libpam.2.dylib) + 504 [0x7fff52208ecc]
+ ! 1 pam_sm_open_session (in pam_launchd.so.2) + 478 [0x7fff5289db79]
+ ! : 1 bootstrap_parent (in libxpc.dylib) + 72 [0x7fff52d95df5]
+ ! : 1 _xpc_interface_routine (in libxpc.dylib) + 167 [0x7fff52d82aad]
+ ! : 1 xpc_pipe_routine (in libxpc.dylib) + 302 [0x7fff52d82d6e]
+ ! : 1 mach_msg (in libsystem_kernel.dylib) + 60 [0x7fff52b78714]
+ ! : 1 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x7fff52b791fa]
+ ! 1 pam_sm_open_session (in pam_launchd.so.2) + 795 [0x7fff5289dcb6]
+ ! : 1 _vprocmgr_switch_to_session (in libxpc.dylib) + 130 [0x7fff52d95895]
+ ! : 1 _xpc_interface_routine (in libxpc.dylib) + 167 [0x7fff52d82aad]
+ ! : 1 xpc_pipe_routine (in libxpc.dylib) + 302 [0x7fff52d82d6e]
+ ! : 1 mach_msg (in libsystem_kernel.dylib) + 60 [0x7fff52b78714]
+ ! : 1 mach_msg_trap (in libsystem_kernel.dylib) + 10 [0x7fff52b791fa]
+ ! 1 pam_sm_open_session (in pam_uwtmp.so.2) + 447 [0x7fff528bcbc1]
+ ! 1 _pututxline (in libsystem_c.dylib) + 150 [0x7fff52aef2ba]
+ ! 1 _utmpx_asl (in libsystem_c.dylib) + 1061 [0x7fff52a88f83]
+ ! 1 asl_send (in libsystem_asl.dylib) + 13 [0x7fff52a7d1d8]
+ ! 1 _asl_send_message (in libsystem_asl.dylib) + 540 [0x7fff52a6b3d7]
+ ! 1 asl_msg_merge (in libsystem_asl.dylib) + 191 [0x7fff52a76fac]
+ ! 1 asl_msg_set_key_val_op (in libsystem_asl.dylib) + 653 [0x7fff52a76512]
+ ! 1 _asl_msg_index (in libsystem_asl.dylib) + 110 [0x7fff52a76028]
+ ! 1 strlen (in libsystem_c.dylib) + 14 [0x7fff52a8222e]
+ 1 ??? (in login) load address 0x10a645000 + 0x1e5c [0x10a646e5c]
+ 1 0x0
+ 1 __fork (in libsystem_kernel.dylib) + 11 [0x7fff52b8219f]
1939 Thread_1557021
+ 1939 start_wqthread (in libsystem_pthread.dylib) + 13 [0x7fff52d49be9]
+ 1939 _pthread_wqthread (in libsystem_pthread.dylib) + 1035 [0x7fff52d4a009]
+ 1939 __workq_kernreturn (in libsystem_kernel.dylib) + 10 [0x7fff52b8328a]
1376 Thread_1557022
+ 1376 start_wqthread (in libsystem_pthread.dylib) + 13 [0x7fff52d49be9]
+ 1376 _pthread_wqthread (in libsystem_pthread.dylib) + 1035 [0x7fff52d4a009]
+ 1376 __workq_kernreturn (in libsystem_kernel.dylib) + 10 [0x7fff52b8328a]
1330 Thread_1557023
+ 1330 start_wqthread (in libsystem_pthread.dylib) + 13 [0x7fff52d49be9]
+ 1330 _pthread_wqthread (in libsystem_pthread.dylib) + 1035 [0x7fff52d4a009]
+ 1330 __workq_kernreturn (in libsystem_kernel.dylib) + 10 [0x7fff52b8328a]
11 Thread_1557206
11 start_wqthread (in libsystem_pthread.dylib) + 13 [0x7fff52d49be9]
11 _pthread_wqthread (in libsystem_pthread.dylib) + 1035 [0x7fff52d4a009]
11 __workq_kernreturn (in libsystem_kernel.dylib) + 10 [0x7fff52b8328a]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment