Zotero 5.0.96.4 bug alert

Running MacOS Montery 12.3 and using Zotero 5.0.96.4. Upon opening Zotero, the app crashes right away, without my library opening up. If the app does open up and I try to add a paper from IEEE Xplore using the Zotero plugin for Chrome, the app crashes.

Any help would be appreciated.
  • Zotero 5.0.96.4 crashes. I open it and it crashes. I try to add a paper from Chrome using the Chrome plugin and it crashes. I'm running MacOS Monterey 12.2.1
  • I updated MacOS to 12.3 and it still crashes
  • Any help would be greatly appreciated because I can't add any of the papers I found now
  • Here's a sample of the error from the Zotero Chrome extension:

    Error: Extension context invalidated. at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/browser-polyfill.js:669
    Context
    https://ieeexplore-ieee-org.myaccess.library.utoronto.ca/document/9718586
    Stack Trace
    zotero.js:361 (logError)
    messaging_inject.js:100 (anonymous function)

  • Here's a sample of the Apple app crash report after Zotero quits when I try to add a paper from the Zotero plugin:

    -------------------------------------
    Translated Report (Full Report Below)
    -------------------------------------

    Process: zotero [3921]
    Path: /Applications/Zotero.app/Contents/MacOS/zotero
    Identifier: org.zotero.zotero
    Version: 5.0.96.4 (5.0.96)
    Code Type: X86-64 (Native)
    Parent Process: launchd [1]
    User ID: 501

    Date/Time: 2022-03-14 16:42:47.0699 -0400
    OS Version: macOS 12.3 (21E230)
    Report Version: 12
    Bridge OS Version: 6.4 (19P4242)
    Anonymous UUID: D96F8152-9E01-1969-68D4-7E611779C65A


    Time Awake Since Boot: 1200 seconds

    System Integrity Protection: enabled

    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x00007ff7b6b16fc8
    Exception Codes: 0x0000000000000002, 0x00007ff7b6b16fc8
    Exception Note: EXC_CORPSE_NOTIFY

    Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
    Terminating Process: exc handler [3921]

    VM Region Info: 0x7ff7b6b16fc8 is in 0x7ff7b3317000-0x7ff7b6b17000; bytes after start: 58720200 bytes before end: 55
    REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
    MALLOC_SMALL 7fd180800000-7fd181000000 [ 8192K] rw-/rwx SM=PRV
    GAP OF 0x2632317000 BYTES
    ---> STACK GUARD 7ff7b3317000-7ff7b6b17000 [ 56.0M] ---/rwx SM=NUL ... for thread 0
    Stack 7ff7b6b17000-7ff7b7317000 [ 8192K] rw-/rwx SM=PRV thread 0

    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 CoreFoundation 0x7ff81f9fe311 __CFStringEqual + 243
    1 CoreFoundation 0x7ff81fa700a3 CFCachedStringEqual + 41
    2 CoreFoundation 0x7ff81fa6d848 _CFXNotificationRegistrarFindName + 89
    3 CoreFoundation 0x7ff81fa6d6b4 CFXNotificationRegistrarFind + 642
    4 CoreFoundation 0x7ff81f926c37 _CFXNotificationPost + 622
    5 AppKit 0x7ff8223bd87b -[NSView _postFrameChangeNotification] + 304
    6 AppKit 0x7ff8223b691b -[NSView setFrameSize:] + 2304
    7 AppKit 0x7ff8225aff59 -[NSNextStepFrame setFrameSize:] + 195
    8 AppKit 0x7ff8223d6580 -[NSWindow _oldPlaceWindow:fromServer:] + 688
    9 AppKit 0x7ff8223d4a0e -[NSWindow _setFrameCommon:display:fromServer:] + 1278
    10 XUL 0x111396107 0x10f339000 + 33935623

    Thread 1:: Gecko_IOThread
    0 libsystem_kernel.dylib 0x7ff81f86134e kevent + 10
    1 XUL 0x10f82baaa 0x10f339000 + 5188266

    Thread 2:: Socket Thread
    0 libsystem_kernel.dylib 0x7ff81f864d5a __select + 10
    1 libnss3.dylib 0x1093fcaec 0x1092b3000 + 1350380

    Thread 3:: JS Watchdog
    0 libsystem_kernel.dylib 0x7ff81f85f3ea __psynch_cvwait + 10
    1 libsystem_pthread.dylib 0x7ff81f899a6f _pthread_cond_wait + 1249

    Thread 4:: JS Helper
    0 libsystem_kernel.dylib 0x7ff81f85f3ea __psynch_cvwait + 10
    1 libsystem_pthread.dylib 0x7ff81f899a6f _pthread_cond_wait + 1249
    2 libmozglue.dylib 0x108d319dc mozilla::detail::ConditionVariableImpl::wait_for(mozilla::detail::MutexImpl&, mozilla::BaseTimeDuration const&) + 60
    3 libsystem_pthread.dylib 0x7ff81f894f6b thread_start + 15

    Thread 5:: JS Helper
    0 libsystem_kernel.dylib 0x7ff81f85f3ea __psynch_cvwait + 10
    1 libsystem_pthread.dylib 0x7ff81f899a6f _pthread_cond_wait + 1249
    2 libmozglue.dylib 0x108d319dc mozilla::detail::ConditionVariableImpl::wait_for(mozilla::detail::MutexImpl&, mozilla::BaseTimeDuration const&) + 60
    3 libsystem_pthread.dylib 0x7ff81f894f6b thread_start + 15
  • @dpja: Please don't open multiple threads for the same issue. We'll help you here.

    Are you using multiple monitors? Does this happen if you unplug one?

    If you start Zotero in Safe Mode by holding down Shift, does this still happen? If not, disable all third-party extensions and see if it still happens.
  • Hi,

    Thanks for getting back to me and sorry for opening multiple threads.

    It seems like I managed to resolve the issue. I was using a VPN to connect to my school's network so that I could access papers from IEEE Xplore. After disconnecting from the VPN I was able to add papers to the Zotero desktop app using the Zotero plugin for Chrome. And, interestingly, the app stopped "crashing" after opening it.
  • Hello everyone,

    I am currently also experiencing this bug. I was attempting to save papers with the Zotero plugin for Firefox to Zotero. Each time I tried, the app would crash.

    Disconnecting my second monitor resolved the issue, and I was able to download the papers without the application crashing. When I reattached the monitor, Zotero proceeded to crash.

    Disabling all extensions also resolved the issue, with the second monitor attached. Individually activating the extensions worked for each of them, so there's some interaction that is causing the crash. Additionally, the download didn't cause Zotero to crash when Zotero was on the same monitor as the browser, either the main monitor or the second monitor.

    Zotero: 5.0.96.4
    - Better BibTeX for Zotero 6.2.14
    - DOI Manager 1.4.2
    - Storage Scanner for Zotero 5.0.11
    - Zotero Citation Counts Manager 1.2.0
    - Zotero LibreOffice Integration 5.0.25.SA.5.0.96.4
    - Zotero Memento 1.0.0
    - Zotero OCR 0.5.0
    - Zotero Word for Mac Integration 5.0.36.SA.5.0.96.4
    - Zotfile 5.1.0
    - zotxt 6.0.0

    Firefox 98.0.1
    - Zotero Connector 5.0.92

    macOS 12.3
  • The issue persists on Zotero 6.0. Memento, OCR, and Citation Counts Manager have been eliminated with the software update.

    The issue does not happen when Zotero automatically imports an open-access PDF, only rather when it downloads the journal's PDF (most recently, from Elsevier). The issue is also with PDF importing, as the entry makes it into the library.
  • Happened on macOS Monterey 12.6 with Zotero 6.0.15 as well.
  • happened on macOS ventura13.4.1 (c) with Zotero 6.0.26 as well.
  • edited July 23, 2023
    The potential crash when using certain plugins with multiple monitors on macOS is fixed in the Zotero 7 beta.
Sign In or Register to comment.