Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.3
-
None
-
None
-
Symbian 5th edition device.
-
570e7b38487455d394b5b74a59edc639f3dc416f
Description
Trying to implement inter process communication to application with QSharedMemory. It seemed that QSharedMemory::lock() starts failing after certain period of time. Finally figured out that lock starts to fail after certain amount of calls to lock().
Provided test app calls lock/unlock in a loop. App fails after 16252th attempt to lock()/unlock() QSharedMemory segment.
QSharedMemory::error = 6
QSharedMemory::errorString() ="unable to lock"
After application is exited, following is printed to QT creators application output:
"QMutex: mutex init failure: Resource temporarily unavailable"