Opened 4 years ago

Last modified 3 years ago

#2263 new defect

Addon cannot communicate with the engine when engine is busy

Reported by: sergz Assignee:
Priority: P4 Milestone:
Module: Adblock-Plus-for-Internet-Explorer Keywords:
Cc: oleksandr Blocked By:
Blocking: Platform: Internet Explorer
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Environment

IE11, Win8.1, adblockplusie/rev/a6f019e5224f

How to reproduce

  1. Open many tabs
  2. Try to disable everywhere

Observed behaviour

Nothing happens

Expected behaviour

It should be disabled

Additional info

I've debugged a bit,

if (!WriteFile(pipe, data.c_str(), static_cast<DWORD>(data.length()), &bytesWritten, 0))
    throw std::runtime_error("Failed to write to pipe");

throws because WriteFile fails while all arguments look good, GetLastError returns 232 (ERROR_NO_DATA, 232 (0xE8), The pipe is being closed).

Change History (3)

comment:1 Changed 4 years ago by eric@…

  • Platform changed from Unknown to Internet Explorer
  • Tester set to Unknown

comment:2 Changed 3 years ago by oleksandr

  • Priority changed from Unknown to P4
  • Summary changed from Addon cannot communicate with the engine to Addon cannot communicate with the engine when engine is busy

comment:3 Changed 3 years ago by sergz

I'm observing it quite stable in debug build. When many tabs are opened the addon basically does not work because of a numerous errors on WriteFile(pipe... and ReadFile(pipe....

Note: See TracTickets for help on using tickets.