Comments (4)
Hi there -
Please note that Knowledge and Student Hub should be utilized for these type of issues.
Most of the time, a Segmentation Fault on this project occurs due to an index out of bounds error. I'd check for those first.
If you think it is likely due to your ipopt installation, note that there is also now a classroom workspace in the MPC Project lesson with ipopt pre-installed - if you want, you can add your code in as a new directory there, and test out if the error still exists.
from carnd-mpc-quizzes.
@mvirgo Hi, I tried the same codes in the classroom workspace, it works well and I got the correct result. Now I'm doing the mpc project, still get the same segmentation fault: 11 with the first iteration at the same code line. And I copy my code to the classroom workspace. It compiles successfully and can run the ./mpc. Please suggest the next step to debug this. Thank you.
from carnd-mpc-quizzes.
As I noted before, you need to try asking Knowledge and Student Hub. This is not the place for debugging your own code, but for issues related to the code contained in the repository.
The most common reason for this is on an index out of bounds error, or if you have a pointer going awry, although the pointer issue is usually less common on this project. So, any arrays you set, or loops you do, I would check to make sure you aren't trying to call something outside of the bounds of the given array.
from carnd-mpc-quizzes.
Closing since no further comments in 2+ weeks
from carnd-mpc-quizzes.
Related Issues (12)
- Incorrect Download Link for Ipopt HOT 1
- cannot install ipopt on Mac HOT 4
- Terminate with Error loading matplotlib.pyplot HOT 2
- question HOT 1
- install python dev for matplotlib header file HOT 1
- Add Conan package manager HOT 2
- Issues installing ipopt on macOS Catalina HOT 1
- Code Comments HOT 2
- install_ipopt.sh does not work with source from 2nd link HOT 1
- How did you get those values? HOT 1
- Error on make HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carnd-mpc-quizzes.