JuliaPy / JuliaPy/PyCall.jl

PyCall master trips LLVM assertion on precompile

Open
#269 23 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

Using the `Homebrew` build of Julia, which has LLVM assertions enabled by default, we get:

```
julia> using PyCall
INFO: Precompiling module PyCall...
Assertion failed: (ctx->gensym_assigned.at(idx)), function emit_expr, file codegen.cpp, line 3155.

signal (6): Abort trap: 6
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
ERROR: Failed to precompile PyCall to /Users/sabae/.julia/lib/v0.4/PyCall.ji
in error at /usr/local/Cellar/julia/0.4.5/lib/julia/sys.dylib
in compilecache at loading.jl:400
in require at /usr/local/Cellar/julia/0.4.5/lib/julia/sys.dylib
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with the Homebrew build of Julia and `using PyCall`, then inspect the precompilation path around the reported `codegen.cpp` assertion. Confirm the fix by successfully precompiling and loading PyCall without the LLVM assertion.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.