Closed Bug 1165977 Opened 9 years ago Closed 8 years ago

FireFTP & Bugzilla: Submitting an attachment on bugzilla often fails with e10s enabled

Categories

(Core :: General, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s + ---
firefox41 --- affected

People

(Reporter: ntim, Unassigned)

References

Details

(Whiteboard: [bugzilla][FireFTP] testing, triaged)

User Story

It sometimes works, but often fails.

STR :
- Try to submit an attachment to bugzilla with FireFTP running

AR :
- Forms fails to submit, and you are not redirected to the bug page
- The attachment doesn't submit

Info :
Reproduced this on 2 machines already (Windows and Mac)

I don't have reliable steps to reproduce this warning, but if it helps, the warning precisely comes from here: https://github.com/mimecuvalo/fireftp/blob/master/src/content/js/etc/fireftpOverlay.js#L119. According to your code, this warning should show up each time the FireFTP overlay is being loaded.
The use of window.content is probably causing the warning in this case.

Attachments

(2 obsolete files)

It sometimes works, but often fails.

STR :
- Try to submit an attachment to bugzilla

AR :
- Forms fails to submit, and you are not redirected to the bug page
- The attachment doesn't submit

Info :
Reproduced this on 2 machines already (Windows and Mac)
Can you test in a clean profile? It sounds like an add-on issue. If it doesn't reproduce in a clean profile, it would be helpful if you could bisect your add-on list to find the one at fault.

(Note that safe mode also disables e10s, so safe mode won't be helpful here.)
Flags: needinfo?(ntim.bugs)
Attachment #8607192 - Attachment is obsolete: true
Flags: needinfo?(ntim.bugs)
So FireFTP seems to be the culprit here. Everytime I click on the submit button, I get logs from fireftpOverlay.js:119:0 (unsafe CPOW usage).

Also, I can only reproduce this with some attachments, not all of them.
Hi there,
I'm the developer of FireFTP.  What's the issue at hand with the overlay code?  Can someone narrow down for me what lines of code are causing troubles?  @tim what does "unsafe CPOW usage" mean?

Thanks!
(In reply to Mime Čuvalo from comment #4)
> Hi there,
> I'm the developer of FireFTP.  What's the issue at hand with the overlay
> code?  Can someone narrow down for me what lines of code are causing
> troubles?  @tim what does "unsafe CPOW usage" mean?
> 
> Thanks!

Thank you for taking a look at this issue !

Information about CPOW : https://developer.mozilla.org/en-US/Firefox/Multiprocess_Firefox/Cross_Process_Object_Wrappers

E10S experts will know better than me, but I think it's because you are using window.content at line 119 in src/content/js/etc/fireftpOverlay.js, which causes the cpow error in e10s.
Flags: needinfo?(wmccloskey)
The "unsafe CPOW usage" message is only a warning. It may not be related to this bug. Someone would have to investigate and see.
Flags: needinfo?(wmccloskey)
(In reply to Bill McCloskey (:billm) from comment #6)
> The "unsafe CPOW usage" message is only a warning. It may not be related to
> this bug. Someone would have to investigate and see.

The cpow warning showed each time I hit submit on bugzilla, and the logs were coming out of fireftpOverlay.js.
Someone will have to explain to me how this is related to FireFTP and how FireFTP is interfering with uploads.  It is unclear to me the intersection where the two programs are colliding.
(In reply to Mime Čuvalo from comment #8)
> Someone will have to explain to me how this is related to FireFTP and how
> FireFTP is interfering with uploads.  It is unclear to me the intersection
> where the two programs are colliding.

I also found pretty weird that FireFTP was interfering with submitting a bugzilla attachment, but the toolbox showed logs from the FireFTP overlay each time submit attachment was clicked. I'll try to get a screencast when I can.
Attached file e10scan.txt (obsolete) —
This is a test of the reported bug.
Attachment #8697291 - Attachment is obsolete: true
I don't get any error messages, can you still replicate this?
Flags: needinfo?(ntim.bugs)
(In reply to Jerod Lycett from comment #11)
> I don't get any error messages, can you still replicate this?

I no longer can replicate this. But I can still see `unsafe CPOW usage` warnings from fireftpOverlay.js
Flags: needinfo?(ntim.bugs)
Where does one find the CPOW usage warning? I'm looking at Browser Console in Nightly and not seeing anything as I browse around.
(In reply to Mime Čuvalo from comment #13)
> Where does one find the CPOW usage warning? I'm looking at Browser Console
> in Nightly and not seeing anything as I browse around.
I don't have reliable steps to reproduce this warning, but if it helps, the warning precisely comes from here: https://github.com/mimecuvalo/fireftp/blob/master/src/content/js/etc/fireftpOverlay.js#L119. According to your code, this warning should show up each time the FireFTP overlay is being loaded.
The use of window.content is probably causing the warning in this case.
addon update June 20 2016 - potential testing target to see if still occurring.

400K+ users
User Story: (updated)
Priority: -- → P2
Summary: Submitting an attachment on bugzilla often fails with e10s enabled → FireFTP & Bugzilla: Submitting an attachment on bugzilla often fails with e10s enabled
Whiteboard: [bugzilla][FireFTP]
Flags: needinfo?(sescalante)
Whiteboard: [bugzilla][FireFTP] → [bugzilla][FireFTP] testing, triaged
not a guarantee - re-open if see again - but passed softvision testing to try to reproduce on latest versions.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(sescalante)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: