Opened 11 years ago

Closed 10 years ago

#23139 closed defect (fixed)

py*-libxml2 and py*-libxslt need updating

Reported by: me@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), sfiera@…
Port: py-libxml2 py25-libxml2 py26-libxml2 py27-libxml2 py-libxslt py25-libxslt py26-libxslt

Description

When passing multiple parameters to a stylesheet when using py26-libxslt, a wild or null pointer is being freed:

$ python test.py 
Python(7986) malloc: *** error for object 0x1006a0009: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap

This seems to be a mismatch between old the libxml2-python-2.6.21 and the current libxslt library. The Python module is now included in the libxslt source distribution. If I use the Python module from there, it works fine.

Attachments (1)

testcase.tar.gz (575 bytes) - added by me@… 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by me@…

Attachment: testcase.tar.gz added

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Cc: mcalhoun@… sfiera@… added
Port: py26-libxslt added

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Port: py-libxml2 py25-libxml2 py26-libxml2 py27-libxml2 py-libxslt py25-libxslt added
Summary: py26-libxslt fails with multiple parameterspy*-libxml2 and py*-libxslt need updating

Looks like py*-libxml2 need to be updated to build from the libxml2 tarball first.

comment:3 Changed 10 years ago by jmroot (Joshua Root)

py*-libxml2: r80814

comment:4 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.