Closed Bug 141451 Opened 23 years ago Closed 23 years ago

First a window "Document contains no data" is shown, then the page is normally loaded

Categories

(Core Graveyard :: Networking: FTP, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME
mozilla1.1beta

People

(Reporter: tessarakt, Assigned: neeti)

References

()

Details

(Keywords: regression)

Attachments

(4 files)

1. Go to ftp://ftp.ccc.de/pub/chaosradio/ 2. Click on cr10 Actual results: - a message box with caption "Alert" and text "The document contains no data" is shown. - after pressing ok, the subdir is loaded normally. Expected result: - The subdirectory is loaded normally, without showing the alert. The same alert appears when pressing back in the subdirectory.
Please always include build ID in bug-reports
2002050110
Dupe of bug 137965 (which looks like it may need reopening) ?
Is it just me or does the build ID seem suspicious when compared to the timestamp on the comment? I do see this problem on my Debug Mac Mozilla build from today.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Linux → All
Hardware: PC → All
Dunno. Maybe is has to do with timezones? I did not build it, it is the Debian package built by Takuo KITAME.
ftp://ftp.netsville.com/pub/hazel/ Hit it, see the "Document contains no data" error. Linux, build ID 2002043010.
Confirming with Linux build 2002050109
both the URL in url-field as well as in comment 6 WFM, XP, 2002050108.
Linux only ?
I was seeing this dialog appear frequently also on win98. Then I created a new profile, and have not seen it since. Have you tried a new profile? [OT] I also noticed strange problems with mozilla requesting pages from the wrong host and strange non-updating problems with the URL bar before the new profile also... Now everything's peachy.
'Joy'. Another server interaction thing...
Priority: -- → P2
Target Milestone: --- → mozilla1.1beta
A fresh profile didn't change it for me. Just tried the Linux 2002031312/0.9.9 build on my home box over DSL using X11, and it doesn't have the problem. Also doesn't occur on Win98 2002041711/1.0RC1.
I managed to get the popup using the method in bug 135182 comment 10. After that, I got the dialog a few more times on other sites, but not nearly as much as before I made a new profile...
gabriel: Nope, bug 137965 deals with HTTP networking.
I'm getting is also when I FTPd to ftp.us.kernel.org. Linux, RC3. Build ID: 2002051009
I have no time to work on mozilla at the moment, so dougt is taking over FTP open ftp bugs -> him
Assignee: bbaetz → dougt
I do not see this in 1.1b windows. Please reopen if this still occurs.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
This is still happening in 1.1b on Linux.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
I'll update all plats soon.
Whiteboard: checkmac checkwin checklinux
I do not see this on my win2000 or linux trunk build.
me
Assignee: dougt → neeti
Status: REOPENED → NEW
This works for me with win2k and linux trunk and 1.0 branch builds.
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
I still see this. Mozilla 1.2a Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020911 I'm testing on ftp://ftp.netsville.com/. I downloaded the tar.gz above, removed my entire ~/.mozilla directory, ran the new one, and I still see the "Document contains no data."
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
ok, I can reproduce this with ftp://ftp.netsville.com/ on linux trunk and 1.0 branch builds. This site works fine with win2k trunk and 1.0 branch builds. Updating URL in the bug
Status: REOPENED → ASSIGNED
doug: I applied the patch to the 1.0 branch, but I still get the alert dialog with "The document contains no data". In both cases( before and after the patch) the subdirs would load. The difference I found after applying the patch is that the throbber stops after loading the subdirs, whereas before, it would still keep throbbing even after loading the subdirs.
i see. I guess this is a seperate bug.
WFM with all the links above, with MacOS 9.1 Build 2002091108
UPDATE: using current URL, Linux-only, Mozilla 1.1. Anyone else seeing it elsewhere now?
Whiteboard: checkmac checkwin checklinux
Attached patch proposed patchSplinter Review
doug: could you please review the patch.
I have tested the patch on a number of sites on mozilla/netwerk/protocol/ftp/test/frametest/index.html
you should remove the other SetRetrying.
Attached patch revised patchSplinter Review
Removed the other SetRetrying
Comment on attachment 99093 [details] [diff] [review] revised patch add a comment above where you call SetRetrying. State something like. Bug: 141451 - We call this before receiving the error because on some systems the error closes the mDRequestForwarder data socket faster than we can process the control channel’s error code. r=dougt.
Attachment #99093 - Flags: review+
Comment on attachment 99110 [details] [diff] [review] revised patch with comments added r=dougt
Attachment #99110 - Flags: review+
Comment on attachment 99110 [details] [diff] [review] revised patch with comments added oh... add a space between "bug" and 141451
Comment on attachment 99111 [details] [diff] [review] between "bug" and 141451 sr=darin
Attachment #99111 - Flags: superreview+
This is actually a Feature. The problem with closing the data socket there is that you then get interactions with systems which do stuff in a different order, or return teh same port from another PASV response, or just don't like what we do. You can't set us up for the retry state unless we are actually retrying this transaction (which won't be the case for a sucessful RETR, ever) I suspect that this is the cause of bug 169002 and friends - since mRetrying is true, the onstop is never sent (in fact, the onstart isn't either, which may/will cause other problems) The real problem here was that the dummy close sent errors on to the caller. It _may_ be suffieient to use a PR_FALSE argument instead of PR_TRUE, but I suspect not, especially since the other SetRetrying was pulled out. I'm not sure about what the bug here is, but since I do not see this on a linux trunk build with id 2002081318 (ie before this patch), I can't do much to help... FTP log output (whcih is unfortiuantely not enabled in debug builds yet) from a build without this patch which is seeing this may be helpful. |TestProtocols -verbose| output is even better, if you can reproduce it with that test program This may be related to bug 167820, maybe.
hmm. I don't think i follow what your saying. The change moved the set of mRetrying to before we send RECV. The reason is that, on linux, we get then OnStopRequest for the data channel before we have a chance to check the control status. Maybe we should rest the mTrying in the handling of RECV back to false if there are no errors...
> The reason is that, on linux, we get then OnStopRequest for the data channel > before we have a chance to check the control status. Thats not quite true. We may, sometimes, get that, depending on the remote server, speed of the connection, and phase of the moon. Because of the DelayedOnStart stuff, the data channel which will nnd up being incorrect never sends the onstart to the consumer. It has no data, so it never calls ODA. Note the call to mDPipeRequest->Suspend(). That is meant to stop this from happening, until we resume once we know we have real data (by receving the response). Unless someone changed the socket code, it should be impossible for us to get the onstop that early. See bug 129811 for this. As I said, I can't reproduce this with a trunk build before neeti's change, so I don't know whats wrong here.
*** Bug 170095 has been marked as a duplicate of this bug. ***
I can no longer reproduce the problem for ftp://ftp.netsville.com/ and ftp://ftp.ximian.com in yesterday's linux trunk builds. wfm
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
The popup is gone also for me on Linux build 2002092408. Thanks, whoever fixed it! :)
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: