I figure I should at least add a comment about how far I got about this. The crashes I've looked at from derivatives of the try in comment 54 don't involve Gecko code at all. They all come from LD_PRELOAD'ing libclang_rt, and whatever it's doing ends up breaking things in a weird way, sometimes with a stack trace that comes from the dynamic loader. I haven't figured what's going wrong yet because I've been busy with other things, but I've also figured that the clang runtime for android is outdated and probably nobody uses ASan on recent android. For instance, the malloc hooks the runtime uses have been removed from Android several releases ago. That's not supposed to cause problems, at least not the ones we're seeing, but it's not going to help even if we figure out what's going on and fix it.
Bug 1658818 Comment 67 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I figure I should at least add a comment about how far I got about this. The crashes I've looked at from derivatives of the try in comment 54 don't involve Gecko code at all. They all come from LD_PRELOAD'ing libclang_rt, and whatever it's doing ends up breaking things in a weird way, sometimes with a stack trace that comes from the dynamic loader. I haven't figured what's going wrong yet because I've been busy with other things, but I've also figured that the clang runtime for android is outdated and probably nobody uses ASan on recent android. For instance, the malloc hooks the runtime uses have been removed from Android several releases ago and nobody from Google has bothered to fix that situation. That's not supposed to cause problems, at least not the ones we're seeing, but it's not going to help even if we figure out what's going on and fix it.