Bug 460774 - free problem with createrepo
free problem with createrepo
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: libxml2 (Show other bugs)
rawhide
All Linux
medium Severity high
: ---
: ---
Assigned To: Daniel Veillard
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-31 13:07 EDT by Mamoru TASAKA
Modified: 2008-09-01 12:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-01 12:57:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
gdb log when createrepo stops by free problem (7.72 KB, text/plain)
2008-08-31 13:07 EDT, Mamoru TASAKA
no flags Details

  None (edit)
Description Mamoru TASAKA 2008-08-31 13:07:54 EDT
Created attachment 315447 [details]
gdb log when createrepo stops by free problem

Description of problem:
With the latest libxml2 calling createrepo always hangs up by glibc detection
of double free or corruption on python.
gdb backtrace seems to be telling that the actual corruption is occuring
on libxml2 side.

Version-Release number of selected component (if applicable):
libxml2-python-2.7.0-1.fc10.i386
createrepo-0.9.5-2.fc9.noarch
python-2.5.1-30.fc10.i386

How reproducible:
100%

Steps to Reproduce:
1. Download some rpms
2. execute $ createrepo $(pwd)
3.
  
Actual results:
gdb log attached

Expected results:
createrepo should not hangs up

Additional info:
With libxml2-python-2.6.32-4.fc10 this issue does not occur.
Comment 1 Daniel Veillard 2008-08-31 13:45:43 EDT
Hum, it's possible that some of the code done in the libxml_serializeNode
function in the libxml.c bindings for python is not very clean and clashes
with the new buffers types.

Daniel
Comment 2 Daniel Veillard 2008-08-31 16:09:58 EDT
Bug confirmed on 2.7.0, I guess 2.7.1 will be out of the door tomorrow
so fix should show up really soon.
A really stupid mistake on my part.

 thanks for the heads-up !

Daniel
Comment 3 Daniel Veillard 2008-09-01 11:32:28 EDT
libxml2-2.7.1 released, it fixes serialization in the Python bindings
which were broken in 2.7.0

798404 build (dist-f10, devel:libxml2-2_7_1-1_fc10) completed successfully

pushed to rawhide, I hope this fixes it,

Daniel
Comment 4 Mamoru TASAKA 2008-09-01 12:57:46 EDT
With libxml2-python-2.7.1-1.fc10 I don't see this issue anymore.
Thanks!

Note You need to log in before you can comment on or make changes to this bug.