Re: [xml] strange transformCtxt free-ing problem

Nic James Ferrier wrote:
I've made a simple test case for my problem.

It always breaks but doesn't always cause libxm2 to segfault.

The htmlCtxtReadFile never seems to return any HTML.

Anyone have a clue?

import os
import libxml2
import libxslt
import logging
import sys

Nic Ferrier   for all your tapsell ferrier needs

That's interesting ... I was in the midst of composing a response to your
previous mail, politely pointing out that it's often very difficult to
chase a reported problem without a clear test case which a maintainer can
use for lower-level debugging, when your follow-up arrived :-).

With your example program, I found two separate problems.  One of them
was causing the segfault you experienced with this program, while the
other was not actually encountered in this instance, but nevertheless was
(IMHO) an error.

A fix for these two problems is in SVN, and I would appreciate it if you
could quickly test it with your original python program, because a new
library release is imminent and I would like to assure that a complete
fix for your original problem is included.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]