JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.93k stars 5.49k forks source link

versioninfo(true) produced zombie #14061

Open aueelis opened 9 years ago

aueelis commented 9 years ago

While running versioninfo(true) a zombie is produced.

julia> versioninfo(true)
Julia Version 0.4.1
Commit cbe1bee (2015-11-08 10:33 UTC)
Platform Info:
  System: Linux (x86_64-unknown-linux-gnu)
  CPU: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz
  WORD_SIZE: 64
  uname: Linux 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 unknown
Memory: 7.779640197753906 GB (4297.234375 MB free)
Uptime: 14924.0 sec
Load Avg:  0.1962890625  0.2841796875  0.40673828125
Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz: 
       speed         user         nice          sys         idle          irq
#1  3211 MHz      61660 s        142 s      24069 s    1371584 s          0 s
#2  1675 MHz      60745 s         76 s      13621 s    1409623 s          0 s
#3  3247 MHz      60304 s        117 s      11434 s    1415359 s          0 s
#4  2867 MHz      59356 s         69 s      11051 s    1417807 s          0 s
#5   883 MHz      32949 s         57 s       8118 s    1449167 s          0 s
#6  1263 MHz      35019 s         52 s       7185 s    1449105 s          0 s
#7  3298 MHz      38160 s        123 s       6895 s    1445269 s          0 s
#8  1064 MHz      35100 s        175 s       7214 s    1448826 s          0 s

  BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libm
  LLVM: libLLVM-3.3
Environment:
  TERM = xterm
  MOZ_PLUGIN_PATH = /usr/lib/mozilla/plugins
  PATH = /usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
  MODULEPATH = /home/stefan/local/modules
  HOME = /home/stefan
  MATHEMATICA_HOME = /opt/Mathematica/10.0
  MODULESHOME = /opt/modules/Modules/3.2.10
  WINDOWPATH = 2

Package Directory: /home/stefan/.julia/v0.4
1 required packages:
 - IJulia                        1.1.8
8 additional packages:
 - BinDeps                       0.3.19
 - Compat                        0.7.8
 - Conda                         0.1.8
 - JSON                          0.5.0
 - Nettle                        0.2.0
 - SHA                           0.1.2
 - URIParser                     0.1.1
 - ZMQ                           0.3.1
tkelman commented 9 years ago

Could you elaborate? What do you mean, does the output freeze there? Does Pkg.status() work?

yuyichao commented 9 years ago

Zombie process?

aueelis commented 9 years ago

When I switch to htop (or a similar program) there is a child process julia in zombie (Z) state.

Everything else seems to work as expected.

pkofod commented 8 years ago

Can't replicate on ubuntu 15 with either latest stable Julia or master.

aueelis commented 8 years ago

I can still replicate with latest stable from julialang.org/downloads on Arch and Kubuntu 15.10.

KristofferC commented 6 years ago

Please reopen if this is still happening.

vtjnash commented 6 years ago

Our vfork implementation (basically a clone of posix_spawn) fails to cleanup zombies created when process creation fails. (I thought I had self-assigned some issue about this, but can't find it, so reopening this one – thanks for the bump 🙂)

mhangaard commented 3 years ago

I also reproduced this with Julia 1.6.2 on ubuntu 20.04.

julia> versioninfo(verbose=true)

While keeping julia running, I run top in a second terminal and see two processes named julia, one of them with status Z. As soon as the julia session was closed, the zombie process also disappeared.