[Interest] Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'

Patrick Stinson patrickkidd at gmail.com
Tue Jul 25 22:18:15 CEST 2017


Anyone seen this error? It looks like an automated QtWidgets test caught it back in 2015, but I can’t seem to nail it down to any particular cause in my own app.

Thanks!

turin:pkdiagram patrick$ make run
2017-07-25 13:16:36.669 python[1892:844774] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fffaeac02cb __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fffc38cb48d objc_exception_throw + 48
	2   CoreFoundation                      0x00007fffaeb3ec3d +[NSException raise:format:] + 205
	3   QuartzCore                          0x00007fffb467a066 _ZN2CA5Layer12set_positionERKNS_4Vec2IdEEb + 152
	4   QuartzCore                          0x00007fffb467a1db -[CALayer setPosition:] + 44
	5   QuartzCore                          0x00007fffb467a831 -[CALayer setFrame:] + 644
	6   AppKit                              0x00007fffac57ee98 -[NSScrollerImp _updateLayerGeometry] + 319
	7   AppKit                              0x00007fffacc470da -[NSScroller setFloatValue:knobProportion:] + 371
	8   libqmacstyle_debug.dylib            0x00000001147dc8fb _ZL13setupScrollerP10NSScrollerPK18QStyleOptionSlider + 379
	9   libqmacstyle_debug.dylib            0x00000001147d7c00 _ZNK9QMacStyle18drawComplexControlEN6QStyle14ComplexControlEPK19QStyleOptionComplexP8QPainterPK7QWidget + 4608
	10  libQt5Widgets_debug.5.dylib         0x000000010b666a19 _ZNK16QStyleSheetStyle18drawComplexControlEN6QStyle14ComplexControlEPK19QStyleOptionComplexP8QPainterPK7QWidget + 9177
	11  libQt5Widgets_debug.5.dylib         0x000000010b799373 _ZN10QScrollBar10paintEventEP11QPaintEvent + 339
	12  libQt5Widgets_debug.5.dylib         0x000000010b5c68e4 _ZN7QWidget5eventEP6QEvent + 2404
	13  libQt5Widgets_debug.5.dylib         0x000000010b812bd8 _ZN15QAbstractSlider5eventEP6QEvent + 40
	14  libQt5Widgets_debug.5.dylib         0x000000010b799119 _ZN10QScrollBar5eventEP6QEvent + 489
	15  libQt5Widgets_debug.5.dylib         0x000000010b56d31f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 431
	16  libQt5Widgets_debug.5.dylib         0x000000010b572549 _ZN12QApplication6notifyEP7QObjectP6QEvent + 14121
	17  QtWidgets.so                        0x000000010ae32278 _ZN15sipQApplication6notifyEP7QObjectP6QEvent + 136
	18  libQt5Core_debug.5.dylib            0x000000010913d575 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 277
	19  libQt5Widgets_debug.5.dylib         0x000000010b56be9c _ZN16QCoreApplication20sendSpontaneousEventEP7QObjectP6QEvent + 60
	20  libQt5Widgets_debug.5.dylib         0x000000010b5be194 _ZN14QWidgetPrivate14sendPaintEventERK7QRegion + 68
	21  libQt5Widgets_debug.5.dylib         0x000000010b5bda00 _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 3088
	22  libQt5Widgets_debug.5.dylib         0x000000010b5be760 _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 1248
	23  libQt5Widgets_debug.5.dylib         0x000000010b5bde84 _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 4244
	24  libQt5Widgets_debug.5.dylib         0x000000010b5be760 _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 1248
	25  libQt5Widgets_debug.5.dylib         0x000000010b5be606 _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 902
	26  libQt5Widgets_debug.5.dylib         0x000000010b5bde84 _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 4244
	27  libQt5Widgets_debug.5.dylib         0x000000010b5be760 _ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 1248
	28  libQt5Widgets_debug.5.dylib         0x000000010b5bde84 _ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore + 4244
	29  libQt5Widgets_debug.5.dylib         0x000000010b585c84 _ZN19QWidgetBackingStore6doSyncEv + 5268
	30  libQt5Widgets_debug.5.dylib         0x000000010b5844c3 _ZN19QWidgetBackingStore4syncEP7QWidgetRK7QRegion + 627
	31  libQt5Widgets_debug.5.dylib         0x000000010b5b25cb _ZN14QWidgetPrivate16syncBackingStoreERK7QRegion + 123
	32  libQt5Widgets_debug.5.dylib         0x000000010b5f66fc _ZN13QWidgetWindow17handleExposeEventEP12QExposeEvent + 476
	33  libQt5Widgets_debug.5.dylib         0x000000010b5f3c1f _ZN13QWidgetWindow5eventEP6QEvent + 751
	34  libQt5Widgets_debug.5.dylib         0x000000010b56d31f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 431
	35  libQt5Widgets_debug.5.dylib         0x000000010b56f3f7 _ZN12QApplication6notifyEP7QObjectP6QEvent + 1495
	36  QtWidgets.so                        0x000000010ae32278 _ZN15sipQApplication6notifyEP7QObjectP6QEvent + 136
	37  libQt5Core_debug.5.dylib            0x000000010913d575 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 277
	38  libQt5Gui_debug.5.dylib             0x000000010a0734fc _ZN16QCoreApplication20sendSpontaneousEventEP7QObjectP6QEvent + 60
	39  libQt5Gui_debug.5.dylib             0x000000010a072722 _ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE + 354
	40  libQt5Gui_debug.5.dylib             0x000000010a06e4ac _ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE + 988
	41  libQt5Gui_debug.5.dylib             0x000000010a04ba54 _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 196
	42  libQt5Gui_debug.5.dylib             0x000000010a0471e0 _ZN22QWindowSystemInterface23flushWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE + 352
	43  libqcocoa_debug.dylib               0x000000010f6092c9 _ZN12QCocoaWindow10setVisibleEb + 1417
	44  libqcocoa_debug.dylib               0x000000010f60ac69 _ZThn16_N12QCocoaWindow10setVisibleEb + 41
	45  libQt5Gui_debug.5.dylib             0x000000010a07f5d2 _ZN14QWindowPrivate10setVisibleEb + 674
	46  libQt5Widgets_debug.5.dylib         0x000000010b5f3906 _ZN13QWidgetWindow25setNativeWindowVisibilityEb + 54
	47  libQt5Widgets_debug.5.dylib         0x000000010b5c30a3 _ZN14QWidgetPrivate8show_sysEv + 979
	48  libQt5Widgets_debug.5.dylib         0x000000010b5c4a8f _ZN14QWidgetPrivate11show_helperEv + 543
	49  libQt5Widgets_debug.5.dylib         0x000000010b5c595d _ZN7QWidget10setVisibleEb + 1165
	50  QtWidgets.so                        0x000000010ad85697 _ZN14sipQMainWindow10setVisibleEb + 135
	51  libQt5Widgets_debug.5.dylib         0x000000010b5c4766 _ZN7QWidget4showEv + 134
	52  QtWidgets.so                        0x000000010b0096e1 _ZL17meth_QWidget_showP7_objectS0_ + 113
	53  python                              0x0000000107f35557 PyCFunction_Call + 391
	54  python                              0x0000000108070518 call_function + 1880
	55  python                              0x0000000108069102 PyEval_EvalFrameEx + 67682
	56  python                              0x0000000108074497 fast_function + 631
	57  python                              0x000000010807075d call_function + 2461
	58  python                              0x0000000108069102 PyEval_EvalFrameEx + 67682
	59  python                              0x0000000108072a17 _PyEval_EvalCodeWithName + 5303
	60  python                              0x0000000108058867 PyEval_EvalCodeEx + 183
	61  python                              0x000000010805879e PyEval_EvalCode + 94
	62  python                              0x00000001080c11ec run_mod + 108
	63  python                              0x00000001080c1c38 PyRun_FileExFlags + 264
	64  python                              0x00000001080c06f1 PyRun_SimpleFileExFlags + 1073
	65  python                              0x00000001080bfffc PyRun_AnyFileExFlags + 140
	66  python                              0x00000001080f743c run_file + 332
	67  python                              0x00000001080f61b0 Py_Main + 4160
	68  python                              0x0000000107e8d1f9 main + 457
	69  libdyld.dylib                       0x00007fffc41b0235 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
make: *** [run] Abort trap: 6
turin:pkdiagram patrick$ 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1403 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170725/01a87eaa/attachment.bin>


More information about the Interest mailing list