I had a core dump with bb on non-global solaris 10 zone on T1000<div><br></div><div><div>bash-3.00# gdb ~hobbit/client/bin/bb core</div><div>GNU gdb 6.6</div><div>Copyright (C) 2006 Free Software Foundation, Inc.</div><div>
GDB is free software, covered by the GNU General Public License, and you are</div><div>welcome to change it and/or distribute copies of it under certain conditions.</div><div>Type "show copying" to see the conditions.</div>
<div>There is absolutely no warranty for GDB.  Type "show warranty" for details.</div><div>This GDB was configured as "sparc-sun-solaris2.8"...</div><div>Reading symbols from /lib/libresolv.so.2...done.</div>
<div>Loaded symbols for /lib/libresolv.so.2</div><div>Reading symbols from /lib/libsocket.so.1...done.</div><div>Loaded symbols for /lib/libsocket.so.1</div><div>Reading symbols from /lib/libnsl.so.1...done.</div><div>Loaded symbols for /lib/libnsl.so.1</div>
<div>Reading symbols from /lib/libc.so.1...done.</div><div>Loaded symbols for /lib/libc.so.1</div><div>Reading symbols from /platform/sun4v/lib/libc_psr.so.1...done.</div><div>Loaded symbols for /platform/SUNW,Sun-Fire-T1000/lib/libc_psr.so.1</div>
<div>Reading symbols from /lib/ld.so.1...done.</div><div>Loaded symbols for /lib/ld.so.1</div><div>Core was generated by `/home/hobbit/client/bin/bb 0.0.0.0 @'.</div><div>Program terminated with signal 11, Segmentation fault.</div>
<div>#0  0xff109644 in doformat () from /lib/libc.so.1</div><div>(gdb) bt</div><div>#0  0xff109644 in doformat () from /lib/libc.so.1</div><div>#1  0xff10ac90 in strftime () from /lib/libc.so.1</div><div>#2  0x00013594 in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div>
<div>    at errormsg.c:47</div><div>#3  0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#4  0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>
#5  0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#6  0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>#7  0x00013a28 in xmalloc (size=121384) at memory.c:121</div>
<div>#8  0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>#9  0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#10 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div>
<div>    at errormsg.c:61</div><div>#11 0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#12 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>
#13 0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#14 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>#15 0x00013a28 in xmalloc (size=121384) at memory.c:121</div>
<div>---Type <return> to continue, or q <return> to quit---</div><div>#16 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>#17 0x00013a28 in xmalloc (size=121384) at memory.c:121</div>
<div>#18 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>#19 0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#20 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div>
<div>    at errormsg.c:61</div><div>#21 0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#22 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>
#23 0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#24 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>#25 0x00013a28 in xmalloc (size=121384) at memory.c:121</div>
<div>#26 0x0001362c in errprintf (fmt=0x1da28 "xmalloc: Out of memory!\n")</div><div>    at errormsg.c:61</div><div>#27 0x00013a28 in xmalloc (size=121384) at memory.c:121</div><div>#28 0x0001362c in errprintf (fmt=0x1da48 "xrealloc: Out of memory!\n")</div>
<div>    at errormsg.c:61</div><div>#29 0x00013a68 in xrealloc (ptr=0x0, size=195584) at memory.c:151</div><div>#30 0x00017d80 in strbuf_addtobuffer (buf=0x302a0, </div><div>    newtext=0x51cc0 ' ' <repeats 34 times>, "(sparc) 2.6.0,REV=10.0.3.2004.12.15---Type <return> to continue, or q <return> to quit---</div>
<div>.20.59\n", newlen=76) at strfunc.c:109</div><div>#31 0x00012b44 in main (argc=3, argv=0xffbff51c) at bb.c:118</div><div>(gdb) </div><div><br></div><div><br></div>Let me know if I should have sent the backtrace directly to Henrik instead.</div>
<div><br>-- <br>Asif Iqbal<br>PGP Key: 0xE62693C5 KeyServer: <a href="http://pgp.mit.edu">pgp.mit.edu</a><br>A: Because it messes up the order in which people normally read text.<br>Q: Why is top-posting such a bad thing?<br>
<br><br>
</div>