C-C T-B fixes to take care of short read (part of [META] Failure to deal with short read)
Categories
(MailNews Core :: Database, defect)
Tracking
(Not tracked)
People
(Reporter: ishikawa, Assigned: ishikawa)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: meta)
Attachments
(10 files, 36 obsolete files)
|
10.65 KB,
patch
|
Details | Diff | Splinter Review | |
|
5.20 KB,
patch
|
Details | Diff | Splinter Review | |
|
7.02 KB,
patch
|
Details | Diff | Splinter Review | |
|
29.75 KB,
patch
|
Details | Diff | Splinter Review | |
|
6.89 KB,
patch
|
Details | Diff | Splinter Review | |
|
14.38 KB,
patch
|
Details | Diff | Splinter Review | |
|
15.44 KB,
patch
|
Details | Diff | Splinter Review | |
|
5.38 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.54 KB,
patch
|
Details | Diff | Splinter Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
| Assignee | ||
Updated•10 years ago
|
| Assignee | ||
Updated•10 years ago
|
| Assignee | ||
Comment 1•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
| Assignee | ||
Updated•10 years ago
|
| Assignee | ||
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Comment 4•10 years ago
|
||
| Assignee | ||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
| Assignee | ||
Comment 7•10 years ago
|
||
| Assignee | ||
Comment 8•10 years ago
|
||
| Assignee | ||
Comment 9•9 years ago
|
||
| Assignee | ||
Comment 10•9 years ago
|
||
| Assignee | ||
Comment 11•9 years ago
|
||
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Comment 12•9 years ago
|
||
| Assignee | ||
Comment 13•9 years ago
|
||
| Assignee | ||
Comment 14•9 years ago
|
||
| Assignee | ||
Comment 15•9 years ago
|
||
| Assignee | ||
Comment 16•9 years ago
|
||
| Assignee | ||
Comment 17•9 years ago
|
||
| Assignee | ||
Comment 18•9 years ago
|
||
| Assignee | ||
Comment 19•9 years ago
|
||
| Assignee | ||
Comment 20•9 years ago
|
||
| Assignee | ||
Comment 21•9 years ago
|
||
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Comment 22•9 years ago
|
||
| Assignee | ||
Comment 23•9 years ago
|
||
| Assignee | ||
Comment 24•9 years ago
|
||
| Assignee | ||
Comment 25•9 years ago
|
||
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Comment 26•9 years ago
|
||
| Assignee | ||
Comment 27•9 years ago
|
||
| Assignee | ||
Comment 28•9 years ago
|
||
| Assignee | ||
Comment 29•9 years ago
|
||
| Assignee | ||
Comment 30•9 years ago
|
||
| Assignee | ||
Comment 31•9 years ago
|
||
| Assignee | ||
Comment 32•9 years ago
|
||
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Comment 33•9 years ago
|
||
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Comment 34•9 years ago
|
||
| Assignee | ||
Comment 35•9 years ago
|
||
| Assignee | ||
Comment 36•9 years ago
|
||
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Comment 37•9 years ago
|
||
| Assignee | ||
Comment 38•9 years ago
|
||
| Assignee | ||
Comment 39•9 years ago
|
||
| Assignee | ||
Comment 40•9 years ago
|
||
| Assignee | ||
Comment 41•9 years ago
|
||
| Assignee | ||
Comment 42•9 years ago
|
||
| Assignee | ||
Comment 43•9 years ago
|
||
| Assignee | ||
Comment 44•9 years ago
|
||
| Assignee | ||
Comment 45•9 years ago
|
||
| Assignee | ||
Comment 49•8 years ago
|
||
| Assignee | ||
Comment 51•8 years ago
|
||
| Assignee | ||
Comment 52•8 years ago
|
||
| Assignee | ||
Comment 53•8 years ago
|
||
| Assignee | ||
Comment 54•8 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Comment 55•1 year ago
|
||
clang-format
nsMsgBrkMBoxStore.cpp reformat
Updated•11 months ago
|
| Assignee | ||
Comment 56•11 months ago
|
||
Many years ago, M-C tree suffered from short read, too.
I had to white list many files read by routines in M-C tree when I simulated short read and caused errors because
I did not make many changes in M-C trees.
However, yesterday, I was pleasantly surprised that many routines that read
- json files,
- js scrpt files,
- css fles,
- etc.
do not seem to suffer from short read problems. Great.
Then do only C-C routines that read files such as folders, etc suffer from short read issues?
At least one problem remain possibly in M-C tree or JS land.
I will file a separate bug. What happens is that C-C TB
reading mozilla/devtools/client/locales/en-US/startup.properties suffers from the short read issue.
My local log shows that as soon as startup.properties became the target of short read simulation,
the following happened. The binary only reads the first 1000 octets and did not bother to see if there are remaining octets, and
quits reading (close: fd= 13). Thus, it fails to realize many keys are defined in startup.properties later in the portion of the file that was not read fully.
open64: fd=13, <</NEW-SSD/NREF-COMM-CENTRAL/mozilla/devtools/client/locales/en-US/startup.properties>> (flags=0x0000, mode=0x00000000)
check filename: /NEW-SSD/NREF-COMM-CENTRAL/mozilla/devtools/client/locales/en-US/startup.properties
hook: matched file found
read(S): fd= 13, ..., expected=1000 -> rc=1000
close: fd= 13
console.error: "No localization found for [inspector.accesskey]"
console.error: "No localization found for [inspector.label]"
console.error: "No localization found for [inspector.panelLabel]"
console.error: "No localization found for [webConsoleCmd.accesskey]"
console.error: "No localization found for [ToolboxTabWebconsole.label]"
console.error: "No localization found for [MenuWebconsole.label]"
Description
•