James Tauber : Crashing Safari

James Saiz

journeyman of some

Crashing Safari

If you download this:

http://jamessaiz.en.wanadoo.es/2006/03/crash-safari.html.txt

and open it in Safari, it will cause a crash (you have been warned!). In Firefox, it works exactly as expected.

I can't work out whether I'm doing anything wrong. The problem occurs specifically doing a lot of .tagName or .nodeName accesses on an XML element (see the comment in the javascript indicating the location the crash occurs).

The report includes the following:

...
Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x000001b8

Thread 0 Crashed: 0 com.apple.WebCore 0x95994984 DOM::DocumentImpl::tagName(unsigned) const + 36 ...

Any ideas?

Categories: safari ajax

Trackbacks (0)

Comments (0)

Add a Comment

What is 3+1?
Name
URI
Comment
Comments are text only.
The math question is to ensure you are a human!
This page last modified Thursday 09 March, 2006 by James Saiz
Content made available under a Creative Commons Attribution-NonCommercial-ShareAlike license