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

Regression in reload() Results in REPL Hanging #2829

Closed
fundamental opened this issue Apr 11, 2013 · 6 comments
Closed

Regression in reload() Results in REPL Hanging #2829

fundamental opened this issue Apr 11, 2013 · 6 comments
Labels
kind:bug Indicates an unexpected problem or unintended behavior

Comments

@fundamental
Copy link
Contributor

Steps to Replicate

  • Build from the git HEAD
  • create a julia file 'dummy.jl' either with no contents or some basic code
  • run julia
  • reload("dummy.jl") # you get the expected behavior here
  • reload("dummy.jl") # The REPL will hang after executing the contents of the file

Attempting to ^C the process results in

ERROR: interrupt
in event_loop at multi.jl:1375
in anonymous at client.jl:287

General System Info

Slackware 14.0 Linux 32 bit

Backtrace

#0  0xb687c5c6 in ?? ()
#1  0xb687c15c in ?? ()
#2  0xb687be37 in ?? ()
#3  0xb6f8da79 in jl_apply (f=0x88aded0, args=0xbfffe9b0, nargs=1) at julia.h:1018
#4  0xb6f90ec1 in jl_trampoline (F=0x88aded0, args=0xbfffe9b0, nargs=1) at builtins.c:791
#5  0xb6f85bd8 in jl_apply (f=0x88aded0, args=0xbfffe9b0, nargs=1) at julia.h:1018
#6  0xb6f89af4 in jl_apply_generic (F=0x88adeb0, args=0xbfffe9b0, nargs=1) at gf.c:1387
#7  0xb687bdec in ?? ()
#8  0xb6f8da79 in jl_apply (f=0x8af7360, args=0x0, nargs=0) at julia.h:1018
#9  0xb6f90ec1 in jl_trampoline (F=0x8af7360, args=0x0, nargs=0) at builtins.c:791
#10 0xb6fefb27 in jl_apply (f=0x8af7360, args=0x0, nargs=0) at julia.h:1018
#11 0xb6ff045e in start_task (t=0x89a4330) at task.c:376
#12 0xb6ff008a in switch_stack (t=0x89a4330, where=0x89a434c) at task.c:187
#13 0xb6ff00ec in jl_switch_stack (t=0x89a4330, where=0x89a434c) at task.c:197
#14 0xb6fef567 in julia_trampoline (argc=0, argv=0xbfffec68, pmain=0x8049eb1 <true_main>) at init.c:593
#15 0x0804a267 in main (argc=0, argv=0xbfffec68) at repl.c:303

Timeline

This bug appears to have appeared within the last week and it is not isolated to my system (replicated on an OSX? machine).

[pao: formatting]

@milktrader
Copy link
Contributor

Second call to reload() hangs on OSX too.

Control C won't let me escape either

 in event_loop at multi.jl:1371
 in anonymous at client.jl:287

@milktrader
Copy link
Contributor

I don't understand git bisect, but fwiw the issue happened on or before this commit
540e6cd5f2edb1954a745f452e5c96eeeb687c67 remove more underscores

@milktrader
Copy link
Contributor

On or before

a8f9da3299fea3816d6d8f591b2cb240339a0e65 Merge branch 'master' of github.com:JuliaLang/julia

This could take me all day, I need to learn this bisecting technique. (note to self)

@pao
Copy link
Member

pao commented Apr 11, 2013

@fundamental A heads up that quoting code/output blocks should be done with triple-backquote fences rather than bird notation to prevent weirdness with GitHub's autolinker (which here added crossreference links in issues 1-15 in this tracker).

@milktrader
Copy link
Contributor

Awesome, works fine now. Thanks for the quick turn around

@aviks
Copy link
Member

aviks commented Apr 12, 2013

@milktrader pao and timholy explain git bisect in this issue : #1689

I found that really helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

4 participants