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: koehler@bessta.gsfc.nasa.aspm.gov (Bob Koehler) Subject: Re: Unaligned access pid=7579 va=0x3ff800dd634 pc=0x120022a64 ra=0x120022a40 inst=0x8c220000 Date: 1998/08/27 Message-ID: <6s3o75$85c@post.gsfc.nasa.gov>#1/1 X-Deja-AN: 385276319 Distribution: world References: <6s1g8p$lk0$1@nnrp1.dejanews.com> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Reply-To: koehler@bessta.gsfc.nasa.aspm.gov Newsgroups: comp.unix.osf.osf1 In article <6s1g8p$lk0$1@nnrp1.dejanews.com>, heitbaum@my-dejanews.com writes: >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 Unlike most UNIX I've used, on DU you can request a map from ld when you build the application, that will tell you which routine contains the instruction at 0x120022a64. Some compilers may help you find what instruction in that routine is causing the problem and what line of code is related to that instruction. Subtract the start address of the routine from the pc value to determine how far into the routine you are, then see if there's a compiler listing file capability, or an intermediate (.s) file which might help you find the instruction at that offset. More like other UNIX, you can probably use dbg or ladebug to read the core file and find the instruction. You may have trouble relating this to a line of code if the application was built without -g. ---------------------------------------------------------------------- Bob Koehler | Computer Sciences Corporation Hubble Space Telescope Payload | Federal Sector, Civil Group Flight Software Team | please remove ".aspm" when replying