-
Notifications
You must be signed in to change notification settings - Fork 15
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
Seems to cause my program execution to be stuck? #18
Comments
The full output before the program seems to get stuck is the following. None of the files included seems to be my own file. They are all functions from other packages. Traceur.jl is installed from the Github repo and the Julia version is 1.01. I'm on Arch Linux.
|
Can you share your code? That might help with debugging this, although I suspect that Julia is just recompiling a lot of new methods which might take ages. |
me too
|
I'm not sure if it's related or not, but I ended up getting stuck on what appears to be a deadlock? Internal error: encountered unexpected error in runtime:
InterruptException()
jl_mutex_unlock at /Users/nathan.daly/src/julia_release_native/src/./locks.h:138 [inlined]
jl_typeinf_end at /Users/nathan.daly/src/julia_release_native/src/gf.c:2568
typeinf_ext at ./compiler/typeinfer.jl:568
typeinf_ext at ./compiler/typeinfer.jl:604
jfptr_typeinf_ext_1 at /Users/nathan.daly/src/julia_release_native/usr/lib/julia/sys.dylib (unknown line)
jl_apply at /Users/nathan.daly/src/julia_release_native/src/./julia.h:1537 [inlined]
jl_apply_with_saved_exception_state at /Users/nathan.daly/src/julia_release_native/src/rtutils.c:257
jl_type_infer at /Users/nathan.daly/src/julia_release_native/src/gf.c:275
jl_compile_method_internal at /Users/nathan.daly/src/julia_release_native/src/gf.c:1786
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1830
broadcasted at ./broadcast.jl:1168
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
broadcasted at ./broadcast.jl:1160 [inlined]
posthook at /Users/nathan.daly/.julia/dev/Traceur/src/trace.jl:18
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
setproperty! at ./sysimg.jl:19 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
try_yieldto at ./event.jl:195 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
wait at ./event.jl:255 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
uv_write at ./stream.jl:782 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
unsafe_write at ./stream.jl:830 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
macro expansion at ./gcutils.jl:87 [inlined]
write at ./strings/io.jl:164 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
print at ./strings/io.jl:166 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
print at ./strings/io.jl:42 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:439 [inlined]
println at ./strings/io.jl:69 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
jl_apply at /Users/nathan.daly/src/julia_release_native/src/./julia.h:1537 [inlined]
jl_f__apply at /Users/nathan.daly/src/julia_release_native/src/builtins.c:556
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:439 [inlined]
println at ./coreio.jl:4 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
#compare_rank#17 at /Users/nathan.daly/work/factorization-machine/fm.jl:702 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
overdub at ./none:0
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
#10 at /Users/nathan.daly/.julia/dev/Traceur/src/trace.jl:39 [inlined]
overdub at /Users/nathan.daly/.julia/dev/Cassette/src/overdub.jl:0
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
trace at /Users/nathan.daly/.julia/dev/Traceur/src/trace.jl:28
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
warntrace at /Users/nathan.daly/.julia/dev/Traceur/src/trace.jl:30
jl_fptr_trampoline at /Users/nathan.daly/src/julia_release_native/src/gf.c:1831
do_call at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:324
eval_stmt_value at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:363 [inlined]
eval_body at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:697
jl_interpret_toplevel_thunk_callback at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:806
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x1d4dce76f)
unknown function (ip: 0x6)
jl_interpret_toplevel_thunk at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:815
jl_toplevel_eval_flex at /Users/nathan.daly/src/julia_release_native/src/toplevel.c:805
jl_toplevel_eval_in at /Users/nathan.daly/src/julia_release_native/src/builtins.c:622
eval at ./boot.jl:319 [inlined]
repleval at /Users/nathan.daly/.julia/packages/Atom/v2iqN/src/repl.jl:139
#164 at /Users/nathan.daly/.julia/packages/Atom/v2iqN/src/repl.jl:161
with_logstate at ./logging.jl:395
with_logger at ./logging.jl:491 [inlined]
evalrepl at /Users/nathan.daly/.julia/packages/Atom/v2iqN/src/repl.jl:152
do_call at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:324
eval_stmt_value at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:363 [inlined]
eval_body at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:697
jl_interpret_toplevel_thunk_callback at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:806
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x1d4dce12f)
unknown function (ip: 0xffffffffffffffff)
jl_interpret_toplevel_thunk at /Users/nathan.daly/src/julia_release_native/src/interpreter.c:815
jl_toplevel_eval_flex at /Users/nathan.daly/src/julia_release_native/src/toplevel.c:805
jl_toplevel_eval_in at /Users/nathan.daly/src/julia_release_native/src/builtins.c:622
eval at ./boot.jl:319
eval_user_input at /Users/nathan.daly/src/julia/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:85
macro expansion at /Users/nathan.daly/src/julia/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:117 [inlined]
#28 at ./task.jl:259 (I'm running a native build of Julia on julia> VERSION
>> v"1.0.2" |
For some reason my program seem to be stuck at the very beginning (reading in a corpus, before training can be performed on that corpus) when I prepend the
train
function with@trace
. For an hour there is no output, while normally the corpus reading should be done very fast. The following are the stacktrace after I interrupted the program withCtrl+C
:The text was updated successfully, but these errors were encountered: