Skip to content

Instantly share code, notes, and snippets.

@gordyt
Created October 28, 2011 16:18
Show Gist options
  • Save gordyt/1322665 to your computer and use it in GitHub Desktop.
Save gordyt/1322665 to your computer and use it in GitHub Desktop.
Riak 1.0.1 Errors - LOG MESSAGE
==> /var/log/riak/console.log <==
2011-10-28 11:04:21.900 [error] <0.993.0> gen_fsm <0.993.0> in state initialize terminated with reason: bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2
2011-10-28 11:04:21.906 [error] <0.993.0> CRASH REPORT Process <0.993.0> with 0 neighbours crashed with reason: bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2
2011-10-28 11:04:21.930 [error] <0.257.0> Supervisor riak_kv_keys_fsm_sup had child undefined started with {riak_core_coverage_fsm,start_link,undefined} at <0.993.0> exit with reason bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2 in context child_terminated
==> /var/log/riak/crash.log <==
2011-10-28 11:04:21 =ERROR REPORT====
** State machine <0.993.0> terminating
** Last event in was timeout
** When State == initialize
** Data == {state,undefined,riak_kv_keys_fsm,{state,plain,{raw,60225046,<0.465.0>}},3,riak_kv,all,1,{'riak_kv_listkeys_req_v3',<<"queue">>,none},60225046,undefined,0,60000,riak_kv_vnode_master}
** Reason for termination =
** {badarg,[{erlang,hd,[[]]},{riak_core_ring,index_owner,2},{riak_core_coverage_plan,'-create_plan/5-fun-0-',6},{lists,mapfoldl,3},{riak_core_coverage_fsm,initialize,2},{gen_fsm,handle_msg,7},{proc_lib,init_p_do_apply,3}]}
2011-10-28 11:04:21 =CRASH REPORT====
crasher:
initial call: riak_core_coverage_fsm:init/1
pid: <0.993.0>
registered_name: []
exception exit: {badarg,[{erlang,hd,[[]]},{riak_core_ring,index_owner,2},{riak_core_coverage_plan,'-create_plan/5-fun-0-',6},{lists,mapfoldl,3},{riak_core_coverage_fsm,initialize,2},{gen_fsm,handle_msg,7},{proc_lib,init_p_do_apply,3}]}
in function gen_fsm:terminate/7
in call from proc_lib:init_p_do_apply/3
ancestors: [riak_kv_keys_fsm_sup,riak_kv_sup,<0.177.0>]
messages: []
links: [<0.257.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 4181
stack_size: 24
reductions: 86192
neighbours:
2011-10-28 11:04:21 =SUPERVISOR REPORT====
Supervisor: {local,riak_kv_keys_fsm_sup}
Context: child_terminated
Reason: {badarg,[{erlang,hd,[[]]},{riak_core_ring,index_owner,2},{riak_core_coverage_plan,'-create_plan/5-fun-0-',6},{lists,mapfoldl,3},{riak_core_coverage_fsm,initialize,2},{gen_fsm,handle_msg,7},{proc_lib,init_p_do_apply,3}]}
Offender: [{pid,<0.993.0>},{name,undefined},{mfargs,{riak_core_coverage_fsm,start_link,undefined}},{restart_type,temporary},{shutdown,5000},{child_type,worker}]
==> /var/log/riak/erlang.log.3 <==
11:04:21.900 [error] gen_fsm <0.993.0> in state initialize terminated with reason: bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2
11:04:21.906 [error] CRASH REPORT Process <0.993.0> with 0 neighbours crashed with reason: bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2
11:04:21.930 [error] Supervisor riak_kv_keys_fsm_sup had child undefined started with {riak_core_coverage_fsm,start_link,undefined} at <0.993.0> exit with reason bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2 in context child_terminated
==> /var/log/riak/error.log <==
2011-10-28 11:04:21.900 [error] <0.993.0> gen_fsm <0.993.0> in state initialize terminated with reason: bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2
2011-10-28 11:04:21.906 [error] <0.993.0> CRASH REPORT Process <0.993.0> with 0 neighbours crashed with reason: bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2
2011-10-28 11:04:21.930 [error] <0.257.0> Supervisor riak_kv_keys_fsm_sup had child undefined started with {riak_core_coverage_fsm,start_link,undefined} at <0.993.0> exit with reason bad argument in call to erlang:hd([]) in riak_core_ring:index_owner/2 in context child_terminated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment