Orphaned Document Windows won't close

I’ve run into this sporadically since pb8.

If I double click a PDF+Text, so that it opens in a separate window (thereby allowing zoom, etc), occasionally DT will not dismiss the window upon closing it.

The name of the window no longer appears in the “Window” menu, but the physical representation of the window is still on the screen. I can click it to bring it to the front, but clicking on the red close box repeats the behavior of it not closing. It’s stuck until I quit DTPO and reopen. Usually, this causes DTPO to not have the main window open next time it restarts.

It’s not catastrophic, just annoying. However, I have been getting some crashes lately, too.

The crash log reports “dirty” windows.

Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
objc[180]: FREED(id): message dirty sent to freed object=0x242087c0

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x92d354b4 _objc_error + 116
1   libobjc.A.dylib               	0x92d354ea __objc_error + 52
2   libobjc.A.dylib               	0x92d337dc _freedHandler + 58
3   com.apple.PDFKit              	0x97bc21aa -[PDFThumbnailView(PDFThumbnailViewInternal) thumbnailRefreshTimer:] + 156
4   com.apple.Foundation          	0x90ca796c __NSFireTimer + 141
5   com.apple.CoreFoundation      	0x98b7eedb __CFRunLoopRun + 8059
6   com.apple.CoreFoundation      	0x98b7c864 CFRunLoopRunSpecific + 452
7   com.apple.CoreFoundation      	0x98b7c691 CFRunLoopRunInMode + 97
8   com.apple.HIToolbox           	0x92093f0c RunCurrentEventLoopInMode + 392
9   com.apple.HIToolbox           	0x92093cc3 ReceiveNextEventCommon + 354
10  com.apple.HIToolbox           	0x92093b48 BlockUntilNextEventMatchingListInMode + 81
11  com.apple.AppKit              	0x98259ac5 _DPSNextEvent + 847
12  com.apple.AppKit              	0x98259306 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
13  com.apple.AppKit              	0x9821b49f -[NSApplication run] + 821
14  com.apple.AppKit              	0x98213535 NSApplicationMain + 574
15  ...evon-technologies.thinkpro2	0x000029d6 0x1000 + 6614

Model: iMac6,1, BootROM IM61.0093.B07, 2 processors, Intel Core 2 Duo, 2.16 GHz, 2 GB, SMC 1.10f3
Graphics: NVIDIA GeForce 7300 GT, NVIDIA GeForce 7300 GT, PCIe, 128 MB

I’m not even going to pretend that I understand what the crash report says, other than I keep seeing dirty in them which implies closing a window of an unsaved document. Which seems to be the common thread – I change a record name, or enter information on the info window, try to close the document window, and get this behavior, with occasional crash.

I haven’t found a workaround, if anyone else has, let me know.

I don’t recall having seen a report of that issue. As you noted that it has happened under other versions of DTPO, I would suspect something installed on your computer that’s causing errors.

Suggestion: Send a message to Support describing the issue as above, attach a recent crash report (which can be found at ~/Library/Logs/CrashReporter/DEVONthink Pro 2/) and also attach your system profile file (launch System Profiler.app, choose File > Save - e.g., to your Desktop). Also attach, if possible, Console messages related to such an episode.