[Perlgssapi-developer] GSSAPI 0.28 fails tests on OS X 10.8
Brought to you by:
achimgrolms
From: Eugene H. <eho...@gm...> - 2013-09-16 15:35:23
|
Hi, I've just found a problem with LWP::Authen::Negotiate crashing and tracked it down to GSSAPI 0.28. The crash happens to be gss_release_oid called from OID.xs (in DESTROY) trying to release something that was not allocated. Settings breakpoint there before running `t/checkoids.t` reveals that `oid` variable contains oid equal to __SPNEGO_MECHTYPE_OID but it's pointer value is not equal to `&myspnego_oid_desc`. That's all I have for now. `make test` produces the following on my OS X 10.8 (64-bit). The malloc error is the problem I'm talking about, though it seems there are other checks that fail too: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1constants.t ..... ok t/2status.t ........ ok t/checkoids.t ...... 1/34 perl(52431) malloc: *** error for object 0x7fff8291f4ff: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug t/checkoids.t ...... All 34 subtests passed t/importnames.t .... ok t/indicatemechs.t .. 1/5 # Kerberos 5, SPNEGO t/indicatemechs.t .. ok t/inquire_cred.t ... 1/6 # Failed test '$cred1->inquire_cred($name, $lifetime, $cred_usage, $oidset' # at t/inquire_cred.t line 47. # inquire_cred() lifetime: 0 seconds # inquire_cred() credusage: 0 (GSS_C_BOTH) (in cleanup) oidset has no value. # Looks like you failed 1 test of 6. t/inquire_cred.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests t/pod.t ............ ok t/test.t ........... 1/13 # Failed test ' $str eq '{ 1 2 840 113554 1 2 1 1 }' ' # at t/test.t line 29. # got: '1 2 840 113554 1 2 1 1' # expected: '{ 1 2 840 113554 1 2 1 1 }' perl(52438) malloc: *** error for object 0x7fff8291f535: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug t/test.t ........... Failed 1/13 subtests t/zbugfixes.t ...... 1/3 # # # if you want to run tests that do a realworld *use* of your GSSAPI # start a kinit and try to run # # ./examples/getcred_hostbased.pl # t/zbugfixes.t ...... ok Test Summary Report ------------------- t/checkoids.t (Wstat: 6 Tests: 34 Failed: 0) Non-zero wait status: 6 t/inquire_cred.t (Wstat: 256 Tests: 6 Failed: 1) Failed test: 4 Non-zero exit status: 1 t/test.t (Wstat: 6 Tests: 13 Failed: 1) Failed test: 2 Non-zero wait status: 6 Files=9, Tests=152, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.37 cusr 0.05 csys = 0.48 CPU) Result: FAIL Failed 3/9 test programs. 2/152 subtests failed. make: *** [test_dynamic] Error 255 -- Eugene Homyakov <eho...@gm...> |