VirtualBox

Opened 9 years ago

Last modified 9 years ago

#14616 new defect

Firefox.com Firefox can't completely Download files

Reported by: paulg.ca Owned by:
Component: network/NAT Version: VirtualBox 5.0.4
Keywords: Cc:
Guest type: Linux Host type: Windows

Description (last modified by Valery Ushakov)

I have been running into what appears to be a bug with VirtualBox.

Host OS is Windows7 SP1 x64 with the latest updates. Guest OS is Centos 7.1 x64 with the latest updates.

When we use Firefox from www.firefox.com, it freezes when we try to download a file.

Steps to reproduce:

  1. Start Guest OS
  2. Immediately launch Firefox (38.2.1ESR or the latest 40.x release) and try to download a file (In our case, it is a epub file, http://www.cse.yorku.ca/~jr/epub/w/CV.epub)
  3. Firefox should them freeze

If you close the VM and restart the VM, Firefox should be able to download the file. If you reboot the host and retry the steps above you will reproduce the FF download failure.

If you look a Wireshark trace during the download you actually see the file start to download, but it seems that it isn't getting fully processed/closed/or TCP session closed.

Google Chrome/wget doesn't have this issue. It seems to tied to the FF from firefox.com

I am able to reproduce this with VirtualBox 5.0.2 and 5.0.4. VirtualBox 4.3.30 doesn't have this issue.

See the attached log and network captures.

Attachments (2)

VBox-Win7-x64-Vbox-4.3.30.log (106.0 KB ) - added by paulg.ca 9 years ago.
VBox-5.0.4-Win7x64.log (112.4 KB ) - added by paulg.ca 9 years ago.

Download all attachments as: .zip

Change History (11)

by paulg.ca, 9 years ago

by paulg.ca, 9 years ago

Attachment: VBox-5.0.4-Win7x64.log added

comment:1 by paulg.ca, 9 years ago

How can I upload the Wireshark network trace files. The 512KB limit seems kinda small for log files, can this be increased?

in reply to:  1 comment:2 by Valery Ushakov, 9 years ago

Replying to paulg.ca:

How can I upload the Wireshark network trace files. The 512KB limit seems kinda small for log files, can this be increased?

Not easily. Can you put your capture some place accessible and provide the url here?

comment:3 by Valery Ushakov, 9 years ago

Component: networknetwork/NAT

comment:4 by Valery Ushakov, 9 years ago

Description: modified (diff)

comment:6 by Valery Ushakov, 9 years ago

At first glance it looks like Firefox freezing is the cause, not the effect. Apparently at some point firefox freezes for whatever reason and stops reading from the socket, so the OS buffers data in the socket buffer in the kernel, advertising smaller and smaller TCP window to the peer (NAT in this case), until finally the window closes in frame 357. At this point NAT stops forwarding data to the guest, waiting for the window to open. Since that doesn't happen in a while, NAT sends a window probe, one byte of data into the closed window, frame 360. Host rejects the probe in frame 361, re-sending the old ack and advertising zero window again. If you waited longer, you would see a few more window probes like that.

So from the TCP point of view I don't see anything unusual.

Have you tried disabling firerfox add-ons if you have any installed?

At this point strace'ing the firefox process to see what it's doing is probably the next logical step. But this doesn't look like a network/NAT bug to me from what I've seen so far.

comment:7 by paulg.ca, 9 years ago

Are you saying that the packet trace in 4.3.30 and 5.0.4 are the same? Are you able reproduce the problem?

If I take the same VDI file and run it in VBox 4.3.30 Firefox works, nothing else changed NOTHING!, just the version of VBox. Whats up with that? I don't have a trace file for VBox 5.0.2, but in 5.0.2 the trace is significantly different from 5.0.4.

Do you need a trace from VBox 5.0.2, would that help? Should I be running the Wireshark trace in the Host OS (Windows 7)?

comment:8 by Valery Ushakov, 9 years ago

I'm saying that the 5.0.4 trace indicates the causation that is the opposite of what you are implying. The problem is not that firefox freezes because of a network problem. Rather the observed difference in the traces is caused by firefox freezing for whatever reason.

comment:9 by paulg.ca, 9 years ago

Thank you vushakov for your response.

I still don't get why VBox 4.3.30 always works and 5.0.2 and 5.0.4 don't work. I am using the the same VDI file. Are you able to reproduce the problem ?

Thank You Paul

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use