I'm trying to work a cib seg fault in init_ais_connection() for pacemaker 1.0.9.<br>The 1.0.8 version of this function is pretty stright forward, calling one of the<br>comm stack's connect functions depending on the config.<br>
In 1.0.9, however, it appears to be a recursive call that never ends.<br>There is also a init_ais_connection_once() below that appears to be the<br>intended function to call within this function.<br>Is it safe for me to make this change?<br>
Alan<br>---<br>ajones@ajones-dl:~/hasrc/Pacemaker-1-0-Pacemaker-1.0.9/lib/common$ diff -c <a href="http://ais.c.org">ais.c.org</a> ais.c<br>*** <a href="http://ais.c.org">ais.c.org</a>    2010-06-23 03:25:30.000000000 -0700<br>
--- ais.c    2010-08-03 10:20:38.320875334 -0700<br>***************<br>*** 582,588 ****<br>  {<br>      int retries = 0;<br>      while(retries++ < 30) {<br>!     int rc = init_ais_connection(dispatch, destroy, our_uuid, our_uname, nodeid);<br>
      switch(rc) {<br>          case CS_OK:<br>          return TRUE;<br>--- 582,588 ----<br>  {<br>      int retries = 0;<br>      while(retries++ < 30) {<br>!     int rc = init_ais_connection_once(dispatch, destroy, our_uuid, our_uname, nodeid);<br>
      switch(rc) {<br>          case CS_OK:<br>          return TRUE;<br><br>