Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.0
-
embedded linux
-
c296ae217cdb21b413b857b63961b78a65569162
Description
QSerialPort is using QLockFile to prevent accessing the opened serial port.
The problem comes, when the device looses power and after a new start the still existing lock file makes the application hang, because there is no timeout on opening.
Possible solution is to compare the system uptime and the creation time of the lock file, to decide if the lock file is valid.
Attachments
Issue Links
- is replaced by
-
QTBUG-63425 QSettings hangs an application on 20-30 seconds after system reboot
-
- Closed
-