-
Notifications
You must be signed in to change notification settings - Fork 64
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
The C tracing deadlocks for larger programs #634
Comments
Just as a note, I fixed one or two bugs in the C target's tracing framework in #532. I don't think this deadlock is caused by those fixes since the issue seems to be older than the fixes by a wide margin. The benchmarks branch is now even with master thanks to @cmnrd, so a git pull will bring in my fixes. |
This is now fixed. The problem was that with tracing turned on, there is an upper bound on the number of distinct kinds of tracing events you can have. This bound was being exceeded, and the code was neither issuing a warning nor releasing a mutex lock, hence causing a deadlock. Now it does both. Everyone will have to do the |
I don't know if this helps, but I have created a git-pull.sh locally in my #!/bin/bash
git submodule update --init --recursive
git fetch --all
git pull |
I don't recommend using this script. I think the script reflects some misconceptions around the workings of submodules and might do more harm than good (not to discount the good intentions behind sharing this). It's been too often that I hear about submodules being "complicated" and requiring "magic incantations." Let me try to demystify the "magic incantations" and offer some advice on how to work with submodules. Some of this information I have already shared on the What is a submodule?A submodule is a repository that is mounted in the directory tree of another repository. Once initialized, the submodule can be interacted with as any other Git repository. Changes made in the submodule are pushed to its own remote, not to the remote of the repository that it is a submodule of. It should be noted that, after initialization, the submodule will have checked out a particular commit, not the I hear I need to use
|
Thanks Marten. This is really helpful. |
Maybe this should go on one of our wiki pages? Also, does the Oomph setup clone with --recursive? It seems not, because I've been needing to do |
I believe it does initialize submodules. Were the reactor-ts and reactor-c directories empty? |
I'll create a wiki page as per your suggestion. There are a few more things to mention here, such as contributing to submodules while they are checked out using |
See discussion in #481.
The text was updated successfully, but these errors were encountered: