Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Hiprof problems
@ 1998-08-18  4:00 WANGNICK Sebastian
  1998-08-20  4:00 ` John P Williams
  0 siblings, 1 reply; 2+ messages in thread
From: WANGNICK Sebastian @ 1998-08-18  4:00 UTC (permalink / raw)


Hello experts,

I'm currently trying to instrument our application with hiprof.
I'm working on OSF1 V3.2 62 alpha. The application uses pthreads.

I call atom as following: atom Workpackage6 -v -tool hiprof -env threads
-all -shlibdir hiprof.shlib -gp -toolargs="-calltime -dirname hiout
-textout -systime -sigdump USR1".

First issue: odump -D tells me SO_SUFFIX: .Workpackage6.hiprof.threads.
However, the 3.2G loader doesn't take this setting into account!
However, I can work around this by creating links to the original shared
library names and setting LD_LIBRARY_PATH accordingly (I watch the
proper libraries being used by setting _RLD_ARGS to -v).

Main issue: Somewhen during thread establishment (no detailed point in
time known yet) I get the message:
	Hiprof Panic: hacked stack back to nothing
What is this supposed to tell me? Also, it seems that after this message
sending USR1 doesn't generate the output files anymore? Finally, my
application SEGV's (and ladebug is totally confused with the core file).

If instrumented without -env threads the application runs fine (though
the figures are totally confusing due to the threads instructions being
attibuted wrongly).

Is anybody able to help me?

Regards,
Sebastian

PS: Maybe it's interesting to know that atom keeps claiming the
following (both with and without -env threads):
atom: Warning: Object 'Workpackage6' has old relocations, relink if
possible.  Continuing.
atom: Warning: Shared library '/usr/shlib/libutc.so' has very old
relocations, ignored.
atom: Warning: Shared library '/usr/lib/cmplrs/cxx/libcxx.so' has very
old relocations, ignored.
--
Dipl.-Inform. Sebastian <dot> Wangnick <at eurocontrol in be>
Office: Eurocontrol Maastricht UAC, Horsterweg 11, NL-6191RX Beek,
	Tel: +31-433661370, Fax: ~300
Spam email is reported to service providers. Report charge is $100.



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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-18  4:00 Hiprof problems WANGNICK Sebastian
1998-08-20  4:00 ` John P Williams

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