[LLVMbugs] [Bug 15752] New: Current trunk miscompiles Firefox

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 15 09:45:06 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15752

            Bug ID: 15752
           Summary: Current trunk miscompiles Firefox
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: markus at trippelsdorf.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130415/7cbf5c17/attachment.html>


More information about the llvm-bugs mailing list