Opened 6 years ago

Closed 6 years ago

#1804 closed defect (fixed)

Fix mysterious hang with citeproc-js 1.0.125

Reported by: simon Owned by: simon
Priority: critical Milestone: 2.1 Final
Component: export Version: 2.1
Keywords: Cc:

Description (last modified by simon)

With citeproc-js 1.0.125, Zotero hangs when adding a citation (usually the second or third) in MacWord under Firefox 3.6.15. This doesn't seem to happen on Firefox 4, and it hasn't yet been reported on any other platform. It also doesn't appear to happen when TraceMonkey is disabled.

It seems as though somehow, JS execution gets aborted when reading from the pipe that Zotero uses for Word processor integration, and then this leads to a full browser hang a few seconds later.

It may be related to our use of non-threadsafe interfaces off the main thread in integration.js, but I have no idea how citeproc-js could possibly trigger such a bug. It may also be a bug in TraceMonkey. It does not seem to be a bug in citeproc-js.

For 2.1.1, we've reverted to citeproc-js 1.0.124, but obviously, we'd like to be able to keep things in sync with citeproc-js going forward.

Change History (2)

comment:1 Changed 6 years ago by simon

  • Description modified (diff)

comment:2 Changed 6 years ago by simon

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by r8667-r8671

Note: See TracTickets for help on using tickets.