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

OutOfMemoryError in testset Profile on 32-bit Linux #33312

Closed
stevengj opened this issue Sep 18, 2019 · 4 comments
Closed

OutOfMemoryError in testset Profile on 32-bit Linux #33312

stevengj opened this issue Sep 18, 2019 · 4 comments
Labels
ci Continuous integration system:32-bit Affects only 32-bit systems

Comments

@stevengj
Copy link
Member

stevengj commented Sep 18, 2019

I'm seeing a failure https://build.julialang.org/#/builders/13/builds/5387 on an apparently unrelated PR (#33291):

Error in testset Profile:
Error During Test at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:20
  Got exception outside of a @test
  LoadError: OutOfMemoryError()
  Stacktrace:
   [1] println at ./strings/io.jl:73 [inlined]
   [2] tree(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Profile.StackFrameTree{Base.StackTraces.StackFrame}, ::Int32, ::Profile.ProfileFormat) at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Profile/src/Profile.jl:569
   [3] tree(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Array{UInt64,1}, ::Dict{UInt64,Array{Base.StackTraces.StackFrame,1}}, ::Int32, ::Profile.ProfileFormat) at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Profile/src/Profile.jl:602
   [4] print(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Array{UInt32,1}, ::Dict{UInt64,Array{Base.StackTraces.StackFrame,1}}, ::Profile.ProfileFormat, ::Symbol) at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Profile/src/Profile.jl:147
   [5] #print#4 at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Profile/src/Profile.jl:134 [inlined]
   [6] #print at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Profile/src/Profile.jl:134 [inlined] (repeats 3 times)
   [7] top-level scope at /buildworker/worker/tester_linux32/build/share/julia/stdlib/v1.4/Profile/test/runtests.jl:38
   [8] include at ./Base.jl:31 [inlined]
   [9] include(::String) at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:13
   [10] top-level scope at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:23
   [11] top-level scope at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1107
   [12] top-level scope at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:22
   [13] top-level scope at util.jl:293
   [14] top-level scope at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:20
   [15] eval at ./boot.jl:330 [inlined]
   [16] #runtests#3(::UInt128, ::typeof(runtests), ::String, ::String, ::Bool) at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:26
   [17] #runtests at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:6 [inlined] (repeats 2 times)
   [18] (::Distributed.var"##108#110"{Distributed.CallMsg{:call_fetch}})() at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Distributed/src/process_messages.jl:294
   [19] run_work_thunk(::Distributed.var"##108#110"{Distributed.CallMsg{:call_fetch}}, ::Bool) at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Distributed/src/process_messages.jl:79
   [20] macro expansion at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.4/Distributed/src/process_messages.jl:294 [inlined]
   [21] (::Distributed.var"##107#109"{Distributed.CallMsg{:call_fetch},Distributed.MsgHeader,Sockets.TCPSocket})() at ./task.jl:333
  in expression starting at /buildworker/worker/tester_linux32/build/share/julia/stdlib/v1.4/Profile/test/runtests.jl:37

cc @vtjnash, who worked on the Profile tests recently (#32933).

on commit 4966ed4

@stevengj stevengj added system:32-bit Affects only 32-bit systems ci Continuous integration labels Sep 18, 2019
@vtjnash
Copy link
Member

vtjnash commented Sep 18, 2019

How strange. When did that start?

Some more instances of it:
https://build.julialang.org/#/builders/13/builds/5387
https://build.julialang.org/#/builders/13/builds/5392

@KristofferC
Copy link
Member

It doesn't seem to be an issue anymore.

@KristofferC
Copy link
Member

Nvm: https://build.julialang.org/#/builders/4/builds/996/steps/5/logs/stdio

Error in testset Profile:
Error During Test at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:22
  Got exception outside of a @test
  LoadError: OutOfMemoryError()
  Stacktrace:
   [1] _growend! at ./array.jl:894 [inlined]
   [2] ensureroom at ./iobuffer.jl:330 [inlined]
   [3] unsafe_write(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Ptr{UInt8}, ::UInt32) at ./iobuffer.jl:419
   [4] write at ./strings/io.jl:183 [inlined]
   [5] print at ./strings/io.jl:185 [inlined]
   [6] print(::Base.GenericIOBuffer{Array{UInt8,1}}, ::String, ::Char) at ./strings/io.jl:46
   [7] println at ./strings/io.jl:73 [inlined]
   [8] print_tree(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Profile.StackFrameTree{Base.StackTraces.StackFrame}, ::Int32, ::Profile.ProfileFormat) at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.6/Profile/src/Profile.jl:749
   [9] tree(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Array{UInt64,1}, ::Dict{UInt64,Array{Base.StackTraces.StackFrame,1}}, ::Int32, ::Profile.ProfileFormat) at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.6/Profile/src/Profile.jl:792
   [10] print(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Array{UInt32,1}, ::Dict{UInt64,Array{Base.StackTraces.StackFrame,1}}, ::Profile.ProfileFormat, ::Symbol) at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.6/Profile/src/Profile.jl:164
   [11] #print#4 at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.6/Profile/src/Profile.jl:148 [inlined]
   [12] top-level scope at /buildworker/worker/tester_linux32/build/share/julia/stdlib/v1.6/Profile/test/runtests.jl:39
   [13] include at ./Base.jl:369 [inlined]
   [14] include at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:13 [inlined]
   [15] macro expansion at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:25 [inlined]
   [16] macro expansion at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1115 [inlined]
   [17] macro expansion at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:24 [inlined]
   [18] macro expansion at ./timing.jl:310 [inlined]
   [19] top-level scope at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:22
   [20] eval at ./boot.jl:340 [inlined]
   [21] runtests(::String, ::String, ::Bool; seed::UInt128) at /buildworker/worker/tester_linux32/build/share/julia/test/testdefs.jl:28
   [22] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})() at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:294
   [23] run_work_thunk(::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, ::Bool) at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:79
   [24] macro expansion at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.6/Distributed/src/process_messages.jl:294 [inlined]
   [25] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch},Distributed.MsgHeader,Sockets.TCPSocket})() at ./task.jl:358
  in expression starting at /buildworker/worker/tester_linux32/build/share/julia/stdlib/v1.6/Profile/test/runtests.jl:38

@KristofferC KristofferC reopened this Jun 25, 2020
@ViralBShah
Copy link
Member

Is this still an issue? Please reopen if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration system:32-bit Affects only 32-bit systems
Projects
None yet
Development

No branches or pull requests

4 participants