title: Program received signal SIGSEGV, Segmentation fault
body: <p>Ok... I am ripping my hair out... Why am I getting segmentation fauls when I am passing a string called "name" with contents "joel" into</p>
  
  <pre><code>void person::setName(string newName)
  {
      personName = newName;
  }
  </code></pre>
  
  <p>Header file: </p>
  
  <pre><code>class person {
  public:
      int getID();
      string getName();
  
      void setID(int newID);
      void setName(string newName);
  private:
      int personID;
      string personName;
  
  };
  </code></pre>
  
  <p>btw... the function call is by a child, although I dont see how that could cause an issue.</p>