Greg Hazel

Results 85 comments of Greg Hazel

One time it said: ``` lib/ffi/clang/cursor.rb:242: [BUG] rb_thread_call_with_gvl: called by a thread which has GVL. ```

Nope, no threads.

Currently the repro is 100 lines. Maybe “return”ing in the middle of a visit_children block is bad?

State capture works to avoid the bug.

Adding `:blocking => true` to `attach_function :visit_children, ...` makes the same crash occur much more quickly: ``` /Library/Ruby/Gems/2.0.0/gems/ffi-clang-0.2.0/lib/ffi/clang/cursor.rb:242: [BUG] rb_thread_call_with_gvl: called by a thread which has GVL. ruby 2.0.0p451 (2014-02-24...

Maybe related? Found while trying to debug this; #34

Here's a small(ish) example which reproduces it (yes, it's a nonsense example, but I was just cutting bits out to make it short): ``` ruby ENV['LIBCLANG'] = `xcode-select --print-path`.chomp +...

I tried dropping the python version requirement to 3.9, and got a different conflict: ```python ghazel@mbp:~/projects/img2img-turbo % conda env create -f environment.yaml Warning: you have pip-installed dependencies in your environment...

I guess triton is not available on macOS at all. ```python ghazel@mbp:~/projects/img2img-turbo % pip index versions triton WARNING: pip index is currently an experimental command. It may be removed/changed in...