All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms
@ 2010-01-07  6:37 bugzilla-daemon
  2010-01-07  7:41 ` [Bug 25934] " bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-01-07  6:37 UTC (permalink / raw)
  To: dri-devel

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

           Summary: Segfaults while parsing a shader shown to work on other
                    platforms
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: reilithion@gmail.com


Created an attachment (id=32489)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=32489)
A log of the gdb session with backtrace and shader source

After rebuilding Mesa (with debugging symbols) from the git master branch (at
revision 6f498a7eff26dc055c0a1f75ce3102aa4a1a0141 ), I am unable to run a game
that utilizes 3d accel and shaders that (mostly) worked previously.

This particular issue did not appear to affect me in my previous build (which
was also from git master branch built around 2009-12-24 or so, I believe).

I am running Gentoo ~amd64.  My graphics card is a Radeon X850.

The bug manifests with the following versions of software:

libdrm commit 5dbc1b333b85695735dc5b484372758b9979b693
mesa commit 6f498a7eff26dc055c0a1f75ce3102aa4a1a0141
xf86-video-ati commit 48aa5064aff4b9adf768e480df2312d4375e9c40
nvidia-cg-toolkit version 2.2.0010, build date Sep 29 2009 16:29:47.
CrystalSpace Revision: 33500
Planeshift Revision: 5164

I have attached a gdb session which includes a backtrace and (I believe) the
complete source of the shader that causes mesa to hiccup, and the full command
arguments that were passed to cgc.  I am willing to provide further information
if required.

Note that this shader does not seem to cause problems for other players of this
game on other platforms, but that this does not necessarily mean it is not,
itself, buggy or problematic.


-- 
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

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

* [Bug 25934] Segfaults while parsing a shader shown to work on other platforms
  2010-01-07  6:37 [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms bugzilla-daemon
@ 2010-01-07  7:41 ` bugzilla-daemon
  2010-01-07  7:54 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-01-07  7:41 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #1 from Lucas Paul <reilithion@gmail.com>  2010-01-06 23:41:04 PST ---
Created an attachment (id=32492)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=32492)
The offending Cg source, extracted from gdb output and with some escape
sequences converted

It was suggested to me to make the shader's source a bit more
readable/accessible, so here it is with \n, \t, and \\ converted into newlines,
tabs, and \, repsectively.


-- 
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

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

* [Bug 25934] Segfaults while parsing a shader shown to work on other platforms
  2010-01-07  6:37 [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms bugzilla-daemon
  2010-01-07  7:41 ` [Bug 25934] " bugzilla-daemon
@ 2010-01-07  7:54 ` bugzilla-daemon
  2010-01-07  7:55 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-01-07  7:54 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #2 from Frank Richter <resqu@gmx.ch>  2010-01-06 23:54:19 PST ---
Created an attachment (id=32494)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=32494)
Problematic ARB source code


-- 
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

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

* [Bug 25934] Segfaults while parsing a shader shown to work on other platforms
  2010-01-07  6:37 [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms bugzilla-daemon
  2010-01-07  7:41 ` [Bug 25934] " bugzilla-daemon
  2010-01-07  7:54 ` bugzilla-daemon
@ 2010-01-07  7:55 ` bugzilla-daemon
  2010-01-07 16:20 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-01-07  7:55 UTC (permalink / raw)
  To: dri-devel

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


Frank Richter <resqu@gmx.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32492|0                           |1
        is obsolete|                            |




--- Comment #3 from Frank Richter <resqu@gmx.ch>  2010-01-06 23:55:45 PST ---
Created an attachment (id=32495)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=32495)
Cg source

Same data as attachment 32492, but with fixed MIME type


-- 
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

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

* [Bug 25934] Segfaults while parsing a shader shown to work on other platforms
  2010-01-07  6:37 [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-01-07  7:55 ` bugzilla-daemon
@ 2010-01-07 16:20 ` bugzilla-daemon
  2010-01-08 19:23 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-01-07 16:20 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #4 from Brian Paul <brian.e.paul@gmail.com>  2010-01-07 08:20:27 PST ---
I can't reproduce this.  I forced the parser to call the yyerror() function
where your gdb log indicated.  I don't get a segfault in vfprintf() or
strlen().

Could you try recompiling Mesa for debug (-g) and retesting?


-- 
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

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

* [Bug 25934] Segfaults while parsing a shader shown to work on other platforms
  2010-01-07  6:37 [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-01-07 16:20 ` bugzilla-daemon
@ 2010-01-08 19:23 ` bugzilla-daemon
  2010-01-14  4:49 ` bugzilla-daemon
  2010-04-11 10:24 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-01-08 19:23 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #5 from Lucas Paul <reilithion@gmail.com>  2010-01-08 11:23:12 PST ---
Brian, since I've been using Gentoo's portage system to build Mesa, I'm not
sure how to give it specific switches, like -g, for compiling.  I was under the
impression that I was building Mesa with separate debugging information split
off in its own file (Portage's splitdebug feature and the debug USE flag), so
I'm also not entirely sure what the key difference you're after is, either. 
How do you suggest I proceed?


-- 
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

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

* [Bug 25934] Segfaults while parsing a shader shown to work on other platforms
  2010-01-07  6:37 [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-01-08 19:23 ` bugzilla-daemon
@ 2010-01-14  4:49 ` bugzilla-daemon
  2010-04-11 10:24 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-01-14  4:49 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #6 from Lucas Paul <reilithion@gmail.com>  2010-01-13 20:49:41 PST ---
After recompiling (once with Portage's nostrip feature, then again with
splitdebug) the latest code, I'm no longer able to reproduce the issue either. 
I guess the bug should be closed, since nobody seemed sure what was causing it
in the first place.


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

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--

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

* [Bug 25934] Segfaults while parsing a shader shown to work on other platforms
  2010-01-07  6:37 [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-01-14  4:49 ` bugzilla-daemon
@ 2010-04-11 10:24 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-04-11 10:24 UTC (permalink / raw)
  To: dri-devel

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

Corbin Simpson <MostAwesomedude@gmail.com> changed:

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

--- Comment #7 from Corbin Simpson <MostAwesomedude@gmail.com> 2010-04-11 03:24:02 PDT ---
Closing.

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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

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

end of thread, other threads:[~2010-04-11 10:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-07  6:37 [Bug 25934] New: Segfaults while parsing a shader shown to work on other platforms bugzilla-daemon
2010-01-07  7:41 ` [Bug 25934] " bugzilla-daemon
2010-01-07  7:54 ` bugzilla-daemon
2010-01-07  7:55 ` bugzilla-daemon
2010-01-07 16:20 ` bugzilla-daemon
2010-01-08 19:23 ` bugzilla-daemon
2010-01-14  4:49 ` bugzilla-daemon
2010-04-11 10:24 ` 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.