Skip to content

Instantly share code, notes, and snippets.

@qzhuyan
Created February 23, 2024 08:11
Show Gist options
  • Save qzhuyan/d540e9afeddafd971a768f9a11647477 to your computer and use it in GitHub Desktop.
Save qzhuyan/d540e9afeddafd971a768f9a11647477 to your computer and use it in GitHub Desktop.
(gdb) bt full
#0 I_lg (xl=4398007891115, x=0xffff740db5c8) at beam/big.c:1636
sz = 4398007891114
d = <optimized out>
#1 big_integer_estimate (x=x@entry=281472628798914, base=base@entry=10) at beam/big.c:1915
xp = 0xffff740db5c0
lg = <optimized out>
lgBase = <optimized out>
#2 0x0000aaaae0ec0fac in print_term (dcount=0xffff6e366658, obj=<optimized out>, arg=0xffff5c214d80, fn=0xaaaae104e704 <erts_write_fp>) at beam/erl_printf_term.c:481
def_buf = "\331\330\v᪪\000\000\377\377\377\377\000\000\000\000\000o\217#\020\177{\034pg6n\377\377\000\000\274\276\004᪪\000\000\240i6n\377\377\000\000\330\377\377\377\000\000\000\000\004\347\004᪪\000"
buf = <optimized out>
print_res = <optimized out>
big_str = <optimized out>
sz = <optimized out>
res = 0
ref_num = <optimized out>
wobj = <optimized out>
L_done = <optimized out>
s_default_wstack = {12, 281472227429760, 281472530802744, 281472530802416, 2052373762490199808, 281472530802416, 187650896344792, 12, 187650896357124, 281472227429760, 12, 281472530802480,
187650896357196, 187650896812249, 1, 281472227429760}
popped = <optimized out>
nobj = <optimized out>
L_jump_start = <optimized out>
s = {wstart = 0xffff6e366698, wsp = 0xffff6e366698, wend = 0xffff6e366718, wdefault = 0xffff6e366698, alloc_type = 1506}
i = <optimized out>
val = <optimized out>
L_outer_loop = <optimized out>
s_default_wstack = <optimized out>
s = <optimized out>
res = <optimized out>
i = <optimized out>
val = <optimized out>
ref_num = <optimized out>
popped = <optimized out>
nobj = <optimized out>
wobj = <optimized out>
L_jump_start = <optimized out>
L_outer_loop = <optimized out>
L_print_one_cons = <optimized out>
L_done = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
cons = <optimized out>
tl = <optimized out>
res__ = <optimized out>
mfa = <optimized out>
func_start = <optimized out>
cp_addr = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
print_res = <optimized out>
def_buf = <optimized out>
buf = <optimized out>
big_str = <optimized out>
sz = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
c = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
ff = <optimized out>
res__ = <optimized out>
bytep = <optimized out>
bytesize = <optimized out>
bitoffs = <optimized out>
bitsize = <optimized out>
octet = <optimized out>
_real_bin = <optimized out>
_offs = <optimized out>
_sb = <optimized out>
is_first = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
bits = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
funp = <optimized out>
fe = <optimized out>
ap = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
ep = <optimized out>
tdcount = <optimized out>
tres = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
head = <optimized out>
n = <optimized out>
ks = <optimized out>
vs = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
n = <optimized out>
mapval = <optimized out>
assoc = <optimized out>
key = <optimized out>
val = <optimized out>
res__ = <optimized out>
tpl = <optimized out>
arity = <optimized out>
res__ = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
res__ = <optimized out>
res__ = <optimized out>
res__ = <optimized out>
#3 erts_printf_term (fn=0xaaaae104e704 <erts_write_fp>, arg=0xffff5c214d80, term=<optimized out>, precision=<optimized out>) at beam/erl_printf_term.c:793
res = <optimized out>
#4 0x0000aaaae104c1c0 in erts_printf_format (fn=fn@entry=0xaaaae104e704 <erts_write_fp>, arg=arg@entry=0xffff5c214d80, fmt=fmt@entry=0xaaaae10bd8d8 "B%T\n", ap=...) at common/erl_printf_format.c:817
prec = 100000
eterm = 281472628798914
ul_val = <optimized out>
fmt = 9
width = -1
precision = <optimized out>
ptr0 = <optimized out>
ptr = 0xaaaae10bd8db "\n"
count = <optimized out>
n = <optimized out>
res = <optimized out>
do_flag = <optimized out>
#5 0x0000aaaae104f454 in erts_vcbprintf (cb_fn=0xaaaae104e704 <erts_write_fp>, cb_arg=cb_arg@entry=0xffff5c214d80, format=format@entry=0xaaaae10bd8d8 "B%T\n", arglist=...) at common/erl_printf.c:485
No locals.
#6 0x0000aaaae0e99ad0 in erts_print (to=to@entry=0xaaaae104e704 <erts_write_fp>, arg=arg@entry=0xffff5c214d80, format=format@entry=0xaaaae10bd8d8 "B%T\n") at beam/utils.c:441
res = <optimized out>
arg_list = {__stack = 0xffff6e3669a0, __gr_top = 0xffff6e3669a0, __vr_top = 0xffff6e366970, __gr_offs = -40, __vr_offs = -128}
#7 0x0000aaaae0f6dc24 in dump_module_literals (to=to@entry=0xaaaae104e704 <erts_write_fp>, to_arg=to_arg@entry=0xffff5c214d80, lit_area=<optimized out>) at beam/erl_process_dump.c:933
w = 281472505031368
term = 281472628798914
size = <optimized out>
htop = 0xffff740db5c0
hend = 0xffff740dba38
#8 0x0000aaaae0f6f368 in dump_literals (to_arg=0xffff5c214d80, to=0xaaaae104e704 <erts_write_fp>) at beam/erl_process_dump.c:872
code_ix = <optimized out>
i = <optimized out>
idx = 15
code_ix = <optimized out>
i = <optimized out>
idx = <optimized out>
area = <optimized out>
#9 erts_deep_process_dump (to=to@entry=0xaaaae104e704 <erts_write_fp>, to_arg=to_arg@entry=0xffff5c214d80) at beam/erl_process_dump.c:97
i = <optimized out>
max = <optimized out>
#10 0x0000aaaae0f4e900 in erl_crash_dump_v (file=file@entry=0x0, line=line@entry=0, fmt=fmt@entry=0xaaaae10bc4b0 "%s\n", args=...) at beam/break.c:1043
tpd_buf = {id = 16376, is_managed = 0, is_blocking = 1849086368, is_temporary = 65535, wakeup_request = {1904, 281472530831632, 32, 187650896619552}, leader = 1849062664, active = 65535,
is_deep_sleeper = 0, confirmed = 281470880014416, leader_state = {next = 281470681743474, current = 281473795013392, chk_next_ix = 16416, umrefc_ix = {current = 0, waiting = 256}}}
fd = 12
envsz = 20
now = 1708621595
env = "\211l6n0\001\000\000 \000\000\000\000\000\000\000\004\000\000\000"
dumpnamebufsize = 4095
dumpnamebuf = "\000\000\000\000\000\000\000\000|\000\000\000w\000\000\000r\000\000\000{\000\000\000\271l6n\377\377\000\000\217\a\000\000\000\000\000\000 m6n\377\377\000\000\\%\342પ\000\000\340?\000\000\000\000\000\000 \000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\350t6n\377\377\000\000\000\000\000\000\000\000\000\000_\006\000\000\000\000\000\000pm6n\377\377\000\000\000.\342પ\000\000 \000\000\000\000\000\000\000\bu6n\377\377\000\000\360m6n\377\377\000\000\000\000\000\000\000\000\000\000\220n6n\377\377\000\000xu6n\377\377\000\000 v6n\377\377\000\000D\240\177\271\377\377\000\000\240m6n\377\377\000\000\224\067\342પ\000\000\004\000\000\000\000\000\000\000"...
dumpname = <optimized out>
secs = <optimized out>
env_erl_crash_dump_seconds_set = <optimized out>
i = <optimized out>
to = 0xaaaae104e704 <erts_write_fp>
to_arg = 0xffff5c214d80
fp = 0xffff5c214d80
lwi = {to = 0xaaaae104e704 <erts_write_fp>, to_arg = 0xffff5c214d80}
write_buffer = 0xffffb8664178 "FFF7408BCA0:lI125|HFFFF7408BCB0\nFFFF7408BCB0:lI126|HFFFF7408BCC0\nFFFF7408BCC0:lI110|N\nFFFF7408BCD0:lI108|N\nFFFF7408BCE0:lI114|HFFFF7408BCD0\nFFFF7408BCF0:lI101|HFFFF7408BCE0\nFFFF7408BD00:lI46|HFFFF7408"...
#11 0x0000aaaae0e5eb9c in erts_exit_vv (n=n@entry=-3, flush=flush@entry=0, fmt=fmt@entry=0xaaaae10bc4b0 "%s\n", args1=..., args2=...) at beam/erl_init.c:2673
No locals.
#12 0x0000aaaae0e5ece0 in erts_exit (n=n@entry=-3, fmt=fmt@entry=0xaaaae10bc4b0 "%s\n") at beam/erl_init.c:2700
args1 = {__stack = 0xffff6e367ea0, __gr_top = 0xffff6e367ea0, __vr_top = 0xffff6e367e70, __gr_offs = -48, __vr_offs = -128}
args2 = {__stack = 0xffff6e367ea0, __gr_top = 0xffff6e367ea0, __vr_top = 0xffff6e367e70, __gr_offs = -48, __vr_offs = -128}
#13 0x0000aaaae0eaa4ec in halt_2 (A__p=0xaaaae49881c0, BIF__ARGS=0xffff6e367f80, A__I=<optimized out>) at beam/bif.c:4334
halt_msg = "Runtime terminating during boot ({{no_namespace,<<\"config\">>,#{fields=>[#{default=>#{hocon=><<\"true\">>,oneliner=>true},name=><<\"enable\">>,type=>#{name=><<\"boolean()\">>,kind=>primitive},desc=><<\"Enable"...
written = 1023
code = 3152
optlist = <optimized out>
flush = <optimized out>
#14 0x0000ffff704f48cc in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--
#15 0x0000ffff7055bb0c in ?? ()
No symbol table info available.
Backtrace stopped: not enough registers or memory available to unwind further
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment