Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-27017

!wakeUps.testAndSetRelease(1, 0) function call is failing in qt/src/corelib/kernel/qeventdispatcher_unix.cpp on Solaris SPARC

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.3
    • Core: Event loop
    • None
    • Solaris 10 with SPARC architecture

      The error message "QEventDispatcherUNIX: internal error, wakeUps.testAndSetRelease(1, 0) failed!" is constantly being written to the error logs, which was filling up our disk and using 100% of one CPU.

      The call in qt/src/corelib/kernel/qeventdispatcher_unix.cpp:
      (!wakeUps.testAndSetRelease(1, 0)) {

      should never fail. The issue might be derived from here qt/src/corelib/arch/qatomic_sparc.h:
      inline bool QBasicAtomicInt::testAndSetOrdered(int expectedValue, int newValue)

      It will return false if the value it is set currently is not the expected one. So, either the setting of it is failing of q_atomic_lock_int is.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtcomsupport Qt Support
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes