Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  Mnesia crash

alexey at sevcom.net
Posted: Mon Dec 15, 2003 1:05 pm Reply with quote
Guest
Hi!

Few days ago there was power failure on jabber.ru with working
ejabberd. After system was started, ejabberd loaded without problems.
But yesterday, after restarting using init:restart(), the following
errors appears in log:

=ERROR REPORT==== 2003-12-15 00:12:21 ===
** dets: Bug was found when accessing table roster,
** dets: operation was {lookup_keys,[{"xxxxx",
{"xxxxxxxxx","icq.jabber.ru",[]}}]} and reply was {1,'EXIT'}.

=ERROR REPORT==== 2003-12-15 00:12:22 ===
Mnesia('ejabberd_at_dns2.ogo.ru'): ** ERROR ** (core dumped to file: "/usr/home/ermine/server/ejabberd/src/MnesiaCore.ejabberd_at_dns2.ogo.ru_1071_436342_155201")
** FATAL ** mnesia_locker crashed: {badarg,
[{erlang,
'++',
[{badarith,
[{dets_v9,slot_position,1},
{dets_v9,eval_work_list,2},
{dets,update_cache,2},
{dets,stream_end,5},
{dets,do_apply_op,4},
{proc_lib,init_p,5}]},
[{roster,
{"xxxxx",
{"xxxxxxxx",
"icq.jabber.ru",
[]}},
"xxxxx",
...
{lists,append,2},
{mnesia_locker,
set_read_lock_on_all_keys,
6},
{mnesia_locker,loop,1},
{mnesia_sp,init_proc,4},
{proc_lib,init_p,5}]} state: [<0.85.0>]

Is this is because of previous crash, or this is bug in dets or mnesia?

Information that probably needed:

Erlang version: R9C
OS: FreeBSD 4.9

Result of mnesia:schema(roster):
-- Properties for roster table ---
access_mode -> read_write
active_replicas -> ['ejabberd_at_dns2.ogo.ru']
arity -> 10
attributes -> [uj,user,jid,name,subscription,ask,groups,xattrs,xs]
checkpoints -> []
commit_work -> [{index,set,[{3,{dets,{roster,index,3}}}]}]
cookie -> {{1067,256640,401479},'ejabberd_at_dns2.ogo.ru'}
disc_copies -> []
disc_only_copies -> ['ejabberd_at_dns2.ogo.ru']
frag_properties -> []
index -> [3]
load_by_force -> false
load_node -> 'ejabberd_at_dns2.ogo.ru'
load_order -> 0
load_reason -> local_only
local_content -> false
master_nodes -> []
memory -> 30050014
ram_copies -> []
record_name -> roster
record_validation -> {roster,10,set}
setorbag -> set
size -> 131139
snmp -> []
storage_type -> disc_only_copies
subscribers -> []
user_properties -> []
version -> {{4,0},{'ejabberd_at_dns2.ogo.ru',{1067,260145,62112}}}
where_to_commit -> [{'ejabberd_at_dns2.ogo.ru',disc_only_copies}]
where_to_read -> 'ejabberd_at_dns2.ogo.ru'
where_to_write -> ['ejabberd_at_dns2.ogo.ru']
wild_pattern -> {roster,'_','_','_','_','_','_','_','_','_'}
{index,3} -> {roster,index,3}

MnesiaCore contains some private info, so I not include it here (I can
send it to one of Erlang developers).


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum