Program received signal SIGFPE, Arithmetic exception. 0x00007ffff775c7a6 in qRound (d=inf) at ../../include/QtCore/../../src/corelib/global/qglobal.h:517 517 { return d >= 0.0 ? int(d + 0.5) : int(d - double(int(d-1)) + 0.5) + int(d-1); } (gdb) where #0 0x00007ffff775c7a6 in qRound (d=inf) at ../../include/QtCore/../../src/corelib/global/qglobal.h:517 #1 0x00007ffff775d2c7 in QPointF::toPoint (this=0x7fffffffd330) at ../../include/QtCore/../../src/corelib/tools/qpoint.h:383 #2 0x00007ffff7754d50 in QApplicationPrivate::dispatchEnterLeave (enter=0x0, leave=0x7fffffffd9b0, globalPosF=...) at kernel/qapplication.cpp:2315 #3 0x00007ffff77d0f15 in QWidgetWindow::handleEnterLeaveEvent (this=0x65ac80, event=0x7fffffffd820) at kernel/qwidgetwindow.cpp:350 #4 0x00007ffff77d09e5 in QWidgetWindow::event (this=0x65ac80, event=0x7fffffffd820) at kernel/qwidgetwindow.cpp:174 #5 0x00007ffff775a074 in QApplicationPrivate::notify_helper (this=0x603bf0, receiver=0x65ac80, e=0x7fffffffd820) at kernel/qapplication.cpp:3715 #6 0x00007ffff77575c3 in QApplication::notify (this=0x7fffffffd980, receiver=0x65ac80, e=0x7fffffffd820) at kernel/qapplication.cpp:3159 #7 0x00007ffff7277386 in QCoreApplication::notifyInternal (this=0x7fffffffd980, receiver=0x65ac80, event=0x7fffffffd820) at kernel/qcoreapplication.cpp:963 #8 0x00007ffff5dd8efd in QCoreApplication::sendSpontaneousEvent (receiver=0x65ac80, event=0x7fffffffd820) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227 #9 0x00007ffff5dd27f5 in QGuiApplicationPrivate::processLeaveEvent (e=0x653120) at kernel/qguiapplication.cpp:1947 #10 0x00007ffff5dd1366 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x653120) at kernel/qguiapplication.cpp:1600 #11 0x00007ffff5db9fa7 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:608 #12 0x00007ffff7f4087d in QUnixEventDispatcherQPA::processEvents (this=0x634e60, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:63 #13 0x00007ffff7277812 in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1135 #14 0x0000000000400f55 in main (argc=1, argv=0x7fffffffdad8) at ../qtbug45501/main.cpp:24