Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNIT_Teleop_TEST fails on macOS Big Sur #503

Open
19 tasks
scpeters opened this issue Nov 15, 2022 · 4 comments
Open
19 tasks

UNIT_Teleop_TEST fails on macOS Big Sur #503

scpeters opened this issue Nov 15, 2022 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@scpeters
Copy link
Member

Environment

  • OS Version: macOS Big Sur (both Glados and Ultron CI machines). I can't reproduce the failure on my laptop running macOS Monterey
  • Source or binary build? source build of ign-gui7 branch (most recently 17bd485)
  • If this is a GUI or sensor rendering bug, describe your GPU and rendering system. Otherwise delete this section.
    • Rendering plugin: [ogre | ogre2].
      • Sensor rendering error.
      • GUI rendering error.
    • EGL headless mode:
      • Running in EGL headless mode
    • Generally, mention all circumstances that might affect rendering capabilities:
      • running on a dual GPU machine (integrated GPU + discrete GPU)
      • running on a multi-GPU machine (it has multiple discrete GPUs)
      • running on real hardware
      • running in virtual machine
      • running in Docker/Singularity
      • running remotely (e.g. via SSH)
      • running in a cloud
      • using VirtualGL, XVFB, Xdummy, XVNC or other indirect rendering utilities
      • GPU is concurrently used for other tasks
        • desktop acceleration
        • video decoding (i.e. a playing Youtube video)
        • video encoding
        • CUDA/ROCm computations (Tensorflow, Torch, Caffe running)
        • multiple simulators running at the same time
      • other...
    • Rendering system info:
      • On Linux, provide the outputs of the following commands:
        LANG=C lspci -nn | grep VGA  # might require installing pciutils
        echo "$DISPLAY"
        LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'  # might require installing mesa-utils package
        ps aux | grep Xorg
        sudo env LANG=C X -version  # if you don't have root access, try to tell the version of Xorg e.g. via package manager
      • On Windows, run dxdiag and report the GPU-related information.
      • On Mac OS, open a terminal and type system_profiler SPDisplaysDataType. Copy the output here.
    • Please, attach the ogre.log or ogre2.log file from ~/.gz/rendering
# paste log here

Description

Steps to reproduce

  1. Run the following CI build: https://build.osrfoundation.org/view/ign-garden/job/ignition_gui-ci-gz-gui7-homebrew-amd64

Output

console output

glados:build jenkins$ lldb bin/UNIT_Teleop_TEST 
(lldb) target create "bin/UNIT_Teleop_TEST"
Current executable set to '/Users/jenkins/workspace/ignition_gui-ci-gz-gui7-homebrew-amd64/build/bin/UNIT_Teleop_TEST' (x86_64).
(lldb) r
Process 63527 launched: '/Users/jenkins/workspace/ignition_gui-ci-gz-gui7-homebrew-amd64/build/bin/UNIT_Teleop_TEST' (x86_64)
Running main() from /Users/jenkins/workspace/ignition_gui-ci-gz-gui7-homebrew-amd64/ign-gui/test/gtest_vendor/src/gtest_main.cc
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from TeleopTest
[ RUN      ] TeleopTest.ButtonCommand
2022-11-14 11:30:34.870498-0800 UNIT_Teleop_TEST[63527:12541251] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=63527
2022-11-14 11:30:34.870539-0800 UNIT_Teleop_TEST[63527:12541251] SecTaskCopyDebugDescription: UNIT_Teleop_TEST[63527]/0#-1 LF=0
2022-11-14 11:30:35.400004-0800 UNIT_Teleop_TEST[63527:12541408] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=63527
2022-11-14 11:30:35.400066-0800 UNIT_Teleop_TEST[63527:12541408] SecTaskCopyDebugDescription: UNIT_Teleop_TEST[63527]/0#-1 LF=0
2022-11-14 11:30:35.417398-0800 UNIT_Teleop_TEST[63527:12541408] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=63527
2022-11-14 11:30:35.417462-0800 UNIT_Teleop_TEST[63527:12541408] SecTaskCopyDebugDescription: UNIT_Teleop_TEST[63527]/0#-1 LF=0
2022-11-14 11:30:36.211243-0800 UNIT_Teleop_TEST[63527:12541251] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=63527
2022-11-14 11:30:36.211332-0800 UNIT_Teleop_TEST[63527:12541251] SecTaskCopyDebugDescription: UNIT_Teleop_TEST[63527]/0#-1 LF=0
2022-11-14 11:30:36.458258-0800 UNIT_Teleop_TEST[63527:12541251] MTLIOAccelDevice bad MetalPluginClassName property (null)
2022-11-14 11:30:36.458907-0800 UNIT_Teleop_TEST[63527:12541251] +[MTLIOAccelDevice registerDevices]: Zero Metal services found
[GUI] [Dbg] [Application.cc:453] Loading plugin [Teleop]
[GUI] [Msg] A new topic has been entered: '/test/cmd_vel ' 
[GUI] [Msg] Added plugin [Teleop!] to main window
[GUI] [Msg] Loaded plugin [Teleop] from path [/Users/jenkins/workspace/ignition_gui-ci-gz-gui7-homebrew-amd64/build/lib/libTeleop.dylib]
[GUI] [Msg] A new topic has been entered: '/test/cmd_vel ' 
2022-11-14 11:30:36.723661-0800 UNIT_Teleop_TEST[63527:12541251] CVCGDisplayLink::setCurrentDisplay didn't find a valid display - falling back to 60Hz
[GUI] [Wrn] [Application.cc:845] [QT] rhi shader effect only supports files (qrc or local) at the moment
[GUI] [Wrn] [Application.cc:845] [QT] ShaderEffect: shader preparation failed for attribute highp vec4 qt_Vertex;
attribute highp vec2 qt_MultiTexCoord0;
uniform highp mat4 qt_Matrix;
varying highp vec2 qt_TexCoord0;
void main() {
    gl_Position = qt_Matrix * qt_Vertex;
    qt_TexCoord0 = qt_MultiTexCoord0;
}



[GUI] [Wrn] [Application.cc:845] [QT] rhi shader effect only supports files (qrc or local) at the moment
[GUI] [Wrn] [Application.cc:845] [QT] ShaderEffect: shader preparation failed for uniform highp sampler2D source;
uniform lowp float qt_Opacity;
uniform mediump float spread;
uniform highp vec2 dirstep;
uniform lowp vec4 color;
uniform lowp float thickness;

varying highp vec2 qt_TexCoord0;

void main() {
    mediump float result = 0.0;
    highp vec2 pixelStep = dirstep * spread;
    result += float(0.333747) * texture2D(source, qt_TexCoord0 + pixelStep * float(-4)).a;
    result += float(0.539414) * texture2D(source, qt_TexCoord0 + pixelStep * float(-3)).a;
    result += float(0.760071) * texture2D(source, qt_TexCoord0 + pixelStep * float(-2)).a;
    result += float(0.933713) * texture2D(source, qt_TexCoord0 + pixelStep * float(-1)).a;
    result += float(1) * texture2D(source, qt_TexCoord0 + pixelStep * float(0)).a;
    result += float(0.933713) * texture2D(source, qt_TexCoord0 + pixelStep * float(1)).a;
    result += float(0.760071) * texture2D(source, qt_TexCoord0 + pixelStep * float(2)).a;
    result += float(0.539414) * texture2D(source, qt_TexCoord0 + pixelStep * float(3)).a;
    result += float(0.333747) * texture2D(source, qt_TexCoord0 + pixelStep * float(4)).a;
    const mediump float wSum = float(6.13389);
    gl_FragColor = mix(vec4(0), color, clamp((result / wSum) / thickness, 0.0, 1.0)) * qt_Opacity;
}



