Crashing when opening a schematic

Issue #32 resolved
Adrian Bradd created an issue

I'm on develop (commit 293eb9b725). Using macos 10.12.6 and python 3.6.5.

Everytime I open a specific schematic ycircuit crashes and reports:

QBackingStore::endPaint() called with active painter on backingstore paint device [1] 93808 segmentation fault python top.py

Comments (4)

  1. Siddharth Shekar repo owner

    Adrian sent me the schematic. Looking at the log indicates that there was some issue with some of the LaTeX fragments in his schematic. One obvious thing to fix is the value returned by mathTexToQImage when an error is detected in the LaTeX fragment generation. After deleting the offending LaTeX fragments, the schematic now opens without issues.

  2. Siddharth Shekar repo owner

    I think this bug was introduced because of the LaTeX preview feature that I added recently. When the expression is not yet complete, the calls to mathTexToQImage would result in an error which possibly may have caused this problem. In any case, this should now be fixed in the latest develop.

  3. Log in to comment