Skip to content

Instantly share code, notes, and snippets.

@gmile
Last active March 5, 2016 14:19
Show Gist options
  • Save gmile/417e9ba1df70aeb80ee9 to your computer and use it in GitHub Desktop.
Save gmile/417e9ba1df70aeb80ee9 to your computer and use it in GitHub Desktop.
investigation
(lldb) process attach --pid 1958
Process 1958 stopped
* thread #1: tid = 0x6f0f, 0x00007fff8f722d16 libsystem_kernel.dylib`__open + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fff8f722d16 libsystem_kernel.dylib`__open + 10
libsystem_kernel.dylib`__open:
->  0x7fff8f722d16 <+10>: jae    0x7fff8f722d20            ; <+20>
    0x7fff8f722d18 <+12>: movq   %rax, %rdi
    0x7fff8f722d1b <+15>: jmp    0x7fff8f71dc02            ; cerror
    0x7fff8f722d20 <+20>: retq
  501   2728 cp             4 /Users/gmile/projects/nerves/helloworld/_nerves-tmp/rootfs-additions/srv/erlang/tmp/erl_pipes 
  501   2728 cp             3 rel/helloworld/tmp/erl_pipes 
  501   2728 cp             3 rel/helloworld/tmp/erl_pipes/helloworld 
  501   2728 cp             4 /Users/gmile/projects/nerves/helloworld/_nerves-tmp/rootfs-additions/srv/erlang/tmp/erl_pipes/helloworld 
  501   2728 cp             3 rel/helloworld/tmp/erl_pipes/helloworld
gmile@Eugenes-MacBook-Pro-2 ~/p/n/helloworld> ls -lat rel/helloworld/tmp/erl_pipes/helloworld
total 0
prw-r--r--  1 gmile  staff    0 Mar  5 13:40 erlang.pipe.1.r
prw-r--r--  1 gmile  staff    0 Mar  5 13:40 erlang.pipe.1.w
drwxr-xr-x  4 gmile  staff  136 Mar  5 13:40 .
drwxr-xr-x  3 gmile  staff  102 Mar  5 13:39 ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment