[Bug 967719] New: Segfault in Perl_gv_fetchpvn_flags when trying to initialize back_perl openldap backend

bugzilla at redhat.com bugzilla at redhat.com
Tue May 28 06:50:29 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=967719

            Bug ID: 967719
           Summary: Segfault in Perl_gv_fetchpvn_flags when trying to
                    initialize back_perl openldap backend
           Product: Fedora
           Version: 19
         Component: perl
          Severity: unspecified
          Priority: unspecified
          Assignee: mmaslano at redhat.com
          Reporter: jsynacek at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: cweyl at alumni.drew.edu, iarnell at gmail.com,
                    jplesnik at redhat.com, kasal at ucw.cz, lkundrak at v3.sk,
                    mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
                    psabata at redhat.com, rc040203 at freenet.de,
                    tcallawa at redhat.com

Created attachment 753756
  --> https://bugzilla.redhat.com/attachment.cgi?id=753756&action=edit
Reproducer pack

Description of problem:
When trying to initialize back_perl, a segfault occurs deep in perl itself.


Version-Release number of selected component (if applicable):
perl-5.16.3-264.fc19.x86_64
openldap-2.4.35-4.fc19.x86_64


How reproducible:
Almost always.


Steps to Reproduce:
1. Install fresh F19
2. If you try the reproducer here, all goes well
3. yum install perl-A* (I have no idea why I needed to do this to get it to
segfault)
4. Try reproducer
5. Observe the segfault
6. From now on, reproducer works *without* producing any segfaults. I had to
reboot the machine to be able to reproduce the issue again.

Note on how to use the reproducer:
1. Unpack
2. Run go.sh (warning: it will wipe your /var/lib/ldap/* and your
/etc/openldap/*, so don't run if you use openldap in production)
   This will run slapd in debug mode, so you will need another console to run
the rest.
3. Run try.sh
4. If you want to repeat, go to 2.

You can modify go.sh to run slapd through a debugger. However, you will
probably need to set LD_PRELOAD=/usr/lib64/perl5/CORE/libperl.so to be able to
run try.sh.


Actual results:
Perl segfaults.

Expected results:
The back_perl gets initialized without any problems.


Additional info:
This also happens on my production F18, but it happens always. It looks like it
might have something to do with Bug 960048.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=BrMXYAmcGQ&a=cc_unsubscribe



More information about the perl-devel mailing list