I got the craziest crash happening on sparc linux, when running xpcshell with jemalloc enabled, it crashes in "setbuf(stdout, 0);" (which is a libc function).
It turns out this is due to the fact that the _IO_stdin_used symbol is not exported, because of the version script used to hide most symbols from programs. No idea why this only crashes on sparc, though.
Created attachment 571903 [details] [diff] [review]
Export the _IO_stdin_used symbol
This also affected x86 (https://crash-stats.mozilla.com/report/index/bp-696816ab-e67c-4beb-b60e-defec2111214 / https://launchpad.net/bugs/810214), should we ship this earlier than Firefox 11?