[erlang-bugs] Mnesia/R15B: TYPE ASSERTION FAILED, erl_term.c line 109 (when stopping mnesia)
Winston Smith
smith.winston.101@REDACTED
Tue Apr 3 05:04:00 CEST 2012
I have run into the following issue with R15B cross compiled to an
AVR32 (similar to ARM) system (no HiPE).
(mynode@REDACTED)6> mnesia:stop().
TYPE ASSERTION FAILED, file beam/erl_term.c, line 109: tag_val_def: 0x8e422b5c
Aborted
Interestingly, if I bring up a standalone erl, I don't get the assert,
it segfaults instead:
# erts-5.9/bin/erl
Eshell V5.9 (abort with ^G)
1> mnesia:create_schema([node()]).
ok
2> mnesia:start().
ok
3> mnesia:stop().
Segmentation fault
I wasn't able to get much from the core file (I'm using a cross
compiled version of gdb), I supposed I'd need to build a debug version
of OTP:
Program terminated with signal 11, Segmentation fault.
#0 0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xff7f0000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Any thoughts on tracking this down?
It's possible it's a low memory problem, I am already restricting the
footprint to just stdlib, kernel, inets and mnesia (and my app which
is small).
- is there any way to enable any kind of allocation tracing so I
can pinpoint this?
- Does mnesia have a low-memory footprint mode that I can try to
see if that ameliorates the problem?
Thanks!
W.
More information about the erlang-bugs
mailing list