[Pkg-openssl-devel] Bug#670581: Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze
Andris Kalnozols
andris at hpl.hp.com
Sat Apr 28 00:42:07 UTC 2012
On 4/27/2012 4:11 PM, Kurt Roeckx wrote:
> header and hdlen from frame 1 would be nice.
>
> Could you also install the libssl0.9.8-dbg package? You'll get
> debug symbols then.
>
I'm not a real pro with the debugger. After installing the `dbg'
package, is
this all that's needed?:
gdb /usr/sbin/ntpd
Reading symbols from /usr/sbin/ntpd...done.
(gdb) add-symbol-file /usr/lib/debug/usr/lib/libcrypto.so.0.9.8
The address where /usr/lib/debug/usr/lib/libcrypto.so.0.9.8 has been
loaded is missing
This doesn't seem like it would work. I could be wrong.
This doesn't work either:
clepsydra# export LD_LIBRARY_PATH=/usr/lib/debug/usr/lib:/usr/lib
clepsydra# ldd /usr/sbin/ntpd
/usr/bin/ldd: line 118: 30380 Segmentation fault (core dumped)
LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW=
LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$@"
Modifying the Makefile to link ntpd using libcrypto in
/usr/lib/debug/usr/lib
required me to also install the zlib1g-dbg package to resolve some
missing symbols.
Like the attempted LD_LIBRARY_PATH hack, this also segfaulted when
starting ntpd.
Help.
------
Andris
More information about the Pkg-openssl-devel
mailing list