[GUI] [Wrn] [Application.cc:845] [QT] rhi shader effect only supports files (qrc or local) at the moment
[GUI] [Wrn] [Application.cc:845] [QT] ShaderEffect: shader preparation failed for attribute highp vec4 qt_Vertex;
attribute highp vec2 qt_MultiTexCoord0;
uniform highp mat4 qt_Matrix;
varying highp vec2 qt_TexCoord0;
void main() {
    gl_Position = qt_Matrix * qt_Vertex;
    qt_TexCoord0 = qt_MultiTexCoord0;
}



[GUI] [Wrn] [Application.cc:845] [QT] rhi shader effect only supports files (qrc or local) at the moment
[GUI] [Wrn] [Application.cc:845] [QT] ShaderEffect: shader preparation failed for uniform highp sampler2D source;
uniform lowp float qt_Opacity;
uniform mediump float spread;
uniform highp vec2 dirstep;
uniform lowp vec4 color;
uniform lowp float thickness;

varying highp vec2 qt_TexCoord0;

void main() {
    mediump float result = 0.0;
    highp vec2 pixelStep = dirstep * spread;
    result += float(0.333747) * texture2D(source, qt_TexCoord0 + pixelStep * float(-4)).a;
    result += float(0.539414) * texture2D(source, qt_TexCoord0 + pixelStep * float(-3)).a;
    result += float(0.760071) * texture2D(source, qt_TexCoord0 + pixelStep * float(-2)).a;
    result += float(0.933713) * texture2D(source, qt_TexCoord0 + pixelStep * float(-1)).a;
    result += float(1) * texture2D(source, qt_TexCoord0 + pixelStep * float(0)).a;
    result += float(0.933713) * texture2D(source, qt_TexCoord0 + pixelStep * float(1)).a;
    result += float(0.760071) * texture2D(source, qt_TexCoord0 + pixelStep * float(2)).a;
    result += float(0.539414) * texture2D(source, qt_TexCoord0 + pixelStep * float(3)).a;
    result += float(0.333747) * texture2D(source, qt_TexCoord0 + pixelStep * float(4)).a;
    const mediump float wSum = float(6.13389);
    gl_FragColor = mix(vec4(0), color, clamp((result / wSum) / thickness, 0.0, 1.0)) * qt_Opacity;
}



Process 63527 stopped
* thread #24, name = 'QSGRenderThread', stop reason = EXC_BAD_ACCESS (code=1, address=0x3f800008)
    frame #0: 0x00000001009ca525 QtQuick`QSGBatchRenderer::Renderer::updateMaterialDynamicData(QSGBatchRenderer::ShaderManagerShader*, QSGMaterialRhiShader::RenderState&, QSGMaterial*, QVarLengthArray<QRhiShaderResourceBinding, 8>*, QSGBatchRenderer::Batch const*, int, int) + 565
QtQuick`QSGBatchRenderer::Renderer::updateMaterialDynamicData:
->  0x1009ca525 <+565>: cmpl   %r15d, 0x8(%rsi)
    0x1009ca529 <+569>: jne    0x1009ca51a               ; <+554>
    0x1009ca52b <+571>: addq   $0xc, %rsi
    0x1009ca52f <+575>: leaq   -0x80(%rbp), %rdi
Target 0: (UNIT_Teleop_TEST) stopped.

backtrace

(lldb) bt
* thread #24, name = 'QSGRenderThread', stop reason = EXC_BAD_ACCESS (code=1, address=0x3f800008)
  * frame #0: 0x00000001009ca525 QtQuick`QSGBatchRenderer::Renderer::updateMaterialDynamicData(QSGBatchRenderer::ShaderManagerShader*, QSGMaterialRhiShader::RenderState&, QSGMaterial*, QVarLengthArray<QRhiShaderResourceBinding, 8>*, QSGBatchRenderer::Batch const*, int, int) + 565
    frame #1: 0x00000001009cafb4 QtQuick`QSGBatchRenderer::Renderer::prepareRenderMergedBatch(QSGBatchRenderer::Batch*, QSGBatchRenderer::Renderer::PreparedRenderBatch*) + 1076
    frame #2: 0x00000001009cd7f5 QtQuick`QSGBatchRenderer::Renderer::renderBatches() + 1157
    frame #3: 0x00000001009cfb46 QtQuick`QSGBatchRenderer::Renderer::render() + 1958
    frame #4: 0x00000001009b6b4b QtQuick`QSGRenderer::renderScene(QSGBindable const&) + 539
    frame #5: 0x00000001009b691a QtQuick`QSGRenderer::renderScene(unsigned int) + 58
    frame #6: 0x0000000100a7e77a QtQuick`QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) + 954
    frame #7: 0x0000000100a25a6c QtQuick`___lldb_unnamed_symbol2564$$QtQuick + 2076
    frame #8: 0x0000000100a26caf QtQuick`___lldb_unnamed_symbol2573$$QtQuick + 287
    frame #9: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #10: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #11: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
(lldb)

backtrace for all threads

(lldb) thread backtrace all
  thread #1, queue = 'com.apple.main-thread'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c12b QtCore`___lldb_unnamed_symbol301$$QtCore + 59
    frame #3: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #4: 0x0000000100a28dac QtQuick`___lldb_unnamed_symbol2594$$QtQuick + 1212
    frame #5: 0x0000000100a2885b QtQuick`___lldb_unnamed_symbol2593$$QtQuick + 1419
    frame #6: 0x0000000100a2825a QtQuick`___lldb_unnamed_symbol2592$$QtQuick + 410
    frame #7: 0x00000001019699e0 QtGui`QWindow::event(QEvent*) + 688
    frame #8: 0x0000000100a85c31 QtQuick`QQuickWindow::event(QEvent*) + 241
    frame #9: 0x0000000101388b36 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262
    frame #10: 0x0000000101389ef0 QtWidgets`QApplication::notify(QObject*, QEvent*) + 480
    frame #11: 0x00000001020d85b7 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167
    frame #12: 0x000000010195de1a QtGui`QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) + 314
    frame #13: 0x00000001019421e8 QtGui`void QWindowSystemInterface::handleExposeEvent<QWindowSystemInterface::SynchronousDelivery>(QWindow*, QRegion const&) + 264
    frame #14: 0x000000010d706110 libqcocoa.dylib`___lldb_unnamed_symbol380$$libqcocoa.dylib + 448
    frame #15: 0x000000010d70e383 libqcocoa.dylib`___lldb_unnamed_symbol504$$libqcocoa.dylib + 867
    frame #16: 0x00007fff26f2cead QuartzCore`-[CALayer display] + 183
    frame #17: 0x00007fff26f2c6f3 QuartzCore`CA::Layer::display_if_needed(CA::Transaction*) + 863
    frame #18: 0x00007fff27077bee QuartzCore`CA::Context::commit_transaction(CA::Transaction*, double, double*) + 666
    frame #19: 0x00007fff26f0db6f QuartzCore`CA::Transaction::commit() + 713
    frame #20: 0x00007fff231271ec AppKit`__62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285
    frame #21: 0x00007fff2387ce62 AppKit`___NSRunLoopObserverCreateWithHandler_block_invoke + 41
    frame #22: 0x00007fff2079b0a1 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    frame #23: 0x00007fff2079af35 CoreFoundation`__CFRunLoopDoObservers + 543
    frame #24: 0x00007fff2079a3c8 CoreFoundation`__CFRunLoopRun + 841
    frame #25: 0x00007fff207999bc CoreFoundation`CFRunLoopRunSpecific + 563
    frame #26: 0x00007fff289e2a83 HIToolbox`RunCurrentEventLoopInMode + 292
    frame #27: 0x00007fff289e26b6 HIToolbox`ReceiveNextEventCommon + 284
    frame #28: 0x00007fff289e2583 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 70
    frame #29: 0x00007fff22fa2b12 AppKit`_DPSNextEvent + 864
    frame #30: 0x00007fff22fa12e5 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
    frame #31: 0x00007fff22f93609 AppKit`-[NSApplication run] + 586
    frame #32: 0x000000010d71c6d4 libqcocoa.dylib`___lldb_unnamed_symbol694$$libqcocoa.dylib + 932
    frame #33: 0x0000000100006dd7 UNIT_Teleop_TEST`TeleopTest_ButtonCommand_Test::TestBody(this=0x0000000102d0a1c0) at Teleop_TEST.cc:171:5 [opt]
    frame #34: 0x000000010002a648 UNIT_Teleop_TEST`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) [inlined] void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(object=<unavailable>, method=<unavailable>, location="the test body")(), char const*) at gtest.cc:2599:10 [opt]
    frame #35: 0x000000010002a636 UNIT_Teleop_TEST`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(object=<unavailable>, method=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="the test body")(), char const*) at gtest.cc:2635:14 [opt]
    frame #36: 0x000000010002a59f UNIT_Teleop_TEST`testing::Test::Run(this=0x0000000102d0a1c0) at gtest.cc:2674:5 [opt]
    frame #37: 0x000000010002babf UNIT_Teleop_TEST`testing::TestInfo::Run(this=0x0000000102d0a2a0) at gtest.cc:2853:11 [opt]
    frame #38: 0x000000010002c677 UNIT_Teleop_TEST`testing::TestSuite::Run(this=0x0000000102d0a7b0) at gtest.cc:3012:30 [opt]
    frame #39: 0x000000010003c877 UNIT_Teleop_TEST`testing::internal::UnitTestImpl::RunAllTests(this=<unavailable>) at gtest.cc:5870:44 [opt]
    frame #40: 0x000000010003bf38 UNIT_Teleop_TEST`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) [inlined] bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=<unavailable>, method=<unavailable>, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2599:10 [opt]
    frame #41: 0x000000010003bf26 UNIT_Teleop_TEST`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(object=<unavailable>, method=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, location="auxiliary test code (environments or event listeners)")(), char const*) at gtest.cc:2635:14 [opt]
    frame #42: 0x000000010003bebc UNIT_Teleop_TEST`testing::UnitTest::Run(this=0x00000001000586e0) at gtest.cc:5444:10 [opt]
    frame #43: 0x00000001000486ba UNIT_Teleop_TEST`main [inlined] RUN_ALL_TESTS() at gtest.h:2293:73 [opt]
    frame #44: 0x00000001000486ad UNIT_Teleop_TEST`main(argc=1, argv=<unavailable>) at gtest_main.cc:51:10 [opt]
    frame #45: 0x00007fff206bef3d libdyld.dylib`start + 1
    frame #46: 0x00007fff206bef3d libdyld.dylib`start + 1
  thread #2
    frame #0: 0x00007fff2066f94e libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff206a04c1 libsystem_pthread.dylib`_pthread_wqthread + 414
    frame #2: 0x00007fff2069f42f libsystem_pthread.dylib`start_wqthread + 15
  thread #3
    frame #0: 0x00007fff2066f94e libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff206a04c1 libsystem_pthread.dylib`_pthread_wqthread + 414
    frame #2: 0x00007fff2069f42f libsystem_pthread.dylib`start_wqthread + 15
  thread #4, name = 'QQmlThread'
    frame #0: 0x00007fff206749ba libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010213645e QtCore`qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94
    frame #2: 0x0000000102137cac QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 812
    frame #3: 0x00000001020d4ba7 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
    frame #4: 0x0000000101f1353c QtCore`QThread::exec() + 140
    frame #5: 0x00000001010aece9 QtQml`___lldb_unnamed_symbol5385$$QtQml + 57
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #5, name = 'ZMQbg/Reaper'
    frame #0: 0x00007fff20672c3a libsystem_kernel.dylib`kevent + 10
    frame #1: 0x000000010248a2b1 libzmq.5.dylib`zmq::kqueue_t::loop() + 181
    frame #2: 0x00000001024b127e libzmq.5.dylib`thread_routine(void*) + 60
    frame #3: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #4: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #6, name = 'ZMQbg/IO/0'
    frame #0: 0x00007fff20672c3a libsystem_kernel.dylib`kevent + 10
    frame #1: 0x000000010248a2b1 libzmq.5.dylib`zmq::kqueue_t::loop() + 181
    frame #2: 0x00000001024b127e libzmq.5.dylib`thread_routine(void*) + 60
    frame #3: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #4: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #7
    frame #0: 0x00007fff206749ba libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001024bdfb5 libzmq.5.dylib`zmq_poll + 292
    frame #2: 0x00000001003a7f8e libgz-transport12.12.dylib`gz::transport::v12::NodeShared::RunReceptionTask() + 150
    frame #3: 0x00000001003b9097 libgz-transport12.12.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (gz::transport::v12::NodeShared::*)(), gz::transport::v12::NodeShared*> >(void*) + 59
    frame #4: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #5: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #8
    frame #0: 0x00007fff206749ba libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001024bdfb5 libzmq.5.dylib`zmq_poll + 292
    frame #2: 0x0000000100396dd5 libgz-transport12.12.dylib`gz::transport::v12::pollSockets(std::__1::vector<int, std::__1::allocator<int> > const&, int) + 69
    frame #3: 0x00000001003b9430 libgz-transport12.12.dylib`gz::transport::v12::Discovery<gz::transport::v12::MessagePublisher>::RecvMessages() + 126
    frame #4: 0x00000001003bb557 libgz-transport12.12.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (gz::transport::v12::Discovery<gz::transport::v12::MessagePublisher>::*)(), gz::transport::v12::Discovery<gz::transport::v12::MessagePublisher>*> >(void*) + 59
    frame #5: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #6: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #9
    frame #0: 0x00007fff206749ba libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001024bdfb5 libzmq.5.dylib`zmq_poll + 292
    frame #2: 0x0000000100396dd5 libgz-transport12.12.dylib`gz::transport::v12::pollSockets(std::__1::vector<int, std::__1::allocator<int> > const&, int) + 69
    frame #3: 0x00000001003bb612 libgz-transport12.12.dylib`gz::transport::v12::Discovery<gz::transport::v12::ServicePublisher>::RecvMessages() + 126
    frame #4: 0x00000001003be10f libgz-transport12.12.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (gz::transport::v12::Discovery<gz::transport::v12::ServicePublisher>::*)(), gz::transport::v12::Discovery<gz::transport::v12::ServicePublisher>*> >(void*) + 59
    frame #5: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #6: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #10
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x00007fff2060ce03 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
    frame #3: 0x00000001003a9c71 libgz-transport12.12.dylib`gz::transport::v12::NodeSharedPrivate::PublishThread() + 1127
    frame #4: 0x00000001003be23b libgz-transport12.12.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (gz::transport::v12::NodeSharedPrivate::*)(), gz::transport::v12::NodeSharedPrivate*> >(void*) + 59
    frame #5: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #6: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #11, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #12, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #13, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #14, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #15, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #16, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #17, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #18, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #19, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #20, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #21, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #22, name = 'Thread (pooled)'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e49 libsystem_pthread.dylib`_pthread_cond_wait + 1298
    frame #2: 0x0000000101f1c436 QtCore`___lldb_unnamed_symbol302$$QtCore + 278
    frame #3: 0x0000000101f1c14e QtCore`___lldb_unnamed_symbol301$$QtCore + 94
    frame #4: 0x0000000101f1c0a4 QtCore`QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
    frame #5: 0x0000000101f18986 QtCore`___lldb_unnamed_symbol274$$QtCore + 662
    frame #6: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #7: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #8: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #23
    frame #0: 0x00007fff2066f94e libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff206a04c1 libsystem_pthread.dylib`_pthread_wqthread + 414
    frame #2: 0x00007fff2069f42f libsystem_pthread.dylib`start_wqthread + 15
* thread #24, name = 'QSGRenderThread', stop reason = EXC_BAD_ACCESS (code=1, address=0x3f800008)
  * frame #0: 0x00000001009ca525 QtQuick`QSGBatchRenderer::Renderer::updateMaterialDynamicData(QSGBatchRenderer::ShaderManagerShader*, QSGMaterialRhiShader::RenderState&, QSGMaterial*, QVarLengthArray<QRhiShaderResourceBinding, 8>*, QSGBatchRenderer::Batch const*, int, int) + 565
    frame #1: 0x00000001009cafb4 QtQuick`QSGBatchRenderer::Renderer::prepareRenderMergedBatch(QSGBatchRenderer::Batch*, QSGBatchRenderer::Renderer::PreparedRenderBatch*) + 1076
    frame #2: 0x00000001009cd7f5 QtQuick`QSGBatchRenderer::Renderer::renderBatches() + 1157
    frame #3: 0x00000001009cfb46 QtQuick`QSGBatchRenderer::Renderer::render() + 1958
    frame #4: 0x00000001009b6b4b QtQuick`QSGRenderer::renderScene(QSGBindable const&) + 539
    frame #5: 0x00000001009b691a QtQuick`QSGRenderer::renderScene(unsigned int) + 58
    frame #6: 0x0000000100a7e77a QtQuick`QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) + 954
    frame #7: 0x0000000100a25a6c QtQuick`___lldb_unnamed_symbol2564$$QtQuick + 2076
    frame #8: 0x0000000100a26caf QtQuick`___lldb_unnamed_symbol2573$$QtQuick + 287
    frame #9: 0x0000000101f14440 QtCore`___lldb_unnamed_symbol241$$QtCore + 320
    frame #10: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #11: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
  thread #25, name = 'CVDisplayLink'
    frame #0: 0x00007fff20670cce libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff206a3e7f libsystem_pthread.dylib`_pthread_cond_wait + 1352
    frame #2: 0x00007fff275f6f97 CoreVideo`CVDisplayLink::waitUntil(unsigned long long) + 229
    frame #3: 0x00007fff275f64a0 CoreVideo`CVDisplayLink::runIOThread() + 482
    frame #4: 0x00007fff206a38fc libsystem_pthread.dylib`_pthread_start + 224
    frame #5: 0x00007fff2069f443 libsystem_pthread.dylib`thread_start + 15
(lldb)
@scpeters scpeters added the bug Something isn't working label Nov 15, 2022
@osrf-triage osrf-triage added this to Inbox in Core development Nov 15, 2022
@iche033
Copy link
Contributor

iche033 commented Nov 15, 2022

I can't reproduce the crash on my mac too but saw the same Qt output about shader preparation failure. The test passed on my machine.

@scpeters
Copy link
Member Author

I can't reproduce the crash on my mac too but saw the same Qt output about shader preparation failure. The test passed on my machine.

what version of macOS did you use?

@iche033
Copy link
Contributor

iche033 commented Nov 16, 2022

I'm on macOS Monterey as well.

@azeey azeey moved this from Inbox to To do in Core development Nov 21, 2022
@azeey azeey added the help wanted Extra attention is needed label Nov 21, 2022
@azeey azeey self-assigned this Dec 12, 2022
@azeey
Copy link
Contributor

azeey commented Apr 7, 2023

I was able to reproduce this on my Bigsur machine and determined that the crashes started after qt5 was updated to 5.15.7, so I've created a PR to disable the test.
Looking at the qt5 release note, QTBUG-55204 seems to be since it mentions shader effects, but I could be totally off the mark.

@azeey azeey removed their assignment Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

3 participants