New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23139 (closed defect: fixed)

Opened 3 years ago

Last modified 23 months ago

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: mcalhoun@…, 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

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

Change History

Changed 3 years ago by me@…

comment:1 Changed 3 years ago by jmr@…

  • Cc mcalhoun@…, sfiera@… added
  • Port set to py26-libxslt

comment:2 Changed 2 years ago by jmr@…

  • Port changed from py26-libxslt to py-libxml2 py25-libxml2 py26-libxml2 py27-libxml2 py-libxslt py25-libxslt py26-libxslt
  • Summary changed from py26-libxslt fails with multiple parameters to py*-libxml2 and py*-libxslt need updating

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

comment:3 Changed 23 months ago by jmr@…

py*-libxml2: r80814

comment:4 Changed 23 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.