JuliaPy / JuliaPy/PyCall.jl

PyCall master trips LLVM assertion on precompile

オープン
#269 コメント 23 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
1.5k
フォーク
186
PR マージ指標
30日以内にマージされた PR はありません

説明

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
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。