<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
<meta name="GENERATOR" content="MSHTML 8.00.7600.16912">
</head>
<body ocsi="x">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: x-small">
<div></div>
<div>
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: x-small">
<div></div>
<p><font color="#000000" size="2" face="Tahoma">Package: libssl0.9.8<br>
Version: 0.9.8o-4squeeze5<br>
Severity: high<br>
Tags: patch<br>
<br>
 <br>
<br>
In amd64 machine while developing applications using gsoap(2.7.10) i am observing a crash. This crash happens when i try to enable ssl.<br>
Not only with gsoap but also in any application which try to use https by linking against /usr/lib/libcrypto.so.0.9.8 this sort of crash happens.<br>
<br>
But if I download the source code from debian site(openssl) , revert the <strong>
debian patch patches/no-symbolic.patch</strong>   and build libcrypto.so library this crash is not happening.<br>
<br>
<br>
contents of the <strong><u>patches/no-symbolic.patch</u></strong>   (If I revert this patch my application is running fine)<br>
Index: openssl-0.9.8k/Makefile.shared<br>
===================================================================<br>
--- openssl-0.9.8k.orig/Makefile.shared 2009-07-19 11:35:02.000000000 +0200<br>
+++ openssl-0.9.8k/Makefile.shared      2009-07-19 11:35:48.000000000 +0200<br>
@@ -149,7 +149,7 @@<br>
        SHLIB_SUFFIX=; \<br>
        ALLSYMSFLAGS='-Wl,--whole-archive'; \<br>
        NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \<br>
-       SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"<br>
+       SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"<br>
 DO_GNU_APP=LDFLAGS="$(CFLAGS)"<br>
<br>
<br>
<strong><u>Core dump for the crash<br>
</u></strong>Program terminated with signal 6, Aborted.<br>
#0  0x00007f907278f165 in raise () from /lib/libc.so.6<br>
(gdb) bt<br>
#0  0x00007f907278f165 in raise () from /lib/libc.so.6<br>
#1  0x00007f9072791f70 in abort () from /lib/libc.so.6<br>
#2  0x00007f90727c527b in ?? () from /lib/libc.so.6<br>
#3  0x00007f90727cead6 in ?? () from /lib/libc.so.6<br>
#4  0x00007f90727d384c in free () from /lib/libc.so.6<br>
#5  0x00007f906f435b2d in CRYPTO_free () from /usr/lib/libcrypto.so.0.9.8<br>
#6  0x00007f906f499ec0 in EVP_MD_CTX_cleanup () from /usr/lib/libcrypto.so.0.9.8<br>
#7  0x00007f906f77fe3c in ssl3_free () from /usr/lib/libssl.so.0.9.8<br>
#8  0x00007f906f794120 in SSL_free () from /usr/lib/libssl.so.0.9.8<br>
#9  0x00007f90734f3344 in tcp_disconnect (soap=0x6977c0) at stdsoap2_ssl_cpp.cpp:4639<br>
#10 0x00007f90734f357a in soap_closesock (soap=0x6977c0) at stdsoap2_ssl_cpp.cpp:4684<br>
<br>
<br>
SuggestedFix :  </font><font color="#000000" size="2" face="Tahoma"><font face="tahoma">remove
<strong><u>patches/no-symbolic.patch</u></strong> </font></p>
<p><br>
 </font><font color="#000000" size="2" face="Tahoma"><br>
-- System Information:<br>
<br>
Debian Release: 6.0.3<br>
<br>
APT prefers stable-updates<br>
<br>
APT policy: (500, 'stable-updates'), (500, 'stable')<br>
<br>
Architecture: amd64<br>
<br>
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)<br>
<br>
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)<br>
<br>
Shell: /bin/sh linked to /bin/dash<br>
<br>
Versions of packages libssl0.9.8 depends on:<br>
<br>
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management system<br>
<br>
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib<br>
<br>
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime<br>
<br>
libssl0.9.8 recommends no packages.<br>
<br>
libssl0.9.8 suggests no packages.<br>
</font></p>
<p><font color="#000000" size="2" face="Tahoma"><font face="tahoma"></font></font> </p>
<p><font color="#000000" size="2" face="Tahoma"><font face="tahoma">Thanks,</font></font></p>
<p><font color="#000000" size="2" face="Tahoma"><font face="tahoma"> Gireesh Kumar G A</font></p>
<p><br>
</p>
</font></div>
</div>
</div>
</body>
</html>