Opened 5 years ago
Closed 5 years ago
#1844 closed defect (fixed)
Fix connector switching hangs with Firefox 3.6 on Windows
| Reported by: | simon | Owned by: | simon |
|---|---|---|---|
| Priority: | major | Milestone: | Standalone Alpha 3 |
| Component: | standalone | Version: | 2.1 |
| Keywords: | Cc: |
Description (last modified by simon)
Right now, if the user opens Standalone after opening Firefox 3.6, we are hanging Standalone startup and hanging Firefox 3.6 on shutdown, because Firefox 3.6 can receive a releaseLock command, but it can't send a lockReleased command. We can ignore the releaseLock command, but Standalone will still hang expecting a lockReleased command. At the very least, we want Standalone to display an error message. Our options are:
- Have standalone wait a fixed amount of time for a response after requesting that the DB lock be released before erroring out and closing (or, alternatively, before trying to open the DB again)
- Implement the connector switching messages with the almost entirely undocumented version of js-ctypes that came with Firefox 3.6
- Find a way to get the version of the running Firefox process using ctypes from within Standalone
- Some kind of trick involving passing the ZoteroIPC command line option with nsIProcess
- Drop support for Firefox 3.6 on Windows entirely
I think I am going to implement option 1, since it seems like a good idea anyway. If this isn't sufficient, I'll revisit this.
Change History (2)
comment:1 Changed 5 years ago by simon
- Description modified (diff)
comment:2 Changed 5 years ago by simon
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In [9729]: