Crash while updating QLineEdit , calling setText
Florian Bruhin
me at the-compiler.org
Fri Oct 30 11:44:31 GMT 2020
Hey,
On Fri, Oct 30, 2020 at 01:05:12PM +1100, Denis Ryndine wrote:
> Looks like an assert from from frame 5; if I poke there:
> frame 5
> #5 0x00007f6c0bc4ceb1 in addNextCluster (pos=@0x7f6bf4a85ea0: 19,
> end=0, line=..., glyphCount=@0x7f6bf4a85e98: 18, current=...,
> logClusters=0x7f6bd402bc98, glyphs=..., clusterWidth=0x7f6bf4a85dcc)
> at /devel2/source/qt5/qtbase/src/gui/text/qtextlayout.cpp:1796
> 1796 Q_ASSERT((pos == end && glyphPosition == current.num_glyphs)
> || logClusters[pos] == glyphPosition);
>
> [...]
>
> And here I'm not sure : is my bad Python script manages to crash due
> to passing some bad argument to setText (which is just string , no
> other args ) or is the problem happening lower down in PyQt5 or Qt5
> library?
Looks like it's the same assertion than mentioned in this Qt bug:
https://bugreports.qt.io/browse/QTBUG-45077
There it's called a debug-only issue, though. Do you get the same crash
with a release build of Qt?
Florian
--
me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org
https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20201030/f42720bd/attachment.sig>
More information about the PyQt
mailing list