Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

A deadlock in the main thread of plugin-container. When will the correction be ported?

  • 1 отговор
  • 2 имат този проблем
  • 1 изглед
  • Последен отговор от the-edmeister

more options

I have been working on an NPAPI plugin. Now it works nicely on Windows and Mac OS X but on Linux/Firefox I get a deadlock.

The deadlock occurs because the main thread tries to write to the wakeup_pipe in the MessagePumpForUI class and the wakeup_pipe eventually runs full.

Other threads such the the worker threads in my plugin are also writing to this pipe via the NPN_PluginThreadAsync browser interface.

It seems like a bad idea that the NPN_PluginThreadAsync can block at all, but it does happen since the main thread is both a reader and writer on the wakeup_pipe.

Ideally the writes on the wakeup_pipe should be non-blocking.

In the meantime chromium.org has created a correction for this error:

http://src.chromium.org/viewvc/chrome?view=revision&revision=177821

When will this correction be available in Firefox on linux?

I have been working on an NPAPI plugin. Now it works nicely on Windows and Mac OS X but on Linux/Firefox I get a deadlock. The deadlock occurs because the main thread tries to write to the wakeup_pipe in the MessagePumpForUI class and the wakeup_pipe eventually runs full. Other threads such the the worker threads in my plugin are also writing to this pipe via the NPN_PluginThreadAsync browser interface. It seems like a bad idea that the NPN_PluginThreadAsync can block at all, but it does happen since the main thread is both a reader and writer on the wakeup_pipe. Ideally the writes on the wakeup_pipe should be non-blocking. In the meantime chromium.org has created a correction for this error: http://src.chromium.org/viewvc/chrome?view=revision&revision=177821 When will this correction be available in Firefox on linux?

Всички отговори (1)

more options

This forum is for user to user support.

File a Bug report about that issue to get the developer's attention.
https://bugzilla.mozilla.org/

https://developer.mozilla.org/en/Bug_writing_guidelines