Bug 460774 - free problem with createrepo
Summary: free problem with createrepo
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libxml2
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-31 17:07 UTC by Mamoru TASAKA
Modified: 2008-09-01 16:57 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-01 16:57:46 UTC
Type: ---
Embargoed:


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

Description Mamoru TASAKA 2008-08-31 17:07:54 UTC
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 17:45:43 UTC
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 20:09:58 UTC
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 15:32:28 UTC
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 16:57:46 UTC
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.