Issue in QPdfWriter

vincent.vandevyvre at oqapy.eu vincent.vandevyvre at oqapy.eu
Wed Aug 24 10:47:21 BST 2022


.....

Same error with PyQt6-6.3.0

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3eebf50 in QPainter::renderHints() const () from /home/vincent/CPython/py310_venv/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6
(gdb) bt
#0  0x00007ffff3eebf50 in QPainter::renderHints() const ()
   from /home/vincent/CPython/py310_venv/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6
#1  0x00007ffff3f43e4a in QPdfEngine::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) ()
   from /home/vincent/CPython/py310_venv/lib/python3.10/site-packages/PyQt6/Qt6/lib/libQt6Gui.so.6
#2  0x00007ffff474c491 in meth_QPaintEngine_drawImage ()
   from /home/vincent/CPython/py310_venv/lib/python3.10/site-packages/PyQt6/QtGui.abi3.so
#3  0x000055555578ed53 in cfunction_call (func=0x7ffff12e25c0, args=<optimized out>, kwargs=<optimized out>) at Objects/methodobject.c:539
#4  0x00005555555cacdc in _PyObject_MakeTpCall (tstate=0x555555945530, callable=0x7ffff12e25c0, args=<optimized out>, 
    nargs=<optimized out>, keywords=0x0) at Objects/call.c:215
#5  0x00005555555b8d39 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=9223372036854775811, args=0x7ffff7be1150, 
    callable=0x7ffff12e25c0, tstate=<optimized out>) at ./Include/cpython/abstract.h:112
#6  _PyObject_VectorcallTstate (kwnames=0x0, nargsf=9223372036854775811, args=0x7ffff7be1150, callable=0x7ffff12e25c0, 
    tstate=<optimized out>) at ./Include/cpython/abstract.h:99
#7  PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775811, args=0x7ffff7be1150, callable=0x7ffff12e25c0)
    at ./Include/cpython/abstract.h:123
#8  call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, trace_info=0x7fffffffd570, tstate=<optimized out>)
    at Python/ceval.c:5888
#9  _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:4189


Vincent.


More information about the PyQt mailing list