JuliaImages / Images.jl

An image library for Julia
http://juliaimages.org/
Other
533 stars 141 forks source link

wrong tiff saved when image is large. #967

Closed babaq closed 3 years ago

babaq commented 3 years ago

This save a tiff of 42.5KB:

using FileIO
a = rand(208,208)
save("test.tif", a)

but a = rand(2080,2080) saved a tiff of 258 Bytes that system can't recognize.

Tested on Julia v1.6.1, Images v0.24.1

johnnychen94 commented 3 years ago

Can't reproduce it in docker run -it --rm julia:1.6:

(@v1.6) pkg> add FileIO, ImageIO, ImageCore

julia> using ImageCore, FileIO

julia> a = rand(2024, 2048);

julia> save("test.tif", Gray.(a))

shell> du test.tif
32388   test.tif

I don't think numerical array is consistently supported. You might have to change it to Gray colorant.

babaq commented 3 years ago

I test it again, it works on a Ubuntu system, but not on windows 10 version 21H1.

Also tried png, it made Julia crashed. ` Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks. Exception: UNKNOWN at 0x7ffa78fc17c0 -- RtlVirtualUnwind at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line) in expression starting at E:\Code\temp.jl:421 RtlVirtualUnwind at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line) RtlVirtualUnwind at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line) RtlUnwindEx at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line) setjmpex at C:\WINDOWS\System32\msvcrt.dll (unknown line) png_longjmp at C:\Users\fff00.julia\artifacts\72037f1415327f12277eed0521c861517630a0ba\bin\libpng16.dll (unknown line) MagickPNGErrorHandler at /workspace/srcdir/ImageMagick6-6.9.10-12\coders\png.c:1650 png_error at C:\Users\fff00.julia\artifacts\72037f1415327f12277eed0521c861517630a0ba\bin\libpng16.dll (unknown line) png_put_data at /workspace/srcdir/ImageMagick6-6.9.10-12\coders\png.c:1464 png_write_complete_chunk at C:\Users\fff00.julia\artifacts\72037f1415327f12277eed0521c861517630a0ba\bin\libpng16.dll (unknown line) png_compress_IDAT at C:\Users\fff00.julia\artifacts\72037f1415327f12277eed0521c861517630a0ba\bin\libpng16.dll (unknown line) png_write_find_filter at C:\Users\fff00.julia\artifacts\72037f1415327f12277eed0521c861517630a0ba\bin\libpng16.dll (unknown line) png_write_row at C:\Users\fff00.julia\artifacts\72037f1415327f12277eed0521c861517630a0ba\bin\libpng16.dll (unknown line) WriteOnePNGImage at /workspace/srcdir/ImageMagick6-6.9.10-12\coders\png.c:11438 WritePNGImage at /workspace/srcdir/ImageMagick6-6.9.10-12\coders\png.c:12516 WriteImage at /workspace/srcdir/ImageMagick6-6.9.10-12\magick\constitute.c:1260 WriteImages at /workspace/srcdir/ImageMagick6-6.9.10-12\magick\constitute.c:1409 MagickWriteImages at /workspace/srcdir/ImageMagick6-6.9.10-12\wand\magick-image.c:13280 writeimage at C:\Users\fff00.julia\packages\ImageMagick\b8swT\src\libmagickwand.jl:293 [inlined]

save_#39 at C:\Users\fff00.julia\packages\ImageMagick\b8swT\src\ImageMagick.jl:164 [inlined]

save at C:\Users\fff00.julia\packages\ImageMagick\b8swT\src\ImageMagick.jl:163 [inlined] save at C:\Users\fff00.julia\packages\ImageMagick\b8swT\src\ImageMagick.jl:163

save#31 at C:\Users\fff00.julia\packages\ImageMagick\b8swT\src\ImageMagick.jl:127

unknown function (ip: 00000000621aa9a9) Allocations: 47711893 (Pool: 47694653; Big: 17240); GC: 57 `

johnnychen94 commented 3 years ago

Nothing suspicious from my understanding. It might be due to a broken artifact, can you verify this on a clean depot path? For example, start the Julia with the environment JULIA_DEPOT_PATH to somewhere temporarily, and repeat https://github.com/JuliaImages/Images.jl/issues/967#issuecomment-888065518

I'm not a Windows guy so don't know much about how to set the environment, in ubuntu, it can be done via e.g., JULIA_DEPOT_PATH=tmp julia.

babaq commented 3 years ago

I deleted all artifacts, and update the environment, the crash remains.

johnnychen94 commented 3 years ago

The message you showed uses ImageMagick to load the tiff image, that's strange to me. Since Images v0.24, we're using TiffImages via ImageIO with higher priority.

Can you check if explicitly using ImageIO backend works?

using FileIO, ImageIO, ImageCore

ImageIO.save(File{format"TIFF"}("test.tif"), rand(Gray{N0f8}, 2080,2080))

Also, what's your FileIO version?

babaq commented 3 years ago

I am about to show this, i found the TiffImages.jl, and since it's a pure julia packages, so i tried this:

using TiffImages,ImageCore
a = rand(RGB{N0f8},2080,2080)
img = TiffImages.DenseTaggedImage(a)
TiffImages.save("test.tif",img)

and the result tiff is just 167 bytes and not recognizable.

johnnychen94 commented 3 years ago

@tlnagy any ideas on this?

kimikage commented 3 years ago

FYI, I'm a Windows 10 user and I can't reproduce the problem using ImageMagick.jl to save either TIFF or PNG.

status-m ``` (jl_QQm6Em) pkg> st -m Status `C:\Users\username\AppData\Local\Temp\jl_QQm6Em\Manifest.toml` [621f4979] AbstractFFTs v1.0.1 [79e6a3ab] Adapt v3.3.1 [d360d2e6] ChainRulesCore v1.0.2 [3da002f7] ColorTypes v0.11.0 [c3611d14] ColorVectorSpace v0.9.5 [5ae59095] Colors v0.12.8 [34da2185] Compat v3.32.0 [ffbed154] DocStringExtensions v0.8.5 [5789e2e9] FileIO v1.10.1 [53c48c17] FixedPointNumbers v0.8.4 [a2bd30eb] Graphics v1.1.0 [a09fc81d] ImageCore v0.9.1 [6218d12a] ImageMagick v1.2.1 [692b3bcd] JLLWrappers v1.3.0 [2ab3a3ac] LogExpFunctions v0.2.5 [dbb5928d] MappedArrays v0.4.0 [e94cdb99] MosaicViews v0.3.3 [77ba4419] NaNMath v0.3.5 [6fe1bfb0] OffsetArrays v1.10.3 [5432bcbf] PaddedViews v0.5.8 [21216c6a] Preferences v1.2.2 [189a3867] Reexport v1.1.0 [ae029012] Requires v1.1.3 [276daf66] SpecialFunctions v1.6.0 [cae243ae] StackViews v0.1.1 [62fd8b95] TensorCore v0.1.1 [c73af94c] ImageMagick_jll v6.9.10-12+3 [aacddb02] JpegTurbo_jll v2.1.0+0 [89763e89] Libtiff_jll v4.3.0+0 [efe28fd5] OpenSpecFun_jll v0.5.5+0 [3161d3a3] Zstd_jll v1.5.0+0 [b53b4c65] libpng_jll v1.6.38+0 [0dad84c5] ArgTools [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [8bb1440f] DelimitedFiles [8ba89e20] Distributed [f43a241f] Downloads [b77e0a4c] InteractiveUtils [b27032c2] LibCURL [76f85450] LibGit2 [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions [44cfe95a] Pkg [de0858da] Printf [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA [9e88b42a] Serialization [1a1011a3] SharedArrays [6462fe0b] Sockets [2f01184e] SparseArrays [10745b16] Statistics [fa267f1f] TOML [a4e569a6] Tar [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll [deac9b47] LibCURL_jll [29816b5a] LibSSH2_jll [c8ffd9c3] MbedTLS_jll [14a3606d] MozillaCACerts_jll [83775a58] Zlib_jll [8e850ede] nghttp2_jll [3f19e933] p7zip_jll julia> versioninfo() Julia Version 1.6.2 Commit 1b93d53fc4 (2021-07-14 15:36 UTC) Platform Info: OS: Windows (x86_64-w64-mingw32) CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, tigerlake) ```

