I used the "handle" command for SIGPIPE and iceweasel ran a long time this time. But eventually after 30 minutes, it crashed, taking down gdb with it! Although, I was able to load the core file it generated, and here is the stack trace:<div>

<br></div><div><div>$ gdb /usr/lib/iceweasel/firefox-bin core</div><div>...</div><div><div>Program terminated with signal 5, Trace/breakpoint trap.</div><div>#0  0xb76d8a81 in __nptl_create_event () from /lib/i386-linux-gnu/libpthread.so.0</div>

<div>(gdb) set pagination off</div><div>(gdb) bt full</div><div>#0  0xb76d8a81 in __nptl_create_event () from /lib/i386-linux-gnu/libpthread.so.0</div><div>No symbol table info available.</div><div>#1  0xb76da1b6 in pthread_create@@GLIBC_2.1 () from /lib/i386-linux-gnu/libpthread.so.0</div>

<div>No symbol table info available.</div><div>#2  0xb742c709 in PR_JoinThread () from /usr/lib/libnspr4.so.0d</div><div>No symbol table info available.</div><div>Die: DW_TAG_unspecified_type (abbrev = 27, offset = 212961860)</div>

<div><span class="Apple-tab-span" style="white-space:pre">      </span>has children: FALSE</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>attributes:</div><div><span class="Apple-tab-span" style="white-space:pre">          </span>DW_AT_name (DW_FORM_strp) string: "decltype(nullptr)"</div>

<div>Dwarf Error: Cannot find type of die [in module /usr/lib/debug/usr/lib/xulrunner-6.0/libxul.so]</div></div><div><br></div><div>GDB loaded a lot of symbol information, but the thread library doesn't seem to have any (I didn't see a -dbg package for pthread?). From the looks of it, can this be a race condition with the newly starting threads?</div>

<div><br></div><div>-Cengiz</div><br><div class="gmail_quote">2011/9/26 Mike Hommey <span dir="ltr"><<a href="mailto:mh@glandium.org">mh@glandium.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5">On Sun, Sep 25, 2011 at 05:40:04PM -0400, Cengiz Günay wrote:<br>
> Ok, it crashed also with --sync and gave a very similar backtrace:<br>
><br>
>  Program received signal SIGPIPE, Broken pipe.<br>
> [Switching to Thread -1312818320 (LWP 19884)]<br>
> 0xb763013e in send () from /lib/i386-linux-gnu/libpthread.so.0<br>
> (gdb) bt full<br>
> #0  0xb763013e in send () from /lib/i386-linux-gnu/libpthread.so.0<br>
> No symbol table info available.<br>
> #1  0xb7378a53 in PR_GetConnectStatus () from /usr/lib/libnspr4.so.0d<br>
> No symbol table info available.<br>
> #2  0xb594ca23 in NSSSSL_VersionCheck () from<br>
> /usr/lib/i386-linux-gnu/libssl3.so.1d<br>
> No symbol table info available.<br>
> #3  0xb593fa2e in SSL_PreencryptedFileToStream () from<br>
> /usr/lib/i386-linux-gnu/libssl3.so.1d<br>
> No symbol table info available.<br>
> #4  0xb5941d33 in SSL_GetStatistics () from<br>
> /usr/lib/i386-linux-gnu/libssl3.so.1d<br>
> No symbol table info available.<br>
> #5  0xb5950ccb in SSL_ResetHandshake () from<br>
> /usr/lib/i386-linux-gnu/libssl3.so.1d<br>
> No symbol table info available.<br>
> #6  0xb595408e in SSL_InheritMPServerSIDCache () from<br>
> /usr/lib/i386-linux-gnu/libssl3.so.1d<br>
> No symbol table info available.<br>
> Die: DW_TAG_unspecified_type (abbrev = 30, offset = 169483515)<br>
>  has children: FALSE<br>
> attributes:<br>
> DW_AT_name (DW_FORM_strp) string: "decltype(nullptr)"<br>
> Dwarf Error: Cannot find type of die [in module<br>
> /usr/lib/debug/usr/lib/xulrunner-6.0/libxul.so]<br>
<br>
</div></div>SIGPIPE is actually not a crash, but gdb happens to stop when seeing<br>
those. Either "continue" execution or type the following gdb command<br>
before starting:<br>
  handle SIGPIPE nostop noprint pass<br>
<font color="#888888"><br>
Mike<br>
</font></blockquote></div><br><br>
</div>