JuliaPy / JuliaPy/PyCall.jl

PyCall master trips LLVM assertion on precompile

Ouverte
#269 23 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Julia
Étoiles
1.5k
Forks
186
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
julia, python
Domaine
tooling
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.