For the past few days, BibDesk has been crashing every few times (usually, 3 or 4) I edit a publication and close the editor. Obviously, this has resulted in the loss a lot of unsaved changes. It used to happen, very occasionally, for as long as I can remember (and I've been using BibDesk since 2012), but never after only a few edits.
I can reproduce this crash by:
1) opening the editor for a publication;
2) dragging and dropping a BibTeX entry onto it;
3) pressing alt-W;
4) after three or four repetitions, BibDesk will crash (on my system).
Computer: MacBook Air (11-inch, mid 2013)
macOS version 10.13.6 (17G65)
BibDesk version: 1.6.16 (4603)
Btw, Console says I have SIP disabled, but it is actually enabled with the --without-debug parameter, to allow me to run a Finder extension.
Strange, the bug report does not seem to be related to the closing editor at all. It crashes in the background for a search. Do you have a search term active at the time of closing, if so what do you search for?
Could you please try tomorrow's nightly build?
(And I assume you meant Cmd-W).
Yes, I usually (invariably, perhaps) have
cite-keyin the search bar when the crash happens.I'll try tomorrow's nightly build and, yes, I meant
cmd-w:)I've only had the chance to test the the 2018-08-08 nightly for about 5 minutes, but it looks like the problem might have been resolved, as it would've crashed several times within 5 minutes before. Thanks Christiaan!
I still do not understand how the crash can happen. You must have left some crucial information out of the description of what you do, because this should never lead to a crash.
Here’s what I would do that would lead to a crash, step-by-step:
1) search for |cite-key|;
2) bring up the editor for a publication;
3) open the publication in Preview, copy the title, close Preview;
4) open the Google Scholar Bookmark, paste the title into the search
bar, and search;
5) click on the |Import into BibTeX| link for the publication;
6) select the BibTeX entry;
7) drag and drop it onto the editor pane;
8) close editor;
9) repeat for next publication with no bibliographic data.
At some point, usually around step 8, BibDesk would crash. It hasn’t
happened since I installed the 2018-08-08 nightly build though, tbh, I
haven’t had a chance to test it extensively.
Best,
Antonio
Christiaan Hofman wrote:
Related
Bugs:
#1532The crucial piece of information that was missing is that you searched
within an external group, whole the content of that group (the search
result) was updated. That resets the search index. When the old index
becomes invalid it can lead to a crash, because of the asynchronous search,
and a sneaky vulnerability of the system running asynchronous code I had
not realized. That should be fixed now. Thanks for the details.
Great, thanks for that Christiaan.
--Antonio
Christiaan Hofman wrote:
Related
Bugs:
#1532