ASan seems to break the creation of incremental MAR files. mbsdiff is basically frozen while trying to cope with libxul. Using a non-ASan MAR tools archive is working.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
Does mbsdiff appear to be in a CPU intensive loop? Or maybe is it using an excessive amount of virtual memory?
It sounds like the non-ASan mbsdiff is working and can produce a diff from two ASan-built copies of libxul? That implies that the problem is not just something like "mbsdiff cannot handle really large binaries" but some flaw in mbsdiff that is caused by it being compiled with ASan.
gk, please let me know if you need Kathy and me to look at this. I suppose the first step is to run the mbsdiff command under gdb and see what it is doing. It is possible that diffing libxul just causes a bunch of CPU and memory to be consumed, which is made much worse by ASan.
My ASan-enabled mbsdiff ran for hours without completing while trying to generate diffs for libXUL (eventually I gave up and killed it). The problem appeared to be CPU usage, not VM exhaustion.
When I tested this, my system took 187 seconds to finish a 'make incrementals-alpha' command and produced a tor-browser-linux64-6.5a1-hardened-6.5a2-hardened_ALL.incremental.mar file of size 23MB (the full MAR file is 110MB).