Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jl_lam_gensyms assertion failure #10850

Closed
tkelman opened this issue Apr 16, 2015 · 6 comments
Closed

jl_lam_gensyms assertion failure #10850

tkelman opened this issue Apr 16, 2015 · 6 comments
Labels
bug Indicates an unexpected problem or unintended behavior test This change adds or pertains to unit tests

Comments

@tkelman
Copy link
Contributor

tkelman commented Apr 16, 2015

Happens somewhat often on 32-bit Travis: https://travis-ci.org/JuliaLang/julia/jobs/58725585 for example

julia-debug: ast.c:712: jl_lam_gensyms: Assertion `(((jl_value_t*)(((jl_taggedvalue_t *) ((char *)((l)) - __builtin_offsetof (jl_taggedvalue_t, value)))->type_bits&~(size_t)3))==(jl_value_t*)(jl_expr_type))' failed.
signal (6): Aborted
__kernel_vsyscall at  (unknown line)
gsignal at /lib/i386-linux-gnu/libc.so.6 (unknown line)
abort at /lib/i386-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: -1233785675)
unknown function (ip: -1233785497)
jl_lam_gensyms at /home/travis/build/JuliaLang/julia/src/ast.c:713
emit_function at /home/travis/build/JuliaLang/julia/src/codegen.cpp:3934
to_function at /home/travis/build/JuliaLang/julia/src/codegen.cpp:619
jl_compile at /home/travis/build/JuliaLang/julia/src/codegen.cpp:780
jl_trampoline_compile_function at /home/travis/build/JuliaLang/julia/src/builtins.c:998
jl_trampoline at /home/travis/build/JuliaLang/julia/src/builtins.c:1010
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_apply_generic at /home/travis/build/JuliaLang/julia/src/gf.c:1686
anonymous at multidimensional.jl:811
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_trampoline at /home/travis/build/JuliaLang/julia/src/builtins.c:1011
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_apply_generic at /home/travis/build/JuliaLang/julia/src/gf.c:1706
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_f_apply at /home/travis/build/JuliaLang/julia/src/builtins.c:413
check_bitop at bitarray.jl:7
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_apply_generic at /home/travis/build/JuliaLang/julia/src/gf.c:1686
anonymous at no file:219
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_trampoline at /home/travis/build/JuliaLang/julia/src/builtins.c:1011
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_toplevel_eval_flex at /home/travis/build/JuliaLang/julia/src/toplevel.c:514
jl_parse_eval_all at /home/travis/build/JuliaLang/julia/src/toplevel.c:550
jl_load at /home/travis/build/JuliaLang/julia/src/toplevel.c:589
jl_load_ at /home/travis/build/JuliaLang/julia/src/toplevel.c:598
runtests at /tmp/julia/share/julia/test/testdefs.jl:77
jlcall_runtests_44191 at  (unknown line)
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_apply_generic at /home/travis/build/JuliaLang/julia/src/gf.c:1686
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_f_apply at /home/travis/build/JuliaLang/julia/src/builtins.c:413
anonymous at multi.jl:836
run_work_thunk at multi.jl:587
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
jl_apply_generic at /home/travis/build/JuliaLang/julia/src/gf.c:1686
anonymous at task.jl:836
jl_apply at /home/travis/build/JuliaLang/julia/src/julia.h:1262
start_task at /home/travis/build/JuliaLang/julia/src/task.c:232
    From worker 3:       * bitarray            Worker 3 terminated.
ERROR (unhandled task failure): EOFError: read end of file
 in wait at ./task.jl:305
 in wait at ./task.jl:221
 in wait_full at ./multi.jl:570
 in remotecall_fetch at multi.jl:670
 in remotecall_fetch at multi.jl:675
 in anonymous at task.jl:1386

(from commit bd748b9)

@tkelman tkelman added the system:32-bit Affects only 32-bit systems label Apr 16, 2015
@tkelman tkelman changed the title jl_lam_gensym assertion failure on 32 bit jl_lam_gensyms assertion failure on 32 bit Apr 16, 2015
@tkelman tkelman removed the system:32-bit Affects only 32-bit systems label Apr 19, 2015
@tkelman tkelman changed the title jl_lam_gensyms assertion failure on 32 bit jl_lam_gensyms assertion failure Apr 19, 2015
@tkelman
Copy link
Contributor Author

tkelman commented Apr 19, 2015

@JeffBezanson JeffBezanson added bug Indicates an unexpected problem or unintended behavior test This change adds or pertains to unit tests labels Apr 25, 2015
@JeffBezanson
Copy link
Member

It looks like this has stopped after b993658.

However now there seem to be all sorts of crazy failures on appveyor (since f2e3d33). I don't know what's going on.

@tkelman
Copy link
Contributor Author

tkelman commented Apr 25, 2015

This one predated #10380 by some margin, but hadn't opened a separate issue for it initially.

@tkelman
Copy link
Contributor Author

tkelman commented Jul 25, 2015

Reopen if anyone sees this again.

@tkelman tkelman closed this as completed Jul 25, 2015
@tkelman
Copy link
Contributor Author

tkelman commented Aug 1, 2015

reopening due to #12302 (comment)

@stevengj
Copy link
Member

stevengj commented Aug 3, 2015

Closing this again since #12302 was apparently caused by a missing GC root, which has now been fixed.

@stevengj stevengj closed this as completed Aug 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior test This change adds or pertains to unit tests
Projects
None yet
Development

No branches or pull requests

3 participants