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

Application crash issue caused by abort()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 6.2.2
    • QPA: Wayland
    • None
    • wayland with nvidia eglstream
    • Linux/Wayland, Linux/Yocto

    Description

      An environment in which the ARM platform uses nVidia wayland.

      In very rare cases, the application crashes due to abort() in the Qt library as shown in the backtrace below.

      [backtrace stack]
      #0  0x0000007f8f841d28 lib_offset=0x0000000000036d28 sp=0x0000007fc5c2dc60 (gsignal+0xe0) from b000-7f8f963000 r-xp 00000000 fd:01 131038                         /lib/libc-2.31.so
      #1  0x0000007f8f82eee8 lib_offset=0x0000000000023ee8 sp=0x0000007fc5c2dd90 (abort+0x110) from b000-7f8f963000 r-xp 00000000 fd:01 131038                         /lib/libc-2.31.so
      #2  0x0000007f8fd1bd58 lib_offset=0x00000000000bdd58 sp=0x0000007fc5c2ded0 (QMessageLogger::fatal(char const*, ...) const+0x94) from e000-7f901c6000 r-xp 00000000 fd:01 546328                         /usr/lib/libQt6Core.so.6.2.2
      #3  0x0000007f8f0cce78 lib_offset=0x00000000002fae78 sp=0x0000007fc5c2dff0 (QSGRenderLoop::handleContextCreationFailure(QQuickWindow*)+0x160) from 2000-7f8f3db000 r-xp 00000000 fd:01 546392                         /usr/lib/libQt6Quick.so.6.2.2
      #4  0x0000007f8f0cda00 lib_offset=0x00000000002fba00 sp=0x0000007fc5c2e090 (QSGRenderLoop::handleContextCreationFailure(QQuickWindow*)+0xce8) from 2000-7f8f3db000 r-xp 00000000 fd:01 546392                         /usr/lib/libQt6Quick.so.6.2.2
      #5  0x0000007f8f0ceb80 lib_offset=0x00000000002fcb80 sp=0x0000007fc5c2e140 (QSGRenderLoop::cleanup()+0xbd8) from 2000-7f8f3db000 r-xp 00000000 fd:01 546392                         /usr/lib/libQt6Quick.so.6.2.2
      #6 0x0000007f8f0cf710 lib_offset=0x00000000002fd710 sp=0x0000007fc5c2e270 (QSGRenderLoop::cleanup()+0x1768) from 2000-7f8f3db000 r-xp 00000000 fd:01 546392                         /usr/lib/libQt6Quick.so.6.2.2
      #7 0x0000007f90958414 lib_offset=0x0000000000221414 sp=0x0000007fc5c2e2a0 (QWindow::event(QEvent*)+0x51c) from 7000-7f90e8c000 r-xp 00000000 fd:01 546344                         /usr/lib/libQt6Gui.so.6.2.2
      #8 0x0000007f8f05effc lib_offset=0x000000000028cffc sp=0x0000007fc5c2e370 (QQuickWindow::event(QEvent*)+0x1ec) from 2000-7f8f3db000 r-xp 00000000 fd:01 546392                         /usr/lib/libQt6Quick.so.6.2.2
      #9 0x0000007f8fdb4bcc lib_offset=0x0000000000156bcc sp=0x0000007fc5c2e580 (QCoreApplication::notifyInternal2(QObject*, QEvent*)+0x134) from e000-7f901c6000 r-xp 00000000 fd:01 546328                         /usr/lib/libQt6Core.so.6.2.2
      #10 0x0000007f90919090 lib_offset=0x00000000001e2090 sp=0x0000007fc5c2e5f0 (QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*)+0x238) from 7000-7f90e8c000 r-xp 00000000 fd:01 546344                         /usr/lib/libQt6Gui.so.6.2.2
      #11 0x0000007f90919258 lib_offset=0x00000000001e2258 sp=0x0000007fc5c2e6a0 (QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)+0x190) from 7000-7f90e8c000 r-xp 00000000 fd:01 546344                         /usr/lib/libQt6Gui.so.6.2.2
      #12 0x0000007f9095bc4c lib_offset=0x0000000000224c4c sp=0x0000007fc5c2e730 (QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0xd4) from 7000-7f90e8c000 r-xp 00000000 fd:01 546344                         /usr/lib/libQt6Gui.so.6.2.2
      #13 0x0000007f90d08fbc lib_offset=0x00000000005d1fbc sp=0x0000007fc5c2e770 (QNativeInterface::Private::QEvdevKeyMapper::~QEvdevKeyMapper()+0x5c) from 7000-7f90e8c000 r-xp 00000000 fd:01 546344                         /usr/lib/libQt6Gui.so.6.2.2
      #14 0x0000007f8ec54974 lib_offset=0x0000000000050974 sp=0x0000007fc5c2e780 (g_main_context_dispatch+0x274) from 4000-7f8ed29000 r-xp 00000000 fd:01 546604                         /usr/lib/libglib-2.0.so.0.6200.6
      #15 0x0000007f8ec54be0 lib_offset=0x0000000000050be0 sp=0x0000007fc5c2e810 (g_main_context_dispatch+0x4e0) from 4000-7f8ed29000 r-xp 00000000 fd:01 546604                         /usr/lib/libglib-2.0.so.0.6200.6
      #16 0x0000007f8ec54c84 lib_offset=0x0000000000050c84 sp=0x0000007fc5c2e870 (g_main_context_iteration+0x34) from 4000-7f8ed29000 r-xp 00000000 fd:01 546604                         /usr/lib/libglib-2.0.so.0.6200.6
      #17 0x0000007f8fff91d4 lib_offset=0x000000000039b1d4 sp=0x0000007fc5c2e890 (QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+0x54) from e000-7f901c6000 r-xp 00000000 fd:01 546328                         /usr/lib/libQt6Core.so.6.2.2
      #18 0x0000007f8fdc0138 lib_offset=0x0000000000162138 sp=0x0000007fc5c2e8e0 (QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)+0x170) from e000-7f901c6000 r-xp 00000000 fd:01 546328                         /usr/lib/libQt6Core.so.6.2.2
      #19 0x0000007f8fdbc0e4 lib_offset=0x000000000015e0e4 sp=0x0000007fc5c2e980 (QCoreApplication::exec()+0x9c) from e000-7f901c6000 r-xp 00000000 fd:01 546328                         /usr/lib/libQt6Core.so.6.2.2
      #20 0x00000055794ba68c lib_offset=0x000000000001f68c sp=0x0000007fc5c2e9f0 (??+0x9c) from b000-5579561000 r-xp 00000000 fd:01 393407                         xxxxxxxxxxxxxxxx
      #21 0x0000007f8f82f210 lib_offset=0x0000000000024210 sp=0x0000007fc5c2ecd0 (__libc_start_main+0xe8) from b000-7f8f963000 r-xp 00000000 fd:01 131038                         /lib/libc-2.31.so
      #22 0x00000055794badc0 lib_offset=0x000000000001fdc0 sp=0x0000007fc5c2ee20 (??+0xe8) from b000-5579561000 r-xp 00000000 fd:01 393407                         xxxxxxxxxxxxxxxx
      #23 0x00000055794badc0 lib_offset=0x000000000001fdc0 sp=0x0000007fc5c2ee20 (??+0xe8) from b000-5579561000 r-xp 00000000 fd:01 393407                         xxxxxxxxxxxxxxxx 

      The log of the application at this time is as follows.

      2023/09/19 14:02:21.029882 8.3845 57 ECU1 XXXX XXXX 1829 log warn verbose 1 [1829:1829] : 1829:1829 messageOutput: [qt.qpa.wayland] EGL not available(:0, )
      2023/09/19 14:02:21.135087 8.4829 72 ECU1 XXXX XXXX 1829 log warn verbose 1 [1829:1829] : 1829:1829 messageOutput: [default] QRhiGles2: Failed to create temporary context(:0, )
      2023/09/19 14:02:21.135126 8.4831 73 ECU1 XXXX XXXX 1829 log warn verbose 1 [1829:1829] : 1829:1829 messageOutput: [default] QRhiGles2: Failed to create context(:0, )
      2023/09/19 14:02:21.135137 8.4832 74 ECU1 XXXX XXXX 1829 log warn verbose 1 [1829:1829] : 1829:1829 messageOutput: [default] Failed to create RHI (backend 2)(:0, )
      2023/09/19 14:02:21.135147 8.4833 75 ECU1 XXXX XXXX 1829 log fatal verbose 1 [1829:1829] : 1829:1829 messageOutput: [default] Failed to initialize graphics backend for OpenGL.(:0, ) 

      Is it due to a bug in Qt? Or please check if it is related to the GL/EGL library related graphics driver.

      Thank you.

      Attachments

        1. config.summary
          2 kB
        2. CMakeCache.txt
          100 kB
        3. extenstion_infos.txt
          23 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            jwoo Jung Mo Woo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes