Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Unaligned access pid=7579 <darxStoreServer> va=0x3ff800dd634 pc=0x120022a64 ra=0x120022a40 inst=0x8c220000
@ 1998-08-26  4:00 heitbaum
  1998-08-27  4:00 ` Bob Koehler
  1998-08-31  4:00 ` Tim Mooney
  0 siblings, 2 replies; 3+ messages in thread
From: heitbaum @ 1998-08-26  4:00 UTC (permalink / raw)


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 <darxStoreServer> va=0x3ff800dd634 pc=0x120022a64
ra=0x120022a40 inst=0x8c220000
Segmentation fault      (core dumped)

TIA

Rudi

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unaligned access pid=7579 <darxStoreServer> va=0x3ff800dd634 pc=0x120022a64 ra=0x120022a40 inst=0x8c220000
  1998-08-26  4:00 Unaligned access pid=7579 <darxStoreServer> va=0x3ff800dd634 pc=0x120022a64 ra=0x120022a40 inst=0x8c220000 heitbaum
@ 1998-08-27  4:00 ` Bob Koehler
  1998-08-31  4:00 ` Tim Mooney
  1 sibling, 0 replies; 3+ messages in thread
From: Bob Koehler @ 1998-08-27  4:00 UTC (permalink / raw)



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 <darxStoreServer> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unaligned access pid=7579 <darxStoreServer> va=0x3ff800dd634 pc=0x120022a64 ra=0x120022a40 inst=0x8c220000
  1998-08-26  4:00 Unaligned access pid=7579 <darxStoreServer> va=0x3ff800dd634 pc=0x120022a64 ra=0x120022a40 inst=0x8c220000 heitbaum
  1998-08-27  4:00 ` Bob Koehler
@ 1998-08-31  4:00 ` Tim Mooney
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Mooney @ 1998-08-31  4:00 UTC (permalink / raw)


In article <6s1g8p$lk0$1@nnrp1.dejanews.com>,
 <heitbaum@my-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 <darxStoreServer> 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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-08-31  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-26  4:00 Unaligned access pid=7579 <darxStoreServer> va=0x3ff800dd634 pc=0x120022a64 ra=0x120022a40 inst=0x8c220000 heitbaum
1998-08-27  4:00 ` Bob Koehler
1998-08-31  4:00 ` Tim Mooney

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