running Studio 11 collector/analyzer

we are trying to discover the cause of a memory leak that we have on our application. the application is Java application (WebLogic instance) which load some native libraries.

i installed the sun studio 11 on Solaris 5.8 sun4u sparc.

i installed the patches: 120761-02, 121023-01, 121023-02, 122135-02, 122142-01.

the collect command is invoked as follow:

collect -H on -j off -d /export/home/mpower/out/log -o yahav1.er -y 5 "$JAVA_HOME/bin/java" ...

when invoking the analyzer command or er_print command i get the follwing message:

er_print yahav1.er/

yahav1.er: Experiment has warnings, see header for details

when exmainnig the logs:

*** Collector Warning: application ran with a libthread version that may distort data; see collect(1) man page

*** Warning: experiment terminated abnormally

so i ssume that the current libthered has not debuginfo comiled with.

is it possible to just replace the current lbthread library or it should be installed as a patch?

is somebody got this message ever?

thanks

[1097 byte] By [yahav_biran] at [2007-11-26 11:03:52]
# 1

The libthread mesage concerns the use of /usr/lib/libthread, rather

than /usr/lib/lwp

It's not an issue of debug information -- the original libthread has

problems handling the profile signals, and can sometimes lose data

If you set LD_LIBRARY_PATH to /usr/lib/lwp:/usr/lib/lwp/64 it

will use what is called the alternate libthread, which is more reliable.

On Solaris 9 and later, the two libraries are the same (the reliable one).

That would not cause the abnormal termination -- might you have shut

down the WebLogic instance abnormally?

Marty Itzkowitz, project lead, Sun Studio Analyzer

martyitzkowitz at 2007-7-7 3:17:48 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
thanks, in the man page of collect, PROFILING MULTITHREADED APPLICATIONS. it is written very clear. so in the startManagedWeblogic.sh i added the the LD_Library_PATH to /usr/lib/lwp and it works.thanks againyahav
yahav_biran at 2007-7-7 3:17:48 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
There's also an article available: http://developers.sun.com/sunstudio/articles/weblogic.htmlwith more information specifically about weblogic profiling; it doesnot discuss 64-bit, though.Marty
martyitzkowitz at 2007-7-7 3:17:48 > top of Java-index,Development Tools,Solaris and Linux Development Tools...