Zotero 10 crashes on MacOS

edited 11 days ago
Latest version MacOS 26.6.2. Crashes on opening on a Macbook Neo.
Launching from a terminal gives the possibly relevant message:

Missing chrome or resource URL: chrome://zotero/skin/16/white/loading.svg

Further output:

UNSUPPORTED (log once): POSSIBLE ISSUE: unit 1 GLD_TEXTURE_INDEX_2D is unloadable and bound to sampler type (Float) - using zero texture because texture unloadable
zsh: segmentation fault /Applications/Zotero.app/Contents/MacOS/zotero

Runs fine on linux (Ubuntu 24.04)
  • dstillman Zotero Team
    Can you reproduce this in Troubleshooting Mode, if you pass -safe on the command line?
  • dstillman Zotero Team
    And was this a fresh download or an in-app update? (If the latter, please preserve the existing .app.)
  • edited 11 days ago
    Firstly an in-app update and then a fresh install.

    When launched with -safe a whole bunch of messages starting with

    xattr: [Errno 1] Operation not permitted: '/Applications/Zotero.app/Contents/_CodeSignature/CodeResources'
    xattr: [Errno 1] Operation not permitted: '/Applications/Zotero.app/Contents/_CodeSignature'
    xattr: [Errno 1] Operation not permitted: '/Applications/Zotero.app/Contents/MacOS/libfreebl3.dylib'
    xattr: [Errno 1] Operation not permitted: '/Applications/Zotero.app/Contents/MacOS/liblgpllibs.dylib'
    xattr: [Errno 1] Operation not permitted: '/Applications/Zotero.app/Contents/MacOS/plugin-container.app/Contents/_CodeSignature/CodeResources'

    occurred. Many others similar to this occurred. App crashes without troubleshooting mode.
  • dstillman Zotero Team
    Can you find the crash report in Console and email it to support@zotero.org with a link to this thread?

    How about with /Applications/Zotero.app/Contents/MacOS/zotero -purgecaches?
  • dstillman Zotero Team
    edited 11 days ago
    App crashes without troubleshooting mode
    @rich0123: Wait, are you saying it doesn't crash when you start it in Troubleshooting Mode with -safe? Output in the terminal doesn't matter if it's starting up properly.

    If you're able to start it in Troubleshooting Mode, you should disable all plugins manually and try starting normally.
  • edited 11 days ago
    The app ALWAYS crashes with all options including with -purgecaches.

    Where do I access the Console? No windows are launching... Is there a subdirectory where the crash reports is found? Nevermind I found it

    Will email the report to the address you mention tomorrow.
  • dstillman Zotero Team
    edited 10 days ago
    (Console is just a macOS app that you can open via Spotlight.)
  • Hi Dan

    I sent the console crash report to the support email address with a link to this thread.
  • dstillman Zotero Team
    edited 10 days ago
    The crash is actually related to the database. Is your Zotero data directory on a network drive or external disk? If the former, what protocol (e.g., NFS)?
  • edited 10 days ago
    Yes I have a pdf resource library and it is on a network drive mounted using sshfs. It is located at ~/zotero. It also looks like the ~/Zotero subdirectory is the same as the zotero subdirectory. The sshfs mounting is done via the fuse-t macos (brew) utility.

    Do you think the database is possibly corrupted beyond recovery? I have had corruption problems before but zotero always seemed to recover from this. Maybe the new version of zotero was a step too far?
  • dstillman Zotero Team
    OK, when posting here, please always mention that you're using an extremely unusual setup — that would've saved us some time.
    It is located at ~/zotero. It also looks like the ~/Zotero subdirectory is the same as the zotero subdirectory.
    I'm not sure what you mean by this. macOS filesystems are case-insensitive by default, so ~/zotero and ~/Zotero are equivalent.

    In any case, the database isn't likely to be corrupted, and you can almost certainly fix this by temporarily moving the data directory back to ~/Zotero on your local disk. We're working on fixing issues with network shares in Zotero 10 and will have something to test soon.
  • OK thanks I'll try that. I will mention the setup if I post here again. Sorry for the inconvenience.
  • dstillman Zotero Team
    edited 10 days ago
    I have had corruption problems before but zotero always seemed to recover from this.
    To be clear, storing your data directory on a network share — particularly one via FUSE, which is likely to be less stable than a standard NFS/SMB mount — is much more likely to corrupt your database, and if you've seen corruption before, you should stop doing this. Same if there's even the slightest chance that you're accessing the database from multiple computers at once, which would make the setup equivalent to a cloud storage folder.
  • dstillman Zotero Team
    edited 10 days ago
    (I also don't totally understand the goal here. If you're just trying to store PDFs on a network share, that doesn't require putting your entire data directory — with the database — there.)
  • I was able to recover the database using the method you suggested and zotero 10 works fine now. Thanks. I will modify my setup appropriately to avoid this in the future. Live and learn ;-)
Sign In or Register to comment.