<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    I am running Qgis 2.12.0-Lyon with python2.7. I developed my program
    under Qgis 2.8 and then 2.10. Now I encounter segmentation faults
    when I create instances of :<br>
    <ul>
      <li>qgis.core.QgsPalLayerSettings: pallay =
        qgis.core.QgsPalLayerSettings()<br>
      </li>
      <ul>
        <li>In my program, this is called after loading a
          QgsVectorLayer.</li>
        <li>Loading named styles from QML doesn't cause any problem
          (loadNamedStyle method of QgsVectorLayer instance)</li>
        <li>But manually creating my own style in this way is not
          possible since the upgrade.</li>
      </ul>
      <li>qgis.core.QgsComposition: composition =
        qgis.core.QgsComposition(canvas.mapSettings())<br>
      </li>
      <ul>
        <li>this instance is created after loading all the layers into
          the canvas and setting the renderer for each of them</li>
        <li>I seems canvas.mapRenderer() is deprecated, so I tried to
          init this with canvas.mapSettings() ; it crashes anyway</li>
      </ul>
    </ul>
    <p>Are these bugs reported ? I could not find anything similar in
      the reported Issues of QGis 2.12.<br>
    </p>
    <p>Thank you,</p>
    <div class="moz-signature">
      <div class="moz-signature">
        <div id="signature_old">
          <div style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma;
            color=#727272"> <font color="#727272"><b>---</b><br>
              <b>Raphaël Dubois</b><br>
              Project Engineer<br>
              tel : +33 (0)9 7239 0165<br>
               <br>
              <a style="color: #727272;" href="http://www.openocean.fr">OPENOCEAN</a><br>
              97 rue Oberkampf<br>
              75011 Paris, France</font><br>
            <img style="HEIGHT: 60px; WIDTH: 209px" alt=""
              src="cid:part2.01090404.08060805@openocean.fr" width="209"
              border="0" height="60"><br>
             <br>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>