From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26550 invoked from network); 21 Apr 1998 12:06:13 -0000 Received: from mail11.voicenet.com (HELO voicenet.com) (207.103.0.37) by mail2.redhat.com with SMTP; 21 Apr 1998 12:06:13 -0000 Received: (qmail 78 invoked from network); 21 Apr 1998 12:06:11 -0000 Received: from rotary930-pri.voicenet.com (HELO voicenet.com) (209.71.52.30) by mail11.voicenet.com with SMTP; 21 Apr 1998 12:06:11 -0000 Message-ID: <353C7F16.11A14FB@voicenet.com> Date: Tue, 21 Apr 1998 07:12:23 -0400 From: Uncle George Organization: None Avail X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Debugging X server References: <353B3185.9C825092@voicenet.com> <353C4BB4.3D8DC12C@paralleldata.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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