The attached program shows a simple thin line painted with an unitialized value (usually infinity). (OSMesa 7.8.2 built with configs/linux-osmesa32 plus -DUSE_MGL_NAMESPACE) A debug build (linux-x86-64-debug with "-DUSE_MGL_NAMESPACE -DCHAN_BITS=32 -DDEFAULT_SOFTWARE_DEPTH_BITS=31") yields: a.out: swrast/s_span.c:1173: _swrast_write_rgba_span: Assertion `span->arrayMask & 0x01' failed. Enabling the depth buffer causes the line to be painted correctly.
The example program wasn't attached to the bug so not a lot that can be done so closing. Feel free to test against a more recent version of Mesa and reopen adding the example if still an issue.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.