All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 31565] New: [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed.
Date: Thu, 11 Nov 2010 18:02:09 -0800 (PST)	[thread overview]
Message-ID: <bug-31565-502@http.bugs.freedesktop.org/> (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: dri-devel@lists.freedesktop.org
        ReportedBy: vlee@vmware.com


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

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

             reply	other threads:[~2010-11-12  2:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-12  2:02 bugzilla-daemon [this message]
2010-11-13 20:16 ` [Bug 31565] [r300] radeon_texture.c:136: radeon_teximage_map: Assertion `!image->base.Data' failed bugzilla-daemon
2011-01-15 21:43 ` bugzilla-daemon
2011-02-23  8:50 ` bugzilla-daemon
2011-11-13 17:15 ` bugzilla-daemon
2014-05-24 21:27 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-31565-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.