On Wed, Feb 26, 2003 at 12:32:39PM +0100, Nikolay Pelov wrote:
> 
> The test script is supposed to be run interactively.

Running under CPANPLUS is a problem?

> If've changed it now so that it will actually die if
> it cannot find a tty or a username.
> Why it crashes on test 3, I've no idea.
> Can you test it by hand from the console and see what happens?

$ make test
PERL_DL_NONLAZY=1 /usr/local/perl/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..12
ok 1
---- The remaining tests will be run for service 'login', user 'kriegjcb' and
---- device '/dev/pts/24'.
ok 2
not ok 3
Segmentation Fault - core dumped
make: *** [test_dynamic] Error 139

(gdb) where
#0  0xff1b3310 in strlen () from /usr/lib/libc.so.1
#1  0x86110 in Perl_sv_setpv ()
#2  0xff103828 in XS_Authen__PAM_pam_get_item () from 
/net/sunu991/disc1/.cpanplus/5.8.0/build/Authen-PAM-0.14/blib/arch/auto/Authen/PAM/PAM.so
#3  0x7ec44 in Perl_pp_entersub ()
#4  0x76d20 in Perl_runops_standard ()
#5  0x27748 in S_run_body ()
#6  0x27370 in perl_run ()
#7  0x243b0 in main ()


Looks like someone passes a NULL pointer to strlen, doesn't it?

Any idea?

Jost
-- 
| [EMAIL PROTECTED]  Please help stamp out spam! |
| Postmaster, JAPH, resident answer machine          am RZ der RUB |
| Pluralitas non est ponenda sine necessitate                      |
|                                 William of Ockham (1285-1347/49) |

Reply via email to