Valgrind 3.6.0 在 Mac OS X Server 10.6.6 下启动时崩溃。以下是崩溃日志:
Process: valgrind [958]
Path: /usr/local/Cellar/valgrind/3.6.0/bin/valgrind
Identifier: valgrind
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [953]
Date/Time: 2011-03-07 19:35:13.144 +0100
OS Version: Mac OS X Server 10.6.6 (10J567)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000134000000
Crashed Thread: Unknown
Backtrace not available
Unknown thread crashed with X86 Thread State (64-bit):
rax: 0x000000000000000e rbx: 0x0000000134000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000134000000 rsi: 0x0000000000000000 rbp: 0x0000000138424ab0 rsp: 0x0000000138424aa0
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x000000013803f03a rfl: 0x0000000000010206 cr2: 0x0000000134000000
Binary images description not available
Mac OS X Server内核以32位模式运行。
valgrind 3.6.0 在非服务器版本的 Mac OS X 上运行良好。
答案1
事实证明,这是使用 Xcode 4.0.1 安装的链接器时 valgrind 构建过程中的一个错误。
看错误报告。