Skip to content

Instantly share code, notes, and snippets.

View tjfontaine's full-sized avatar

Timothy J Fontaine tjfontaine

View GitHub Profile
[root@4f606023-3cc2-417f-ae8e-a798962b63e9 ~]# mdb a.out linux-core.3
mdb: warning: librtld_db failed to initialize; shared library information will not be available
> ::load /root/x64_v8.so
V8 version: 3.20.17.14
Autoconfigured V8 support from target
C++ symbol demangling enabled
> ::findjsobjects -p hackathon | ::jsprint
{
hackathon: "I win",
}
2013.11.12, Version 0.10.22 (Stable)
* npm: Upgrade to 1.3.14
* uv: Upgrade to v0.10.19
* darwin: Fix "Not Responding" in Mavericks activity monitor (Fedor Indutny)
* debugger: Fix bug in sb() with unnamed script (Maxim Bogushevich)
for i in $(seq 2 6); do echo $i; echo -e '::load ../ia32_v8.so\n::findjsobjects -l | ::findjsobjects -l' | mdb core.$i.4919 | wc; done
2
9550 9559 86012
3
9445 9454 85067
4
24285 24294 218626
5
30439 30448 274013
6
From 626c8ac5634c543a3e922e60c83b0e2dfdd5b094 Mon Sep 17 00:00:00 2001
From: Timothy J Fontaine <tjfontaine@gmail.com>
Date: Mon, 11 Nov 2013 02:09:12 +0000
Subject: [PATCH] src: HandleWrap::OnClose needs HandleScope
---
src/handle_wrap.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
libumem.so.1`umem_cache_alloc_debug+0x144
libumem.so.1`umem_cache_alloc+0x153
libumem.so.1`umem_alloc+0xcd
libumem.so.1`malloc+0x2a
libstdc++.so.6.0.17`operator new+0x29
libstdc++.so.6.0.17`operator new[]+0x1d
v8::internal::NewArray<void::Object*>+0x14
v8::internal::HandleScopeImplementer::GetSpareOrNewBlock+0x12
v8::internal::HandleScope::Extend+0x128
v8::internal::HandleScope::CreateHandle<void::Object>+0x5f
var fs = require('fs');
var lstream = require('lstream');
var ls = new lstream();
process.stdin.pipe(ls);
var symbolTable = JSON.parse(fs.readFileSync(process.argv[2], 'utf8'));
libumem.so.1`umem_cache_alloc
libumem.so.1`umem_alloc+0xcd
libumem.so.1`malloc+0x2a
libstdc++.so.6.0.17`_Znwj+0x29
libstdc++.so.6.0.17`_Znaj+0x1d
node`_ZN2v88internal11HandleScope6ExtendEv+0xdf
node`_ZN2v88internal8JSObject20SetPropertyForResultEPNS0_12LookupResultEPNS0_6StringEPNS0_6ObjectE18PropertyAttributesNS0_14StrictModeFlagENS0_10JSReceiver14StoreFromKeyedE+0x5f8
node`_ZN2v88internal10JSReceiver11SetPropertyEPNS0_6StringEPNS0_6ObjectE18PropertyAttributesNS0_14StrictModeFlagENS1_14StoreFromKeyedE+0x8d
node`_ZN2v88internal7StoreIC5StoreENS0_16InlineCacheStateENS0_14StrictModeFlagENS0_6HandleINS0_6ObjectEEENS4_INS0_6StringEEES6_+0x359
node`_ZN2v88internal12StoreIC_MissENS0_9ArgumentsEPNS0_7IsolateE+0x139
* uv: Upgrade to v0.11.14 (Timothy J Fontaine)
* v8: upgrade 3.21.18.3 (Timothy J Fontaine)
* assert: indicate if exception message is generated (Glen Mailer)
* buffer: add buf.toArrayBuffer() API (Trevor Norris)
* buffer: optimize common encoding cases (Trevor Norris)
* cluster: fix premature 'disconnect' event (Ben Noordhuis)
* crypto: add SPKAC support (Jason Gerfen)
* debugger: count space for line numbers correctly (Alex Kocharin)
* debugger: fix SIGUSR1 bootstrap race condition (Ben Noordhuis)
* debugger: make busy loops SIGUSR1-interruptible (Ben Noordhuis)
[
{
callback: function emitReadableNextTick,
domain: null,
},
{
callback: function maybeReadMoreNextTick,
domain: null,
},
{
2013.10.18, Version 0.10.21 (Stable)
* uv: Upgrade to v0.10.18
* dtrace: interpret two byte strings (Dave Pacheco)
* fs: fix fs.truncate() file content zeroing bug (Ben Noordhuis)
* http: provide backpressure for pipeline flood (isaacs)