Comments (4)
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.
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.
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.
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)
- trouble using AQXMLParser HOT 1
- kSecAttrAccount not used in -[AQKeychainItem copyQueryDictionary:] ?
- Fix key length function has a bug HOT 1
- AQXMLParser random crashes when parsing some xml documents HOT 2
- downloaderCompletedTask: never called if completed successfully (includes simple fix)
- AES encrypt options HOT 2
- Unchecked Error Condition - security issue
- Warnings and Analysis warnings HOT 5
- Problem parsing XML with encoding "US-ASCII" in AQXMLparser HOT 1
- StreamingXMLParser: Getting Byte Position on End of Document?
- Handling of input stream error HOT 2
- AQXMLParser/NSXMLParser delegate call behavior discrepancy
- Untitled
- Warnings when using LLVM compiler HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aqtoolkit.