Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2000 22:16:34 -0700 (PDT)
From:      jay.krell@cornell.edu
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/22386: XFree86-4 -configure crashes with i810 video
Message-ID:  <20001029051634.E2F7937B479@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         22386
>Category:       ports
>Synopsis:       XFree86-4 -configure crashes with i810 video
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 28 22:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jay Krell
>Release:        4.1.1-STABLE
>Organization:
>Environment:
FreeBSD jayk2.jaykhome 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Sat Oct 28 04:06:40
 GMT 2000     jayk@jayk2.jaykhome:/usr/src/sys/compile/JAYK1  i386

>Description:
XFree86-4 -configure crashes on systems with i810 video
>How-To-Repeat:
go to system with i810 video (like a Compaq iPaq PC (not handheld)
cd /usr/ports/x11/XFree86-4
make
su
make install
XFree86 -configure
.. XFree86 prints stuff, then exits upon signal 11 ..

>Fix:
You can see that other XFree86-4 drivers have similar code as this diff.
I am in the middle of recreating the reduced diff, after having sprinkled fprintf(stderr) everywhere and also building with -g to get stack traces (I wish that were easier!). So recreated diff I have not yet compiled/tested. i810 may yet have more problems.

--- work.1/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c.1  Sat Oct
28 21:59:54 2000
+++ work.1/xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c    Sat Oct
28 22:03:34 2000
@@ -391,6 +391,9 @@
                                   devSections, numDevSections,
                                   drv, &usedChips);

+   if (flags & PROBE_DETECT)
+       foundScreen = TRUE;
+   else
    for (i=0; i<numUsed; i++) {
        ScrnInfoPtr pScrn = NULL;
        /* Allocate new ScrnInfoRec and claim the slot */
@@ -435,6 +438,8 @@
    char *mod=0, *reqSym=0;
    int flags24;
    rgb defaultWeight = {0, 0, 0};
+
+   if (flags & PROBE_DETECT) return FALSE;

    if (pScrn->numEntities != 1) return FALSE;
                                                                        

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001029051634.E2F7937B479>