Closed
Bug 77778
Opened 25 years ago
Closed 25 years ago
Stuttering in list of components, etc.
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.14
People
(Reporter: terry, Assigned: justdave)
References
Details
Attachments
(1 file)
|
708 bytes,
patch
|
Details | Diff | Splinter Review |
Bugzilla has had a long time, very-hard-to-reproduce problem where occasionally
all the entries in the versions and components and other selection lists would
get duplicated: each component would be listed twice, etc.
Everyone knew that this was because the versioncache file was getting corrupted,
but nobody knew how.
Well, I happened to be staring at some code, and I think I found out how.
If a .cgi calls GetVersionTable() more than once and if it has been exactly one
hour since the versioncache file was last created, then this problem can result.
The first time it gets called, it decides that the existing file is recent
enough it loads the data from the versioncache file. The second time, the clock
has ticked over one second and so it now decides the versioncache file is
out-of-date. So, it goes to regenerate it. Well, all the regeneration code
assumes that the variables start out empty, so it is going to append new data to
the end of the existing data in memory from the first time it loaded. Oops.
GetVersionTable() needs to be patched to do nothing if it has been called already.
Updated•25 years ago
|
Target Milestone: --- → Bugzilla 2.16
| Assignee | ||
Comment 2•25 years ago
|
||
We seem to be running into this a lot on b.m.o. lately... here's hoping this
fixes the corruptions...
Assignee: tara → justdave
Target Milestone: Bugzilla 2.16 → Bugzilla 2.14
| Assignee | ||
Comment 3•25 years ago
|
||
| Assignee | ||
Updated•25 years ago
|
Comment 4•25 years ago
|
||
r=tara
| Assignee | ||
Comment 5•25 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•25 years ago
|
||
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.12 → unspecified
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•