Still seeing lots of crashes on Leopard

I don’t know if it’s WebCore going crazy or not, but DTP is extremely unstable when I move documents around and the last document viewed was a webarchive.

But even better: today I found a webpage that crashes DTP every single time. Just save the following page to a webarchive from Safari and then import it into DTP. Every time I try to view this page in DTP, it crashes: … rs-part-i/

Here’s the trace of the crash:

Thread 0 Crashed:
0 0x91dc1314 CFRetain + 36
1 0x920a104b __CFURLCache::CopyResponseForRequest(_CFURLRequest const*) + 129
2 0x920a071b _CFURLConnectionSendCallbacks + 1213
3 0x920a01e3 muxerSourcePerform + 283
4 0x91dbf64e CFRunLoopRunSpecific + 3166
5 0x91dbfd38 CFRunLoopRunInMode + 88
6 0x902fd8a4 RunCurrentEventLoopInMode + 283
7 0x902fd6bd ReceiveNextEventCommon + 374
8 0x902fd531 BlockUntilNextEventMatchingListInMode + 106
9 0x93fa5d5b _DPSNextEvent + 657
10 0x93fa56a0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
11 0x93f9e6d1 -[NSApplication run] + 795
12 0x93f6b9ba NSApplicationMain + 574
13 …devon-technologies.thinkpro 0x00002c42 start + 258
14 …devon-technologies.thinkpro 0x00002b69 start + 41

Imported that page as a WebArchive into DT Pro Office. Displayed it in the database. No problem. Moved it, displayed it, then moved another document. No problem.

Caveat: I’m working with the beta of an upcoming maintenance release, and Christian noted in the version history that he’s been working around problems with WebKit and has made WebArchives more stable.

Next update should be out a few days after internal testing is complete. In the meantime, you can capture that pesky page as a PDF. If you are running Leopard, all hyperlinks are preserved in the PDF.