[erlang-patches] mnesia overloaded message format

Ahmed Omar <>
Tue Oct 9 16:52:18 CEST 2012

git fetch git://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)
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20121009/14c3cc7d/attachment.html>

More information about the erlang-patches mailing list