Subject: xsrc/15404: XFree 4.2 and nv driver crashes randomly
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 01/28/2002 17:52:41
>Number:         15404
>Category:       xsrc
>Synopsis:       XFree 4.2 and nv driver crashes randomly
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 28 08:53:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.5ZA
>Organization:
	
>Environment:

System: NetBSD night-porter.duskware.de 1.5ZA NetBSD 1.5ZA (PORTER) #0: Tue Jan 15 21:37:44 MET 2002 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
graphics card: NVidia RIVA TNT2/TNT2 Pro rev 17

>Description:

Randomly, but regularily the XServer crashes ever since I upgraded to 
XFree 4.2.

>How-To-Repeat:

The XServer receives a floating point exception in the driver function
called from:

#3  0x814244d in miPolySegment (pDraw=0x8a6a000, pGC=0x8a62400, nseg=3,
    pSegs=0x8b3e3a0) at mipolyseg.c:78
#4  0x81679d5 in miSpritePolySegment (pDrawable=0x8a6a000, pGC=0x8a62400,
    nseg=3, pSegs=0x8b3e3a0) at misprite.c:1406
#5  0x80b25b7 in ProcPolySegment (client=0x8a62100) at dispatch.c:1882
#6  0x80afdf5 in Dispatch () at dispatch.c:462
#7  0x80bfd6d in main (argc=5, argv=0xbfbfdcdc, envp=0xbfbfdcf4) at main.c:454
#8  0x806bbb0 in ___start ()

it then dies with a SIGTRAP and dumps core. For whatever reason I did not get
symbolic information for the calls beyound the function pointer.

>Fix:
n/a yet, will investigate further
>Release-Note:
>Audit-Trail:
>Unformatted:
 
 i386, running -current, latest xsrc, XFree 4.2