foncino / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

[MAC] kernel_task 100% CPU, app freezes on disconnect/reconnection #166

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of QextSerialPort are you using?

1.2 from http://code.google.com/p/qextserialport/ with Qt 4.7.1 and Mac OS X 
1.6.8.

What steps will reproduce the problem?
1. Make a simple app using qextserialport and qextserialenumerator to open a 
USB port when connection event is triggered.
2. Connect, disconnect and reconnect quickly the USB port from the Mac.
3. Look at the activity monitor to see kernel_task takes more than 100% of the 
CPU usage. You can't stop it. Kill app process doesn't work. You need to 
restart your Mac to use it again.

I try by creating a new very simple project to reproduce this bug and it does.

Original issue reported on code.google.com by chaux.fl...@gmail.com on 8 Jul 2013 at 1:03