From: Chakresh <sig...@hy...> - 2010-02-23 18:14:26
|
Hi Doug Update - running test command on sigar.jar with s390x.so gave the output but it crashed immediately after that (the target server is a 64-bit machine). A snanpshot of javacore file "3XMTHREADINFO "main" (TID:0x0000000080032800, sys_thread_t:0x000000008001B030, state:R, native ID:0x0000000000004A99) prio=5 4XESTACKTRACE at org/hyperic/sigar/Sigar.nativeClose(Native Method) 4XESTACKTRACE at org/hyperic/sigar/Sigar.close(Sigar.java:229) 4XESTACKTRACE at org/hyperic/sigar/cmd/Shell.shutdown(Shell.java:196) 4XESTACKTRACE at org/hyperic/sigar/cmd/Shell.main(Shell.java:230) 4XESTACKTRACE at sun/reflect/NativeMethodAccessorImpl.invoke0(Native Method) 4XESTACKTRACE at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp l.java:79)" Also (as in previous post) there is a segmentation error and inaccessible memory address. I tried running 31-bit sigar files on this server and they run fine. Looks like it could be a machine configuration issue. Talked to IBM support and they recommend using the -fPIC flag for compilation and linking and test it out. I am not well versed with build configuration , so can you help me out where i can specify the flags for building sigar files. Thanks Chakresh |