ports/86535: usermin/perl coredumps
Aaron Dalton
aaron at daltons.ca
Sat Sep 24 19:30:20 UTC 2005
>Number: 86535
>Category: ports
>Synopsis: usermin/perl coredumps
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 24 19:30:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Aaron Dalton
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD moondance.finch.st 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Whenever I try to start the Usermin service, Perl coredumps. Below is the
stacktrace. The same thing happens in Webmin, but since PAM is not
required, the line "no-pam=1" fixes the problem. Usermin requires PAM,
however. I have downloaded pamtester and have been fiddling around and
can find no problems with PAM itself. Any help or direction would be
greatly appreciated.
Aaron
>How-To-Repeat:
>Fix:
--- error.txt begins here ---
moondance# /usr/local/etc/rc.d/usermin.sh start
Starting usermin.
Segmentation fault (core dumped)
moondance# ll
total 3502
-rw-r--r-- 1 root wheel 2835 Sep 21 21:03 Makefile
-rw-r--r-- 1 root wheel 100 Sep 21 21:03 distinfo
drwxr-xr-x 2 root wheel 512 Sep 18 21:20 files
-rw------- 1 root wheel 3551232 Sep 24 13:19 perl5.8.7.core
-rw-r--r-- 1 root wheel 316 Nov 10 2002 pkg-descr
-rw-r--r-- 1 root wheel 338 Jun 19 2004 pkg-message
-rw-r--r-- 1 root wheel 158 Jun 19 2004 pkg-plist
moondance# gdb /usr/bin/perl perl5.8.7.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols
found)...
warning: core file may not match specified executable file.
Core was generated by `perl5.8.7'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libpam.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpam.so.2
Reading symbols from /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so
Reading symbols from /lib/libm.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.3
Reading symbols from /lib/libcrypt.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.2
Reading symbols from /lib/libutil.so.4...(no debugging symbols
found)...done.
Loaded symbols for /lib/libutil.so.4
Reading symbols from /usr/lib/libpthread.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from
/usr/local/lib/perl5/5.8.7/mach/auto/Socket/Socket.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.8.7/mach/auto/Socket/Socket.so
Reading symbols from
/usr/local/lib/perl5/5.8.7/mach/auto/POSIX/POSIX.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.8.7/mach/auto/POSIX/POSIX.so
Reading symbols from
/usr/local/lib/perl5/5.8.7/mach/auto/Fcntl/Fcntl.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/perl5/5.8.7/mach/auto/Fcntl/Fcntl.so
Reading symbols from
/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Net/SSLeay/SSLeay.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Net/SSLeay/SSLeay.so
Reading symbols from /usr/lib/libssl.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.3
Reading symbols from /lib/libcrypto.so.3...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypto.so.3
Reading symbols from
/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Authen/PAM/PAM.so...(no
debugging symbols found)...done.
Loaded symbols for
/usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Authen/PAM/PAM.so
Reading symbols from /usr/lib/pam_nologin.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pam_nologin.so.2
Reading symbols from /usr/lib/pam_opie.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pam_opie.so.2
Reading symbols from /usr/lib/libopie.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libopie.so.3
Reading symbols from /lib/libmd.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libmd.so.2
Reading symbols from /usr/lib/pam_opieaccess.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pam_opieaccess.so.2
Reading symbols from /usr/lib/pam_unix.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pam_unix.so.2
Reading symbols from /usr/lib/libypclnt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libypclnt.so.1
Reading symbols from /usr/lib/pam_login_access.so.2...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/pam_login_access.so.2
Reading symbols from /usr/lib/pam_permit.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/pam_permit.so.2
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x2807a26e in openpam_dispatch () from /usr/lib/libpam.so.2
(gdb) where
#0 0x2807a26e in openpam_dispatch () from /usr/lib/libpam.so.2
#1 0x28079878 in pam_authenticate () from /usr/lib/libpam.so.2
#2 0x2843025c in XS_Authen__PAM_pam_authenticate ()
from /usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Authen/PAM/PAM.so
#3 0x280f7f58 in Perl_pp_entersub ()
from /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so
#4 0x280f08f9 in Perl_runops_standard ()
from /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so
#5 0x2809eea6 in S_run_body ()
from /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so
#6 0x2809eb31 in perl_run ()
from /usr/local/lib/perl5/5.8.7/mach/CORE/libperl.so
#7 0x08049050 in main ()
(gdb)
--- error.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list