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

Qt 4.8.4 crash under mac when using QLineEdit (report by linuxliker)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.8.4
    • None
    • macOS

    Description

      Qt QDateTimeEdit or QLineEdit problem. Crash randomly, not 100% repeatable. Backtrace as following, we call Ui_QDownloadByTime::setupUi which is auto-generated by Qt tools, but it crashed.

      Crashed Thread: 0 Dispatch queue: com.apple.main-thread

      Exception Type: EXC_BAD_ACCESS (SIGBUS)
      Exception Codes: KERN_PROTECTION_FAILURE at 0x000000002094d250

      VM Regions Near 0x2094d250:
      MALLOC_TINY 0000000020400000-0000000020500000 [ 1024K] rw-/rwx SM=PRV
      -> mapped file 00000000205c7000-0000000020a33000 [ 4528K] r-/rwx SM=COW

      /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/ArtFile.bin
      mapped file 0000000020a33000-0000000020afe000 [ 812K] r--/rwx SM=COW /System/Library/Keyboard

      Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat

      Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
      0 libQtCore_debug.4.dylib 0x064fda98 QMetaObject::changeGuard(QObject*, QObject) + 594
      1 libQtGui_debug.4.dylib 0x0530c978 0x5139000 + 1915256
      2 libQtGui_debug.4.dylib 0x05169e75 0x5139000 + 200309
      3 libQtGui_debug.4.dylib 0x05169fb5 0x5139000 + 200629
      4 libQtGui_debug.4.dylib 0x0518bd85 QWidgetPrivate::setCursor_sys(QCursor const&) + 23
      5 libQtGui_debug.4.dylib 0x05303b35 QWidget::setCursor(QCursor const&) + 225
      6 libQtGui_debug.4.dylib 0x05971632 0x5139000 + 8619570
      7 libQtGui_debug.4.dylib 0x0597d66f QLineEdit::QLineEdit(QWidget*) + 233
      8 libQtGui_debug.4.dylib 0x058dc412 0x5139000 + 8008722
      9 libQtGui_debug.4.dylib 0x058de972 QAbstractSpinBox::QAbstractSpinBox(QAbstractSpinBoxPrivate&, QWidget*) + 154
      10 libQtGui_debug.4.dylib 0x05922bdb QDateTimeEdit::QDateTimeEdit(QWidget*) + 91
      11 com.yourcompany.XXXXXXXX 0x00180995 Ui_QDownloadByTime::setupUi(QWidget*) + 6643
      12 com.yourcompany.XXXXXXXX 0x00171f3b CPlayBackDownLoadByTimeDlg::OnInitDialog() + 43
      13 com.yourcompany.XXXXXXXX 0x001729bb CPlayBackDownLoadByTimeDlg::CPlayBackDownLoadByTimeDlg(QWidget*) + 267
      14 com.yourcompany.XXXXXXXX 0x001bc252 CPlayBackRecordlistDlg::OnInitDialog() + 2064
      15 com.yourcompany.XXXXXXXX 0x001bca4f CPlayBackRecordlistDlg::CPlayBackRecordlistDlg(QWidget*) + 151
      16 com.yourcompany.XXXXXXXX 0x0013b18e CPlayBackCtrlDlg::CPlayBackCtrlDlg(QWidget*) + 1628
      17 com.yourcompany.XXXXXXXX 0x005a2a17 QPlayBackDlg::QPlayBackDlg(QWidget*) + 125
      18 com.yourcompany.XXXXXXXX 0x00582885 QHomeBasic::OnBtnClicked() + 2599
      19 com.yourcompany.XXXXXXXX 0x00733500 QHomeBasic::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 172
      20 libQtCore_debug.4.dylib 0x064fbfbe QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 1932
      21 libQtGui_debug.4.dylib 0x05dfb0e6 QAbstractButton::clicked(bool) + 80
      22 libQtGui_debug.4.dylib 0x058c9e66 0x5139000 + 7933542
      23 libQtGui_debug.4.dylib 0x058cba42 0x5139000 + 7940674
      24 libQtGui_debug.4.dylib 0x058cbe63 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 207
      25 com.yourcompany.XXXXXXXX 0x0053c5ec PixmapButtonEx::mouseReleaseEvent(QMouseEvent*) + 112
      26 libQtGui_debug.4.dylib 0x052fa382 QWidget::event(QEvent*) + 466
      27 libQtGui_debug.4.dylib 0x058c9dfc QAbstractButton::event(QEvent*) + 486
      28 libQtGui_debug.4.dylib 0x059f9405 QPushButton::event(QEvent*) + 269
      29 libQtGui_debug.4.dylib 0x0524eced QApplicationPrivate::notify_helper(QObject*, QEvent*) + 423
      30 libQtGui_debug.4.dylib 0x0525020b QApplication::notify(QObject*, QEvent*) + 5359
      31 libQtCore_debug.4.dylib 0x064d01fc QCoreApplication::notifyInternal(QObject*, QEvent*) + 182
      32 libQtGui_debug.4.dylib 0x0518768c QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) + 104
      33 libQtGui_debug.4.dylib 0x05180f44 QApplicationPrivate::globalEventProcessor(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 17394
      34 com.apple.HIToolbox 0x951b09bb _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (OpaqueEventHandlerCallRef*,

      OpaqueEventRef*, void*)) + 36
      35 com.apple.HIToolbox 0x95038394 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1343
      36 com.apple.HIToolbox 0x95037780 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 430
      37 com.apple.HIToolbox 0x9504b655 SendEventToEventTarget + 88
      38 com.apple.HIToolbox 0x9506b5c7 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2141
      39 com.apple.HIToolbox 0x9503883f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2538
      40 com.apple.HIToolbox 0x95037780 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 430
      41 com.apple.HIToolbox 0x9504b655 SendEventToEventTarget + 88
      42 libQtGui_debug.4.dylib 0x051a9405 0x5139000 + 459781
      43 libQtGui_debug.4.dylib 0x051a9704 0x5139000 + 460548
      44 libQtCore_debug.4.dylib 0x064ca89a QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 212
      45 libQtCore_debug.4.dylib 0x064cabbc QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 404
      46 libQtCore_debug.4.dylib 0x064d0df0 QCoreApplication::exec() + 378
      47 libQtGui_debug.4.dylib 0x052535ec QApplication::exec() + 24
      48 com.yourcompany.XXXXXXXX 0x0014ed74 main + 2292
      49 com.yourcompany.XXXXXXXX 0x000063d8 _start + 207
      50 com.yourcompany.XXXXXXXX 0x00006308 start + 40

      Attachments

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

        Activity

          People

            peppe Giuseppe D'Angelo
            linuxliker huang_xiaojin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes