http://bugs.freedesktop.org/show_bug.cgi?id=23724

           Summary: sigsegv when readpixels from frontbuffer with i915
           Product: Mesa
           Version: 7.5
          Platform: Other
               URL: http://bugs.debian.org/545085
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: robert.wohl...@gmx.de


Created an attachment (id=29242)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29242)
Test program

I've here a bigger program which worked in previous (cannot tell which) version
of this package, but currently it seems to crash when it calls glReadPixels. I
tried to create a similar testcase for the bug report and noticed that it
only(?) happened when I tried to read from frontbuffer. The simple test is
attached to this mail. It can be compiled with:

g++ -o readpixels_z readpixels_z.cpp `sdl-config --cflags` `sdl-config --libs`
-lGL -lGLU

Backtrace:
#0  0x00000000 in ?? ()
#1  0xb7729dba in _swrast_ReadPixels (ctx=0x64, x=0, y=0, width=100,
height=100, format=6407, type=5121, packing=0x809a40c, pixels=0xbfff7b98)
    at swrast/s_readpix.c:605
#2  0xb7604c49 in intelReadPixels (ctx=0x808d530, x=0, y=0, width=100,
height=100, format=6407, type=5121, pack=0x809a40c, pixels=0xbfff7b98)
            at intel_pixel_read.c:305
#3  0xb7794ec6 in _mesa_ReadPixels (x=0, y=0, width=100, height=100,
format=6407, type=5121, pixels=0xbfff7b98) at main/readpix.c:191
#4  0x08048e42 in Test_glReadPixels() ()
#5  0x0804908b in main ()

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.31-rc5

Debian Release: squeeze/sid

libc6  2.9-26
libdrm-intel1  2.4.12-1
libdrm2  2.4.12-1
libexpat1  2.0.1-4

Hardware is a EeePC  1000h


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to