julia icon indicating copy to clipboard operation
julia copied to clipboard

InteractiveUtils crashed on CI

Open Keno opened this issue 2 years ago • 5 comments

https://buildkite.com/julialang/julia-master/builds/11964#6454de35-bceb-4fdb-b92c-6f6acd92e377

An rr trace is available.

Keno avatar May 14 '22 02:05 Keno

@Keno Is that the right link? That link doesn't have an rr trace attached, because rr failed to cleanup within 1 hour, so we SIGKILLed it.

DilumAluthge avatar May 15 '22 20:05 DilumAluthge

@Keno Is that the right link? That link doesn't have an rr trace attached, because rr failed to cleanup within 1 hour, so we SIGKILLed it.

Oh, you are correct. My bad. Do we know what that happens?

Keno avatar May 16 '22 05:05 Keno

Yeah I have no idea what the cause is. It's not uncommon to see.

Basically it means that rr didn't exit within 60 minutes after we sent it SIGTERM.

DilumAluthge avatar May 16 '22 17:05 DilumAluthge

Can we see if we can reproduce this locally. Basically throw unsafe_load(Ptr{Int}(1)) in a few places in the tests and see if we can get this to happen? We may need to more aggressively send SIGTERM to the entire process tree rather than just the toplevel rr.

Keno avatar May 16 '22 17:05 Keno

This was introduced by https://github.com/JuliaLang/julia/pull/44548, which was merged earlier that week, and changed the Julia definition of struct without changing the C representation. Sometimes that means we do an OOB value and use that to do an OOB read on an array.

vtjnash avatar Aug 09 '22 17:08 vtjnash