Git Product home page Git Product logo

Comments (4)

AlanQuatermain avatar AlanQuatermain commented on September 24, 2024

Intriguing. This is a fire-and-forget message, so it shouldn't be waiting for anything…

Can you look that the threads running at the time of the pause, and verify that there's another thread waiting in CFRunLoopRun(), with AQXMLParser code on the stack? This call is used to notify the waiting runloop on another thread that it should call the stream's delegate event handler.

from aqtoolkit.

audungk avatar audungk commented on September 24, 2024

This is an image of the threads running at the time of the pause:

http://skitch.com/audungk/rsigt/screen-shot-2011-03-25-at-16.28.37

The only AQXMLParser code is in the same thread...

from aqtoolkit.

AlanQuatermain avatar AlanQuatermain commented on September 24, 2024

Can you expand that thread & re-post for me? Drag the slider at the bottom of the thread view all the way to the right.

from aqtoolkit.

audungk avatar audungk commented on September 24, 2024

See enclosed image:

http://skitch.com/audungk/rsiqt/screen-shot-2011-03-25-at-17.02.29

It could be related to buffer size, as it stops at the same location in the xml on most tests. Around 1 in 10 tries ends with a NSXMLParserErrorDomain error 5, and thus ends the parser, but most tries keeps the parser running in the background.

Another theory might be related to overreleasing, as the xml-source contains xml inside cdata elements, and thus needs a parser inside the parser... But, as you might understand, I'm rather stuck at the moment, and extremely grateful for all your help!

from aqtoolkit.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.