Debug builds consistently fail in mongo::Geo2dType::_convert() at line 371:
verify( in <= _max && in >= _min );
when running jstests/geo_borders.js.
jstests/geo_borders.js may be running the test at lines 132 to 137, based on comparing a "working" non-debug run. The reason why release builds "work" and debug builds fail is that the test at line 371 is using verify() on user-supplied data, and debug builds call abort() after a failed verify. But since this is our first test of user-supplied values, verify() is the wrong test to use. Moreover, this is the wrong place to test, because we have code to generate a friendly assertion downstream (i.e. later) that will never be reached because of this verify().
Adding more verbose logging to the test shows additional problems. These will be detailed in a separate ticket.
- related to
-
SERVER-6921 jstests/geo_borders.js has several issues
- Backlog