Summary: | piglit "glean/pbo -o -v" test dumps core | ||
---|---|---|---|
Product: | Mesa | Reporter: | Chris Rankin <rankincj> |
Component: | Drivers/DRI/R600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Chris Rankin
2010-03-17 15:34:48 UTC
This test is failing in these following statements from glean/tpbo.cpp: glGenBuffersARB_func(1, pb_pack); glBindBufferARB_func(GL_PIXEL_PACK_BUFFER_ARB, pb_pack[0]); glBufferDataARB_func(GL_PIXEL_PACK_BUFFER_ARB, windowSize * windowSize * 4 * sizeof(GL_UNSIGNED_BYTE), NULL, GL_STREAM_DRAW); glReadPixels(0, 0, windowSize, windowSize, GL_BGRA, GL_UNSIGNED_BYTE, NULL); I am assuming that glReadPixels() is expected to write into a named buffer object rather than a user-supplied buffer, because its final "data" parameter is NULL. However, r600_dri.so tries to write into the "data" parameter anyway. Hence "BANG". Note: classic r600 driver has been abandoned. works without any segfault with r600g (gallium driver) on my rv770 tested with mesa git master e81ee67b51651e99e7e8e52c1ccafc66835d57cd and mesa 8.0.4 test result: 9 tests passed, 1 tests failed. (In reply to comment #2) > Note: classic r600 driver has been abandoned. > > works without any segfault with r600g (gallium driver) on my rv770 > tested with mesa git master e81ee67b51651e99e7e8e52c1ccafc66835d57cd > and mesa 8.0.4 > > test result: > 9 tests passed, 1 tests failed. the failing test is tracked in Bug 28049 |
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.