myst (Boaz Segev)
- Login: myst
- Registered on: 01/27/2017
- Last sign in: 01/12/2021
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 0 | 1 |
Activity
10/16/2017
-
01:01 AM Ruby Bug #14009: macOS High Sierra and “fork” compatibility
- I'm happy this was merged to the Ruby trunk.
> Just an idea, environment variable DYLD_INSERT_LIBRARIES=/System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation doesn't work?
Interesting idea :)
It would proba...
10/13/2017
-
02:55 PM Ruby Bug #14009: macOS High Sierra and “fork” compatibility
- **EDIT**:
Please ignore the original comment.
I tested linkage in Sierra (not High Sierra), the `-framework` instruction is honored even when no symbols are used.
The linker approach seems safe to use in macOS. I wish I could te... -
02:35 AM Ruby Bug #14009: macOS High Sierra and “fork” compatibility
- I can't test because I can't install High Sierra on my machine (I'm also a musician and my professional audio applications don't support High Sierra).... @ticky?
-
12:58 AM Ruby Bug #14009: macOS High Sierra and “fork” compatibility
- I should point out that `"Foundation.framework/Foundation"` seems to be enough.
This is the C code I'm currently considering for the iodine Ruby server.
~~~ c
#ifdef __APPLE__
void *obj_c_runtime = dlopen("Foundation.framework/...
02/01/2017
-
08:32 PM Ruby Bug #13164: A second `SystemStackError` exception results in `Segmentation fault (core dumped)`
- What about flattening recursion in core types (Hash, Array and Set)?
I know this won't resolve the issue, but it will prevent `eql?` and `hash` from exploding the stack, so the issue is less likely to occur when there isn't an error i...
01/28/2017
-
08:46 PM Ruby Bug #13164: A second `SystemStackError` exception results in `Segmentation fault (core dumped)`
- This is a good observation and I'm happy you found this...
However, I'm not sure that using `return size * 2` as a patch will solve the issue. It might end up masking the real issue, making it harder to find (although I might be wrong...
01/27/2017
-
01:41 PM Ruby Bug #13164 (Open): A second `SystemStackError` exception results in `Segmentation fault (core dumped)`
- This issue is was exposed by leveraging the fact that `Object#hash` is implemented recursively for core Ruby datatypes (i.e., Hash and Array). See the discussion here: https://github.com/boazsegev/combine_pdf/pull/91#issuecomment-2755521...