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)
Core Graveyard
Networking: FTP
Tracking
(Not tracked)
RESOLVED
WORKSFORME
mozilla1.1beta
People
(Reporter: tessarakt, Assigned: neeti)
References
()
Details
(Keywords: regression)
Attachments
(4 files)
602 bytes,
patch
|
Details | Diff | Splinter Review | |
789 bytes,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
1.01 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
1.01 KB,
patch
|
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Comment 2•23 years ago
|
||
2002050110
Dupe of bug 137965 (which looks like it may need reopening) ?
Comment 4•23 years ago
|
||
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.
Reporter | ||
Comment 5•23 years ago
|
||
Dunno. Maybe is has to do with timezones?
I did not build it, it is the Debian package built by Takuo KITAME.
Comment 6•23 years ago
|
||
ftp://ftp.netsville.com/pub/hazel/
Hit it, see the "Document contains no data" error.
Linux, build ID 2002043010.
both the URL in url-field as well as in comment 6 WFM, XP, 2002050108.
Comment 10•23 years ago
|
||
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.
Comment 11•23 years ago
|
||
'Joy'. Another server interaction thing...
Priority: -- → P2
Target Milestone: --- → mozilla1.1beta
Comment 12•23 years ago
|
||
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.
Comment 13•23 years ago
|
||
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...
Reporter | ||
Comment 14•23 years ago
|
||
gabriel: Nope, bug 137965 deals with HTTP networking.
Comment 15•23 years ago
|
||
I'm getting is also when I FTPd to ftp.us.kernel.org.
Linux, RC3. Build ID: 2002051009
Comment 16•23 years ago
|
||
I have no time to work on mozilla at the moment, so dougt is taking over FTP
open ftp bugs -> him
Assignee: bbaetz → dougt
Comment 17•23 years ago
|
||
I do not see this in 1.1b windows. Please reopen if this still occurs.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 18•23 years ago
|
||
This is still happening in 1.1b on Linux.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Assignee | ||
Comment 20•23 years ago
|
||
I do not see this on my win2000 or linux trunk build.
Assignee | ||
Comment 22•23 years ago
|
||
This works for me with win2k and linux trunk and 1.0 branch builds.
Status: NEW → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → WORKSFORME
Comment 23•23 years ago
|
||
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 → ---
Assignee | ||
Comment 24•23 years ago
|
||
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
Comment 25•23 years ago
|
||
try the patch in this bug:
http://bugzilla.mozilla.org/show_bug.cgi?id=162326
Assignee | ||
Comment 26•23 years ago
|
||
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.
Comment 27•23 years ago
|
||
i see. I guess this is a seperate bug.
Comment 28•23 years ago
|
||
WFM with all the links above, with MacOS 9.1 Build 2002091108
Comment 29•23 years ago
|
||
UPDATE:
using current URL, Linux-only, Mozilla 1.1.
Anyone else seeing it elsewhere now?
Whiteboard: checkmac checkwin checklinux
Assignee | ||
Comment 30•23 years ago
|
||
doug: could you please review the patch.
Assignee | ||
Comment 31•23 years ago
|
||
I have tested the patch on a number of sites on
mozilla/netwerk/protocol/ftp/test/frametest/index.html
Comment 32•23 years ago
|
||
you should remove the other SetRetrying.
Assignee | ||
Comment 33•23 years ago
|
||
Removed the other SetRetrying
Comment 34•23 years ago
|
||
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+
Assignee | ||
Comment 35•23 years ago
|
||
Comment 36•23 years ago
|
||
Comment on attachment 99110 [details] [diff] [review]
revised patch with comments added
r=dougt
Attachment #99110 -
Flags: review+
Comment 37•23 years ago
|
||
Comment on attachment 99110 [details] [diff] [review]
revised patch with comments added
oh... add a space between "bug" and 141451
Assignee | ||
Comment 38•23 years ago
|
||
Comment 39•23 years ago
|
||
Comment on attachment 99111 [details] [diff] [review]
between "bug" and 141451
sr=darin
Attachment #99111 -
Flags: superreview+
Comment 40•23 years ago
|
||
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.
Comment 41•23 years ago
|
||
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...
Comment 42•23 years ago
|
||
> 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.
Comment 43•23 years ago
|
||
*** Bug 170095 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 44•23 years ago
|
||
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 ago → 23 years ago
Resolution: --- → WORKSFORME
Comment 45•23 years ago
|
||
The popup is gone also for me on Linux build 2002092408.
Thanks, whoever fixed it! :)
Updated•1 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•