What are the contents of the broken files?

julia> read("test.tif", 32)
babaq commented 3 years ago

Here is the system info, my windows 10 is version 21H1.

status ``` (@v1.6) pkg> st -m Status `C:\Users\fff00\.julia\environments\v1.6\Manifest.toml` [0825541b] ANOVA v0.2.1 `https://github.com/babaq/ANOVA.jl.git#master` [621f4979] AbstractFFTs v1.0.1 [398f06c4] AbstractLattices v0.2.1 [537997a7] AbstractPlotting v0.18.3 [a8e43f4a] AbstractTensors v0.6.5 [1520ce14] AbstractTrees v0.3.4 [79e6a3ab] Adapt v3.3.1 [27a7e980] Animations v0.4.1 [ec485272] ArnoldiMethod v0.1.0 [7d9fca2a] Arpack v0.4.0 [4fba245c] ArrayInterface v3.1.19 [bf4720bc] AssetRegistry v0.1.0 [c52e3926] Atom v0.12.33 [13072b0f] AxisAlgorithms v1.0.0 [39de3d68] AxisArrays v0.4.4 [6e4b80f9] BenchmarkTools v1.1.1 [9e28174c] BinDeps v1.0.2 [ad839575] Blink v0.12.5 [a74b3585] Blosc v0.7.0 [e1450e63] BufferedStreams v1.0.0 [fa961155] CEnum v0.4.1 [70588ee8] CSSUtil v0.1.1 [00ebfdb7] CSTParser v2.5.0 [336ed68f] CSV v0.8.5 [159f3aea] Cairo v1.0.5 [13f3f980] CairoMakie v0.5.10 [aafaddc9] CatIndices v0.2.2 [324d7699] CategoricalArrays v0.10.0 [8be319e6] Chain v0.4.7 [d360d2e6] ChainRulesCore v0.10.13 [aaaa29a8] Clustering v0.14.2 [53a63b46] CodeTools v0.7.1 [da1fd8a2] CodeTracking v1.0.6 [944b1d66] CodecZlib v0.7.0 [a2cac450] ColorBrewer v0.4.0 [c5b589a2] ColorLab v0.2.0 `C:\Users\fff00\.julia\dev\ColorLab` [35d6a980] ColorSchemes v3.13.0 [3da002f7] ColorTypes v0.10.12 [c3611d14] ColorVectorSpace v0.8.7 [5ae59095] Colors v0.12.8 [861a8166] Combinatorics v1.0.2 [a80b9123] CommonMark v0.8.2 [38540f10] CommonSolve v0.2.0 [bbf7d656] CommonSubexpressions v0.3.0 [34da2185] Compat v3.32.0 [ed09eef8] ComputationalResources v0.3.2 [8f4d0f93] Conda v1.5.2 [5218b696] Configurations v0.15.4 [187b0558] ConstructionBase v1.3.0 [d38c429a] Contour v0.5.7 [150eb455] CoordinateTransformations v0.6.1 [a8cc5b0e] Crayons v4.0.4 [dc8bdbbb] CustomUnitRanges v1.0.1 [717857b8] DSP v0.7.2 [9a962f9c] DataAPI v1.7.0 [a93c6f00] DataFrames v1.2.1 [1313f7d8] DataFramesMeta v0.8.0 [864edb3b] DataStructures v0.18.9 [e2d170a0] DataValueInterfaces v1.0.0 [e7dc6d0d] DataValues v0.4.13 [5721bf48] DataVoyager v1.0.2 [39dd38d3] Dierckx v0.5.1 [163ba53b] DiffResults v1.0.3 [b552c78f] DiffRules v1.2.1 [b4f34e82] Distances v0.10.3 [31c24e10] Distributions v0.23.11 [33d173f1] DocSeeker v0.4.3 [ffbed154] DocStringExtensions v0.8.5 [e30172f5] Documenter v0.26.3 [a1bb12fb] Electron v3.1.2 [da5c29d0] EllipsisNotation v1.1.0 [e2ba6199] ExprTools v0.1.6 [55351af7] ExproniconLite v0.6.9 [c87230d0] FFMPEG v0.4.1 [4f61f5a4] FFTViews v0.3.1 [7a1cc6ca] FFTW v1.4.3 [5789e2e9] FileIO v1.10.1 [8fc22ac5] FilePaths v0.8.3 [48062228] FilePathsBase v0.9.10 [1a297f60] FillArrays v0.9.7 [6a86dc24] FiniteDiff v2.8.1 [53c48c17] FixedPointNumbers v0.8.4 [08572546] FlameGraphs v0.2.5 [9dda63f9] ForceImport v0.0.3 [59287772] Formatting v0.4.2 [f6369f11] ForwardDiff v0.10.19 [b38be410] FreeType v3.0.1 [663a7486] FreeTypeAbstraction v0.8.4 [de31a74c] FunctionalCollections v0.5.0 [fb4132e2] FuzzyCompletions v0.4.1 [f7f18e0c] GLFW v3.4.1 [38e38edf] GLM v1.5.1 [e9467ef8] GLMakie v0.2.7 [28b8d3ca] GR v0.58.0 [5c1252a2] GeometryBasics v0.3.12 [4d00f742] GeometryTypes v0.8.4 [c27321d9] Glob v1.3.0 [bd48cda9] GraphRecipes v0.5.7 [a2bd30eb] Graphics v1.1.0 [3955a311] GridLayoutBase v0.5.7 [42e2da0e] Grisu v1.0.2 [19dc6840] HCubature v1.5.0 [f67ccb44] HDF5 v0.15.6 [cd3eb016] HTTP v0.9.12 [9fb69e20] Hiccup v0.2.2 [0e44f5e4] Hwloc v2.0.0 [09f84164] HypothesisTests v0.10.4 [7073ff75] IJulia v1.23.2 [b5f81e59] IOCapture v0.1.1 [bbac6d45] IdentityRanges v0.3.1 [615f187c] IfElse v0.1.0 [2803e5a7] ImageAxes v0.6.9 [f332f351] ImageContrastAdjustment v0.3.7 [a09fc81d] ImageCore v0.8.22 [51556ac3] ImageDistances v0.2.13 [6a3955dd] ImageFiltering v0.6.21 [82e4d734] ImageIO v0.5.6 [6218d12a] ImageMagick v1.2.1 [bc367c6b] ImageMetadata v0.9.5 [787d08f9] ImageMorphology v0.2.11 [2996bd0c] ImageQualityIndexes v0.2.2 [80713f31] ImageSegmentation v1.5.1 [4e3cecfd] ImageShow v0.3.1 [02fcd773] ImageTransformations v0.8.12 [916415d5] Images v0.24.1 [9b13fd28] IndirectArrays v0.5.1 [d25df0c9] Inflate v0.1.2 [83e8ac13] IniFile v0.5.0 [c601a237] Interact v0.10.3 [d3863d7c] InteractBase v0.10.6 [a98d9a8b] Interpolations v0.13.3 [8197267c] IntervalSets v0.5.3 [d8418881] Intervals v1.5.0 [41ab1584] InvertedIndices v1.0.0 [f1662d9f] Isoband v0.1.1 [c8e1da08] IterTools v1.3.0 [1c8ee90f] IterableTables v1.0.0 [82899510] IteratorInterfaceExtensions v1.0.0 [4138dd39] JLD v0.12.3 [033835bb] JLD2 v0.4.3 [692b3bcd] JLLWrappers v1.3.0 [97c1335a] JSExpr v0.5.3 [682c06a0] JSON v0.21.1 [7d188eb4] JSONSchema v0.3.3 [98e50ef6] JuliaFormatter v0.13.7 [aa1ae85d] JuliaInterpreter v0.8.19 [e5e0dc1b] Juno v0.8.4 [5ab0869b] KernelDensity v0.6.3 [bcebb21b] Knockout v0.2.4 [7c4cb9fa] LNR v0.2.1 [b964fa9f] LaTeXStrings v1.2.1 [23fbe1c1] Latexify v0.15.6 [50d2b5c4] Lazy v0.15.1 [1d6d02ad] LeftChildRightSiblingTrees v0.1.2 [093fc24a] LightGraphs v1.3.5 [d3d80556] LineSearches v7.1.1 [2ab3a3ac] LogExpFunctions v0.2.5 [bdcacae8] LoopVectorization v0.12.59 [6f1432cf] LoweredCodeUtils v2.1.0 [2fda8390] LsqFit v0.11.0 [23992714] MAT v0.10.1 [1914dd2f] MacroTools v0.5.6 [ee78f7c6] Makie v0.13.14 [d125e4d3] ManualMemory v0.1.4 [dbb5928d] MappedArrays v0.4.0 [7eb4fadd] Match v1.1.0 [739be429] MbedTLS v1.0.3 [442fdcdd] Measures v0.3.1 [e89f7d12] Media v0.5.0 [7269a6da] MeshIO v0.4.7 [626554b9] MetaGraphs v0.6.7 [e1d29d7a] Missings v0.4.5 [78c3b35d] Mocking v0.7.2 [66fc600b] ModernGL v1.1.2 [e94cdb99] MosaicViews v0.3.3 [99f44e22] MsgPack v1.1.0 [6f286f6a] MultivariateStats v0.8.0 [ffc61752] Mustache v1.0.10 [d8a4904e] MutableArithmetics v0.2.20 [a975b10e] Mux v0.7.6 [d41bc354] NLSolversBase v7.8.1 [77ba4419] NaNMath v0.3.5 [dd2c4c9e] NearestNeighborDescent v0.3.4 [b8a86587] NearestNeighbors v0.4.9 [f09324ee] Netpbm v1.0.1 [46757867] NetworkLayout v0.4.0 [088af2c0] NeuroAnalysis v1.0.1 `C:\Users\fff00\.julia\dev\NeuroAnalysis` [2bd173c7] NodeJS v1.3.0 [47be7bcc] ORCA v0.5.0 [510215fc] Observables v0.3.3 [6fe1bfb0] OffsetArrays v1.10.3 [429524aa] Optim v1.4.0 [87e2bd06] OptimBase v2.0.2 [bac558e1] OrderedCollections v1.4.1 [90014a1f] PDMats v0.10.1 [f57f5aa1] PNGFiles v0.3.7 [19eb6ba3] Packing v0.4.1 [5432bcbf] PaddedViews v0.5.8 [d96e819e] Parameters v0.12.2 [69de0a69] Parsers v1.1.1 [fa939f87] Pidfile v1.2.0 [14b8a8f1] PkgTemplates v0.7.17 [eebad327] PkgVersion v0.1.1 [ccf2f8ad] PlotThemes v2.0.1 [995b91a9] PlotUtils v1.0.11 [a03496cd] PlotlyBase v0.4.3 [f0f68f2c] PlotlyJS v0.15.0 [91a5bcdd] Plots v1.19.4 [c3e4b0f8] Pluto v0.15.1 [f517fe37] Polyester v0.3.7 [647866c9] PolygonOps v0.1.1 [f27b6e38] Polynomials v2.0.14 [2dfb63ee] PooledArrays v1.2.1 [85a6dd25] PositiveFactorizations v0.2.4 [21216c6a] Preferences v1.2.2 [08abe8d2] PrettyTables v1.1.0 [92933f4c] ProgressMeter v1.7.1 [438e738f] PyCall v1.92.3 [d330b81b] PyPlot v2.9.0 [1fd47b50] QuadGK v2.4.1 [1a8c2f83] Query v1.0.0 [2aef5ad7] QueryOperators v0.9.3 [6f49c342] RCall v0.13.12 [b3c3ace0] RangeArrays v0.3.2 [c84ed2f1] Ratios v0.4.0 [3cdcf5f2] RecipesBase v1.1.1 [01d81517] RecipesPipeline v0.3.4 [93e0c654] Reduce v1.2.11 [189a3867] Reexport v0.2.0 [dee08c22] RegionTrees v0.3.2 [b873ce64] ReplMaker v0.2.5 [ae029012] Requires v1.1.3 [295af30f] Revise v3.1.17 [79098fc4] Rmath v0.7.0 [f2b01f46] Roots v1.0.12 [6038ab10] Rotations v1.0.2 [476501e8] SLEEFPirates v0.6.25 [6c6a2e73] Scratch v1.1.0 [91c51154] SentinelArrays v1.3.5 [efcf1570] Setfield v0.7.0 [65257c39] ShaderAbstractions v0.2.7 [1277b4bf] ShiftedArrays v1.0.0 [992d4aef] Showoff v1.0.3 [73760f76] SignedDistanceFields v0.4.0 [699a6c99] SimpleTraits v0.9.4 [47aef6b3] SimpleWeightedGraphs v1.1.1 [b85f4697] SoftGlobalScope v1.1.0 [a2af1166] SortingAlgorithms v1.0.1 [276daf66] SpecialFunctions v0.10.3 [cae243ae] StackViews v0.1.1 [aedffcd0] Static v0.3.0 [90137ffa] StaticArrays v1.2.9 [82ae8749] StatsAPI v1.0.0 [2913bbd2] StatsBase v0.33.9 [4c63d2b9] StatsFuns v0.9.8 [3eaba693] StatsModels v0.6.24 [f3b207a7] StatsPlots v0.14.26 [7792a7ef] StrideArraysCore v0.1.17 [88034a9c] StringDistances v0.10.0 [69024149] StringEncodings v0.3.5 [09ab397b] StructArrays v0.5.1 [856f2bd8] StructTypes v1.7.2 [a4af3ec5] SyntaxTree v1.0.1 [d1efa939] TableIOInterface v0.1.6 [ab02a1b2] TableOperations v1.0.0 [5e66a065] TableShowUtils v0.2.5 [3783bdb8] TableTraits v1.0.1 [382cd787] TableTraitsUtils v1.0.1 [bd369af6] Tables v1.4.4 [8290d209] ThreadingUtilities v0.4.6 [731e570b] TiffImages v0.4.1 [06e1c1a7] TiledIteration v0.3.0 [f269a46b] TimeZones v1.5.6 [0796e94c] Tokenize v0.5.18 [3bb67fe8] TranscodingStreams v0.9.5 [592b5752] Trapz v2.0.2 [a2a6695c] TreeViews v0.3.0 [c4f8c510] UMAP v0.1.8 [30578b45] URIParser v0.4.1 [5c2747f8] URIs v1.3.0 [3a884ed6] UnPack v1.0.2 [1cfade01] UnicodeFun v0.4.1 [3d5dd08c] VectorizationBase v0.20.25 [239c3e63] Vega v2.3.0 [112f6efa] VegaLite v2.6.0 [81def892] VersionParsing v1.2.0 [d6d074c3] VideoIO v0.9.2 [0f1e0344] WebIO v0.8.15 [104b5d7c] WebSockets v1.5.9 [cc8bc4a8] Widgets v0.6.3 [1b915085] WinReg v0.3.1 [efce3f68] WoodburyMatrices v0.5.3 [ddb6d928] YAML v0.4.7 [c2297ded] ZMQ v1.2.1 [a5390f91] ZipFile v0.9.3 [714c76c0] ePPR v1.0.0 `C:\Users\fff00\.julia\dev\ePPR` [68821587] Arpack_jll v3.5.0+3 [0b7ba130] Blosc_jll v1.21.0+0 [6e34b625] Bzip2_jll v1.0.6+5 [83423d85] Cairo_jll v1.16.0+6 [cd4c43a9] Dierckx_jll v0.0.1+0 [5ae413db] EarCut_jll v2.1.5+1 [2e619515] Expat_jll v2.2.10+0 [b22a6f82] FFMPEG_jll v4.3.1+4 [f5851436] FFTW_jll v3.3.9+8 [a3f928ae] Fontconfig_jll v2.13.1+14 [d7e528f0] FreeType2_jll v2.10.1+5 [559328eb] FriBidi_jll v1.0.10+0 [0656b61e] GLFW_jll v3.3.5+0 [d2c73de3] GR_jll v0.58.0+0 [78b55507] Gettext_jll v0.21.0+0 [7746bdde] Glib_jll v2.68.3+0 [3b182d85] Graphite2_jll v1.3.14+0 [0234f1f7] HDF5_jll v1.12.0+1 [2e76f6c2] HarfBuzz_jll v2.8.1+0 [e33a78d0] Hwloc_jll v2.5.0+0 [c73af94c] ImageMagick_jll v6.9.10-12+3 [1d5cc7b8] IntelOpenMP_jll v2018.0.3+2 [aacddb02] JpegTurbo_jll v2.1.0+0 [c1c5ebd0] LAME_jll v3.100.1+0 [dd4b983a] LZO_jll v2.10.1+0 [dd192d2f] LibVPX_jll v1.10.0+0 [e9f186c6] Libffi_jll v3.2.2+0 [d4300ac3] Libgcrypt_jll v1.8.7+0 [7e76a0d4] Libglvnd_jll v1.3.0+3 [7add5ba3] Libgpg_error_jll v1.42.0+0 [94ce4f54] Libiconv_jll v1.16.1+1 [4b2f31a3] Libmount_jll v2.35.0+0 [89763e89] Libtiff_jll v4.3.0+0 [38a345b3] Libuuid_jll v2.36.0+0 [5ced341a] Lz4_jll v1.9.3+0 [856f044c] MKL_jll v2021.1.1+1 [e7412a2a] Ogg_jll v1.3.5+0 [458c3c95] OpenSSL_jll v1.1.10+0 [efe28fd5] OpenSpecFun_jll v0.5.5+0 [91d4177d] Opus_jll v1.3.2+0 [2f80f16e] PCRE_jll v8.44.0+0 [36c8627f] Pango_jll v1.42.4+10 [30392449] Pixman_jll v0.40.1+0 [ea2cea3b] Qt5Base_jll v5.15.3+0 [f50d1b31] Rmath_jll v0.3.0+0 [a2964d1f] Wayland_jll v1.19.0+0 [2381bf8a] Wayland_protocols_jll v1.18.0+4 [02c8fc9c] XML2_jll v2.9.12+0 [aed1982a] XSLT_jll v1.1.34+0 [4f6342f7] Xorg_libX11_jll v1.6.9+4 [0c0b7dd1] Xorg_libXau_jll v1.0.9+4 [935fb764] Xorg_libXcursor_jll v1.2.0+4 [a3789734] Xorg_libXdmcp_jll v1.1.3+4 [1082639a] Xorg_libXext_jll v1.3.4+4 [d091e8ba] Xorg_libXfixes_jll v5.0.3+4 [a51aa0fd] Xorg_libXi_jll v1.7.10+4 [d1454406] Xorg_libXinerama_jll v1.1.4+4 [ec84b674] Xorg_libXrandr_jll v1.5.2+4 [ea2f1a96] Xorg_libXrender_jll v0.9.10+4 [14d82f49] Xorg_libpthread_stubs_jll v0.1.0+3 [c7cfdc94] Xorg_libxcb_jll v1.13.0+3 [cc61e674] Xorg_libxkbfile_jll v1.1.0+4 [12413925] Xorg_xcb_util_image_jll v0.4.0+1 [2def613f] Xorg_xcb_util_jll v0.4.0+1 [975044d2] Xorg_xcb_util_keysyms_jll v0.4.0+1 [0d47668e] Xorg_xcb_util_renderutil_jll v0.3.9+1 [c22f9ab0] Xorg_xcb_util_wm_jll v0.4.1+1 [35661453] Xorg_xkbcomp_jll v1.4.2+4 [33bec58e] Xorg_xkeyboard_config_jll v2.27.0+4 [c5fb5394] Xorg_xtrans_jll v1.4.0+3 [8f1865be] ZeroMQ_jll v4.3.4+0 [3161d3a3] Zstd_jll v1.5.0+0 [9a68df92] isoband_jll v0.2.2+0 [0ac62f75] libass_jll v0.14.0+4 [f638f0a6] libfdk_aac_jll v0.1.6+4 [b53b4c65] libpng_jll v1.6.38+0 [a9144af2] libsodium_jll v1.0.20+0 [f27f6e37] libvorbis_jll v1.3.7+0 [1270edf5] x264_jll v2020.7.14+2 [dfaa095f] x265_jll v3.0.0+3 [d8fb68d0] xkbcommon_jll v0.9.1+5 [0dad84c5] ArgTools [56f22d72] Artifacts [2a0f44e3] Base64 [ade2ca70] Dates [8bb1440f] DelimitedFiles [8ba89e20] Distributed [f43a241f] Downloads [7b1f6079] FileWatching [9fa8497b] Future [b77e0a4c] InteractiveUtils [4af54fe1] LazyArtifacts [b27032c2] LibCURL [76f85450] LibGit2 [8f399da3] Libdl [37e2e46d] LinearAlgebra [56ddb016] Logging [d6f4376e] Markdown [a63ad114] Mmap [ca575930] NetworkOptions [44cfe95a] Pkg [de0858da] Printf [9abbd945] Profile [3fa0cd96] REPL [9a3f8284] Random [ea8e919c] SHA [9e88b42a] Serialization [1a1011a3] SharedArrays [6462fe0b] Sockets [2f01184e] SparseArrays [10745b16] Statistics [4607b0f0] SuiteSparse [fa267f1f] TOML [a4e569a6] Tar [8dfed614] Test [cf7118a7] UUIDs [4ec0a83e] Unicode [e66e0078] CompilerSupportLibraries_jll [deac9b47] LibCURL_jll [29816b5a] LibSSH2_jll [c8ffd9c3] MbedTLS_jll [14a3606d] MozillaCACerts_jll [4536629a] OpenBLAS_jll [83775a58] Zlib_jll [8e850ede] nghttp2_jll [3f19e933] p7zip_jll julia> versioninfo() Julia Version 1.6.2 Commit 1b93d53fc4 (2021-07-14 15:36 UTC) Platform Info: OS: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-11.0.1 (ORCJIT, skylake) Environment: JULIA_EDITOR = "C:\Users\fff00\AppData\Local\atom\app-1.58.0\atom.exe" -a JULIA_NUM_THREADS = 8 ```
kimikage commented 3 years ago

Since you have a lot of packages installed in your environment, it is recommended that you test with a minimal set of packages first.

I was also concerned about the number of threads, but on my machine, it worked even with 8 threads.

babaq commented 3 years ago

I tried removing some packages, then problems solved.

Thanks for your help and tips.