cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: abort trap: double-free bug in lib/ssluse.c:Curl_ossl_close() ???

From: Edward B. DREGER <eddy+public+spam_at_noc.everquick.net>
Date: Tue, 14 Aug 2007 13:16:18 +0000 (GMT)

Greetings all,

Once upon a time...

EBD> Date: Mon, 16 Apr 2007 15:24:07 +0000 (GMT)
EBD> From: "Edward B. DREGER" <eddy+public+spam_at_noc.everquick.net>
EBD> To: curl-library_at_cool.haxx.se
EBD> Message-ID: <Pine.LNX.4.62.0704161523290.4792_at_pop.ict1.everquick.net>

EBD> When PHP invokes cURL on an HTTPS URL, the result is
EBD>
EBD> php in free(): error: chunk is already free
EBD> Abort trap: 6

Daniel stepped me through a few email messages, and indicated that the
problem seemed non-libcurl, a conclusion with which I was coming to to
agree.

The problem was with libmysql. When MySQL switched from OpenSSL to
yaSSL, OpenSSL and yaSSL initially had symbol collisions. By linking
PHP statically with MySQL/yaSSL and cURL/OpenSSL, the two SSL libraries
were at odds with each other... but the problems showed at runtime, not
during linking.

problem: solved
libcurl: not at fault
guilty: namespace collisions between divergent SSL libraries
posted: for archive posterity, and in hopes someone finds this useful

HTH,
Eddy

--
Everquick Internet - http://www.everquick.net/
A division of Brotsman & Dreger, Inc. - http://www.brotsman.com/
Bandwidth, consulting, e-commerce, hosting, and network building
Phone: +1 785 865 5885 Lawrence and [inter]national
Phone: +1 316 794 8922 Wichita
________________________________________________________________________
DO NOT send mail to the following addresses:
davidc_at_brics.com -*- jfconmaapaq_at_intc.net -*- sam_at_everquick.net
Sending mail to spambait addresses is a great way to get blocked.
Ditto for broken OOO autoresponders and foolish AV software backscatter.
Received on 2007-08-14