Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
debug> node(19910,0xa0b42540) malloc: *** mmap(size=1073745920) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
(libev) cannot allocate 1073745904 bytes, aborting.
Program received signal SIGABRT, Aborted.
0x98ffcc5a in __kill ()
(gdb) bt
#0 0x98ffcc5a in __kill ()
#1 0x98ffcc4c in kill$UNIX2003 ()
#2 0x9908f5a5 in raise ()
#3 0x990a56e4 in abort ()
#4 0x0005ccd5 in array_realloc (elem=<value temporarily unavailable, due to optimizations>, base=0x9080e0, cur=<value temporarily unavailable, due to optimizations>, cnt=927513034) at ../deps/uv/src/unix/ev/ev.c:647
#5 0x0005e3d3 in ev_io_start (loop=0x5b9f80, w=0x9097fc) at ../deps/uv/src/unix/ev/ev.c:2672
#6 0x0005659e in uv__read_start_common (stream=0x9097b8, alloc_cb=0x2cc66 <node::StreamWrap::OnAlloc(uv_handle_s*, unsigned long)>, read_cb=0, read2_cb=0x2cb4c <node::StreamWrap::OnRead2(uv_pipe_s*, long, uv_buf_t, uv_handle_type)>) at ../deps/uv/src/unix/stream.c:942
#7 0x000565c9 in uv_read2_start (stream=0x9097b8, alloc_cb=0x2cc66 <node::StreamWrap::OnAlloc(uv_handle_s*, unsigned long)>, read_cb=0x2cb4c <node::StreamWrap::OnRead2(uv_pipe_s*, long, uv_buf_t, uv_handle_type)>) at ../deps/uv/src/unix/stream.c:955
#8 0x0002d4cc in node::StreamWrap::ReadStart (args=@0xbffff0ec) at ../src/stream_wrap.cc:130
#9 0x0015f22d in HandleApiCallHelper<false> [inlined] () at /Users/indutny/Code/git/indutny/node/deps/v8/src/builtins.cc:1207
#10 0x0015f22d in v8::internal::Builtin_HandleApiCall (args={<v8::internal::Arguments> = {length_ = 2, arguments_ = 0xbffff148}, <No data fields>}, isolate=0x102f800) at ../deps/v8/src/builtins.cc:1224
#11 0x23108736 in ?? ()
#12 0x23184ac1 in ?? ()
#13 0x23185684 in ?? ()
#14 0x2314ef63 in ?? ()
#15 0x23149a8e in ?? ()
#16 0x2310bee1 in ?? ()
#17 0x23142e8c in ?? ()
#18 0x2315d130 in ?? ()
#19 0x2310bee1 in ?? ()
#20 0x2311f152 in ?? ()
#21 0x2310b0aa in ?? ()
#22 0x0018b829 in v8::internal::Invoke (is_construct=<value temporarily unavailable, due to optimizations>, function=<value temporarily unavailable, due to optimizations>, receiver=<value temporarily unavailable, due to optimizations>, argc=1, args=0xbffff45c, has_pending_exception=0xbffff39f) at ../deps/v8/src/execution.cc:118
#23 0x0018c5d6 in v8::internal::Execution::Call (callable={location_ = 0x104b22c}, receiver=<value temporarily unavailable, due to optimizations>, argc=1, argv=0xbffff45c, pending_exception=0xbffff39f, convert_receiver=false) at ../deps/v8/src/execution.cc:173
#24 0x00123484 in v8::internal::Isolate::handle_scope_implementer () at /Users/indutny/Code/git/indutny/node/deps/v8/src/isolate.h:3578
#25 0x00123484 in v8::Function::Call (this=0x104b22c, recv={val_ = 0x104c3f0}, argc=1, argv=0xbffff45c) at ../deps/v8/src/api.cc:3579
#26 0x00017708 in node::MakeCallback (object={val_ = 0x104c3f0}, method=0x41d2dc "ontimeout", argc=1, argv=0xbffff45c) at ../src/node.cc:962
#27 0x0002edfe in node::TimerWrap::OnTimeout (handle=0xa005f0, status=0) at ../src/timer_wrap.cc:204
#28 0x0005bbdd in ev_invoke_pending (loop=0x5b9f80) at ../deps/uv/src/unix/ev/ev.c:2143
#29 0x0005f475 in ev_run (loop=0x5b9f80, flags=<value temporarily unavailable, due to optimizations>) at ../deps/uv/src/unix/ev/ev.c:2519
#30 0x0005242e in uv_run (loop=0x5b9b60) at ../deps/uv/src/unix/core.c:218
#31 0x000175b6 in node::StartThread (isolate=0x1029600, argc=3, argv=0xbffff6c0) at ../src/node.cc:2659
#32 0x00017647 in node::Start (argc=3, argv=<value temporarily unavailable, due to optimizations>) at ../src/node.cc:2680
#33 0x0000f95d in _start () at atomicops_internals_x86_macosx.h:72
#34 0x0000f88c in start () at atomicops_internals_x86_macosx.h:72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.