[loongarch] Failed to dumpValue for floating-point value
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox123 | --- | unaffected |
firefox124 | --- | wontfix |
firefox125 | --- | wontfix |
firefox126 | --- | fixed |
People
(Reporter: zhaojiazhong-hf, Assigned: arai)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0
Steps to reproduce:
Build js shell with --enable-debug
or --enable-jitspew
on loongarch64 platform, not the simulator in SpiderMonkey.
Then run: ./mach run -e 'dumpValue(1.1)'
Actual results:
JS shell crash before print all output.
Expected results:
Get the following output, and exit normally.
{
"type": "double",
"value": "1.1",
"private": "0x3ff199999999999a"
}
Reporter | ||
Comment 1•1 year ago
|
||
The function and this issue seem to be introduced in bug 1783397.
Reporter | ||
Updated•1 year ago
|
Comment 2•1 year ago
|
||
:arai, since you are the author of the regressor, bug 1783397, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Reporter | ||
Comment 3•1 year ago
|
||
The problem is there are two JSONPrinter::formatProperty:
void JSONPrinter::formatProperty(const char* name, const char* format, ...) { ... }
void JSONPrinter::formatProperty(const char* name, const char* format, va_list ap) { ... }
And va_list
type is actually void *
on LoongArch, and I guess RISC-V and MIPS, some codes may call into the unwanted one.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Comment 5•1 year ago
|
||
Set release status flags based on info from the regressing bug 1783397
Updated•1 year ago
|
Updated•1 year ago
|
Comment 7•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Description
•