Menu

#1532 Crash on closing editor

unverified
closed-fixed
nobody
None
5
2018-10-30
2018-08-07
No

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.

2 Attachments

Related

Bugs: #1532

Discussion

  • Christiaan Hofman

    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).

     
  • Antonio Fortin

    Antonio Fortin - 2018-08-07

    Yes, I usually (invariably, perhaps) have cite-key in the search bar when the crash happens.

    I'll try tomorrow's nightly build and, yes, I meant cmd-w :)

     
  • Antonio Fortin

    Antonio Fortin - 2018-08-10

    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!

     
    • Christiaan Hofman

      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.

       
      • Antonio Fortin

        Antonio Fortin - 2018-08-12

        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:

        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.


        [bugs:#1532] https://sourceforge.net/p/bibdesk/bugs/1532/ Crash on
        closing editor

        Status: open
        Group: unverified
        Created: Tue Aug 07, 2018 02:35 PM UTC by Antonio Fortin
        Last Updated: Fri Aug 10, 2018 03:44 PM UTC
        Owner: nobody
        Attachments:

        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.


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/bibdesk/bugs/1532/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Bugs: #1532

        • Christiaan Hofman

          The 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.

           
          • Antonio Fortin

            Antonio Fortin - 2018-08-13

            Great, thanks for that Christiaan.

            --Antonio

            Christiaan Hofman wrote:

            The 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.


            [bugs:#1532] https://sourceforge.net/p/bibdesk/bugs/1532/ Crash on
            closing editor

            Status: open
            Group: unverified
            Created: Tue Aug 07, 2018 02:35 PM UTC by Antonio Fortin
            Last Updated: Fri Aug 10, 2018 04:12 PM UTC
            Owner: nobody
            Attachments:

            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.


            Sent from sourceforge.net because you indicated interest in
            https://sourceforge.net/p/bibdesk/bugs/1532/

            To unsubscribe from further messages, please visit
            https://sourceforge.net/auth/subscriptions/

             

            Related

            Bugs: #1532

  • Christiaan Hofman

    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB