From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bdb322406234e91e X-Google-Attributes: gidfee84,public From: Charles M Richmond Subject: Re: x/motif app crashes system--why? Date: 1998/03/22 Message-ID: <35151C93.A20EC400@iisc.com>#1/1 X-Deja-AN: 336524970 Content-Transfer-Encoding: 7bit References: <6f1ob8$caj@usenet.srv.cis.pitt.edu> To: kaf1+@pitt.edu Content-Type: text/plain; charset=iso-2022-jp Organization: Integrated International Systems Corp. Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Kathleen A Ferraro wrote: > > Several times an an application running on my server has crashed, > bringing my alpha 2100 server down with it. When this has occurred, > the only way we have been able to reboot the server was by flipping > the switch off and on. > > The last time this occurred, I noted the following error message: > > omedsrvc.omed.pitt.edu> Unaligned access pid=1375 > va=1402e5409 pc=3ff80338 > 2ec ra=3ff803382e0 type=ldq > > [1] Segmentation fault ./pbl (core dumped) > > Can anyone give me an idea of what is happening here and how to fix it? > My assumption is that "pbl" is the powerbuilder library, but it doesn't really matter to the analysis. 2nd assumption - the machine did not crash and is probably not really hung. If the machine had crashed, your logs would have more info than you have listed here and you probably would not have had to cycle power. Just in case: Look in /var/adm/crash/ for recent crash data. To test whether the machine is 'hung' try logging into it across the net, pinging it, and try being very patient while waiting for keystrokes to echo. The machine could have a very greedy process and be spinning madly, but there is a real and useful difference between that and a real system hang. Your "Unaligned access" is probably only indirectly related to the SEGV. Thus whoever was writing the bad code that results in the "Unaligned access", probably put in a null pointer dereference too. Find the pbl corefile, run dbx and use the 'where' cmd within dbx to nail down which routine the SEGV occurred in. Your next steps depend on what you find and how comfortable you feel digging into the problem. A couple of references that might be useful to you are in the Digital Unix Doc set: "Kernel Debugging" and "System Tuning and Performance Management" Email me if you like. Charlie -- *********************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net * * UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W * * One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 * * (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 * ***********************************************************************