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

QWaitCondition wait() / wakeall() crashed with signal SIGBUS, Bus error

    XMLWordPrintable

    Details

      Description

      Please see the core dump - Thread 1 and Thread 16 encounters same mutex lock call on QwaitCondition::wait() and wakeall respectively.

      This happens occasionally and cannot be reproduced permanently.

      Thread 16 (Thread 0x751b7000 (LWP 618)):
      #0 0x75d06888 in _GI__pthread_mutex_lock (mutex=0x1bd836f)
      at pthread_mutex_lock.c:80
      #1 0x75db40d0 in QWaitCondition::wait(QMutex*, unsigned long) ()
      from /usr/lib/libQt5Core.so.5
      #2 0x003ede54 in S34DUI::Bridge::HALBridge::registerTrolleyStatusCallback (
      this=this@entry=0x1bd2a80) at halbridge.cpp:134
      #3 0x003ee32c in S34DUI::Bridge::HALBridge::start (this=0x1bd2a80)
      at halbridge.cpp:267
      #4 0x002b0348 in S34DUI::DuiApplicationManager::start (this=0x1dc2ca4,
      this@entry=0x1bbe7a8) at duiapplicationmanager.cpp:252
      #5 0x0003ba14 in main (argc=8076684, argv=<optimized out>) at main.cpp:32

      Thread 1 (Thread 0x4a807430 (LWP 1004)):
      #0 0x75d06888 in _GI__pthread_mutex_lock (mutex=0x1bd836f)
      at pthread_mutex_lock.c:80
      #1 0x75db3dc8 in QWaitCondition::wakeAll() () from /usr/lib/libQt5Core.so.5
      #2 0x003ecf90 in S34DUI::Bridge::HALBridge::registerCallbackProc(std::function<void ()>, s34::hal::pin*, s34::hal::Uio*, QWaitCondition*) (
      this=<optimized out>, callback=..., pCallbackPin=0x1bd2a98,
      pUserspaceIO=0x1bd2a9c, pCallbackWaiter=0x1bd2aa8) at halbridge.cpp:177
      #3 0x003ee620 in QtConcurrent::StoredMemberFunctionPointerCall4<bool, S34DUI::Bridge::HALBridge, std::function<void ()>, void (), s34::hal::pin*, s34::hal::pin*, s34::hal::Uio*, s34::hal::Uio*, QWaitCondition*, QWaitCondition*>::runFunctor() (this=0x1dcc918)
      at /opt/fsl-imx-fb/3.14.52-1.1.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:995
      #4 0x002e7fe8 in QtConcurrent::RunFunctionTask<bool>::run (this=0x1dcc918)
      at /opt/fsl-imx-fb/3.14.52-1.1.0/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:102
      #5 0x75db014c in ?? () from /usr/lib/libQt5Core.so.5
      #6 0x75db3070 in ?? () from /usr/lib/libQt5Core.so.5
      #7 0x75d03de0 in start_thread (arg=0x4a807430) at pthread_create.c:338
      --Type <return> to continue, or q <return> to quit--
      #8 0x75b35fa0 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:89
      from /lib/libc.so.6

        Attachments

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

          Activity

            People

            Assignee:
            vhilshei Volker Hilsheimer
            Reporter:
            tuomas.vaarala Tuomas Vaarala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes