[erlang-patches] mnesia overloaded message format

Henrik Nord henrik@REDACTED
Wed Oct 10 10:57:40 CEST 2012


Thank you for your contribution, patch has been added to 'master-pu'

On 10/09/2012 04:52 PM, Ahmed Omar wrote:
> git fetch git://github.com/spawnthink/otp.git 
> <http://github.com/spawnthink/otp.git> fix_mnesia_overload_msg_format
>
> Using ~p in mnesia overload message could lead to wrong messages.
> mnesia_tm overload message contains a list of two numbers (queue length)
> example:
> instead of:
> Mnesia is overloaded: {mnesia_tm,message_queue_len,[100,105]}
> it prints :
> Mnesia is overloaded: {mnesia_tm,message_queue_len,"di"}
>
> Replacing ~p with ~w fixes the problem as it doesn't try
> to detect lists of printable charachters
>
>
> https://github.com/spawnthink/otp/compare/erlang:master...spawnthink:fix_mnesia_overload_msg_format.patch
> https://github.com/spawnthink/otp/compare/erlang:master...spawnthink:fix_mnesia_overload_msg_format
>
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20121010/a45605e5/attachment.htm>


More information about the erlang-patches mailing list