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

           Summary: [i915 i965 FBO] glFramebufferTexture2D Segmentation
                    fault in some case
           Product: Mesa
           Version: unspecified
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/i915
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=15729)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=15729)
test case

System Environment:
--------------------------

--Platforms:
i915 & i965

--Architecture(32-bit,64-bit,compatiblity): all

--2D driver:
commit 645980596450ed21c3b8927410a6bfe38a0c55d1

--3D driver:
commit 3e0797f3b702a1363bf238eb4826385860346137

--Xserver:
commit b8ea9f2a25aad88aee77a68f8e20ac07276f0dab

--Drm
commit 562f95ea96f08e1d73a872dc87237614292c873a

--Kernel:
2.6.23.1


Bug detailed description:
-------------------------
This issue doesn't happen in software rendering
When you write codes in following sequences:
1. glTexImage2D() to allocate memory for a 128x128 texture for level 0
2. glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_BASE_LEVEL, 1);
3. glTexImage2D() to allocate memory for a 128x128 texture for level 1
4. glFramebufferTexture2DEXT() to attach level 1 of this texture 

will get a segment fault.

Reproduce steps:
----------------
1. start X
2. compile and run attached test case


Current result:
----------------
it doesnt' work as expected.


Expected result:
----------------
should not get segment fault


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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to