[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #10 from Andreas Boll andreas.boll@gmail.com ---
Should be fixed with 
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c6dbcf10dff1f8343a26081f5489ef732ebb5460

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

Marek Olšák mar...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Marek Olšák mar...@gmail.com ---
Indeed. The fix will be backported to stable branches if it hasn't been
backported already. Closing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #9 from Ian Milligan ianml...@gmail.com ---
It appears that loading a shader which expects a texture buffer causes the
first texture unit's target to be set to TEXTURE_BUFFER. When st_validate_state
is called without a texture bound to this texture unit, st_validate_texture is
called on this texture unit's texture object. However st_validate_texture
expects a texture object with target TEXTURE_BUFFER to have defined the field
BufferObject, causing the null pointer dereference. Unfortunately, I'm not sure
where the fault lies here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #1 from Ian Milligan ianml...@gmail.com ---
I forgot to add that I am using the r600g driver.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #2 from Marek Olšák mar...@gmail.com ---
Could you please attach the backtrace?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #3 from Ian Milligan ianml...@gmail.com ---
Oops, I meant mesa 10.0 of course. Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x726296f4 in st_finalize_texture (ctx=0x71324010, pipe=0xf1b2e0,
tObj=0xf25d70) at state_tracker/st_cb_texture.c:1488
1488state_tracker/st_cb_texture.c: No such file or directory.
(gdb) bt
#0  0x726296f4 in st_finalize_texture (ctx=0x71324010,
pipe=0xf1b2e0, tObj=0xf25d70) at state_tracker/st_cb_texture.c:1488
#1  0x726147aa in finalize_textures (st=0xfc5660) at
state_tracker/st_atom_texture.c:420
#2  0x7260d546 in st_validate_state (st=0xfc5660) at
state_tracker/st_atom.c:202
#3  0x72619c40 in st_Clear (ctx=0x71324010, mask=2) at
state_tracker/st_cb_clear.c:390
#4  0x7249901a in _mesa_Clear (mask=16384) at main/clear.c:202
#5  0x0040970c in sbXU_info ()
#6  0x73dd9010 in ?? ()
#7  0x in ?? ()

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #4 from Marek Olšák mar...@gmail.com ---
Do you have a code sample how to reproduce this?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #5 from Ian Milligan ianml...@gmail.com ---
I do but it's not written in C. Let me try to write something which can
reproduce this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #6 from Ian Milligan ianml...@gmail.com ---
Created attachment 93095
  -- https://bugs.freedesktop.org/attachment.cgi?id=93095action=edit
Vertex shader using texture buffer.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #7 from Ian Milligan ianml...@gmail.com ---
Created attachment 93096
  -- https://bugs.freedesktop.org/attachment.cgi?id=93096action=edit
Failing code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 74251] Segfault in st_finalize_texture with Texture Buffer

2014-01-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74251

--- Comment #8 from Ian Milligan ianml...@gmail.com ---
The segfault appears to occur when glClear is called while a vertex shader
expecting a texture buffer is loaded, but no texture is bound. This can be
reproduced simply by loading the attached vertex shader and calling glClear.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev