pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47832: squid-3.3.4's basic_pam_auth segfaults with libgnumalloc

>Number:         47832
>Category:       pkg
>Synopsis:       squid-3.3.4's basic_pam_auth segfaults with libgnumalloc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 18 05:25:00 +0000 2013
>Originator:     Mark Davies
>Release:        NetBSD 6.0_STABLE
#5: Sat Dec 8 14:33:28 NZDT 2012
Architecture: i386
Machine: i386
        squid3's configure script detects the presence of libgnumalloc on
        NetBSD 6.x and links it to the binaries built.  This causes
        basic_pam_auth to segfault in the call to pam_start()

Program received signal SIGSEGV, Segmentation fault.
0x00007f7ff740219a in _free_internal () from /usr/lib/
(gdb) bt
#0  0x00007f7ff740219a in _free_internal () from /usr/lib/
#1  0x00007f7ff7402b45 in realloc () from /usr/lib/
#2  0x00007f7ff68af34c in asprintf () from /usr/lib/
#3  0x00007f7ff7806311 in openpam_dynamic () from /usr/lib/
#4  0x00007f7ff780615b in openpam_load_module () from /usr/lib/
#5  0x00007f7ff7805310 in ?? () from /usr/lib/
#6  0x00007f7ff7805783 in ?? () from /usr/lib/
#7  0x00007f7ff7805003 in ?? () from /usr/lib/
#8  0x00007f7ff7805783 in ?? () from /usr/lib/
#9  0x00007f7ff78058a7 in openpam_configure () from /usr/lib/
#10 0x00007f7ff7802df6 in pam_start () from /usr/lib/
#11 0x0000000000401648 in main (argc=<optimized out>, argv=0x7f7fffffd9c8)

        Build and install squid3 package then run
        echo "username passwd" | /usr/pkg/libexec/basic_pam_auth
        Observe that it segfaults.
        Either persuade the configure script not to link gnumalloc to
        everything  (CONFIGURE_ENV += ac_cv_lib_gnumalloc_malloc=no)
        or if that is not desirable for some reason persuade
        helpers/basic_auth/PAM/Makefile not to link with it.


Home | Main Index | Thread Index | Old Index