Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 670867

Summary: When running the example python script an invalid pointer message is displayed
Product: [Fedora] Fedora Reporter: Joey Boggs <jboggs>
Component: PyPAMAssignee: Miroslav Suchý <msuchy>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: msuchy, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-19 16:07:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joey Boggs 2011-01-19 15:13:58 UTC
Description of problem:
When running the example python script an invalid pointer message is displayed
*** glibc detected *** python: free(): invalid pointer: 0x00007f03bb8c5030 ***


Version-Release number of selected component (if applicable):
PyPAM-0.5.0-8.fc14.x86_64


How reproducible:
Run sample script at: /usr/share/doc/PyPAM-0.5.0/examples/pamtest.py and input valid user/password

  
Actual results:

[root@localhost examples]# python pamtest.py
<pam object, service="passwd", user="(null)", conv=0x1df6970, pamh=0x1e8c680>
login:root
Password: 
Good to go!
*** glibc detected *** python: free(): invalid pointer: 0x00007fae3b4fd030 ***

Expected results:
no error messages in output


Only concerned about this because there is a newt ui on top reusing some of the sample code and the error it getting written over top of menu components.

Comment 1 Tomas Mraz 2011-01-19 16:07:42 UTC
Actually the patch for the deallocation bug is not applied in the PyPAM-0.5.0-8.fc14 package

*** This bug has been marked as a duplicate of bug 658955 ***