Re: [xml] 2.6.22 xmlIO test hanging on AIX



On Thu, Oct 27, 2005 at 06:07:33AM -0400, Daniel Veillard wrote:
On Wed, Oct 26, 2005 at 07:02:54PM -0500, Albert Chin wrote:
Something odd is occurring for the xmlIO test on AIX 4.3.3, 5.1, 5.2,
and 5.3 with the IBM C compiler. When I run the test suite:
  $ ./testapi xmlIO
it hangs during test_xmlOutputBufferCreateFd(). I started tracing to
determine where it was hanging:
  (testapi.c -- test_xmlIO())
  ...
  test_ret += test_xmlOutputBufferCreateFd();

  (testapi.c -- test_xmlOutputBufferCreateFd())
  ...
  desret_xmlOutputBufferPtr(ret_val);

  (testapi.c -- desret_xmlOutputBufferPtr())
  xmlOutputBufferClose(val);

  (xmlIO.c - xmlOutputBufferClose())
  ...
  if (out->writecallback != NULL)
      xmlOutputBufferFlush(out);

  (xmlIO.c - xmlOutputBufferFlush())
  ...
  ret = out->writecallback(out->context,
             (const char *)out->buffer->content, out->buffer->use);


Once I run the xmlIO test manually, the terminal window hangs after
the above command and the process exits. I don't see this behavior on
Solaris, Tru64 UNIX, IRIX, HP-UX, or Redhat Linux.

Any ideas?

  What fd number was used to build the buffer ?

n_fd: 0
fd: 0

-- 
albert chin (china thewrittenword com)



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