-
Notifications
You must be signed in to change notification settings - Fork 0
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
Simulation Runner still STATIC #341
Comments
Sorry for the late response @stonier , didn't see my mention at first glance. |
@stonier , sorry for bothering. I'm having problems to reproduce the issue.
May I be missing another step? I'm currently working on top of |
That looks like it's still hiding visibility (hence the undefined references). Did you try clearing out |
Just removed those two lines from |
Hi @EricCousineau-TRI , sorry for bothering. Original working state:
Experimental, non working state:
Problem:
Background:
Any suggestions or comments that may shed some light on this issue would be highly appreciated (: |
Sorry for the late response! I had briefly tried it out on I unfortunately cannot pinpoint where it's going awry, or why it's due to shared linking rather than static linking. One thing I did try was running the
This indicates that there may be a problem with how it is at present with My suggestion is to completely rebuild everything ( Then use this to try and eliminate the (Note: You may need to re-run |
Not a problem at all. Thank you for taking the time to give it a try and for all these pointers! |
Hi @EricCousineau-TRI , how are you doing?
This is the error I'm getting at buildtime:
|
Doing well! |
Yay! That did the trick! Thanks a lot @EricCousineau-TRI !! |
Hi @EricCousineau-TRI , Independently from that, I've tried the following without success (all the tests are mutually independant).
I've found that this error only shows up in case we have at least one python-registered callback. |
Unfortunately, I'm not sure exactly what's going on... When I briefly tried debugging, I tried a subset of what you tried, but couldn't trace down the exact failure. Perhaps the most definitive way (but the most work) would be to try and reproduce this error in a non-Delphyne project, with as few moving pieces as possible; using the current fork of Even if you're not able to find the issue, it'd probably help in filing an upstream issue, either with CPython or with That's unfortunately the most helpful thing I can think of at the moment... |
Will try that, for sure! Thanks for the suggestions! |
I just tried to reproduce this error this morning, and oddly enough, it has gone away. Can you confirm? |
Wow, that's great! but weird at the same time, since I tried it just a couple of days ago and the python tests segfaulted. |
I've just checked and in my case, both the python tests and the demos keep failing after dropping the |
Maybe I'm subconsciously doing something to create a mystery - been watching too much of the BBC Sherlock series in the last two weeks. I'll update here if I can work out what. |
haha love that show! :) |
Ok, deleted the build/install folders, cleaned out, rebuilt all. Failing on python tests, |
Yes, it only fails when there is a callback registered from python. Both |
Drops out at the
gil_scoped_acquire
. Haven't been able to quickly fathom why. Multiply called?Easy to test, just drop the
STATIC
keyword in theadd_library(simulation_runner
and comment out the PIC code, then runkeyboard_controlled_simulation.py
. A backtrace.@apojomovsky are you the right fellow to look at this?
The text was updated successfully, but these errors were encountered: