xentronium (Mark A)
- Login: xentronium
- Email: markizko@gmail.com
- Registered on: 11/22/2011
- Last sign in: 08/02/2012
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
08/04/2012
-
11:14 PM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Yeah, that seems to be restricted to snow leopard.
08/03/2012
-
05:48 AM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Switching `require 'active_record'` with `require 'mysql2'` still crashes the interpreter as long as required file is taken using gems mechanism.
-
05:45 AM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- > I can't reproduce on OS X 10.8 ruby 2.0.0dev (2012-08-03 trunk 36602) [x86_64-darwin12.0.0]
That seems right, 10.8 seems to be unaffected.
> ...
1.9.3p194 :002 > require 'active_record'
=> true
1.9.3p194 :003 > $LOADED_... -
05:23 AM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Another update: I opened up a file `active_record.rb` inside installed activerecord gem and completely commented it out (so that even ActiveRecord is not defined after require 'active_record'). Still crashes. I guess that takes care of g...
-
05:09 AM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Oh, it also reproduced on ruby 2.0.0.dev from current git, so I guess it is still not fixed.
-
05:08 AM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Update: I greatly simplified my test-case.
https://gist.github.com/47e48301aea114e7b1d3
If I remove sleeping threads on line 31 or require 'active_record' on line 1, bug stops reproducing.
Returning back to ruby-lang, as there i... -
02:07 AM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- After some more fiddling it looks like it's mysql2 problem, not ruby's. Will duplicate issue there.
08/02/2012
-
11:01 PM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Confirmed with another 10.6 / 1.9.3-p194.
-
10:29 PM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- OS X 10.8 seems to be unaffected.
-
09:31 PM Ruby Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- ruby 2.0.0dev (2012-08-02 trunk 36596) [x86_64-darwin10.8.0] also does not crash.