[Pkg-julia-devel] Bug#977193: Bug#977193: julia REPL crashes on simple function

Norbert Preining norbert at preining.info
Sat Dec 12 12:36:10 GMT 2020


Hi Zoltan,

thanks for your report. Interesting.

> signal (6): Aborted

I get the same indeed.

Then I tried:
- upstream original 1.5.2
	worked, got answer, no error
- upstream original 1.5.3
	got error
	julia> c,f = probak()
	ERROR: MethodError: Cannot `convert` an object of type Int64 to an object of type Array{Int64,1}
	Closest candidates are:
	  convert(::Type{T}, ::AbstractArray) where T<:Array at array.jl:554
	  convert(::Type{T}, ::T) where T<:AbstractArray at abstractarray.jl:14
	  convert(::Type{T}, ::LinearAlgebra.Factorization) where T<:AbstractArray at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/LinearAlgebra/src/factorization.jl:55
	  ...
	Stacktrace:
	 [1] push!(::Array{Array{Int64,1},1}, ::Int64) at ./array.jl:934
	 [2] probak at /home/norbert/Development/Julia/bugs/977193/bad.jl:10 [inlined]
	 [3] probak() at /home/norbert/Development/Julia/bugs/977193/bad.jl:7
	 [4] top-level scope at REPL[2]:1

Both official Julia packages are compiled with LLVM9, while the one in
Debian with LLVM10.


> in expression starting at REPL[2]:1
> gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
> abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
> unknown function (ip: 0x7f315d7872f0)
> _ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /usr/bin/../lib/x86_64-linux-gnu/libLLVM-10.so.1 (unknown line)
> _ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /usr/bin/../lib/x86_64-linux-gnu/libLLVM-10.so.1 (unknown line)
> _ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /usr/bin/../lib/x86_64-linux-gnu/libLLVM-10.so.1 (unknown line)

I will build Debian julia 1.5.3 packages and see how they fare!

Best

Norbert

--
PREINING Norbert                              https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the Pkg-julia-devel mailing list