LD_PRELOAD librtc.so cause of jvm application crash
The setup we have is the following:
1/ an application with an api
2/ our code attached to the app via the api
In order to use the SUNWspro runtime checking, we try to set LD_PRELOAD to /opt/SUNWspro/lib/librtc.so before launching the parent process (ie the app). The idea is to attach to that process, execute our code and watch the memory.
However, defining LD_PRELOAD causes our application to fail. The login screen cannot be opened.
The hs_err logfile from the JVM complains about some __memset failure from the librtc.so
Anyone has any experience with this stuff? (using LD_PRELOAD for an app with a java based gui to do memory profiling on a c++ extension via the app's api?)
Thanks a lot.

