joyent/node — Issue #1849: Kernel Panic running a simple script
Author: ldesegur
Created: 2011-10-10 02:58:36+00:00
State: open

MacOS X 10.6
> node setInterval("process.stdout.write(process.version);", 1000);

with node.js v0.5.8. Repro rate: 100%

panic(cpu 0 caller 0x2abf6a): Kernel trap at 0x004a75de, type 14=page fault, registers:
CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x00100000, CR4: 0x00000668
EAX: 0x00000000, EBX: 0x0d8f821c, ECX: 0x0d8f821c, EDX: 0x11474904
CR2: 0x00000000, EBP: 0x8279bd28, ESI: 0x0d8f821c, EDI: 0x0c72d230
EFL: 0x00010246, EIP: 0x004a75de, CS: 0x00000008, DS: 0x00290010
Error code: 0x00000000

Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x8279bb38 : 0x21b837 (0x5dd7fc 0x8279bb6c 0x223ce1 0x0)
0x8279bb88 : 0x2abf6a (0x59e3d0 0x4a75de 0xe 0x59e59a)
0x8279bc68 : 0x2a1a78 (0x8279bc80 0x0 0x8279bd28 0x4a75de)
0x8279bc78 : 0x4a75de (0xe 0x48 0x10 0x82790010)
0x8279bd28 : 0x479152 (0xd8f821c 0x16def0a0 0x8279bd68 0xfc07af0)
0x8279bd78 : 0x47926e (0xc77fc00 0x246 0x8279be08 0x2345f4)
0x8279bd98 : 0x473bb7 (0xeb51000 0x8279bde8 0xc77fc00 0x0)
0x8279be08 : 0x474fad (0xd5d5150 0xeb51000 0xfc0b540 0x4869e2)
0x8279be48 : 0x480fc3 (0xfc0b540 0x8 0x0 0xd1df7a8)
0x8279beb8 : 0x22ed26 (0xfc0b540 0x1 0xfc0b540 0x48d017)
0x8279bee8 : 0x22f152 (0xd1dfa68 0x27a3aee5 0x8279bf38 0x1)
0x8279bf28 : 0x22fb5d (0xd1dfa88 0xd1df7a8 0x8279bf68 0x48fec8)
0x8279bf68 : 0x21943f (0xd1df7a8 0xffffff7f 0x0 0x2a1960)
0x8279bfa8 : 0x2aacb4 (0xffffffff 0x1 0x246 0x0)
0x8279bfc8 : 0x2a1976 (0x0 0x7fff 0x10 0xd1dea84)

BSD process name corresponding to current thread: node

Mac OS version:
10K549

Kernel version:
Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
System model name: MacBookPro6,2 (Mac-F22586C8)