views:

40

answers:

1

This app has been running fine for months, but now on iOS4 i get crashes when using NSXMLParser. It is crashing in the middle of parsing.

The problem is that i dont get a decent call-stack. the result is:

0 func_.29470 1 stub helpers

combined with a: Program received signal: “EXC_BAD_ACCESS”.

in the logs.

I enabled: NSZombieEnabled NSDebugEnabled

and i dont get any messages coming out of that, so I guess this is some really nasty memory bug.

Any advice on how to track this down?

A: 

Solved

there was some weird stuff in my xml in the url attribute:

    <relatedArticle url="http://www.xx.yy/dir/7/99/29/&amp;Atilde;Ç&amp;Acirc;&amp;laquo;-cristiano-ronaldo-a-rate-son-mondial-&amp;Atilde;Ç&amp;Acirc;&amp;raquo;/"&gt;&lt;![CDATA[Le podcast de Christophe Berti : "Ronaldo a ratÈ son mondial"]]></relatedArticle>

This crashed the app. I think it is a bug as in this case NSXMLParser should return an error.

Joris Mans