jdgrant
25th November 2011, 01:31
Hi everyone.
I did an override of NetworkReply to handle "tweeked" HTTP requests inside a Custom Network Access Manager in a webview. It works great for a web pages that do not have any images or javascript links. But as soon as a secondary image or javascript page is called the app crashes with a Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 error when using webkit.
The odd thing is the stack shows the error on a line that is not editable from me and appears to happen after the custom NetworkAccessManager returns back to the WebView.
I have been able to prove that each NetworkAccessManager and each Custom NetworkReply is using a different memory address, so I am not sure where error is coming from.
Has anyone seen something similar.
Jon
I did an override of NetworkReply to handle "tweeked" HTTP requests inside a Custom Network Access Manager in a webview. It works great for a web pages that do not have any images or javascript links. But as soon as a secondary image or javascript page is called the app crashes with a Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 error when using webkit.
The odd thing is the stack shows the error on a line that is not editable from me and appears to happen after the custom NetworkAccessManager returns back to the WebView.
I have been able to prove that each NetworkAccessManager and each Custom NetworkReply is using a different memory address, so I am not sure where error is coming from.
Has anyone seen something similar.
Jon