Address boundary error on POST QHttpMultiPart

Šimon Leitgeb leitgeb.simon at gmail.com
Tue Oct 31 19:52:49 GMT 2023


Hello,
I'm currently working on an application that sends some requests using
PyQt, but multipart formdata post requests are giving me trouble.

Get requests and simple post requests (with just binary data as body) work
without any problems, but requests that contain QHttpMultiPart as body
crash Python with the following:
fish: Job 1, 'pipenv run python post.py' terminated by signal SIGSEGV
(Address boundary error)

I'm using PyQt5 with Python 3.11.5, but the same issue occurs in PyQt6 as
well.
You can find a minimal example attached, if anyone would like to test this
for themselves.

Any ideas why this program crashes?

All the best,
Simon Leitgeb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20231031/db1a8752/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: post.py
Type: text/x-python
Size: 1505 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20231031/db1a8752/attachment.py>


More information about the PyQt mailing list