From: bugzilla-daemon@freedesktop.org Subject: [Bug 27142] piglit "glean/pbo -o -v" test dumps core Date: Thu, 18 Mar 2010 13:38:56 -0700 (PDT) Message-ID: <20100318203857.3979B13010D@annarchy.freedesktop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org http://bugs.freedesktop.org/show_bug.cgi?id=27142 --- Comment #1 from Chris Rankin 2010-03-18 13:38:56 PST --- 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". -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --