-
Notifications
You must be signed in to change notification settings - Fork 5
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
Julia uses start_task as the top frame #292
Julia uses start_task as the top frame #292
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL! Thank you for the contribution!
Are stacks rooted on start_task
in any way special? Anything we should be considering for the future?
I am not an expert in Julia Lang (maybe @vchuravy can provide a better overview). What I have seen is that JuliaLang uses Tasks (https://github.com/JuliaLang/julia/blob/master/src/task.c) to achieve concurrent programming and parallelism, which resemble a bit the Go routines (or Windows fibers) . Each task that executes has this symbol at the top of the frame. There might be some extra nuances that the compiler does regarding adding some extra fake stack frames, but at least if we reach this then we can assume that we have unwinded the stack correctly. |
Is it normal for dd-gitlab/report_gitlab_CI_status take that long? |
The other thing we will need to check if this is sufficient. We might need to treat interpreter frames specially. |
In other languages supported by this tool (Rust, C++), the use of concurrency falls into a general pattern.
So my questions (and please forgive my ignorance, coming from a background in scientific computing, my experience with Julia was much-loved and wonderful, but predated the 1.0 release)
|
OK, I figured it out. One of the requirements for our gitlab workflow is that the incoming branch can't be from a fork. It isn't clear to me whether this can be changed, or if so how to do it. I went ahead and created #293 to verify that this is the case and to run it through CI. If CI comes back clear, I'll force-merge this PR (since the single base commit is the same). Obviously I don't anticipate any errors. Sorry about the speed bump, and thanks again for the contribution! |
Looks like GitHub is smart enough to notice the test against the merged branch corresponds to a passage on this one. I'm going to go ahead and hit the big green button, since that way I can keep track of CI right away, but in the future please feel free to press it yourself if everything is good--no need to wait for a maintainer. :) |
Julia uses the start_task as an indicator for the top frame. Adding this to the list of successful unwinding symbols.