All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 27652] New: &ctx->Meta->Save is NULL in _mesa_meta_begin
@ 2010-04-14 22:08 bugzilla-daemon
  2010-04-14 22:09 ` [Bug 27652] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-04-14 22:08 UTC (permalink / raw)
  To: dri-devel

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

           Summary: &ctx->Meta->Save is NULL in _mesa_meta_begin
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/Savage
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: bugzi09.fdo.tormod@xoxy.net


glblur crashes upon start on savage. Both in 7.7.1 and git master.

#0  0x00812907 in _mesa_meta_begin (ctx=0x80743b8, state=96) at
drivers/common/meta.c:327
        save = 0x0
#1  0x00818373 in copy_tex_image (ctx=0x80743b8, dims=2, target=3553, level=0,
internalFormat=6409, x=0, y=0, width=128, height=128, border=0) at
drivers/common/meta.c:2561
        texObj = 0x81a9a38
        texImage = 0x81a9d40
        postConvWidth = 128
        postConvHeight = 128
        format = 6409
        type = 5121
        bpp = 1
        buf = 0x81a9e00
#2  0x00818628 in _mesa_meta_CopyTexImage2D (ctx=0x80743b8, target=3553,
level=0, internalFormat=6409, x=0, y=0, width=128, height=128, border=0) at
drivers/common/meta.c:2624
No locals.
#3  0x00763d9c in _mesa_CopyTexImage2D (target=3553, level=0,
internalFormat=6409, x=0, y=0, width=128, height=128, border=0) at
main/teximage.c:2831
        texObj = 0x81a9a38
        texImage = <value optimized out>
        postConvWidth = 128
        postConvHeight = 128
        face = 0
        ctx = 0x80743b8

Where line 327 is the last line here:

static void
_mesa_meta_begin(GLcontext *ctx, GLbitfield state)
{
   struct save_state *save = &ctx->Meta->Save;

   save->SavedState = state;

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 27652] &ctx->Meta->Save is NULL in _mesa_meta_begin
  2010-04-14 22:08 [Bug 27652] New: &ctx->Meta->Save is NULL in _mesa_meta_begin bugzilla-daemon
@ 2010-04-14 22:09 ` bugzilla-daemon
  2010-04-14 22:50 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-04-14 22:09 UTC (permalink / raw)
  To: dri-devel

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

Tormod Volden <bugzi09.fdo.tormod@xoxy.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://bugs.launchpad.net/
                   |                            |bugs/562718

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 27652] &ctx->Meta->Save is NULL in _mesa_meta_begin
  2010-04-14 22:08 [Bug 27652] New: &ctx->Meta->Save is NULL in _mesa_meta_begin bugzilla-daemon
  2010-04-14 22:09 ` [Bug 27652] " bugzilla-daemon
@ 2010-04-14 22:50 ` bugzilla-daemon
  2010-04-14 23:19 ` bugzilla-daemon
  2010-04-16 17:02 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-04-14 22:50 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Tormod Volden <bugzi09.fdo.tormod@xoxy.net> 2010-04-14 15:50:44 PDT ---
Actually ctx->Meta is NULL, like if _mesa_meta_init() has not been called.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 27652] &ctx->Meta->Save is NULL in _mesa_meta_begin
  2010-04-14 22:08 [Bug 27652] New: &ctx->Meta->Save is NULL in _mesa_meta_begin bugzilla-daemon
  2010-04-14 22:09 ` [Bug 27652] " bugzilla-daemon
  2010-04-14 22:50 ` bugzilla-daemon
@ 2010-04-14 23:19 ` bugzilla-daemon
  2010-04-16 17:02 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-04-14 23:19 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Tormod Volden <bugzi09.fdo.tormod@xoxy.net> 2010-04-14 16:19:01 PDT ---
So if I break on _mesa_meta_begin and call _mesa_meta_init(ctx) manually before
continuing it works, kind of. No crashes, but there are some other issues like
not seeing anything unless I click in the window.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 27652] &ctx->Meta->Save is NULL in _mesa_meta_begin
  2010-04-14 22:08 [Bug 27652] New: &ctx->Meta->Save is NULL in _mesa_meta_begin bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-04-14 23:19 ` bugzilla-daemon
@ 2010-04-16 17:02 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-04-16 17:02 UTC (permalink / raw)
  To: dri-devel

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

Tormod Volden <bugzi09.fdo.tormod@xoxy.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Tormod Volden <bugzi09.fdo.tormod@xoxy.net> 2010-04-16 10:02:01 PDT ---
Fixed in
http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.8&id=885048232fb715b0646d52ff35305941a25f1382A

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-16 17:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-14 22:08 [Bug 27652] New: &ctx->Meta->Save is NULL in _mesa_meta_begin bugzilla-daemon
2010-04-14 22:09 ` [Bug 27652] " bugzilla-daemon
2010-04-14 22:50 ` bugzilla-daemon
2010-04-14 23:19 ` bugzilla-daemon
2010-04-16 17:02 ` bugzilla-daemon

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.