<div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Hi All,</div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
I've recently encountered the following in dmesg output after one of my VM's crashed:</div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
>>> dmesg output start </div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>[2827116.693283] beam[28297]: segfault at 0000000c eip 0808f818 esp bff7a294 error 4</div></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>>>> dmesg output end</div><div><br></div></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Here is a disassembly of beam with some context around 808f818 :</div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
>>> disassembly start</div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div> 808f7fa:<span class="" style="white-space:pre"> </span>5f <span class=""> </span><span class="" style="white-space:pre"> </span>pop %edi</div><div> 808f7fb:<span class="" style="white-space:pre"> </span>c3 <span class=""> </span><span class="" style="white-space:pre"> </span>ret </div>
<div> 808f7fc:<span class="" style="white-space:pre"> </span>8b 51 0c <span class=""> </span><span class="" style="white-space:pre"> </span>mov 0xc(%ecx),%edx</div><div> 808f7ff:<span class="" style="white-space:pre"> </span>39 da <span class="" style="white-space:pre"> </span>cmp %ebx,%edx</div>
<div> 808f801:<span class="" style="white-space:pre"> </span>0f 84 96 00 00 00 <span class="" style="white-space:pre"> </span>je 808f89d <tree_insert_fixup+0x11d></div><div> 808f807:<span class="" style="white-space:pre"> </span>8b 43 08 <span class=""> </span><span class="" style="white-space:pre"> </span>mov 0x8(%ebx),%eax</div>
<div> 808f80a:<span class="" style="white-space:pre"> </span>8b 50 08 <span class=""> </span><span class="" style="white-space:pre"> </span>mov 0x8(%eax),%edx</div><div> 808f80d:<span class="" style="white-space:pre"> </span>83 60 04 fd <span class="" style="white-space:pre"> </span>andl $0xfffffffd,0x4(%eax)</div>
<div> 808f811:<span class="" style="white-space:pre"> </span>8b 4a 10 <span class=""> </span><span class="" style="white-space:pre"> </span>mov 0x10(%edx),%ecx</div><div> 808f814:<span class="" style="white-space:pre"> </span>83 4a 04 02 <span class="" style="white-space:pre"> </span>orl $0x2,0x4(%edx)</div>
<div> 808f818:<span class="" style="white-space:pre"> </span>8b 41 0c <span class=""> </span><span class="" style="white-space:pre"> </span>mov 0xc(%ecx),%eax</div><div> 808f81b:<span class="" style="white-space:pre"> </span>85 c0 <span class="" style="white-space:pre"> </span>test %eax,%eax</div>
<div> 808f81d:<span class="" style="white-space:pre"> </span>89 42 10 <span class=""> </span><span class="" style="white-space:pre"> </span>mov %eax,0x10(%edx)</div><div> 808f820:<span class="" style="white-space:pre"> </span>74 03 <span class="" style="white-space:pre"> </span>je 808f825 <tree_insert_fixup+0xa5></div>
<div> 808f822:<span class="" style="white-space:pre"> </span>89 50 08 <span class=""> </span><span class="" style="white-space:pre"> </span>mov %edx,0x8(%eax)</div><div> 808f825:<span class="" style="white-space:pre"> </span>8b 42 08 <span class=""> </span><span class="" style="white-space:pre"> </span>mov 0x8(%edx),%eax</div>
<div> 808f828:<span class="" style="white-space:pre"> </span>85 c0 <span class="" style="white-space:pre"> </span>test %eax,%eax</div><div> 808f82a:<span class="" style="white-space:pre"> </span>89 41 08 <span class=""> </span><span class="" style="white-space:pre"> </span>mov %eax,0x8(%ecx)</div>
<div> 808f82d:<span class="" style="white-space:pre"> </span>74 6a <span class="" style="white-space:pre"> </span>je 808f899 <tree_insert_fixup+0x119></div><div> 808f82f:<span class="" style="white-space:pre"> </span>8b 42 08 <span class=""> </span><span class="" style="white-space:pre"> </span>mov 0x8(%edx),%eax</div>
<div> 808f832:<span class="" style="white-space:pre"> </span>3b 50 0c <span class=""> </span><span class="" style="white-space:pre"> </span>cmp 0xc(%eax),%edx</div><div>>>> disassembly start</div><div>
<br></div><div>ldd erts-5.8.5/bin/beam</div><div><span class="" style="white-space:pre"> </span>linux-gate.so.1 => (0xb76fe000)</div><div><span class="" style="white-space:pre"> </span>libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb76f2000)</div>
<div><span class="" style="white-space:pre"> </span>libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb76ee000)</div><div><span class="" style="white-space:pre"> </span>libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb76c8000)</div>
<div><span class="" style="white-space:pre"> </span>libncurses.so.5 => /lib/libncurses.so.5 (0xb7698000)</div><div><span class="" style="white-space:pre"> </span>libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7680000)</div>
<div><span class="" style="white-space:pre"> </span>librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7677000)</div><div><span class="" style="white-space:pre"> </span>libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7528000)</div>
<div><span class="" style="white-space:pre"> </span>/lib/ld-linux.so.2 (0xb76ff000)</div><div> <br></div></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
I'm running R14B04 on ubuntu 8.04 32bit built using gcc:<br><br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
gcc -v<br>Using built-in specs.<br>Target: i486-linux-gnu<br>Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu<br>
Thread model: posix<br>gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)<br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br><br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Has anybody seen something similar ?<br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
BR<br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div>-- <br>Ruan Jonker<br>
</div>