From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c29e7edcb61373d1,start X-Google-Attributes: gidfee84,public From: WANGNICK Sebastian Subject: Hiprof problems Date: 1998/08/18 Message-ID: <35D98153.794B@eurocontrol.be>#1/1 X-Deja-AN: 382292754 Content-Transfer-Encoding: 7bit Organization: EUROCONTROL Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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 Wangnick 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.