<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/19/2012 02:01 PM, Musumeci,
Antonio S wrote:<br>
</div>
<blockquote
cite="mid:51C6F20DC46369418387C5250127649B039D96@HZWEX2014N4.msad.ms.com"
type="cite"><!-- Template generated by Exclaimer Template Editor on 08:01:41 Monday, 19 November 2012 -->
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style type="text/css">P.f0dd154f-86ac-4cab-bdb6-aad65fb36fd6 {
MARGIN: 0cm 0cm 0pt
}
LI.f0dd154f-86ac-4cab-bdb6-aad65fb36fd6 {
MARGIN: 0cm 0cm 0pt
}
DIV.f0dd154f-86ac-4cab-bdb6-aad65fb36fd6 {
MARGIN: 0cm 0cm 0pt
}
TABLE.f0dd154f-86ac-4cab-bdb6-aad65fb36fd6Table {
MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
page: Section1
}
</style>
<meta content="MSHTML 6.00.6000.21316" name="GENERATOR">
<p>
</p>
<div><span lang="EN">
<p><span class="483463912-19112012"><font face="Arial"
size="2">I'm just starting to debug this but figured I'd
send it along in case anyone has seen this before.</font></span></p>
<p><span class="483463912-19112012"><font face="Arial"
size="2">64bit RHEL 5.0.1</font></span></p>
<p><span class="483463912-19112012"><font face="Arial"
size="2">built from source beam.smp R15B02</font></span></p>
<p><span class="483463912-19112012"><font face="Arial"
size="2">Happens consistently when trying to start our
app and then just stops after a time. Across a few
boxes. Oddly we have an identical cluster (hw and sw)
and it never happens.</font></span></p>
</span></div>
</blockquote>
<font size="2"><font face="Arial">Yes! I've seen it before and have
tried for several months to get a<font size="2"> reproducable
example and a<font size="2"> </font>core i can analyze here.
I've had one core that was<font size="2"> somewhat readable
but had no luck in locating the beam code that triggered
this. If you could try narrowing it down, I would be really
grateful!<br>
<br>
<font size="2">Please email me any findings, theories, cores
dumps<font size="2"> - anything! I really want to find
this! The most interesting would be to find the snippet
of erlang code that makes this happen (intermittently
probably).<br>
<br>
<font size="2">The problem is <font size="2">that <font
size="2">when the allocators crash, the error is
usually somewhere else<font size="2">.</font> <font
size="2">A</font>ccess of freed memory, double
free or something else doing horrid things to
memory. Ob<font size="2">viously none of our
testsui<font size="2">tes e<font size="2">xercise
this bug as <font size="2">neither our
debug builds, nor our valgrind runs find
it. It happens on both SMP and non SMP and
is always in the context of the er<font
size="2">ts</font>_bs_append</font></font></font></font></font></font></font></font></font></font>,
so I'm pretty sure this has a connection to the other users
seeing the crash in the allocat<font size="2">ors<font
size="2">...</font></font> </font></font></font><br>
<br>
Cheers,<br>
Patrik<br>
<blockquote
cite="mid:51C6F20DC46369418387C5250127649B039D96@HZWEX2014N4.msad.ms.com"
type="cite">
<div><span lang="EN">
<p>#0 bf_unlink_free_block (flags=<optimized out>,
block=0x6f00, allctr=<optimized out>) at
beam/erl_bestfit_alloc.c:789<br>
#1 bf_get_free_block (allctr=0x6824600, size=304,
cand_blk=0x0, cand_size=<optimized out>, flags=0) at
beam/erl_bestfit_alloc.c:869<br>
#2 0x000000000045343c in mbc_alloc_block
(alcu_flgsp=<optimized out>, blk_szp=<optimized
out>, size=<optimized out>, allctr=<optimized
out>) at beam/erl_alloc_util.c:1198<br>
#3 mbc_alloc (allctr=0x6824600, size=295) at
beam/erl_alloc_util.c:1345<br>
#4 0x000000000045398d in do_erts_alcu_alloc (type=164,
extra=0x6824600, size=295) at beam/erl_alloc_util.c:3442<br>
#5 0x0000000000453a0f in erts_alcu_alloc_thr_pref (type=164,
extra=<optimized out>, size=287) at
beam/erl_alloc_util.c:3520<br>
#6 0x0000000000511463 in erts_alloc (size=287,
type=<optimized out>) at beam/erl_alloc.h:208<br>
#7 erts_bin_nrml_alloc (size=<optimized out>) at
beam/erl_binary.h:260<br>
#8 erts_bs_append (c_p=0x69fba60, reg=<optimized out>,
live=<optimized out>, build_size_term=<optimized
out>, extra_words=0, unit=8)<span
class="483463912-19112012">
</span>at beam/erl_bits.c:1327<br>
#9 0x000000000053ffd8 in process_main () at
beam/beam_emu.c:3858 <br>
#10 0x00000000004ae853 in sched_thread_func
(vesdp=<optimized out>) at beam/erl_process.c:5184<span
class="483463912-19112012">
<br>
</span>#11 0x00000000005c17e9 in thr_wrapper
(vtwd=<optimized out>) at pthread/ethread.c:106<span
class="483463912-19112012">
<br>
</span>#12 0x00002b430f39e73d in start_thread () from
/lib64/libpthread.so.0<span class="483463912-19112012">
<br>
</span>#13 0x00002b430f890f6d in clone () from
/lib64/libc.so.6<span class="483463912-19112012">
<br>
</span>#14 0x0000000000000000 in ?? ()</p>
</span></div>
<br>
<br>
<hr id="HR1">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
</blockquote>
<br>
</body>
</html>