If I try to run 'dtruss' (i.e. the layer over DTrace) while in multi-user mode, it panic crashes my 10.6.8 system (a 2010 Mac Pro).
This only started to happen after I upgraded VirtualBox to version 4.2.4.
In the panic tracebacks I always see VBoxDrv in the backtrace:
Code: Select all
Mon Nov 19 17:03:16 2012
panic(cpu 0 caller 0xffffff80002d1208): Kernel trap at 0xffffff8000557de3, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x00000000000299f4, CR3: 0x00000000336a2000, CR4: 0x0000000000000660
RAX: 0xffffff7f8189f0ab, RBX: 0x00000000000299f4, RCX: 0x0000000000000000, RDX: 0xffffff7f8189f190
RSP: 0xffffff80b3c9b990, RBP: 0xffffff80b3c9b990, RSI: 0x0000000000000028, RDI: 0x00000000000299f4
R8: 0xffffff80b3c9b64c, R9: 0x0000000000000000, R10: 0x0000000000000002, R11: 0x0000000000100000
R12: 0xffffff7f8189f1e0, R13: 0xffffff8018fca430, R14: 0x0000000018000002, R15: 0x0000000000000000
RFL: 0x0000000000010282, RIP: 0xffffff8000557de3, CS: 0x0000000000000008, SS: 0x0000000000000010
Error code: 0x0000000000000000
Backtrace (CPU 0), Frame : Return Address
0xffffff80b3c9b630 : 0xffffff8000204d15
0xffffff80b3c9b730 : 0xffffff80002d1208
0xffffff80b3c9b880 : 0xffffff80002e3f4a
0xffffff80b3c9b890 : 0xffffff8000557de3
0xffffff80b3c9b990 : 0xffffff7f8187446c
0xffffff80b3c9ba20 : 0xffffff80004ce549
0xffffff80b3c9ba40 : 0xffffff80004d6a59
0xffffff80b3c9ba90 : 0xffffff80003182d5
0xffffff80b3c9baf0 : 0xffffff800023eb6a
0xffffff80b3c9bb30 : 0xffffff8000239cb8
0xffffff80b3c9bba0 : 0xffffff8000305a64
0xffffff80b3c9bc70 : 0xffffff8000305ed3
0xffffff80b3c9bf40 : 0xffffff80004e8168
0xffffff80b3c9bfa0 : 0xffffff80002e4874
Kernel Extensions in backtrace (with dependencies):
org.virtualbox.kext.VBoxDrv(4.2.4)@0xffffff7f81867000->0xffffff7f8189ffff
BSD process name corresponding to current thread: dtrace
Mac OS version:
10K549
Kernel version:
Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
System model name: MacPro5,1 (Mac-F221BEC8)
System uptime in nanoseconds: 1825131547035
unloaded kexts:
com.apple.driver.AppleIntel8254XEthernet 2.1.3b1 (addr 0xffffff7f81204000, size 0x118784) - last unloaded 1596184057595
loaded kexts:
org.virtualbox.kext.VBoxNetAdp 4.2.4 - last loaded 1536141775670
org.virtualbox.kext.VBoxNetFlt 4.2.4
org.virtualbox.kext.VBoxUSB 4.2.4
org.virtualbox.kext.VBoxDrv 4.2.4
[...]
While it doesn't rule out some other kext as the problem, I don't make many changes on this system and upgrading VirtualBox is the first thing I've done that's updated a kernel extension in a long time.
If anyone else has a spare 10.6.8 system that they don't mind risking having it panic, I'd be curious to know if it happens to them as well.
To recreate, just do a "dtruss" on anything, e.g. "dtruss ls" or "dtruss pwd".
(If it matters, I'm booted in full 64-bit mode - 64-bit CPU, 64-bit EFI, 64-bit kernel boot mode, 64-bit kernel.)