R – iPhone app crashes with mach_msg_trap in UIWebView using specific URL

crashiphoneobjective cuiwebview

When I load a specific web page using UIWebView in my iPhone app, it crashes with a mach_msg_trap error. Other websites load fine in my app.
Try this URL as an example:

[rssArticle loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.fan-f1.com/actualite-8387-F1-Massa-pourrait-quitter-lhopital-de-Budapest-dans-10-jours.html"]]];

This specific web page makes the app crashing, and loading that same URL in Safari mobile makes it crash the same way (the homepage of that website produces the same result).
Do you have the same behaviour on your iPhone? Should I report a bug or is it some known problem with websites sharing a common specificity?

Thanks

Best Answer

mach_msg_trap is a function which wraps the generic kernel message-sending in iPhone OS and Mac OS X, so covers a multitude of sins from sockets to inter-thread communication. Do you have more information about your crash which could help understand what's going on?

Related Topic