How to get 'TRACE' build?

2011-01-11 Thread Bernhard Thalmayr
Hi experts, https://developer.mozilla.org/en/NSS_reference/NSS_environment_variables tells me that I have to build NSS/NSPR with 'TRACE'. Unfortunatley I have not found how to make this build work. I've already search the archive and the code but without success. TIA, Bernhard -- dev-tech-cry

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-11 Thread Robert Relyea
On 01/11/2011 12:51 PM, Bernhard Thalmayr wrote: > Hi Wan-Teh, > > thanks for your reply. > > Will it be helpfull to use the 'PKCS #11 Module Logger' before > starting with 'printfs'? > > I tried that and get at least some output in the specified log. > > -Bernhard > yes, that will tell you which P

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-11 Thread Bernhard Thalmayr
Hi Wan-Teh, thanks for your reply. Will it be helpfull to use the 'PKCS #11 Module Logger' before starting with 'printfs'? I tried that and get at least some output in the specified log. -Bernhard On 01/11/2011 08:28 PM, Wan-Teh Chang wrote: Hi Bernhard, The best way to debug this is to

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-11 Thread Wan-Teh Chang
Hi Bernhard, The best way to debug this is to find out where NSS's internal PKCS #11 module sets the error code CKR_DEVICE_ERROR. Unfortunately there are a lot of possible places (all the files in the mozilla/security/nss/lib/softoken directory): http://mxr.mozilla.org/security/ident?i=CKR_DEVICE

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-11 Thread Bernhard Thalmayr
On 01/11/2011 06:13 PM, Honza Bambas wrote: On 1/11/2011 5:36 PM, Bernhard Thalmayr wrote: Hi experts, I have apache httpd running with a shared lib using NSS/NSPR. The lib talks to an SSL enabled server using PR_WRITE. Occasionally PR_WRITE returns error '-8023'. OS is CentOS 5.5 64bit. NSS:

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-11 Thread Bernhard Thalmayr
Thanks for the hints Dennis, unfortunately the server is running remotely ... inaccessible for debugging. Do you know why 'ltrace' does not work when using '-p'? Thanks, Bernhard On 01/11/2011 06:08 PM, John Dennis wrote: On 01/11/2011 11:36 AM, Bernhard Thalmayr wrote: Hi experts, I hav

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-11 Thread Honza Bambas
On 1/11/2011 5:36 PM, Bernhard Thalmayr wrote: Hi experts, I have apache httpd running with a shared lib using NSS/NSPR. The lib talks to an SSL enabled server using PR_WRITE. Occasionally PR_WRITE returns error '-8023'. OS is CentOS 5.5 64bit. NSS: @(#)NSS 3.12.5.0 Aug 3 2010 17:15:02 NSP

Re: NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-11 Thread John Dennis
On 01/11/2011 11:36 AM, Bernhard Thalmayr wrote: Hi experts, I have apache httpd running with a shared lib using NSS/NSPR. The lib talks to an SSL enabled server using PR_WRITE. Occasionally PR_WRITE returns error '-8023'. OS is CentOS 5.5 64bit. NSS: @(#)NSS 3.12.5.0 Aug 3 2010 17:15:02 NSP

NSS 3.12.5: Error '-8023' ... how to track it down?

2011-01-11 Thread Bernhard Thalmayr
Hi experts, I have apache httpd running with a shared lib using NSS/NSPR. The lib talks to an SSL enabled server using PR_WRITE. Occasionally PR_WRITE returns error '-8023'. OS is CentOS 5.5 64bit. NSS: @(#)NSS 3.12.5.0 Aug 3 2010 17:15:02 NSPR: @(#)NSPR 4.8.2 2010-08-03 17:13:30 I've tri

Firefox PSM locks NSS

2011-01-11 Thread Irune Prado Alberdi
Hi! Firstly forgive me any mislearned NSS-related technical concepts, I'm new to this. I'm trying to access a NSS shareable database (3.1.2 with NSS_DEFAULT_DB_TYPE=sql) while having a Firefox NSS session already initialized over the pkcs11 module of my smartcard. My test is really simple but