Thanks for the details John, much appreciated.
With debug version of nss I now see all symbols ...
Core was generated by `/usr/sbin/httpd.worker'.
Program terminated with signal 11, Segmentation fault.
#0 error_get_my_stack () at error.c:102
102 } else if( rv->header.count == rv->header.space &&
#0 error_get_my_stack () at error.c:102
#1 0x00007f61de302659 in nss_ClearErrorStack () at error.c:249
#2 0x00007f61de302489 in NSSArena_Destroy (arena=0x7f61d0095550) at
arena.c:453
#3 0x00007f61de30358c in nssList_Destroy (list=<value optimized out>)
at list.c
:133
#4 0x00007f61de2f9088 in remove_subject_entry (store=0x7f61d0078810,
cert=<valu
e optimized out>) at pkistore.c:279
#5 nssCertificateStore_RemoveCertLOCKED (store=0x7f61d0078810,
cert=<value opti
mized out>) at pkistore.c:303
#6 0x00007f61de2f4aab in nssCertificate_Destroy (c=0x7f61d0092a28) at
certifica
te.c:117
#7 0x00007f61de8124d0 in ssl_DestroySID (sid=0x7f61d0088f40) at
sslnonce.c:185
#8 0x00007f61de812a9e in ssl_FreeLockedSID (sid=0x7f61d0088f40) at
sslnonce.c:2
12
#9 ssl_FreeSID (sid=0x7f61d0088f40) at sslnonce.c:226
#10 0x00007f61de804453 in ssl3_HandleServerHello (ss=0x7f61d0089e80,
b=0x7f61d00
7c1b1 "-am-platform-site-id-list\"
value=\"07|02|03|04,04,05|02|03|04,02,01|02|0
3|04,03,06|02|03|04\"></Attribute>\n<Attribute
name=\"iplanet-am-naming-policy-u
rl\" value=\"%protocol://%host:%port%uri/policyservice"..., length=0) at
ssl3con
.c:5598
#11 0x00007f61de808520 in ssl3_HandleHandshakeMessage
(ss=0x7f61d0089e80, b=0x7f
61d007c164
"\003\001\325\275\261\031)$\025\245G\267\177\353$\262\320\226\300\060
\257\274L\306g\330\a\243\031\270&\"s\353
HN&7\372\221\330\005\336\340Vn\210\320\
363\r\322\311\307\a<\n \351\060\003;R\375\307\237\275", length=77) at
ssl3con.c:
9326
#12 0x00007f61de809c48 in ssl3_HandleHandshake (ss=0x7f61d0089e80,
cText=<value
optimized out>, databuf=0x7f61d008a218) at ssl3con.c:9467
#13 ssl3_HandleRecord (ss=0x7f61d0089e80, cText=<value optimized out>,
databuf=0
x7f61d008a218) at ssl3con.c:9897
#14 0x00007f61de80a727 in ssl3_GatherCompleteHandshake
(ss=0x7f61d0089e80, flags
=0) at ssl3gthr.c:361
#15 0x00007f61de80ced2 in ssl_GatherRecord1stHandshake
(ss=0x7f61d0089e80) at ss
lcon.c:1227
#16 0x00007f61de813135 in ssl_Do1stHandshake (ss=0x7f61d0089e80) at
sslsecur.c:1
20
#17 0x00007f61de814186 in ssl_SecureSend (ss=0x7f61d0089e80,
buf=0x7f61d009efd8
"POST /openam/authservice HTTP/1.0\r\n", len=35, flags=<value optimized
out>) at
sslsecur.c:1209
#18 0x00007f61de818722 in ssl_Write (fd=<value optimized out>,
buf=0x7f61d009efd
8, len=35) at sslsock.c:2132
#19 0x00007f61d61b886b in smi::Connection::sendData(char const*,
unsigned long)
.....
I already searched bugzilla, but did not find a related issue yet.
Unfortunatley I'm not too familiar with C, looking at 'error.c' does
this mean 'header' is null?
Thanks again,
Bernhard
Am 6/26/13 11:08 PM, schrieb John Dennis:
On 06/26/2013 04:59 PM, Bernhard Thalmayr wrote:
Hi experts, may I ask how I can find out where NSS dumps core?
gdb backtrace of the core (performed on the target machine) does not
show the symbols ..
Program terminated with signal 11, Segmentation fault.
#0 0x00007f61de302599 in ?? () from /usr/lib64/libnss3.so
#0 0x00007f61de302599 in ?? () from /usr/lib64/libnss3.so
#1 0x00007f61de302659 in ?? () from /usr/lib64/libnss3.so
#2 0x00007f61de302489 in ?? () from /usr/lib64/libnss3.so
#3 0x00007f61de30358c in ?? () from /usr/lib64/libnss3.so
#4 0x00007f61de2f9088 in ?? () from /usr/lib64/libnss3.so
#5 0x00007f61de2f4aab in ?? () from /usr/lib64/libnss3.so
#6 0x00007f61de8124d0 in ?? () from /usr/lib64/libssl3.so
#7 0x00007f61de812a9e in ?? () from /usr/lib64/libssl3.so
#8 0x00007f61de804453 in ?? () from /usr/lib64/libssl3.so
#9 0x00007f61de808520 in ?? () from /usr/lib64/libssl3.so
#10 0x00007f61de809c48 in ?? () from /usr/lib64/libssl3.so
#11 0x00007f61de80a727 in ?? () from /usr/lib64/libssl3.so
#12 0x00007f61de80ced2 in ?? () from /usr/lib64/libssl3.so
#13 0x00007f61de813135 in ?? () from /usr/lib64/libssl3.so
#14 0x00007f61de814186 in ?? () from /usr/lib64/libssl3.so
#15 0x00007f61de818722 in ?? () from /usr/lib64/libssl3.so
#16 0x00007f61d61b886b in smi::Connection::sendData(char const*,
unsigned long) () from /opt/apache22_agent/lib/libamapc22.so
Would it help to load the debug version of the libs?
You want to install the debug information package for nss. All debugging
info packages end in -debuginfo suffix. You need to have the debuginfo
repo enabled in your yum configuration file or use the enablerepo arg to
yum. Look in your yum configuration file to see the exact name on your
system.
On my system (F18) the command would be
% sudo yum --enablerepo updates-debuginfo install nss-debuginfo
-Or- when you fire up gdb it will give you a command to install the
necessary debug info, just copy the command and execute it in a shell.
John
--
Painstaking Minds
IT-Consulting Bernhard Thalmayr
Herxheimer Str. 5, 83620 Vagen (Munich area), Germany
Tel: +49 (0)8062 7769174
Mobile: +49 (0)176 55060699
bernhard.thalm...@painstakingminds.com - Solution Architect
http://www.xing.com/profile/Bernhard_Thalmayr
http://de.linkedin.com/in/bernhardthalmayr
This e-mail may contain confidential and/or privileged information.If
you are not the intended recipient (or have received this email in
error) please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto