[erlang-bugs] Crash in mnesia_controller with function clause exception from is_tab_blocked

Ahmed Omar spawn.think@REDACTED
Wed May 1 15:45:30 CEST 2013


Observed on startup of a node in the cluster the following the crash report

2013-04-29 15:33:12 =ERROR REPORT====
Mnesia('ejabberd@REDACTED'): ** ERROR ** (core dumped to file:
"/var/lib/ejabberd/MnesiaCore.ejabberd@REDACTED")
 ** FATAL ** mnesia_controller crashed:
{function_clause,[{mnesia_controller,is_tab_blocked,[{blocked,{blocked,[{'ejabberd@REDACTED
',disc_only_copies},{'ejabberd@REDACTED',disc_only_copies}]


The exception can be reproduced by the following steps:

mnesia:start(),
mnesia:create_table(test1, []),
mnesia_controller:block_table(test1),
mnesia_controller:block_table(test1),
mnesia_controller:add_active_replica(test1,node()).

I'm preparing a patch to submit

Best Regards,
Ahmed Omar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130501/453cd7f6/attachment.htm>


More information about the erlang-bugs mailing list