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 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 tried 'ltrace' to trace the NSS/NSPR library calls but without
success ... 'ltrace' does not show anything.
AFAIH understood the source '-8023' could be
'SEC_ERROR_PKCS11_DEVICE_ERROR' or 'CKR_DEVICE_ERROR'.
There's no other PKCS11 module involved but the internal one.
How can I track down this issue?
Install the debugging symbols and source code for nss and nspr
yum install nss-debuginfo nspr-debuginfo
Then run the process under gdb or attach gdb to a running process and
set a break point on PR_SetError, you will probably need to issue this
gdb command (or put it in a .gdbinit file):
set breakpoint pending on
You should break in the debugger with full source code when an error is
set, you can then look around to see why.
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto