<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Current trunk miscompiles Firefox"
   href="http://llvm.org/bugs/show_bug.cgi?id=15752">15752</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Current trunk miscompiles Firefox
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>markus@trippelsdorf.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Firefox (trunk) build with clang trunk crashes during startup.
clang-3.2 and gcc are fine.
(Linux x86-64)

A Firefox debug build doesn't crash during startup, but soon afterwards:

Program received signal SIGSEGV, Segmentation fault.
mozalloc_abort (msg=<optimized out>) at
/home/markus/mozilla-central/memory/mozalloc/mozalloc_abort.cpp:30
30          MOZ_CRASH();
(gdb) bt
#0  mozalloc_abort (msg=<optimized out>) at
/home/markus/mozilla-central/memory/mozalloc/mozalloc_abort.cpp:30
#1  0x00007ffff5463004 in Abort (aMsg=0x0) at
/home/markus/mozilla-central/xpcom/base/nsDebugImpl.cpp:430
#2  0x00007ffff5462ee1 in NS_DebugBreak (aSeverity=<error reading variable:
Cannot access memory at address 0x0>, aStr=<optimized out>, aExpr=<optimized
out>, 
    aFile=<optimized out>, aLine=<optimized out>) at
/home/markus/mozilla-central/xpcom/base/nsDebugImpl.cpp:417
#3  0x00007ffff4146a21 in mozilla::image::Decoder::PostDecodeDone
(this=0x7fffcca04540, aLoopCount=0) at
/home/markus/mozilla-central/image/src/Decoder.cpp:365
#4  0x00007ffff414681c in mozilla::image::Decoder::Finish (this=0x7fffcca04540,
aShutdownIntent=mozilla::image::RasterImage::eShutdownIntent_Done)
    at /home/markus/mozilla-central/image/src/Decoder.cpp:166
#5  0x00007ffff414dd88 in mozilla::image::RasterImage::ShutdownDecoder
(this=0x7fffcaa7b7d0,
aIntent=mozilla::image::RasterImage::eShutdownIntent_Done)
    at /home/markus/mozilla-central/image/src/RasterImage.cpp:2625
#6  0x00007ffff414c1cb in mozilla::image::RasterImage::FinishedSomeDecoding
(this=0x7fffcaa7b7d0,
aIntent=mozilla::image::RasterImage::eShutdownIntent_Done, 
    aRequest=<optimized out>) at
/home/markus/mozilla-central/image/src/RasterImage.cpp:3436
#7  0x00007ffff414a1ce in mozilla::image::RasterImage::SyncDecode
(this=0x7fffcaa7b7d0) at
/home/markus/mozilla-central/image/src/RasterImage.cpp:2913
#8  0x00007ffff414c4dc in mozilla::image::RasterImage::FinishedSomeDecoding
(this=0x7fffcaa7b7d0,
aIntent=mozilla::image::RasterImage::eShutdownIntent_Done, 
    aRequest=<optimized out>) at
/home/markus/mozilla-central/image/src/RasterImage.cpp:3485
#9  0x00007ffff414cabb in
mozilla::image::RasterImage::DecodePool::DecodeUntilSizeAvailable
(this=<optimized out>, aImg=0x7fffcaa7b7d0)
    at /home/markus/mozilla-central/image/src/RasterImage.cpp:3711
#10 0x00007ffff414c80f in mozilla::image::RasterImage::DoImageDataComplete
(this=0x7fffcaa7b7d0) at
/home/markus/mozilla-central/image/src/RasterImage.cpp:1755
#11 0x00007ffff414cb9e in mozilla::image::RasterImage::OnImageDataComplete
(this=0x7fffcaa7b7d0, aStatus=NS_OK, aLastPart=true)
    at /home/markus/mozilla-central/image/src/RasterImage.cpp:1797
#12 0x00007ffff4165e15 in imgRequest::OnStopRequest (this=0x7fffc98a97c0,
aRequest=0x7fffcaa7b6d0, ctxt=0x0, status=NS_OK)
    at /home/markus/mozilla-central/image/src/imgRequest.cpp:616
#13 0x00007ffff3faaced in nsBaseChannel::OnStopRequest (this=0x7fffcaa7b680,
request=<optimized out>, ctxt=<optimized out>, status=<optimized out>)
    at /home/markus/mozilla-central/netwerk/base/src/nsBaseChannel.cpp:737
...</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>