Skip to contentSkip to conversation

New: [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed.

Bug 31565 [email protected] 1 participant 6 messages Nov 12, 2010 – May 24, 2014

lore
Share & tools
lore
#0 lore raw

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

           Summary: [r300] radeon_texture.c:136: radeon_teximage_map:
                    Assertion `!image->base.Data' failed.
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: [email protected]
        ReportedBy: [email protected]

mesa: d18df9e336b5d2e68a4a6185f7b9d0d0c095c3c4 (master)

chipset: RV530 71C5 (ATI Radeon X1600)
system architecture: i686
libdrm-dev: 2.4.21-1ubuntu2.1
kernel version: 2.6.35-22-generic
Linux distribution: Ubuntu 10.10 i386
Machine model: iMac4,1

Run piglit fbo-blit.

$ ./bin/fbo-blit
...
radeonSetSpanFunctions: bad format: 0x0002
radeonSetSpanFunctions: bad format: 0x0002
fbo-blit: radeon_texture.c:136: radeon_teximage_map: Assertion
`!image->base.Data' failed.

(gdb) bt

#0  0x0020c416 in __kernel_vsyscall ()
#1  0x00354941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x00357e42 in abort () at abort.c:92
#3  0x0034d8e8 in __assert_fail (assertion=0x1123ce5 "!image->base.Data",

file=0x1123cb6 "radeon_texture.c", line=136, function=0x1123f06 "radeon_teximage_map") at assert.c:81
#4 0x00f2fb0f in radeon_teximage_map (image=0x9884200, write_enable=1 '\001') at radeon_texture.c:136
#5 0x00f22fb0 in radeon_map_unmap_framebuffer (ctx=<value optimized out>, fb=0x9884350, map=1 '\001') at radeon_span.c:1047
#6 0x00f2ebc4 in radeonSpanRenderStart (ctx=0x9526458) at radeon_span.c:1085 #7 0x01027253 in swrast_render_start (ctx=0x9526458, x=10, y=10, width=10, height=10, format=6407, type=5126, packing=0x9535108, pixels=0x98b7508) at swrast/s_context.h:268
#8 _swrast_ReadPixels (ctx=0x9526458, x=10, y=10, width=10, height=10, format=6407, type=5126, packing=0x9535108, pixels=0x98b7508) at swrast/s_readpix.c:473
#9 0x00f2176d in radeonReadPixels (ctx=0x9526458, x=10, y=10, width=10, height=10, format=6407, type=5126, pack=0x9535108, pixels=0x98b7508) at radeon_pixel_read.c:221
#10 0x00f9a58b in _mesa_ReadPixels (x=10, y=10, width=10, height=10, format=6407, type=5126, pixels=0x98b7508) at main/readpix.c:232 #11 0x0804b53e in piglit_probe_rect_rgb (x=10, y=10, w=10, h=10, expected=0xbfde7a00) at piglit/tests/util/piglit-util.c:278
#12 0x0804a890 in verify_color_rect (start_x=10, start_y=10, w=20, h=20) at /piglit/tests/fbo/fbo-blit.c:110
#13 0x0804ae31 in run_test () at piglit/tests/fbo/fbo-blit.c:193 #14 0x0804aeb6 in piglit_display () at /piglit/tests/fbo/fbo-blit.c:206 #15 0x0804ce7b in display () at piglit/tests/util/piglit-framework.c:52 #16 0x00d79820 in fghRedrawWindow (window=0x9509050, enumerator=0xbfde7b68) at freeglut_main.c:210
#17 fghcbDisplayWindow (window=0x9509050, enumerator=0xbfde7b68) at freeglut_main.c:227
#18 0x00d7d660 in fgEnumWindows (enumCallback=0xd79790 <fghcbDisplayWindow>, enumerator=0xbfde7b68) at freeglut_structure.c:394
#19 0x00d79cdb in fghDisplayAll () at freeglut_main.c:249
#20 glutMainLoopEvent () at freeglut_main.c:1450
#21 0x00d7a605 in glutMainLoop () at freeglut_main.c:1498
#22 0x0804d024 in main (argc=1, argv=0xbfde7df4) at piglit/tests/util/piglit-framework.c:118
(gdb) frame 4
#4 0x00f2fb0f in radeon_teximage_map (image=0x9884200, write_enable=1 '\001') at radeon_texture.c:136
136 assert(!image->base.Data);
(gdb) l
131 radeon_print(RADEON_TEXTURE, RADEON_VERBOSE,

132                "%s(img %p), write_enable %s.\n",
133                __func__, image,
134                write_enable ? "true": "false");

135 if (image->mt) {
136 assert(!image->base.Data);
137
138 radeon_bo_map(image->mt->bo, write_enable);
139 teximage_set_map_data(image);
140 }
(gdb) print image->base
$1 = {InternalFormat = 6408, _BaseFormat = 6408, TexFormat = 2, Border = 0, Width = 64, Height = 64, Depth = 1, Width2 = 64, Height2 = 64, Depth2 = 1, WidthLog2 = 6, HeightLog2 = 6, DepthLog2 = 0,
MaxLog2 = 6, WidthScale = 64, HeightScale = 64, DepthScale = 1, IsClientData
= 0 '\000', _IsPowerOfTwo = 1 '\001', TexObject = 0x9884690, FetchTexelc = 0x10cfc60 <fetch_texel_float_to_chan>,
FetchTexelf = 0x10c9dc0 <fetch_texel_2d_f_rgba8888_rev>, RowStride = 64,
ImageOffsets = 0x9884278, Data = 0xb77cb000, DriverData = 0x0} (gdb) print image->base.Data
$2 = (GLvoid *) 0xb77cb000

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 31565] [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed.

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

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/Gallium/r300 |Drivers/DRI/r300

--- Comment #1 from Marek Olšák <[email protected]> 2010-11-13 12:16:39 PST --- This is a classic driver bug.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 31565] [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed.

In reply to [email protected]

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

--- Comment #2 from Marcel <[email protected]> 2011-01-15 13:43:51 PST --- I'm experiencing this problem under Arch Linux (x64, 2.6.36.2, Mesa 7.10) when trying to launch Gnome-Shell from git on an R600:
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 31565] [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed.

In reply to [email protected]

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

--- Comment #3 from Lee Wilson <[email protected]> 2011-02-23 00:50:28 PST --- (In reply to comment #2)

Quoted 3 lines

I'm experiencing this problem under Arch Linux (x64, 2.6.36.2, Mesa 7.10) when trying to launch Gnome-Shell from git on an R600:
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650

kernel 2.6.38-rc5 fix's this with its new radeon driver.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 31565] [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed.

In reply to [email protected]

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

--- Comment #4 from almos <[email protected]> 2011-11-13 09:15:33 PST --- Can this be closed? According to comment 3, it's fixed, and r300c is deprecated now.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 31565] [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed.

In reply to [email protected]

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

almos <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from almos <[email protected]> --- Closing for the reasons I stated 2.5 years ago.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel