This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 20 Oct 2004 17:02:53 +0200 (MEST)
- Subject: Re: Cygwin/X just now started to crash with Solaris app, 8bpp UPDATE
- References: <1098283868.a27ac5e0sebastianhaby@home.se>
- Reply-to: cygwin-xfree at cygwin dot com
On Wed, 20 Oct 2004, Sebastian wrote:
> Hello again!
> I've been doing debugging and testing the last two days, and things are weird ;)
>
> When running XWinEMU2 from gdb with mwm it both works and crashes.
> (run -ac -screen 0 1280 1024 -emulatepseudo)
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000ff in ?? ()
> (gdb) bt
> #0 0x000000ff in ?? ()
> #1 0x006974be in shadowPaintWindow ()
> #2 0x00493fd5 in miClearToBackground ()
> #3 0x00497caf in miSpriteClearToBackground ()
> #4 0x00409c83 in ProcClearToBackground ()
> #5 0x00428f93 in SProcClearToBackground ()
> #6 0x004078a2 in Dispatch ()
> #7 0x004014b1 in main ()
> (gdb)
>
> When running XWinDEBUG from inside gdb with fvwm2 it both works and crashes!
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000099 in ?? ()
> (gdb) bt
> #0 0x00000099 in ?? ()
> #1 0x007836a9 in shadowPaintWindow(pWindow=0x10372188, prgn=0x22eae0, what=0) at shadow.c:1294
static void
shadowPaintWindow(
WindowPtr pWindow,
RegionPtr prgn,
int what
){
ScreenPtr pScreen = pWindow->drawable.pScreen;
shadowScrPriv(pScreen);
if(what == PW_BACKGROUND) {
unwrap (pScrPriv, pScreen, PaintWindowBackground);
(*pScreen->PaintWindowBackground) (pWindow, prgn, what);
wrap (pScrPriv, pScreen, PaintWindowBackground, shadowPaintWindow);
} else {
unwrap (pScrPriv, pScreen, PaintWindowBorder);
(*pScreen->PaintWindowBorder) (pWindow, prgn, what);
wrap (pScrPriv, pScreen, PaintWindowBorder, shadowPaintWindow);
}
it seems pScreen is not initialized properly (most likely it is NULL). Don't
know how this can happen.
> From the dgb output I plan to start looking into the shadowPaintWindow () function as that function seem to be causing the following "0x000000ff in ??
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723