Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save misterdjules/9864ea8c9c9f709a204d74868fa38431 to your computer and use it in GitHub Desktop.

Select an option

Save misterdjules/9864ea8c9c9f709a204d74868fa38431 to your computer and use it in GitHub Desktop.
```
[root@headnode (coal) ~]# mdb /zones/a0f777cd-17e0-4e2c-9216-89d269c40c61/root/opt/smartdc/sdc/build/node/bin/node /zones/global/cores/core.node.31174
mdb: core file data for mapping at 8050000 not saved: I/O error
mdb: core file data for mapping at 8e96000 not saved: I/O error
mdb: core file data for mapping at fe6e0000 not saved: I/O error
mdb: core file data for mapping at fe740000 not saved: I/O error
mdb: core file data for mapping at fec30000 not saved: I/O error
Loading modules: [ libumem.so.1 libc.so.1 ld.so.1 ]
> ::load v8
mdb_v8 version: 1.1.4 (release, from 3a6fad0)
V8 version: 0.0.0.0
Autoconfigured V8 support from target
C++ symbol demangling enabled
> ::jsstack
native: uv__io_poll+0x2db
native: uv_run+0x1ea
native: _GLOBAL__sub_I__ZN4node17handle_wrap_queueE+0x59
native: _ZN4nodeL21GetInterfaceAddressesERKN2v89ArgumentsE+0x5b
(1 internal frame elided)
> $C
08047a88 uv__io_poll+0x2db(8ea84a0, ea5d, f4240, 0, 8ea84b8, 0)
08047ac8 uv_run+0x1ea(8ea84a0, 0, 8047b74, 0, 7d, 8eccdc8)
08047b28 _GLOBAL__sub_I__ZN4node17handle_wrap_queueE+0x59(5, 8047b74, 133f, 1f80, 8047b2c, fe9df348)
08047b48 _ZN4nodeL21GetInterfaceAddressesERKN2v89ArgumentsE+0x5b(5, 8047b74, 8047b8c, 8047b68, 81f01e2, 8282db0)
08047b68 0x81f0243(5, 8047c74, 8047cc9, 8047d20, 8047d23, 8047d48)
> ::status
debugging core file of node (32-bit) from headnode
file: /zones/a0f777cd-17e0-4e2c-9216-89d269c40c61/root/opt/smartdc/sdc/build/node/bin/node
initial argv: /zones/a0f777cd-17e0-4e2c-9216-89d269c40c61/root/opt/smartdc/sdc/build/node/bin
threading model: native threads
status: process terminated by SIGBUS (Bus Error), addr=83f1fdb
> ::regs
%cs = 0x0043 %eax = 0x00000000
%ds = 0x004b %ebx = 0x08043a64
%ss = 0x004b %ecx = 0x00000001
%es = 0x004b %edx = 0x00000000
%fs = 0x0000 %esi = 0x00000000
%gs = 0x01c3 %edi = 0x00000000
%eip = 0x083f1fdb uv__io_poll+0x2db
%ebp = 0x08047a88
%kesp = 0x00000000
%eflags = 0x00210206
id=1 vip=0 vif=0 ac=0 vm=0 rf=1 nt=0 iopl=0x0
status=<of,df,IF,tf,sf,zf,af,PF,cf>
%esp = 0x08043a10
%trapno = 0xe
%err = 0x14
> 0x083f1fdb::dis
uv__io_poll+0x29f: call +0x29d74 <v8::internal::Genesis::CreateEmptyFunction+0x9e8>
uv__io_poll+0x2a4: jmp -0x1a6 <uv__io_poll+0x103>
uv__io_poll+0x2a9: leal 0x0(%esi),%esi
uv__io_poll+0x2b0: movl $0x86920e0,0xc(%esp)
uv__io_poll+0x2b8: movl $0x862898f,0x8(%esp)
uv__io_poll+0x2c0: movl $0x129,0x4(%esp)
uv__io_poll+0x2c8: movl $0x8630279,(%esp)
uv__io_poll+0x2cf: call +0x29d44 <v8::internal::Genesis::CreateEmptyFunction+0x9e8>
uv__io_poll+0x2d4: jmp -0x1ec <uv__io_poll+0xed>
uv__io_poll+0x2d9: addb %al,(%eax)
uv__io_poll+0x2db: addb %al,(%eax)
uv__io_poll+0x2dd: addb %al,(%eax)
uv__io_poll+0x2df: addb %al,(%eax)
uv__io_poll+0x2e1: addb %al,(%eax)
uv__io_poll+0x2e3: addb %al,(%eax)
uv__io_poll+0x2e5: addb %al,(%eax)
uv__io_poll+0x2e7: addb %dl,-0x77(%ebp)
uv__io_poll+0x2ea: inl $0x83
uv__io_poll+0x2ec: inb (%dx)
uv__io_poll+0x2ed: popl %eax
uv__io_poll+0x2ee: movl %esi,-0x8(%ebp)
> uv__io_poll+0x2db::dis
uv__io_poll+0x29f: call +0x29d74 <v8::internal::Genesis::CreateEmptyFunction+0x9e8>
uv__io_poll+0x2a4: jmp -0x1a6 <uv__io_poll+0x103>
uv__io_poll+0x2a9: leal 0x0(%esi),%esi
uv__io_poll+0x2b0: movl $0x86920e0,0xc(%esp)
uv__io_poll+0x2b8: movl $0x862898f,0x8(%esp)
uv__io_poll+0x2c0: movl $0x129,0x4(%esp)
uv__io_poll+0x2c8: movl $0x8630279,(%esp)
uv__io_poll+0x2cf: call +0x29d44 <v8::internal::Genesis::CreateEmptyFunction+0x9e8>
uv__io_poll+0x2d4: jmp -0x1ec <uv__io_poll+0xed>
uv__io_poll+0x2d9: addb %al,(%eax)
uv__io_poll+0x2db: addb %al,(%eax)
uv__io_poll+0x2dd: addb %al,(%eax)
uv__io_poll+0x2df: addb %al,(%eax)
uv__io_poll+0x2e1: addb %al,(%eax)
uv__io_poll+0x2e3: addb %al,(%eax)
uv__io_poll+0x2e5: addb %al,(%eax)
uv__io_poll+0x2e7: addb %dl,-0x77(%ebp)
uv__io_poll+0x2ea: inl $0x83
uv__io_poll+0x2ec: inb (%dx)
uv__io_poll+0x2ed: popl %eax
uv__io_poll+0x2ee: movl %esi,-0x8(%ebp)
>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment