Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.7
-
None
Description
The QSerialPort class under unix has some code to emulate mark/space parity on systems that don't define CMSPAR by toggling between odd and even parity for each byte. As it stands now, it doesn't work at all. As soon as you set parity to mark or space on these platforms (FreeBSD in my test case), the writePerChar function ends up recursive due to the flush call and eventually segfaults. Looks like this is due to a later change to make flush() non-blocking