-
Notifications
You must be signed in to change notification settings - Fork 46
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
Segmentation Fault error at prepareRobot in Gazebo #104
Comments
It is a problem related to |
So I should reinstall the library and recompile the walking-controller (and iDyntree), am I correct? |
I would also make sure that you have a single |
In the
in the iDynTree build folder. |
I had this result:
|
Ok it seems that it has to do somehow with
and it is weird because it seems that How did you install |
By the way, is it still happening? |
This seems something that we solved in robotology-dependencies/qpOASES#7 and was solved upstream in https://projects.coin-or.org/qpOASES/changeset/255/, so probably a "strange" version of qpOASES is installed as per @S-Dafarra intuition. |
I've installed qpOases from source here https://github.com/robotology-dependencies/qpOASES |
That is strange. Can you return the output of:
and:
|
returns:
meanwhile
returns nothing. although I have installed it, here the install log:
|
when building walking-controller I also had this strange error (related to qpOASES):
|
It is quite strange that
As a side note, there is any reason why you did not used the robotology-superbuild or at least install everything in a specific install location instead of |
I guess this problem did not occur before? (Note: the error is expected if you compile qpOASES as a static library). |
|
A solution that I found is to build qpOASES with but it still doesn't work after rebuilding and installing qpOASES and idyntree. I have installed ipopt using |
That is the problem! qpOASES should not provide that symbol Anyhow, it seems that qpOASES is compiled as static, I suggest to enable the
Personally, I would avoid to do that. The problem is that the apt mumps for some reason is calling the wrong |
To debug the issue even more, can you provide the full output of |
Tomorrow I will check, thanks
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Silvio Traversaro ***@***.***>
Sent: Thursday, February 10, 2022 7:43:06 PM
To: robotology/walking-controllers ***@***.***>
Cc: Simone Micheletti ***@***.***>; Author ***@***.***>
Subject: Re: [robotology/walking-controllers] Segmentation Fault error at prepareRobot in Gazebo (Issue #104)
To debug the issue even more, can you provide the full output of nm /usr/local/lib/libqpOASES.a? That should tell us which compilation unit (i.e. source file) actually inserted the problematic dgemm_ symbol. Are you sure that you do not have any other qpOASES installed in the system? In that case, is possible that the wrong include of qpOASES is used, resulting in that symbol being generated. You can check this with sudo updatedb && locate qpOASES.hpp.
—
Reply to this email directly, view it on GitHub<#104 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUXEKH5NY2HC5NAF2YXAOQ3U2QBLVANCNFSM5OBHMKDQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Here the location of qpOASES.hpp:
here the output of nm /usr/local/lib/libqpOASES.a:
|
It seems that the
|
Even better, can you zip and attach the directory |
Here's the folder, I've omitted the .git folder because it was too heavy for the upload on git. But if you need it I can divide it and upload it. here /usr/local/include/qpOASES/LapackBlasReplacement.hpp instead: |
Thanks!
Are you sure? From the content of the directory it seems that you cloned it from https://github.com/coin-or/qpOASES . You can easily check by running |
The first time was from the robotology superbuild. |
Using the one from |
Closing the issue. I've removed the old files present in Now the issue is solved. Thanks all! |
Hello,
I am using icub 2.5 in simulation on Gazebo.
I am following all the steps in and it all works fine untill the step 7 at prepareRobot command there's a segmentation fault error
cc @lrapetti
The text was updated successfully, but these errors were encountered: