Menu

#1431 Crash when opening specific file

unverified
closed-fixed
nobody
None
5
2014-08-09
2013-08-01
Cameron
No

The attached .bib file makes Bibdesk crash when I try to open it. Everything worked perfectly to create the library, then when I needed to open the file again Bibdesk crashes immediately.

Things I have done -

  1. Renamed, moved the file and tried again.
  2. Downloaded and reinstalled Bibdesk (I already had 1.6.1)
  3. Banged on the side of my computer (it used to work for TVs)

(on OSX 10.7.5)

This is from the Console (there is no crash report) for my recent attempts

1/08/13 12:24:12.805 PM [0x0-0x56056].edu.ucsd.cs.mmccrack.bibdesk: fatal: attrib/AST stack overflow /Volumes/Local/Users/amaxwell/build/bibdesk-clean/vendorsrc/gward/btparse/objc/../src/bibtex.c(287)!
1/08/13 12:24:12.807 PM com.apple.launchd.peruser.501: ([0x0-0x56056].edu.ucsd.cs.mmccrack.bibdesk[1029]) Exited with code: 1
1/08/13 12:25:42.167 PM [0x0-0x58058].edu.ucsd.cs.mmccrack.bibdesk: fatal: attrib/AST stack overflow /Volumes/Local/Users/amaxwell/build/bibdesk-clean/vendorsrc/gward/btparse/objc/../src/bibtex.c(287)!
1/08/13 12:25:42.175 PM com.apple.launchd.peruser.501: ([0x0-0x58058].edu.ucsd.cs.mmccrack.bibdesk[1039]) Exited with code: 1
clean/vendorsrc/gward/btparse/objc/../src/bibtex.c(287)!

1 Attachments

Discussion

  • Adam Maxwell

    Adam Maxwell - 2013-08-01

    Open your file in a text editor (such as TextEdit or TextWrangler) and remove lines 117-207. This entry has 91 extra Annote fields, and that's unexpected for the BibTeX parser; it runs out of storage space for all of those fields.

    What was the source for this? Creating this many numbered fields is not tenable, but I'm assuming it came from RIS data originally.

     
  • Cameron

    Cameron - 2013-08-01

    Perfect. Works a treat.

    The source was probably me dragging and dropping a .ris file into the library.

     
  • Christiaan Hofman

    • status: open --> open-fixed
     
  • Christiaan Hofman

    This should be fixed for the next nightly build.

     
  • Christiaan Hofman

    To be clear, what is fixed is not the crash (we cannot do that as it's in third party code), but the generation of the problematic data from RIS.

     
    • Cameron

      Cameron - 2013-08-06

      I realise. But that is a pretty good solution for me. Thanks very much.

       
  • Christiaan Hofman

    • Status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB