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

Floating point exception on ARM running pulseview with fusion (default) style

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.4.0
    • None
    • Custom Linux system built by Buildroot for BeagleBone Black, using enlightenment window manager viewed by vncviewer/x11vnc. The X-server used is Xvfb.

      ABI: ARM, EABI5 version 1 (SYSV).

    Description

      When I try to start pulseview with the default style (fusion) I get a Floating point exception and gdb shows the following stack trace:

      Starting program: /usr/bin/pulseview -platform xcb
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/libthread_db.so.1".
      client(1000000): Reserved pid(346).
      client(1000000): Reserved cmdname(/usr/bin/pulseview) and cmdargs(-platform xcb).
      AllocNewConnection: client index = 8, socket fd = 10
      Qt: gdb: -nograb added to command-line options.
      Use the -dograb option to enforce grabbing.
      client(1600000): Reserved pid(349).
      client(1600000): Reserved cmdname(/usr/bin/dbus-launch) and cmdargs(--autolaunch 40cd8e69098c847a0145ac0000000006 --binary-syntax --close-stderr).
      AllocNewConnection: client index = 11, socket fd = 13
      client(1600000): Released pid(349).
      client(1600000): Released cmdline(/usr/bin/dbus-launch) and cmdargs(--autolaunch 40cd8e69098c847a0145ac0000000006 --binary-syntax --close-stderr).

      Program received signal SIGFPE, Arithmetic exception.
      0xb6e58304 in raise () from /lib/libpthread.so.0
      (gdb) bt
      #0 0xb6e58304 in raise () from /lib/libpthread.so.0
      #1 0xb5797a70 in __aeabi_ldiv0 ()
      at ../../../libgcc/config/arm/lib1funcs.S:1331
      #2 0xb655d0c8 in QFusionStyle::drawPrimitive (this=0x230830,
      elem=QStyle::PE_IndicatorArrowDown, option=0xbec0f998, painter=0xbec1171c,
      widget=0x288818) at styles/qfusionstyle.cpp:528
      #3 0xb64f9efc in QCommonStyle::drawComplexControl (this=0x230830,
      cc=QStyle::CC_ToolButton, opt=0xbec116b8, p=0xbec1171c, widget=0x288818)
      at styles/qcommonstyle.cpp:3356
      #4 0xb6577a74 in QFusionStyle::drawComplexControl (this=0x230830,
      control=QStyle::CC_ToolButton, option=0xbec116b8, painter=0xbec1171c,
      widget=0x288818) at styles/qfusionstyle.cpp:3005
      #5 0xb658c138 in QStylePainter::drawComplexControl (this=0xbec1171c,
      cc=QStyle::CC_ToolButton, opt=...)
      at ../../include/QtWidgets/../../src/widgets/styles/qstylepainter.h:83
      #6 0xb668f6b4 in QToolButton::paintEvent (this=0x288818)
      at widgets/qtoolbutton.cpp:447
      #7 0xb64993f0 in QWidget::event (this=0x288818, event=0xbec11e50)
      at kernel/qwidget.cpp:8808
      #8 0xb657f3b4 in QAbstractButton::event (this=0x288818, e=0xbec11e50)
      at widgets/qabstractbutton.cpp:1089
      #9 0xb66915bc in QToolButton::event (this=0x288818, event=0xbec11e50)
      at widgets/qtoolbutton.cpp:965
      --Type <return> to continue, or q <return> to quit--
      #10 0xb643c480 in QApplicationPrivate::notify_helper (this=0x20dde0, receiver=
      0x288818, e=0xbec11e50) at kernel/qapplication.cpp:3722
      #11 0xb643c2cc in QApplication::notify (this=0xbec13b34, receiver=0x288818,
      e=0xbec11e50) at kernel/qapplication.cpp:3687
      #12 0x0010c880 in Application::notify (this=0xbec13b34, receiver=0x288818,
      event=0xbec11e50)
      at /tmp/buildroot/output/build/pulseview-19be0af16af83ca10f7ce69cb64f0b0c6f6a0d81/pv/application.cpp:38
      #13 0xb5b341c4 in QCoreApplication::notifyInternal (this=0xbec13b34,
      receiver=0x288818, event=0xbec11e50) at kernel/qcoreapplication.cpp:932
      #14 0xb643fc14 in QCoreApplication::sendSpontaneousEvent (receiver=0x288818,
      event=0xbec11e50)
      at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
      #15 0xb648fa64 in QWidgetPrivate::sendPaintEvent (this=0x28f130,
      toBePainted=...) at kernel/qwidget.cpp:5597
      #16 0xb648f5b4 in QWidgetPrivate::drawWidget (this=0x28f130, pdev=0x2cc094,
      rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2afe70)
      at kernel/qwidget.cpp:5537
      #17 0xb649042c in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=6, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5732
      #18 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=8, rgn=..., offset=..., flags=4,
      --Type <return> to continue, or q <return> to quit--
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #19 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=9, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #20 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=10, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #21 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=11, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #22 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=12, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #23 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=14, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #24 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=15, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #25 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=17, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #26 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      --Type <return> to continue, or q <return> to quit--
      pdev=0x2cc094, siblings=..., index=19, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #27 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=23, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #28 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=25, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #29 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=27, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #30 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=29, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #31 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=31, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #32 0xb64902e8 in QWidgetPrivate::paintSiblingsRecursive (this=0x282598,
      pdev=0x2cc094, siblings=..., index=33, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5719
      #33 0xb648fa10 in QWidgetPrivate::drawWidget (this=0x282598, pdev=0x2cc094,
      rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x2afe70)
      at kernel/qwidget.cpp:5589
      --Type <return> to continue, or q <return> to quit--
      #34 0xb649042c in QWidgetPrivate::paintSiblingsRecursive (this=0x24ffc0,
      pdev=0x2cc094, siblings=..., index=14, rgn=..., offset=..., flags=4,
      sharedPainter=0x0, backingStore=0x2afe70) at kernel/qwidget.cpp:5732
      #35 0xb648fa10 in QWidgetPrivate::drawWidget (this=0x24ffc0, pdev=0x2cc094,
      rgn=..., offset=..., flags=5, sharedPainter=0x0, backingStore=0x2afe70)
      at kernel/qwidget.cpp:5589
      #36 0xb644fe00 in QWidgetBackingStore::doSync (this=0x2afe70)
      at kernel/qwidgetbackingstore.cpp:1235
      #37 0xb644ed5c in QWidgetBackingStore::sync (this=0x2afe70,
      exposedWidget=0xbec13938, exposedRegion=...)
      at kernel/qwidgetbackingstore.cpp:959
      #38 0xb64856a8 in QWidgetPrivate::syncBackingStore (this=0x24ffc0, region=...)
      at kernel/qwidget.cpp:1895
      #39 0xb64c97c8 in QWidgetWindow::handleExposeEvent (this=0x2c3838, event=
      0xbec13688) at kernel/qwidgetwindow.cpp:771
      #40 0xb64c6dc4 in QWidgetWindow::event (this=0x2c3838, event=0xbec13688)
      at kernel/qwidgetwindow.cpp:218
      #41 0xb643c480 in QApplicationPrivate::notify_helper (this=0x20dde0,
      receiver=0x2c3838, e=0xbec13688) at kernel/qapplication.cpp:3722
      #42 0xb6439adc in QApplication::notify (this=0xbec13b34, receiver=0x2c3838,
      e=0xbec13688) at kernel/qapplication.cpp:3164
      #43 0x0010c880 in Application::notify (this=0xbec13b34, receiver=0x2c3838,
      event=0xbec13688)
      --Type <return> to continue, or q <return> to quit--
      at /tmp/buildroot/output/build/pulseview-19be0af16af83ca10f7ce69cb64f0b0c6f6a0d81/pv/application.cpp:38
      #44 0xb5b341c4 in QCoreApplication::notifyInternal (this=0xbec13b34,
      receiver=0x2c3838, event=0xbec13688) at kernel/qcoreapplication.cpp:932
      #45 0xb643fc14 in QCoreApplication::sendSpontaneousEvent (receiver=0x2c3838,
      event=0xbec13688)
      at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
      #46 0xb5ee8290 in QGuiApplicationPrivate::processExposeEvent (e=0x2d3c40)
      at kernel/qguiapplication.cpp:2632
      #47 0xb5ee3c88 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x2d3c40)
      at kernel/qguiapplication.cpp:1660
      #48 0xb5ec6a80 in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
      at kernel/qwindowsysteminterface.cpp:572
      #49 0xb53e7188 in userEventSourceDispatch (source=0x2210a0)
      at eventdispatchers/qeventdispatcher_glib.cpp:70
      #50 0xb6aa18a4 in g_main_dispatch (context=0x221230) at gmain.c:3111
      #51 0xb6aa294c in g_main_context_dispatch (context=0x221230) at gmain.c:3710
      #52 0xb6aa2b6c in g_main_context_iterate (context=0x221230, block=1,
      dispatch=1, self=0x22d400) at gmain.c:3781
      #53 0xb6aa2c44 in g_main_context_iteration (context=0x221230, may_block=1)
      at gmain.c:3842
      #54 0xb5bc98bc in QEventDispatcherGlib::processEvents (this=0x221140,
      flags=...) at kernel/qeventdispatcher_glib.cpp:418
      --Type <return> to continue, or q <return> to quit--
      #55 0xb53e7400 in QPAEventDispatcherGlib::processEvents (this=0x221140,
      flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
      #56 0xb5b3011c in QEventLoop::processEvents (this=0xbec13888, flags=...)
      at kernel/qeventloop.cpp:128
      #57 0xb5b30480 in QEventLoop::exec (this=0xbec13888, flags=...)
      at kernel/qeventloop.cpp:204
      #58 0xb5b34aa8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185
      #59 0xb5ee3458 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1532
      #60 0xb6439008 in QApplication::exec () at kernel/qapplication.cpp:2956
      #61 0x00108b84 in main (argc=1, argv=0xbec13d74)

      It works fine with '-style motif'.

      Attachments

        Issue Links

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

          Activity

            People

              brgl Bartosz Golaszewski
              brgl Bartosz Golaszewski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes