Hi Massimiliano,
thanks for debugging request, here's the backtrace.
I hope it helps. :-)
Greetings
-Achim
Massimiliano Pala writes:
> Hi Joachim,
>
> could you run the OCSPD in a debugger:
>
> $ cd /opt/ocspd <---- I assume the OCSP is installed here
> $ sudo gdb sbin/ocspd
> gdb> set args -c etc/ocspd/ocspd.xml
> gdb> run
> ...
>
> bombard the OCSPD with a lot of requests... and when the OCSPD dies, do
> the following:
>
> $ backtrace
>
> this will print out the stack at the moment of the failure - this should
> help me in finding where the issue is.
>
> Let me know,
> Max
>
>
> On 07/07/2011 07:21 AM, Joachim Astel wrote:
> > *** glibc detected *** /usr/local/ocspd/sbin/ocspd: free(): invalid
> > pointer: 0x00000000xxxxxxxx ***
>
> --
>
> http://member.acm.org/~openca/
>
> Massimiliano Pala, Ph.D.
> Director, OpenCA Labs
> Professor, NYU Poly
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Openca-Users mailing list
> Openca-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openca-users
Starting program: /usr/local/ocspd/sbin/ocspd -c etc/ocspd/ocspd.xml -v
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C
"debuginfo(build-id)=3D31d4dbbe49e777eb2dceeb2b6cb722d01a7b35dc"
Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C
"debuginfo(build-id)=3D1f39dc121cb7220d95ee27e00f745c2832346070"
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /lib64/librt.so.1
Try: zypper install -C
"debuginfo(build-id)=3D81a3a96c7c0bc95cb4aa5b29702689cf324a7fcd"
Missing separate debuginfo for /usr/lib64/libssl.so.0.9.8
Try: zypper install -C
"debuginfo(build-id)=3D39846c5a1c786b8d1300d96462282f6ab8281c94"
Missing separate debuginfo for /usr/lib64/libcrypto.so.0.9.8
Try: zypper install -C
"debuginfo(build-id)=3D41d9e215d84d263d59c3e57411787483f49e2845"
Missing separate debuginfo for /usr/lib64/libxml2.so.2
Try: zypper install -C
"debuginfo(build-id)=3Ddee71e834b0984411a0d6ce945f001871a0c04fa"
Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C
"debuginfo(build-id)=3Dfbb2084bce1dd7adc76d9ef90319cf89b601db94"
Missing separate debuginfo for /lib64/libz.so.1
Try: zypper install -C
"debuginfo(build-id)=3D4c05d1eb180f9c02b81a0c559c813dada91e0ca4"
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C
"debuginfo(build-id)=3D365e4d2c812908177265c8223f222a1665fe1035"
Missing separate debuginfo for /lib64/libnsl.so.1
Try: zypper install -C
"debuginfo(build-id)=3D0123772e96348483f94d1ef0b1568413f40e7e2a"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=3D609a6e344dfdc723c6c768cae37c3d91373a731b"
OpenCA's OCSP Responder - v2.1.1
(c) 2002-2009 by Massimiliano Pala and OpenCA Project
OpenCA licensed software
[New Thread 0x7fd6cbf6c710 (LWP 13631)]
[New Thread 0x7fd6cb76b710 (LWP 13633)]
[New Thread 0x7fd6caf6a710 (LWP 13634)]
[New Thread 0x7fd6ca769710 (LWP 13635)]
[New Thread 0x7fd6c9f68710 (LWP 13636)]
[New Thread 0x7fd6c9767710 (LWP 13637)]
[New Thread 0x7fd6c8f66710 (LWP 13638)]
[New Thread 0x7fd6c8765710 (LWP 13639)]
[New Thread 0x7fd6c7f64710 (LWP 13640)]
[New Thread 0x7fd6c7763710 (LWP 13641)]
*** glibc detected *** /usr/local/ocspd/sbin/ocspd: double free or
corruption (out): 0x0000000090aa4500 ***
^C
Program received signal SIGINT, Interrupt.
0x00007fd6cc04e9ae in __lll_lock_wait_private () from /lib64/libc.so.6
(gdb) backtrace
#0 0x00007fd6cc04e9ae in __lll_lock_wait_private () from /lib64/libc.so.6
#1 0x00007fd6cbfe8c93 in _L_lock_9971 () from /lib64/libc.so.6
#2 0x00007fd6cbfe7169 in malloc () from /lib64/libc.so.6
#3 0x00007fd6cbfdb0f8 in open_memstream () from /lib64/libc.so.6
#4 0x00007fd6cc03db58 in __vsyslog_chk () from /lib64/libc.so.6
#5 0x00007fd6cc03e1e0 in syslog () from /lib64/libc.so.6
#6 0x0000000000407d21 in auto_crl_check (sig=3D<value optimized out>) at
crl.c:323
#7 <signal handler called>
#8 0x00007fd6cc04e9ac in __lll_lock_wait_private () from /lib64/libc.so.6
#9 0x00007fd6cbfe8c93 in _L_lock_9971 () from /lib64/libc.so.6
#10 0x00007fd6cbfe7169 in malloc () from /lib64/libc.so.6
#11 0x00007fd6cbfdb0f8 in open_memstream () from /lib64/libc.so.6
#12 0x00007fd6cc03db58 in __vsyslog_chk () from /lib64/libc.so.6
#13 0x00007fd6cd8cfc28 in PKI_log (level=3D4, fmt=3D0x408385
"CORE::Connection from [%s]\n") at pki_log.c:212
#14 0x00000000004048ca in start_threaded_server (ocspd_conf=3D0x633d30) at
core.c:178
#15 0x0000000000403fdb in main (argc=3D0, argv=3D0x7fff75589390) at ocspd.c:171
(gdb)
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Openca-Users mailing list
Openca-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-users