[Mesa-dev] [Bug 99214] Crash in library libswrAVX.so when assigning vertex buffer object pointers with elements of type GL_DOUBLE

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 28 20:53:04 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=99214

            Bug ID: 99214
           Summary: Crash in library libswrAVX.so when assigning vertex
                    buffer object pointers with elements of type GL_DOUBLE
           Product: Mesa
           Version: 13.0
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Gallium/swr
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: chris at circlecvi.com
        QA Contact: mesa-dev at lists.freedesktop.org

/**pseudo snippet


glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT);
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);

assert(VertexBuff size == NormalBuff size);

// Vertices binding
[Vertex Buffer Object] ->bind();
glVertexPointer(3, GL_DOUBLE, 0, NULL);

// Normals binding
[Normals Buffer Object] ->bind();
glNormalPointer(GL_DOUBLE, 0, NULL);

// !! Crash on glDrawArrays in libswrAVX.so
glDrawArrays(GL_QUAD_STRIP, 0, [Elements count]);
glPopClientAttrib();

 **/

- Crashes on GL_DOUBLE type
- Does not crash on GL_FLOAT
- Verified contents of both buffers to be correct geometry in both instances.


Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
Flags:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
dts mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tsc arch_perfmon pebs
bts xtopology tsc_reliable nonstop_tsc aperfmperf unfair_spinlock pni pclmulqdq
ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx hyperv

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161228/7bc1c5b0/attachment.html>


More information about the mesa-dev mailing list