-
Notifications
You must be signed in to change notification settings - Fork 609
-
Notifications
You must be signed in to change notification settings - Fork 609
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
Memory corruption causing sudden death of processes. #3658
Comments
@chuckremes is there any chance this could be influenced by The above errors happen on any one of I tend toward thinking it's not |
More examples:
|
@digitalextremist any change you may be able to run one of these processes under a debugger? There are a number of places that A few places that So, this could be FFI related (and that would possibly implicate C-API as I'm pretty sure you're using the ffi gem, but correct me if not), C-API related other than FFI, GC related, interpreter related, concurrency related, etc. If it's not possible to run under a debugger, would it be possible to 1. try to extract a repro, or 2. give me some sort of access to attempt to repro myself? |
Much of the internals of Rubinius have been completely or mostly rewritten in the past couple years. This includes the garbage collector, concurrency facilities, Fibers, much of the instruction set, and a migration away from "primitive" functions that implement Ruby features. Since a number of segfaults or process hangs have occurred in these features over time, this issue may be fixed. The focus for Rubinius in the near term is on the following capabilities:
Contributions in the form of PRs for any of the areas of focus above are appreciated. Once these capabilities are more robust, it will be possible to more efficiently debug and fix any process crashes. Other than these core capabilities, PRs to fix any specific issue are always welcome. |
Seems to be similar error output to: #2674
At seemingly random points, one of the following errors will output to the calling terminal ( not
STDOUT
orSTDERR
) ... and there could be more:No discernable way to reproduce.
Configuration Details
rubinius 3.33 (2.2.2 db6f477e 2016-05-23 3.6.0) [x86_64-linux-gnu]
Linux #80-Ubuntu SMP Thu Mar 12 11:16:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04.4 LTS
No stacktrace; sudden death.
Seems related to the thread context issue @brixen is already aware of. Have experienced in
3.33
as reporting here, as well as3.32
, and3.31
but cannot verify the exact messages produced by those.The text was updated successfully, but these errors were encountered: