[xorg-bugzilla-noise] [Bug 1202] New: Server crashes at start with bpp set to 1 or 4

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 27 06:21:40 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to          
the URL shown below and enter yourcomments there.   
 
https://freedesktop.org/bugzilla/show_bug.cgi?id=1202        
   
           Summary: Server crashes at start with bpp set to 1 or 4
           Product: xorg
           Version: CVS_head
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Driver/Trident
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: qbast at go2.pl


After setting DefaultDepth in config file to 1 or 4, xorg crashes at start with "Caught signal 8. 
Server aborting". Problem lies in lines 2984-2992 of trident_driver.c: 
 
          int cpp = pScrn->bitsPerPixel / 8; 
            int area = AvailFBArea.y2 * pScrn->displayWidth; 
            int areaoffset = area * cpp; 
 
            xf86DrvMsg(pScrn->scrnIndex, X_INFO,  
               "Using %i scanlines of offscreen memory for area's \n", 
               AvailFBArea.y2 - pScrn->virtualY); 
 
            if (xf86InitFBManagerLinear(pScreen, area, ((pTrident->FbMapSize/cpp) - area))) { 
 
For depths lower than 8 cpp is initialized to 0, then division by zero raises SIGFPE.        
   
   
--         
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email       
   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list