Zotero crash during search - how to debug?
In advanced search, if I search for 'Attachment Content' 'contains' '%' I get results, but if I use 'does not contain', Zotero crashes. I tried to get debug output, but upon re-opening Zotero, it's empty. Documentation suggests "Start Zotero via the Cygwin terminal" but I don't think I have Cygwin terminal, and I didn't see further explanation. Any guidance appreciated.
(If you don't know what Cygwin is, it's not expected that you'd use it. Unfortunately debugging options on Windows are just limited with the built-in tools.)
If you run the task manager, do you see the zotero.exe process using more and more memory? If so, how much before it closes? Does this happen if you close other programs running on your system?
Note: after I did this and viewed output, while Zotero was putting the debug output in the view output window, Zotero crashed again. I had to do it a 2nd time, and then I did the search, waited 10 seconds, pressed 'clear' and closed the search window, and then disabled debug output, clicked 'view output', and submitted while the 'view output' was still presenting new lines. Then Zotero crashed/closed again.
Can you or someone else help?
I am also continuing to have difficulty getting correct search results when searching 'Attachment Content' - no results when I am sure the attached pdfs with the search terms exist. I don't know if this is related to the crash problem.
I'm not totally sure what you're trying to do, though, and it might help if you explain that. Note that 'Attachment Content' 'contains'/'does not contain' '%' isn't actually any sort of supported syntax. '%' happens to have special meaning in some search fields because of the underlying database that we use, but that doesn't apply to attachment content searches, so you're really just searching for a literal '%' character (or the absence of it) when you do this.
If you're trying to find PDFs without indexed content, you'd be better off doing something like 'Attachment File Type' 'is' 'PDF' and 'Attachment Content' 'does not contain' 'the'. A dedicated search condition for indexed state is planned but hasn't yet been implemented. Start a new thread for that with the specific conditions you're using in the search.