On Sun, 2 Dec 2007, Tam Wei Xiang wrote:

> Hi all,
>
> Could I know what is the library libc_psr.so.1 use for?

Platform-specific optimized routines from libc. That's things like the 
str*() and mem*() functions or bcopy()/bzero(), tuned to the CPU you're 
running on.
Unless you disable it by environment variable (LD_NOAUXFLTR, I think), 
these will be automatically loaded during libc`_init when your 
applications initialize.

> I observes the following stack trace after invoking the java Thread.start(); 
> Any idea? is the JVM trying to get the memory allocation from the Solaris OS?

If you crash in memset(), it's usually because you try to access unmapped 
memory - i.e. an invalid/NULL pointer.
That shouldn't be specific to libc_psr, but if you want to make 100% sure 
of that then try starting this app after setting LD_NOAUXFLTR=1 in your 
shell. See ld.so.1(1) manpage.

FrankH.

>
> I have Solaris 10 installed in my box.
>
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
> code)
> C  [libc_psr.so.1+0x9f0]  _memset+0x70
> C  [libc.so.1+0xbcc94]
> C  [libc.so.1+0xbcf3c]  _thr_create+0x34
> V  [libjvm.so+0x2d1fac]
> V  [libjvm.so+0x2df2dc]
> J  java.lang.Thread.start0()V
> J  org.jboss.mq.il.uil2.SocketManager$ReadTask.run()V
> v  ~OSRAdapter
> j  java.lang.Thread.run()V+11
> v  ~StubRoutines::call_stub
> V  [libjvm.so+0x19a09c]
> V  [libjvm.so+0x2c0164]
> V  [libjvm.so+0x2df750]
> V  [libjvm.so+0x2db2ec]
> V  [libjvm.so+0x671a08]
>
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> J  java.lang.Thread.start0()V
> J  org.jboss.mq.il.uil2.SocketManager$ReadTask.run()V
> v  ~OSRAdapter
> j  java.lang.Thread.run()V+11
> v  ~StubRoutines::call_stub
>
>
> Thanks
>
>
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-code mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
>

------------------------------------------------------------------------------
No good can come from selling your freedom, not for all the gold in the world,
for the value of this heavenly gift far exceeds that of any fortune on earth.
------------------------------------------------------------------------------
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to