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

Ctrl+C exit a while loop cause EXCEPTION_ACCESS_VIOLATION on win10 julia 1.2.0 #33153

Closed
gxm11 opened this issue Sep 4, 2019 · 1 comment
Closed

Comments

@gxm11
Copy link

gxm11 commented Sep 4, 2019

i = 0
while true
    global i
    
    println(i)
    i += 1
    sleep(0.1)
end

send Ctrl+C to stop the while loop cause:

0
1
2

Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6b608bc1 -- jl_excstack_state at /home/Administrator/buildbot/worker/package_win64/build/src/home/Administrator/buildbot/worker/package_win64/build/src\rtutils.c:287
in expression starting at D:\guoxiaomi\Git\Hop.jl\debug\3.jl:2
@gxm11 gxm11 changed the title Ctrl+C exit a while loop cause EXCEPTION_ACCESS_VIOLATION on win10 julia 1.2/1.3 Ctrl+C exit a while loop cause EXCEPTION_ACCESS_VIOLATION on win10 julia 1.2.0 Sep 4, 2019
@KristofferC
Copy link
Member

Fixed by #33031.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants