This has been discovered while experimenting with the gecko linker on android. In general, assert()'ing on "user input" is a bad idea.
lgtm