-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
system:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chipsAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chipssystem:macAffects only macOSAffects only macOS
Description
Two tests inside backtrace are failing for apple silicon. backtrace sometimes returns an empty vector.
Minimized to this.
1.8:
julia> import Base.StackTraces: lookup
julia> let
bt = backtrace()
@show bt
for trace in bt
lookup(trace)
end
end
bt = Union{Ptr{Nothing}, Base.InterpreterIP}[Ptr{Nothing} @0x0000000118c05847, Ptr{Nothing} @0x000000010472806b, Ptr{Nothing} @0x0000000100d3ba57, Ptr{Nothing} @0x0000000100d3b917, Ptr{Nothing} @0x0000000100d3c693, Ptr{Nothing} @0x0000000117bbc0e3, Ptr{Nothing} @0x000000011787f4bb, Ptr{Nothing} @0x00000001178a9883, Ptr{Nothing} @0x0000000117ab1ceb, Ptr{Nothing} @0x0000000117ab3cc7, Ptr{Nothing} @0x0000000117ab3cdb, Ptr{Nothing} @0x0000000100d08823, Ptr{Nothing} @0x00000001178a114f, Ptr{Nothing} @0x00000001178a11d3, Ptr{Nothing} @0x0000000100d08823, Ptr{Nothing} @0x0000000100d15243, Ptr{Nothing} @0x00000001179711d3, Ptr{Nothing} @0x000000011785d1c3, Ptr{Nothing} @0x000000011785ee13, Ptr{Nothing} @0x000000011785ef37, Ptr{Nothing} @0x0000000100d08823, Ptr{Nothing} @0x0000000100d61977, Ptr{Nothing} @0x0000000100d6186f]
julia> let
bt = backtrace()
@show bt
for trace in bt
lookup(trace)[1]
end
end
bt = Union{Ptr{Nothing}, Base.InterpreterIP}[Ptr{Nothing} @0x00000001048bc06f, Ptr{Nothing} @0x0000000100d3ba57, Ptr{Nothing} @0x0000000100d3b917, Ptr{Nothing} @0x0000000100d3c693, Ptr{Nothing} @0x0000000117bbc0e3, Ptr{Nothing} @0x000000011787f4bb, Ptr{Nothing} @0x00000001178a9883, Ptr{Nothing} @0x0000000117ab1ceb, Ptr{Nothing} @0x0000000117ab3cc7, Ptr{Nothing} @0x0000000117ab3cdb, Ptr{Nothing} @0x0000000100d08823, Ptr{Nothing} @0x00000001178a114f, Ptr{Nothing} @0x00000001178a11d3, Ptr{Nothing} @0x0000000100d08823, Ptr{Nothing} @0x0000000100d15243, Ptr{Nothing} @0x00000001179711d3, Ptr{Nothing} @0x000000011785d1c3, Ptr{Nothing} @0x000000011785ee13, Ptr{Nothing} @0x000000011785ef37, Ptr{Nothing} @0x0000000100d08823, Ptr{Nothing} @0x0000000100d61977, Ptr{Nothing} @0x0000000100d6186f]
master:
julia> let
bt = backtrace()
@show bt
for trace in bt
lookup(trace)
end
end
bt = Union{Ptr{Nothing}, Base.InterpreterIP}[Ptr{Nothing} @0x0000000128c4407b, Ptr{Nothing} @0x0000000104e9646b, Ptr{Nothing} @0x0000000104e96293, Ptr{Nothing} @0x0000000104e96f07, Ptr{Nothing} @0x000000011bcfd737, Ptr{Nothing} @0x000000011bd01153, Ptr{Nothing} @0x000000011bd0123f, Ptr{Nothing} @0x000000011bd037c7, Ptr{Nothing} @0x000000011bd03a4f, Ptr{Nothing} @0x000000011bd03a63, Ptr{Nothing} @0x0000000104e6339b, Ptr{Nothing} @0x000000011b78e587, Ptr{Nothing} @0x000000011b78e61f, Ptr{Nothing} @0x0000000104e6339b, Ptr{Nothing} @0x0000000104e702a7, Ptr{Nothing} @0x000000011b710987, Ptr{Nothing} @0x000000011b7192f3, Ptr{Nothing} @0x000000011b719853, Ptr{Nothing} @0x000000011b719943, Ptr{Nothing} @0x0000000104e6339b, Ptr{Nothing} @0x0000000104ebc9fb, Ptr{Nothing} @0x0000000104ebc8f3]
julia> let
bt = backtrace()
@show bt
for trace in bt
lookup(trace)[1]
end
end
bt = Union{Ptr{Nothing}, Base.InterpreterIP}[]
Metadata
Metadata
Assignees
Labels
system:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chipsAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chipssystem:macAffects only macOSAffects only macOS