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

Profile,test: avoid profiling compiler time #33314

Merged
merged 1 commit into from
Oct 1, 2019
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Sep 18, 2019

ref #33312. not really a fix, but might help clarify it?

Copy link
Member

@c42f c42f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird error. Seems like a reasonable step to take in debugging.

@StefanKarpinski StefanKarpinski merged commit 4f19dc2 into master Oct 1, 2019
@StefanKarpinski StefanKarpinski deleted the jn/33312 branch October 1, 2019 14:55
@KristofferC
Copy link
Member

Seems to still happen:

https://build.julialang.org/#/builders/13/builds/8106/steps/3/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:870 [inlined]
   [2] ensureroom at ./iobuffer.jl:325 [inlined]
   [3] unsafe_write(::Base.GenericIOBuffer{Array{UInt8,1}}, ::Ptr{UInt8}, ::UInt32) at ./iobuffer.jl:414
   [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.5/Profile/src/Profile.jl:747
   [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.5/Profile/src/Profile.jl:790
   [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.5/Profile/src/Profile.jl:164
   [11] #print#4 at /buildworker/worker/package_linux32/build/usr/share/julia/stdlib/v1.5/Profile/src/Profile.jl:148 [inlined]
   [12] top-level scope at /buildworker/worker/tester_linux32/build/share/julia/stdlib/v1.5/Profile/test/runtests.jl:39
   [13] include(::Module, ::String) at ./Base.jl:377
 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants