<div dir="ltr">Was anyone able to reproduce this problem with the attached tiny test case? This is a bit of a mystery and a bit of a deal breaker. I really don't understand what is causing the segfault.<div><br></div><div>The only next step I can think of doing here is to try and convert the little test case to C++ to see if it is a Qt problem vs a PyQt problem.</div><div><br>Does anyone have any alternative suggestions?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 18, 2015 at 10:49 AM, Russell Warren <span dir="ltr"><<a href="mailto:russ@perspexis.com" target="_blank">russ@perspexis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm creating a QGraphicsScene with the intent to render to a QQuickPaintedItem and I'm having segfault issues.<div><br></div><div>I've stripped the problem down to a very small script pair and attached them. Note that the QGraphicsScene.render() call is not even present since it didn't have anything to do with the segfault.</div><div><br></div><div>The segfault happens on the creation of the QGraphicsScene. Remove the line and the (bogus) application works.</div><div><br></div><div>fwiw, even when you remove the line and it works, this program segfaults on me when I close the window. I don't know why. Also fwiw, at some point I did have similar code working and the QGraphicsScene was rendering properly to the QQuickPaintedItem. I'm not sure what the difference is.</div><div><br></div><div>My environment is Qt5.5.0 and PyQt 5.5, Running on Debian 7.8 (wheezy) 64-bit. This was also happening to me on Qt 5.4.1 and I upgraded in hopes of the problem disappearing. It has also been confirmed to fail on Windows.</div><div><br></div><div>Am I doing something wrong that is causing the segfaults, or is this a Qt/PyQt bug?</div><div><br></div><div>Thanks,</div><div>Russ</div><div><br></div><div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font color="#000099">Russell Warren</font></div><div><font color="#000099">Perspexis Technologies Inc.</font></div><div><font color="#000099"><br></font></div><div><font color="#000099">This information is confidential and intended solely for the use of the individual or entity to whom it is addressed.</font></div><div><span style="color:rgb(0,0,153)">If you have received this email in error, please notify the sender immediately.</span></div></div></div>
</div>