-
-
Notifications
You must be signed in to change notification settings - Fork 99
process object with weird attributes in Node.js v10.5.0 #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@joyeecheung have you found other issues in v10.5.0 besides this one? |
@mmarchini Not yet, I have not used llnode much with v10.x or master lately |
Interestingly, llnode is not broken on v10 on Linux: https://travis-ci.com/nodejs/llnode/jobs/132771982/config though it's broken on macOS, I have not tested on other platforms yet. |
Weird, but good to know. I'll try to look into it later this week. |
This issue is reproducible on FreeBSD 11.2-RELEASE with LLDB 4.0 and 6.0. |
This comment has been minimized.
This comment has been minimized.
There are two issues here: one is the I was able to fix the first issue and I'll submit a patch later today. BTW, the issue was also happening on Linux, but some of our tests are not running there 😕 |
When the PropertyLocation of the details of a JSObject property is kDescriptor, we can just get the descriptor from the descriptors array and inspect it. This solves several fields being resolved as `<unknown field type>`. Fixes: nodejs#198 Ref: nodejs#209
Some tests (`test/addon/jsapi-test.js` and `test/plugin/scan-test.js`) were not running on Linux because LLDB is not able to save core dumps on that platform. These changes use a simpler approach to save core dumps on Linux so these tests can also be run there. Ref: nodejs#209
@mmarchini I believe that's because lldb does not support saving core dumps on Linux (at least not in 3.9) |
Read-onlyness shouldn't influnece from where we read the property data. Fixes: nodejs#209
When the PropertyLocation of the details of a JSObject property is kDescriptor, we can just get the descriptor from the descriptors array and inspect it. This solves several fields being resolved as `<unknown field type>`. Fixes: #198 Ref: #209 PR-URL: #221 Refs: #209 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
When the PropertyLocation of the details of a JSObject property is kDescriptor, we can just get the descriptor from the descriptors array and inspect it. This solves several fields being resolved as `<unknown field type>`. Fixes: nodejs#198 Ref: nodejs#209 PR-URL: nodejs#221 Refs: nodejs#209 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Read-onlyness shouldn't influnece from where we read the property data. Fixes: nodejs#209 PR-URL: nodejs#221 Fixes: nodejs#198 Refs: nodejs#209 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Some tests (`test/addon/jsapi-test.js` and `test/plugin/scan-test.js`) were not running on Linux because LLDB is not able to save core dumps on that platform. These changes use a simpler approach to save core dumps on Linux so these tests can also be run there. Ref: nodejs#209
When the PropertyLocation of the details of a JSObject property is kDescriptor, we can just get the descriptor from the descriptors array and inspect it. This solves several fields being resolved as `<unknown field type>`. Fixes: nodejs#198 Ref: nodejs#209 PR-URL: nodejs#221 Refs: nodejs#209 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Read-onlyness shouldn't influnece from where we read the property data. Fixes: nodejs#209 PR-URL: nodejs#221 Fixes: nodejs#198 Refs: nodejs#209 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Some tests (`test/addon/jsapi-test.js` and `test/plugin/scan-test.js`) were not running on Linux because LLDB is not able to save core dumps on that platform. These changes use a simpler approach to save core dumps on Linux so these tests can also be run there. Ref: #209 PR-URL: #222 Refs: #209 Reviewed-By: Joyee Cheung <[email protected]>
Some tests (`test/addon/jsapi-test.js` and `test/plugin/scan-test.js`) were not running on Linux because LLDB is not able to save core dumps on that platform. These changes use a simpler approach to save core dumps on Linux so these tests can also be run there. Ref: nodejs#209 PR-URL: nodejs#222 Refs: nodejs#209 Reviewed-By: Joyee Cheung <[email protected]>
For example,
platform=<Smi: 1>
should be a string. Node.js v10.4.1 is working fine.git bisect
points to nodejs/node@ba17c9e as the offending commit.The text was updated successfully, but these errors were encountered: