Subject: | crash in XS_GSSAPI__OID_DESTROY: pointer being freed was not allocated |
Attempting to use LWP::UserAgent to talk to a server accepting Kerberos credentials. A valid
kerberos ticket exists during the transaction.
an example of how I'm using LWP::UserAgent:
my $agent = LWP::UserAgent->new( 'default_headers' => $headers );
my $response = $agent->put( "$BaseURL/$url", 'Content' => $$bodyDataRef );
The script crashes during negotiation:
LWP::Authen::Negotiate::authenticate: authenticate() version 0.08 called
LWP::Authen::Negotiate::authenticate: target hostname example.com
perl(52714) malloc: *** error for object 0x7fff8e9c350d: pointer being freed was not
allocated
*** set a breakpoint in malloc_error_break to debug
Full crash log attached.
For the most part, this authentication worked fine when I was trying to use WWW::Curl::Easy:
$curl->setopt(CURLOPT_URL, "$BaseURL/$url");
$curl->setopt(CURLOPT_CUSTOMREQUEST, $method);
$curl->setopt(CURLOPT_HTTPHEADER, $headersRef);
$curl->setopt(CURLOPT_SSL_VERIFYHOST, 1);
$curl->setopt(CURLOPT_USERPWD, "$Username:");
$curl->setopt(CURLOPT_HTTPAUTH, CURLAUTH_GSSNEGOTIATE);
$curl->setopt(CURLOPT_WRITEDATA, \$responseObject);
my $ret = $curl->perform();
Mostly stock Mac OS X 10.8.2
perl v5.12.4
LWP::Authen::Negotiate v0.08
LWP v6.04
Mozilla::CA v20130114
WWW::Curl v4.15
Subject: | perl5.12_2013-02-05-114216_aegir.crash |
Message body not shown because it is not plain text.