[erlang-patches] DTrace bug in message-send

"Siyao Zheng(郑思遥)" <>
Wed May 9 14:10:38 CEST 2012


Hi,

When dtracing message related probes, sender pid and receiver pid are always truncated to 7 characters on my 64bit mac. The bug is at the string composing code in message send probe. When composing pid string, the code used the length of a pointer instead of the length of a buffer.

The bug fix can be fetched at 
git fetch git://github.com/zhengsyao/otp.git dtrace_message_send_fix

view at
https://github.com/zhengsyao/otp/compare/dtrace_message_send_fix
https://github.com/zhengsyao/otp/compare/dtrace_message_send_fix.patch

Cheers




More information about the erlang-patches mailing list