Closed
Bug 28466
Opened 26 years ago
Closed 25 years ago
Capture Form causes browser to hang
Categories
(Toolkit :: Form Manager, defect, P3)
Toolkit
Form Manager
Tracking
()
VERIFIED
FIXED
People
(Reporter: bugzilla, Unassigned)
References
()
Details
(Whiteboard: [nsbeta2-])
Attachments
(1 file)
3.27 KB,
text/plain
|
Details |
i know that as of the 2000021808 builds wallet stuff has been disabled --but i
found this using y'day's opt comm bits [2000021708], so this is a regression.
1. go to above URL.
2. fill out some of the fields.
3. go to Tasks > Autofill > Capture Form
result: browser hangs.
expected: browser shouldn't hang.
![]() |
||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M15
![]() |
||
Comment 1•26 years ago
|
||
This is the same as the change-password problem for mac (bug 28148) whereby
wallet functions cause browser to hang. Problem occured when the netcenter
tables were being downloaded. In the case of change-password, the wallet tables
really weren't needed yet, so I was able to bypass the problem by not
downloading them (that was the fix for 28148).
But for the actual wallet functions, these tables are needed and have to be
downloaded. So I realized that the problem of downloading them on the mac would
have to be eventually addressed, and it's good that you opened this bug report
so I don't forget about the problem. (Of course this won't affect beta because
the menu items are missing, so that's why I designated this as M15.)
But I am interested in knowing if this is really a regression. As of what build
was this still working on the mac? Knowing that will make it easier for me when
I do address this problem.
![]() |
||
Comment 2•26 years ago
|
||
Sarah, I need to know if this is still a problem on the mac or if it got fixed
by later changes to the code? Now that wallet is re-enabled, you should be able
to easily test this.
![]() |
Reporter | |
Comment 3•26 years ago
|
||
no longer a problem for me --tested using tip build 2000.03.21.08-m15 (opt
comm). marking as wfm.
![]() |
Reporter | |
Comment 4•26 years ago
|
||
foo, it's back again, as of the opt comm build 2000.03.27.10. reopening.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
![]() |
||
Comment 5•26 years ago
|
||
Unable to reproduce. We tried this on rjc's mac using a debug mozilla tree and
it worked fine. Sarah's hang was on with optimized mozilla bits. Sarah will
test this out on other machines to see if we can make some conclusions.
![]() |
Reporter | |
Comment 6•26 years ago
|
||
argh, using the same profile on the same mozilla (optimized, 2000.03.29.09) bits
on MacOS 9.0, i couldn't reproduce this problem just now. very annoying, since i
was able to repro it in front of steve just over an hour ago. feh.
however, i'm still able to reliably repro this when using the optimized
commercial bits (still 2000.03.29.09). got a MacsBug stack trace which i'll
attach.
![]() |
Reporter | |
Comment 7•26 years ago
|
||
![]() |
Reporter | |
Comment 8•26 years ago
|
||
also reproducible on MacOS 8.6 (still using today's opt comm bits).
robert, i've attached a stack trace (obtained when voluntarily going into
MacsBug). the trace is identical btwn OS 8.6 and 9.0. i'll keep an eye when this
happens again on mozilla bits...
![]() |
||
Comment 9•26 years ago
|
||
cc'ing Warren, who says that he loves debugging these types of problems.
![]() |
||
Comment 10•26 years ago
|
||
Note in bug 33835 that the reporter was able to successfully do the capture.
And the fact that rjc could do it and even sairuh reported on two occaisons that
it worked ok for her all leads me to believe that we are encountering an
intermittent problem here -- probably timing related. So my hunch is that we
shouldn't be looking for a difference between debug versus optimized, or any
other differences in the environments. Rather we should do a test by repeating
it many times in the same environment and see how consistent the results are.
The will demonstrate if it's a timing problem.
![]() |
||
Comment 11•26 years ago
|
||
In bug 33835 bservies describes the intermittent nature of the current bug.
This further substantiates my hunch that we might have a timing-related problem
here.
Status: REOPENED → ASSIGNED
![]() |
||
Comment 12•26 years ago
|
||
Furthermore, in bug 33835 bservies states that he was even able to observe this
problem at least once on linux. So this is not a mac-only bug although the
timing must be such that it is more frequent on the mac.
Removing the pp indication.
Keywords: pp
Hardware: Macintosh → All
Summary: mac: Capture Form causes browser to hang → Capture Form causes browser to hang
Comment 13•26 years ago
|
||
morse, are you trying to download the wallet tables from netcenter synchronously?
Is that what is causing this bug? If so, then you are violating a principle of
necko that such downloads must be done asynchronously. We've had to fix a bunch
of other cases like this already: ccing valeski, who knows more about this.
![]() |
||
Comment 14•26 years ago
|
||
No, we are doing it asynchronously by using a local event loop. Andreas wrote
the code so perhaps he'll have more to say about this.
![]() |
||
Comment 15•26 years ago
|
||
hmm, local event loop. why not just use the one on the UI thread (are you on
another thread?)?
![]() |
||
Comment 16•26 years ago
|
||
I'll let andreas answer judson's question.
Here's another data point. I am now seeing similar behavior on windows. In
particular, when I run with a sniffer, I find that about half the time the
tables do not get downloaded. The sniffer indicates that in the bad case, the
http request is sent out but no response is ever received. And this occurs
randomly -- about half the times that I try it the tables are downloaded
successfully and the other half there is no response.
Now of course this is different than the mac and linux cases when an outright
hang occurred. In this case we simply never get the response and so the local
event loop never terminates.
![]() |
||
Comment 17•26 years ago
|
||
Judson: Originally I planed to live on another thread with this file loads,
start them as soon as possible (even before the ui thread exists) and join them
at the latest possible moment. But that did not work, necko does not allow that
(remember TestNeckoThread?).
We have to be sure that the files are loaded (or updated) when certain functions
are called. Synchronous loads were not working at that time, and this solution
was a temporary fix for the problem to unblock the wallet feature. If there are
now better solutions to this problem please share your knowledge.
![]() |
||
Comment 18•26 years ago
|
||
Don't know how to fix this one yet so it's not going to make m15.
Target Milestone: M15 → M16
![]() |
Reporter | |
Comment 19•25 years ago
|
||
strangely enough, i was able to get this to work on today's opt comm bits,
2000.04.12.12-M16. (didn't work on the M15 bits, though.)
Keywords: pp
Hardware: All → Macintosh
![]() |
Reporter | |
Comment 20•25 years ago
|
||
ack, now i can get this happens all the time on linux. tested with the optimized
commercial bits 2000.04.17.05-m15.
will check the m16 bits once they're out.
Keywords: pp
Hardware: Macintosh → All
![]() |
||
Comment 21•25 years ago
|
||
Sarah, please confirm that (1) this is still a problem, and (2) it is cross
platform. Thanks.
![]() |
Reporter | |
Comment 22•25 years ago
|
||
hey...this...works...on linux and mac (and winNT), using 2000.05.09.08 optimized
commercial bits. i tried this using an existing (week-old) profile. i am
baffled. steve, any idea what made this magically work?
have people seen this work on mozilla (linux, mac) recently?
![]() |
Reporter | |
Comment 23•25 years ago
|
||
also works fine on today's linux and mac mozilla bits.
![]() |
||
Comment 24•25 years ago
|
||
This seems to happen totaly randomly, must be some nasty timing problem. Ugly
stuff ...
Comment 25•25 years ago
|
||
...just as you would expect with the necko sync load threading problem. This bug
won't magically go away, I think.
![]() |
||
Comment 26•25 years ago
|
||
see 22103 for a patch I provided to try and move us beyond the sync load
problem. I was reluctant to try anything because we simply should not be doing
sync loads in most cases, but the changeover ain't gonna happen.
![]() |
||
Comment 27•25 years ago
|
||
Putting on [nsbeta2-] radar. Come back to PDT if you get a reproducible
testcase.
Whiteboard: [nsbeta2-]
![]() |
||
Comment 29•25 years ago
|
||
Sarah, please try this out once again. Several things have changed recently
that might affect this. For one, the prefill problem that started happening
this week is now fixed so that should no longer get in the way here. For
another, I changed the way I download the server tables and that might have been
a factor. I'm anxiously awaiting your response. Do repeated testing on it
because it seems to have been an intermittent failure in the past.
![]() |
Reporter | |
Comment 30•25 years ago
|
||
using opt commercial bits on linux, mac and winNT. 2000.05.12.08.
1. testing bug 28466, Capture Data from Form, starting with a new profile, eg,
called "blah":
a. winNT: works, but the field names are
"www.mozilla.org/wallet/samples/inte..."
b. linux and mac: fail.
2. testing bug 28466, Capture Data from Form, using an existing profile (namely
"blah"):
a. retested linux and mac: somehow managed to work! and as in (1a) with the long
fieldnames.
b. winNT retested (restarted the browser before this retest): works, but now
this 2nd set of fieldnames are more reasonable, ie, "name.first," "name.last."
3. testing bug 33542, prefilling form w/stored data, using "blah":
a. winNT: works, but data confirmation dialog only displays values captured from
(2b).
b. linux and mac: fails --prolly because of the fieldname issues from (2a).
![]() |
||
Comment 31•25 years ago
|
||
Together with dp, I made some changes that eliminate the local thread that was
used while the wallet tables were being downloaded. Also we now use local
copies of the files if the download fails (that's what was causing the strange
field names sairuh was reporting on in her last comment above).
Marking as fixed and hoping that sairuh's verification on Monday will confirm
that.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 25 years ago
Resolution: --- → FIXED
![]() |
Reporter | |
Comment 32•25 years ago
|
||
no longer hangs. :-) tested using opt comm bits 2000.05.18.08 on linux, mac [and
winNT].
Status: RESOLVED → VERIFIED
Updated•17 years ago
|
Assignee: morse → nobody
Product: Core → Toolkit
QA Contact: bugzilla → form.manager
Target Milestone: M16 → ---
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•