Closed
Bug 507454
Opened 16 years ago
Closed 16 years ago
avmshell commandline args with values can't assume the values are present
Categories
(Tamarin Graveyard :: Tools, defect, P5)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: tharwood, Assigned: tharwood)
Details
Attachments
(2 files)
|
2.52 KB,
patch
|
lhansen
:
review+
edwsmith
:
superreview+
|
Details | Diff | Splinter Review |
|
1.75 KB,
patch
|
dschaffe
:
review+
|
Details | Diff | Splinter Review |
This commandline should emit a diagnostic, not segfault:
$AVM -load
Affected args are:
-Dastrace
-cache_bindings
-cache_metadata
-cache_methods
-jitmax
-memlimit
-load
-gcwork
-workers
Comment 1•16 years ago
|
||
Ah, I see: -load, -gcwork, and -workers check that the argument parses correctly, but not that there actually is an argument. Duh.
Updated•16 years ago
|
Priority: -- → P5
Target Milestone: --- → flash10.1
| Assignee | ||
Comment 2•16 years ago
|
||
Tested each arg with and without a valid argument, ran tamarin tests.
Attachment #416635 -
Flags: review?(lhansen)
Updated•16 years ago
|
Attachment #416635 -
Flags: review?(lhansen) → review+
| Assignee | ||
Updated•16 years ago
|
Attachment #416635 -
Flags: superreview?(edwsmith)
Updated•16 years ago
|
Attachment #416635 -
Flags: superreview?(edwsmith) → superreview+
| Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 3•16 years ago
|
||
quick cmdline testcases that call the args with no other options. Test is to make sure that there is no segfault, should return "Unrecognized option...."
Tested using build 3475 for passing, and confirmed that build 3285 fails (previous build to change being pushed)
Attachment #421039 -
Flags: review?(dschaffe)
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•16 years ago
|
||
Comment on attachment 421039 [details] [diff] [review]
cmdline testcase
cmdline test works. I get 1 failure in tr mainline: on osx I get a Bus Error (10) when running: avmshell -stack
Attachment #421039 -
Flags: review?(dschaffe) → review+
Comment 5•16 years ago
|
||
-stack and -Dlanguage still crash the shell, tracked via bug #538969
cmdline testcase pushed in changeset 3484:ea96c237ae6a
Flags: in-testsuite+
Flags: flashplayer-triage+
You need to log in
before you can comment on or make changes to this bug.
Description
•