Skip to content

Instantly share code, notes, and snippets.

@aikar
Created April 8, 2011 02:23
Show Gist options
  • Save aikar/9bf2d54215deb3fbcdf6 to your computer and use it in GitHub Desktop.
Save aikar/9bf2d54215deb3fbcdf6 to your computer and use it in GitHub Desktop.
[Tyrial] ------ [10:19 PM] ------ [aikar] --- [master] --- [~/projects/wormhole]
>>> node examples/wormhole.js
Server listening
Client connected to server
3
asking server to do 10 + 3
26b53c4 - 65532 - 9SERVER: Got message: null
2695ca4 - 65532 - 17CLIENT: Got message: null
3
asking server to do 10 + 3
26b53cd - 65523 - 9SERVER: Got message: null
2695cb5 - 65515 - 17CLIENT: Got message: null
3
asking server to do 10 + 3
26b53d6 - 65514 - 9*** glibc detected *** node: corrupted double-linked list: 0x00000000026a7ce0 ***
==== note: replaced original bt in this paste with a full one, so the above addresses will not match up to below, but its identical callstack =====
Core was generated by `node examples/wormhole.js'.
Program terminated with signal 11, Segmentation fault.
#0 _int_malloc (av=0x7fcdf0876e40, bytes=8248) at malloc.c:4628
4628 malloc.c: No such file or directory.
in malloc.c
(gdb) bt full
#0 _int_malloc (av=0x7fcdf0876e40, bytes=8248) at malloc.c:4628
p = 0x2040
nb = 8256
idx = <value optimized out>
bin = 0x7fcdf08775a8
victim = 0xc00000005
size = <value optimized out>
victim_index = <value optimized out>
remainder = <value optimized out>
remainder_size = <value optimized out>
block = 3
bit = 262144
map = 28051536
fwd = <value optimized out>
bck = <value optimized out>
errstr = <value optimized out>
__func__ = "_int_malloc"
#1 0x00007fcdf057438e in __libc_malloc (bytes=8248) at malloc.c:3660
ar_ptr = 0x7fcdf0876e40
victim = <value optimized out>
__func__ = "__libc_malloc"
#2 0x00007fcdcbf83a12 in msgpack_zone_new (chunk_size=8192) at zone.c:197
zone = <value optimized out>
#3 0x00007fcdcbf82835 in msgpack_unpacker_release_zone (mpac=0xe27808) at unpack.c:333
r = <value optimized out>
old = <value optimized out>
#4 0x00007fcdcbf8287d in msgpack_unpacker_next (mpac=0xe27808, result=0xe277e8) at unpack.c:384
ret = 3
#5 0x00007fcdcbf7ff70 in Wormhole::GetResult (args=...) at ../src/wormhole.cc:101
scope = {prev_next_ = 0xe29490, prev_limit_ = 0xe2b420, is_closed_ = false}
wormhole = 0xe277d0
unpacker = 0xe27808
result = 0xe277e8
#6 0x00007fcdcc3a331c in ?? ()
No symbol table info available.
#7 0x00007fffc250a370 in ?? ()
No symbol table info available.
#8 0x00007fffc250a370 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#9 0x0000000000000000 in ?? ()
No symbol table info available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment