Bug 152 - Xnest crash on startup (and backtrace thereof)
Summary: Xnest crash on startup (and backtrace thereof)
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
Depends on:
Reported: 2003-11-19 11:38 UTC by freedesktop.org
Modified: 2011-10-15 17:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description freedesktop.org 2003-11-19 11:38:39 UTC
I'm trying to run Xnest in xfree86. Not sure if this is a supported 
configuration, but if it is, you might be interested in the following 
backtrace. This is taken from right before it jumps to address 0: 
#0  compCheckWindow (pWin=0x80d7b08, data=0x0) at compwindow.c:36 
        pScreen = 0x80cb8c8 
        pWinPixmap = 0x0 
        pParentPixmap = 0x80c1be8 
        pScreenPixmap = 0x3 
#1  0x0806f24a in TraverseTree (pWin=0x80d7b08, 
    func=0x80a263c <compCheckWindow>, data=0x0) at window.c:223 
        result = 135101192 
        pChild = 0x80d7b08 
#2  0x080a27b1 in compCheckTree (pScreen=0x80cb8c8) at compwindow.c:64 
No locals. 
#3  0x080a2dff in compCreateWindow (pWin=0x80d7b08) at compwindow.c:299 
        pScreen = 0x80cb8c8 
        cs = 0x80d2af0 
        ret = 1 
#4  0x0806f745 in InitRootWindow (pWin=0x80d7b08) at window.c:512 
        pScreen = 0x80cb8c8 
#5  0x0806913a in main (argc=2, argv=0xbffff874, envp=0xbffff880) at 
        i = 1 
        j = 135101192 
        k = 0 
        error = 134902491 
        xauthfile = 0x80d7b08 "" 
        alwaysCheckForInput = {0, 1} 
Here's where it goes wrong: 
#0  compCheckWindow (pWin=0x80d7b08, data=0x0) at compwindow.c:36 
33      compCheckWindow (WindowPtr pWin, pointer data) 
34      { 
35          ScreenPtr   pScreen = pWin->drawable.pScreen; 
36          PixmapPtr   pWinPixmap = (*pScreen->GetWindowPixmap) (pWin); 
37          PixmapPtr   pParentPixmap = pWin->parent ? 
(*pScreen->GetWindowPixmap) (pWin->parent) : 0; 
38          PixmapPtr   pScreenPixmap = (*pScreen->GetScreenPixmap) (pScreen); 
On line 36 here, pScreen->GetWindowPixmap is NULL. 
Hope this is useful to you. 
Comment 1 Chris Lee 2005-07-06 20:18:23 UTC
This bug hasn't seen any activity, ever, and it claims to be about Xnest on 
Comment 2 freedesktop.org 2005-07-13 04:52:29 UTC
It's about running Xnest from the xserver (kdrive or whatever it's called) tree 
on an xfree86 server. This has nothing to do with x.org - I really don't know 
why it was moved from product xserver to product xorg. 
Comment 3 Alan Coopersmith 2005-07-13 05:54:37 UTC
A lot of bugs were misfiled under Xserver when they were really against the Xorg
monolithic tree - this appeared to be one, which is why I moved it.   Since I was
wrong, I'll move it back, but I don't know that anyone's maintaining Xnest in the
Xserver tree.
Comment 4 Adam Jackson 2005-10-03 18:15:44 UTC
the xnest in keith's xserver module is unsupported.

the xnest in xorg won't have this problem anyway, since it's smart enough to not
enable the Composite extension.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.