Re: NSPR assertion failure

2009-05-13 Thread Glen Beasley
Glen Beasley wrote: hi, Looking at the bottom of this stack trace: J java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V J java.lang.ref.Finalizer.runFinalizer()V J java.lang.ref.Finalizer$FinalizerThread.run()V Called by the garbage collector on an object when garbage collec

Re: NSPR assertion failure

2009-05-13 Thread Glen Beasley
hi, Looking at the bottom of this stack trace: J java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V J java.lang.ref.Finalizer.runFinalizer()V J java.lang.ref.Finalizer$FinalizerThread.run()V Called by the garbage collector on an object when garbage collection determines that

Re: NSPR assertion failure

2009-05-13 Thread ksreedhar74
Hi Wan-Teh, Before I try to get the stack track using gdb on the core file, as I made it to crash with your suggested change, Java crashed with this error. Actually it also stack trace. Can you see anything from it. I appreciate your help. This is a must fix for us. # # An unexpected error has b

Re: NSPR assertion failure

2009-05-08 Thread Wan-Teh Chang
On Fri, May 8, 2009 at 12:58 PM, wrote: > Hi Wan-Teh, > > Before the crash, I get the output of "pthread_mutex_lock fails with > 22". > > So, rv value is 22. Can you figure out the something out of this. I remember you're using CentOS Linux, right? On Linux, errno 22 is EINVAL (invalid argument

Re: NSPR assertion failure

2009-05-08 Thread ksreedhar74
Hi Wan-Teh, Before the crash, I get the output of "pthread_mutex_lock fails with 22". So, rv value is 22. Can you figure out the something out of this. Thanks, Sreedhar On Apr 7, 5:19 pm, Wan-Teh Chang wrote: > On Fri, Mar 20, 2009 at 10:49 PM,   wrote: > > On Mar 20, 9:59 pm, ksreedha...@gmai

Re: NSPR assertion failure

2009-04-07 Thread Wan-Teh Chang
On Fri, Mar 20, 2009 at 10:49 PM, wrote: > On Mar 20, 9:59 pm, ksreedha...@gmail.com wrote: >> Hello, >> >> I am using JSS 4.2.5, NSS 3.11.4 and NSPR 4.6.4 >> >> Many times, my Java Server crashes with the following error. >> >> Assertion failure: 0 == rv, at ../../../../../nsprpub/pr/src/pthread

Re: NSPR assertion failure

2009-04-07 Thread Julien R Pierre - Sun Microsystems
Sreedhar, errno would be in your libc. Probably /usr/lib/libc.so or somethnig like that . rv is in libnspr4.so . But you need to be in the right frame and in the right thread in the debugger in order to be able to print it . Is your version of gdb handling threads properly ? I wonder because

Re: NSPR assertion failure

2009-04-07 Thread ksreedhar74
Hello Julien, When I tried to print the values for rv and errno, gdb complained saying No symbol for these variables in current context. I used symbol-file command with all the nspr libraries. and then ran the command core with the core file. Which library has these variables. What I did is, (

Re: NSPR assertion failure

2009-03-26 Thread Julien R Pierre - Sun Microsystems
Hi, ksreedha...@gmail.com wrote: Hi Julien, I am running this on CentOS 5. This is part of the Java Server. Where should I see the core file. I didn't find one. I searched entire file system for the core What would be the file name. I know nothing about CentOS - I had never even heard of it

Re: NSPR assertion failure

2009-03-25 Thread Kyle Hamilton
I wish OS vendors would realize that we need core files to debug this stuff. :( (Which is the entire reason why the facility exists, actually -- to figure out why programs crash.) The way to get a core file is to execute 'ulimit -c unlimited' before executing the program. Once the program crashe

Re: NSPR assertion failure

2009-03-25 Thread ksreedhar74
Hi Julien, I am running this on CentOS 5. This is part of the Java Server. Where should I see the core file. I didn't find one. I searched entire file system for the core What would be the file name. Thanks, Sreedhar On Mar 23, 3:41 pm, Julien R Pierre - Sun Microsystems wrote: > Sreedhar, > >

Re: NSPR assertion failure

2009-03-23 Thread Julien R Pierre - Sun Microsystems
Sreedhar, This is an assertion on a pthread_mutex_lock failure . What operating system and version are you running your application on ? Using a debugger, can you print the value of rv and errno from your core file when you get this assertion ? On Solaris 10, the possible error codes are EAG

Re: NSPR assertion failure

2009-03-20 Thread ksreedhar74
On Mar 20, 9:59 pm, ksreedha...@gmail.com wrote: > Hello, > > I am using JSS 4.2.5, NSS 3.11.4 and NSPR 4.6.4 > > Many times, my Java Server crashes with the following error. > > Assertion failure: 0 == rv, at ../../../../../nsprpub/pr/src/pthreads/ > ptsynch.c:207 > > Is there any solution to this

NSPR assertion failure

2009-03-20 Thread ksreedhar74
Hello, I am using JSS 4.2.5, NSS 3.11.4 and NSPR 4.6.4 Many times, my Java Server crashes with the following error. Assertion failure: 0 == rv, at ../../../../../nsprpub/pr/src/pthreads/ ptsynch.c:207 Is there any solution to this. Thanks, Sreedhar -- dev-tech-crypto mailing list dev-tech-cry