Skip to content

Instantly share code, notes, and snippets.

/gist:2314262
Created Apr 5, 2012

Embed
What would you like to do?
suzanne-holloways-macbook:node-v0.7.7 smh8g$ gdb --args ./node ../test.js
GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:11:58 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries ...... done
ru
(gdb) run
Starting program: /Users/smh8g/node-v0.7.7/node ../test.js
Reading symbols for shared libraries +++++.......................................................................... done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000001
0x001c7956 in MemsetPointer<v8::internal::Object, v8::internal::Object> [inlined] () at v8utils.h:4556
4556 MemsetPointer(array->data_start(), filler, length);
(gdb) bt
#0 0x001c7956 in MemsetPointer<v8::internal::Object, v8::internal::Object> [inlined] () at v8utils.h:4556
#1 0x001c7956 in MemsetPointer<v8::internal::Object, v8::internal::Object> [inlined] () at v8utils.h:4556
#2 0x001c7956 in AllocateFixedArrayWithFiller (heap=0x8df054, length=4099, pretenure=<value temporarily unavailable, due to optimizations>, filler=0x32508091) at ../deps/v8/src/heap.cc:4556
#3 0x001ca0d0 in MemsetPointer<v8::internal::Object, v8::internal::Object> [inlined] () at v8utils.h:4565
#4 0x001ca0d0 in v8::internal::Heap::AllocateHashTable (this=0x8df054, length=1617985693, pretenure=9302100) at ../deps/v8/src/heap.cc:4556
#5 0x00286032 in v8::internal::HashTable<v8::internal::SymbolTableShape, v8::internal::HashTableKey*>::Allocate (at_least_space_for=844136593, pretenure=v8::internal::NOT_TENURED) at ../deps/v8/src/heap.cc:4556
#6 0x001d0fae in v8::internal::Heap::CreateInitialObjects (this=0x1000) at ../deps/v8/src/heap.cc:4556
#7 0x001d1ffe in v8::internal::Heap::SetUp (this=0x8df054, create_heap_objects=true) at ../deps/v8/src/heap.cc:4556
#8 0x002528d6 in v8::internal::Isolate::Init (this=0x8df000, des=0x0) at ../deps/v8/src/heap.cc:4556
#9 0x003887bc in v8::internal::V8::Initialize (des=0x0) at ../deps/v8/src/heap.cc:4556
#10 0x001100fc in v8::V8::Initialize () at ../deps/v8/src/heap.cc:4556
#11 0x0000af63 in node::Start (argc=2, argv=0xbffffa08) at ../deps/v8/src/heap.cc:4556
#12 0x00002656 in start ()
(gdb)
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.