With a debug build I'm seeing:
Mesa: User error: GL_INVALID_OPERATION in glEnd
Looks like there's a problem with NURBS and glBegin/End in a display list.
Jaime, perhaps you could try an older version of Mesa and bisect? I'm pretty sure this used to work.

(In reply to comment #5)
> With a debug build I'm seeing:
> Mesa: User error: GL_INVALID_OPERATION in glEnd
>
> Looks like there's a problem with NURBS and glBegin/End in a display list.
> Jaime, perhaps you could try an older version of Mesa and bisect? I'm pretty
> sure this used to work.
If you can give me some instructions about how to do it, I will be more than glad to help.

(In reply to comment #5)
> Looks like there's a problem with NURBS and glBegin/End in a display list.
> Jaime, perhaps you could try an older version of Mesa and bisect? I'm pretty
> sure this used to work.
I tried as far as mesa_7_5_branch and it still fails.

The patches I just attached fixes the problem with the molehill demo and fixes another bug/crash that I found with a new piglit test.
No regressions found so I'll probably commit them in a day or so.
Feel free to test in the mean time.

(In reply to comment #11)
> The patches I just attached fixes the problem with the molehill demo and fixes
> another bug/crash that I found with a new piglit test.
>
> No regressions found so I'll probably commit them in a day or so.
> Feel free to test in the mean time.
The first patch looks trivially okay.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
I'd have to look at the second one a lot more deeply to fully grok the issues. It generally looks okay, so if it doesn't cause any piglit regressions:
Acked-by: Ian Romanick <ian.d.romanick@intel.com>