-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Segfault when 0.12.2 built with gcc 5.1.0 on illumos #25281
Comments
It seems that it might be related to #9227 and https://code.google.com/p/chromium/issues/detail?id=152407#c11. Could you please show us the complete log of the build process. I'm especially interested in seeing the optimization flags used by g++ to build V8. Are you able to reproduce the problem with gcc 4.x? |
On 13 May 2015 at 02:44:25, Julien Gilli (notifications@github.com) wrote: Could you please show us the complete log of the build process. I'm especially interested in seeing the optimization flags used by g++ to build V8. Are you able to reproduce the problem with gcc 4.x? You can find build log on Dropbox: https://www.dropbox.com/s/fsyqp9g9t2gqbyv/log5?dl=0 But problem is gone when I use -gO2 instead of -gO3. Alexander — |
Thank you. Can you try building io.js, which comes with a newer V8, with GCC 5.1 and -O3, and let us know if you get the same problem? |
No, io.js doesn't have such problem ;) |
This issue in Chromium seems like it could be related too: https://code.google.com/p/chromium/issues/detail?id=412967. @joyent/node-tsc I don't have the time to investigate potential fixes right now, but if we can validate that the fix mentioned above fixes this specific issue (using GCC 5.1.0 on SmartOS 32 bits), then we should also investigate what other platforms are affected and the extent of the problem. |
@joyent/node-tsc Set P-1 because I suspect we would get a lot more reporters of this problem if it affects every recent version of GCC on 32 bits systems. If it turns out this issue is more specific to a single platform or a restricted set of GCC versions, then we can lower the priority. |
@orangemocha That's potentially related to the issues you're seeing on the build platform. |
The stack trace is very similar to the issue described https://code.google.com/p/chromium/issues/detail?id=412967. It's almost certainly the same issue. I am going to investigate a couple of options:
|
I've built janeasystems/node with 5.1, unfortunately same core. |
@alhazred Did you build the |
Ah.. End of the day :) give me a min |
@alhazred No worries, your help is very much appreciated 👍 |
Bingo! Thank you very much for this :) |
That's all thanks to @joaocgreis' work :) @alhazred Thank you very much to you for helping us solve this! 👍 |
Fixes segfault in 32bit SmartOS when built with GCC 4.9. This is the first of two backports from upstream v8: 1. v8/v8@90dc5c9 2. v8/v8@7cb82a7 Original commit message: Do not use wide reads in CopyCharsUnsigned. R=jkummerow@chromium.org BUG=chromium:412967 LOG=Y Review URL: https://codereview.chromium.org/566583002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23876 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 V8 issue: https://code.google.com/p/chromium/issues/detail?id=412967 Fixes #25281 Reviewed-By: Julien Gilli <julien.gilli@joyent.com> PR-URL: #25556
Fixes segfault in 32bit SmartOS when built with GCC 4.9. This is the second of two backports from upstream v8: 1. v8/v8@90dc5c9 2. v8/v8@7cb82a7 Original commit message: Reland "Remove V8_HOST_CAN_READ_UNALIGNED and its uses." BUG=chromium:412967 LOG=N R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/571903002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23938 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 V8 issue: https://code.google.com/p/chromium/issues/detail?id=412967 Fixes #25281 Reviewed-By: Julien Gilli <julien.gilli@joyent.com> PR-URL: #25556
Fixes segfault in 32bit SmartOS when built with GCC 4.9. This is the first of two backports from upstream v8: 1. v8/v8@90dc5c9 2. v8/v8@7cb82a7 Original commit message: Do not use wide reads in CopyCharsUnsigned. R=jkummerow@chromium.org BUG=chromium:412967 LOG=Y Review URL: https://codereview.chromium.org/566583002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23876 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 V8 issue: https://code.google.com/p/chromium/issues/detail?id=412967 Fixes nodejs#25281 Reviewed-By: Julien Gilli <julien.gilli@joyent.com> PR-URL: nodejs#25556
Fixes segfault in 32bit SmartOS when built with GCC 4.9. This is the second of two backports from upstream v8: 1. v8/v8@90dc5c9 2. v8/v8@7cb82a7 Original commit message: Reland "Remove V8_HOST_CAN_READ_UNALIGNED and its uses." BUG=chromium:412967 LOG=N R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/571903002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23938 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 V8 issue: https://code.google.com/p/chromium/issues/detail?id=412967 Fixes nodejs#25281 Reviewed-By: Julien Gilli <julien.gilli@joyent.com> PR-URL: nodejs#25556
The text was updated successfully, but these errors were encountered: