[Bug sanitizer/61408] New: r205695 breaks packaging step of Firefox 24 ESR on Ubuntu Lucid building with ASan

gk at torproject dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 4 05:56:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61408

            Bug ID: 61408
           Summary: r205695 breaks packaging step of Firefox 24 ESR on
                    Ubuntu Lucid building with ASan
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gk at torproject dot org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

Trying to build Firefox 24 ESR on Lucid with ASan and 4.9.0 leads to a crash
during the packaging of the build:

Executing
/home/ubuntu/build/tor-browser/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell
-g /home/ubuntu/build/tor-browser/obj-x86_64-unknown-linux-gnu/dist/bin/ -a
/home/ubuntu/build/tor-browser/obj-x86_64-unknown-linux-gnu/dist/bin/ -f
/home/ubuntu/build/tor-browser/toolkit/mozapps/installer/precompile_cache.js -e
precompile_startupcache("resource://gre/");
ASAN:SIGSEGV
=================================================================
==22869==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc
0x000000000000 sp 0x2b0f084bf678 bp 0x2b0f084bf780 T2)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
Thread T2 created by T0 here:
    #0 0x2b0ec8ea572a in __interceptor_pthread_create
../../.././libsanitizer/asan/asan_interceptors.cc:183
    #1 0x2b0ef7b75269 in _PR_CreateThread
/home/ubuntu/build/tor-browser/nsprpub/pr/src/pthreads/ptthread.c:444
    #2 0x2b0ef7b778ae in PR_CreateThread
/home/ubuntu/build/tor-browser/nsprpub/pr/src/pthreads/ptthread.c:527
    #3 0x2b0ede4a9286 in nsThread::Init()
/home/ubuntu/build/tor-browser/xpcom/threads/nsThread.cpp:332
    #4 0x2b0ee5d7d57c
(/home/ubuntu/build/tor-browser/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so+0x1bdfe57c)

==22869==ABORTING

After a lot of bisecting it turns out that r205695 is the first revision that
breaks.
Oddly, this is not a problem if building and using 4.9.0 on Ubuntu Precise.
There building and packaging Firefox 24 ESR is working fine.



More information about the Gcc-bugs mailing list