← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 795352] [NEW] while enalbled the xinerama the xserver would face a segment fault

 

Public bug reported:

Binary package hint: xserver-xorg-core

this bug is caused while the root window is visited, then the code still
try to visit the parent drawable.id. so the segment fault is there. the
following code change is about how to fix it and passed the test.

here is the diff file for xorg-server-1.10.1/Xext/panoramiXprocs.c
565,566c565
<       if((pWin->parent == screenInfo.screens[0]->root) ||
<            (pWin->parent->drawable.id == screenInfo.screens[0]->screensaver.wid))
---
>         if((pWin->parent == screenInfo.screens[0]->root))
568,570c567,577
<          rep.x += screenInfo.screens[0]->x;
<          rep.y += screenInfo.screens[0]->y;
<       }
---
>            rep.x += screenInfo.screens[0]->x;
>            rep.y += screenInfo.screens[0]->y;
>         }
>         if(pWin->parent != 0)
>         {
>           if((pWin->parent->drawable.id == screenInfo.screens[0]->screensaver.wid))
>             {
>              rep.x += screenInfo.screens[0]->x;
>              rep.y += screenInfo.screens[0]->y;
>           }
>         }

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/795352

Title:
  while enalbled the xinerama the xserver would face a segment fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/795352/+subscriptions


Follow ups

References