<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi All,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm relatively new to Erlang and there's a problem I don't quite understand. I'm running ejabberd, and every so often it crashes. To figure out why it crashed, I know to look in the erl_crash.dump. The problem is, there doesn't seem to be any erl_crash.dump file. There is a core dump file though. Loading it into gdb and running "bt full," here are the top two frames:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>(gdb) bt full</div><div>#0 0x000000000054df83 in prepare_crash_dump (secs=<optimized out>) at sys/unix/sys.c:735</div>
<div> max = <optimized out></div><div> env = "\005", '\000' <repeats 15 times>"\200, \373!ڴ"</div><div> heart_port = 0x7fb46f31eab0</div><div> hp = 0x7fb4d6efb938</div>
<div> heart_fd = {865035, -1}</div><div> has_heart = 0</div><div> i = <optimized out></div><div> envsz = <optimized out></div><div> heap = {4460060, 140412855877120, 1}</div>
<div> list = 18446744073709551611</div><div>#1 erts_sys_prepare_crash_dump (secs=<optimized out>) at sys/unix/sys.c:780</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
So, it appears that it crashed while it was trying to write the crash dump, but didn't get all the way. I did some research, and it sounds a lot like a problem that had been posted earlier (<a href="https://groups.google.com/forum/#!msg/erlang-programming/XH2Uly6hsLY/aeR2Yx2UkZMJ" target="_blank">https://groups.google.com/forum/#!msg/erlang-programming/XH2Uly6hsLY/aeR2Yx2UkZMJ</a>). Heart was not enabled on the command line, which means this shouldn't be the problem, but... in the core dump, heart_port is set to something non-null. This should mean that heart is lurking somewhere, shouldn't it? If so, is there a way to tell heart to *really* not run?</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Any help anyone has to offer would be greatly appreciated.</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Best,</div><div style="font-family:arial,sans-serif;font-size:13px">Jamie</div></div>