Hello everyone, I have a strange problem, I design a application, one part of code of this project like following:
while(serialPort->waitForReadyRead(30))
{
DataReceive = serialPort->readAll();
ReceiveData.append(DataReceive);
}
The strange problem is sometimes my application could work well, but sometimes It would show “SIGSEGV, Segmentation fault” at
DataReceive = serialPort->readAll();
My application run same code, but sometime would be failed.And does Qt provide debug tool?? Because when I receive “SIGSEGV, Segmentation fault”, I had no idea with this.
Thanks in advance.
↧