Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: Debugging X server
Date: Tue, 21 Apr 1998 07:12:23 -0400	[thread overview]
Message-ID: <353C7F16.11A14FB@voicenet.com> (raw)
In-Reply-To: 353C4BB4.3D8DC12C@paralleldata.com

have u looked at the addr in stuff? if the last hex digit is not a 0 of 8, u are
probably dying of an alignment fault.
gat

Wes Bauske wrote:

> Uncle George wrote:
>
> > if my java junk ran outta mem, then java et al would die a horrible death,
> > courtesy of the os.
> > since X is fed up, as it gives up on the first sig 11, have to see why its
> > fed up.
> >
> > u mean a real serial line, with a serial terminal - gee how quaint    :-))))
> > havent seen my LSI ADM3 in a real long time.
> > gat
> >
>
> I think it's easier to just start X as you normally do. Then, telnet in from
> another system and use gdb to attach to the X process. Tell gdb to
> then continue running the program and go back to your system and
> cause the error. Everything should die but if you go back to the gdb
> session on the other screen, you'll have the info you need. I did it
> for the 20 windows problem and it worked. I downloaded the latest
> Xserver code (3.3.2) and built it with '-g' added to the compile
> flags to see if it's possible to trace where that problem goes belly
> up in the X server. The SIGSEGV is at:
>
> ProcChangeSaveSet(), at dispatch.c:473
>
>     465     pWin = (WindowPtr)SecurityLookupWindow(stuff->window, client,
>     466                                            SecurityReadAccess);
>     467     if (!pWin)
>     468         return(BadWindow);
>     469     if (client->clientAsMask == (CLIENT_BITS(pWin->drawable.id)))
>     470         return BadMatch;
>     471     if ((stuff->mode == SetModeInsert) || (stuff->mode ==
> SetModeDelete))
>     472     {
>     473         result = AlterSaveSetForClient(client, pWin, stuff->mode);
> <---- Near here!!!
>     474         if (client->noClientException != Success)
>     475             return(client->noClientException);
>     476         else
>     477             return(result);
>     478     }
>     479     else
>     480     {
>     481         client->errorValue = stuff->mode;
>     482         return( BadValue );
>     483     }
>
> Haven't figured out exactly what broke yet but at least I know
> where to look. If anyone else knows more about the X servers,
> maybe they could also look at this area to see what might be
> wrong. One other thing. The binary with '-g' on all source is
> about 17MB so you need a system with lots of memory to
> do this for the full server source.
>
> > Alan Cox wrote:
> >
> > > > my X setver XF86_SVGA for the alpha port gets sig 11 when i run 2 java
> > > > applications. I'm fed up.
> > >
> > > > HOW DOES ONE DEBUG THE X SERVER????
> > >
> > > Compile it with -g and run it under gdb from a serial line.
> > >
> > > Are you sure the java junk isnt just running you out of virtual memory.
> > >
> > > Alan
>
> Wes
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com






  reply	other threads:[~1998-04-21 12:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m0yRCNo-000aNhC@the-village.bc.nu>
1998-04-20 11:29 ` Debugging X server Uncle George
1998-04-21  7:33   ` Wes Bauske
1998-04-21 11:12     ` Uncle George [this message]
1998-04-20  2:12 Uncle George
1998-04-20  3:35 ` Christopher Curtis
1998-04-20  5:06 ` adisaacs
1998-04-20  7:24   ` Harald Koenig
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox