From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b0653da62f4a2026 X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: Unaligned access pid=7579 va=0x3ff800dd634 pc=0x120022a64 ra=0x120022a40 inst=0x8c220000 Date: 1998/08/31 Message-ID: <6sd24v$tua$1@node2.nodak.edu>#1/1 X-Deja-AN: 386302401 References: <6s1g8p$lk0$1@nnrp1.dejanews.com> Organization: North Dakota Higher Education Computing Network (NDHECN) Newsgroups: comp.unix.osf.osf1 In article <6s1g8p$lk0$1@nnrp1.dejanews.com>, wrote: > I am having the following problem with a multithreaded application compiled > with GNU C++ under DU4.0d. I have read the FAQ page, and know what the > problem is but does any one have a suggestion on how to track this down. > > Unaligned access pid=7579 va=0x3ff800dd634 pc=0x120022a64 > ra=0x120022a40 inst=0x8c220000 > Segmentation fault (core dumped) Rudi- I believe the FAQ mentions an approach you can take. Essentially, you use `uac' to change the default unaligned access behavior from one of just `print' to one that also causes a bus error signal to be delivered. Then just run your application under a debugger like gdb or ladebug. When the unaligned access occurs, the debugger should catch the signal and you should be able to pin down where the unaligned access is coming from. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164