Juno.jl icon indicating copy to clipboard operation
Juno.jl copied to clipboard

[BUG] "redefining constant" warnings and Atom crash

Open yha opened this issue 5 years ago • 2 comments

Since upgrading to Juno 0.12, I frequently see Atom crash when using Interact. There are "redefining constant" warnings on the first run cell, which I think didn't happen before.

Details

  • Atom version: 1.44.0
  • Julia version: 1.3.0
  • OS: Windows 10
  • Package versions:
    • Atom.jl: 0.12.3
    • julia-client: 0.12.0
    • ink: 0.12.0

Steps to reproduce

  1. Evaluate a cell with
using Revise
using Interact

This gives the warnings

WARNING: redefining constant singleton_instance
WARNING: redefining constant routing_callback
WARNING: redefining constant webio_server_config
  1. Kill Julia and evaluate again. Doing this repeatedly eventually crashes Atom.

yha avatar Feb 19 '20 22:02 yha

I see those warnings too, but only if the Julia process isn't already running. I think that happens because Revise is triggered twice in that case.

Can't repro the Atom crash at all though.

pfitzseb avatar Feb 20 '20 08:02 pfitzseb

I see the warning even if Julia is already running and I run the lines one by one. But I can't reproduce the crash anymore with the new julia-client version.

yha avatar Mar 08 '20 12:03 yha