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

Crash with qtwebengine demo simplebrowser tab webpage close

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • 6.1.0 Alpha
    • 5.15.0
    • Linux/Wayland
    • 3d6e8b7a2853805b9cdb2a7ef05031f600070b40 (qt/qtdeclarative/dev)

    Description

      1.we build qtwebengine simple on wayland environment

      simple code pushed to github: https://github.com/imaiguo/simplebrowser/

      simple code from url: https://github.com/qt/qtwebengine/tree/dev/examples/webenginewidgets/simplebrowser

      environment detail:

       kernel:4.19.71-arm64-desktop

      architecture:arm64

      gpu:Mali-G76

      libegl1:arm64 1.1.0

      qt5wayland:5.15.4

      wm:kwin-wayland

      EGL interface: OpenGL_ES

      OpengGLES version:2.0

       

       main() add wayland support code:

      qputenv("QT_WAYLAND_SHELL_INTEGRATION", "kwayland-shell");
       QSurfaceFormat format;
       format.setRenderableType(QSurfaceFormat::OpenGLES);
       format.setDefaultFormat(format);

      we open more than 1 tabpage,then close one tabpage ,simplebrowser crash happen

      coredump gdb bt:

      uos@uos-PC:~$ coredumpctl debug 27799
      Hint: You are currently not seeing messages from other users and the system.
       Users in groups 'adm', 'systemd-journal' can see all messages.
       Pass -q to turn off this notice.
       PID: 27799 (simplebrowser)
       UID: 1000 (uos)
       GID: 1000 (uos)
       Signal: 11 (SEGV)
       Timestamp: Mon 2020-11-23 09:36:50 CST (18min ago)
       Command Line: ./simplebrowser
       Executable: /home/uos/Desktop/data/simplebrowser
       Control Group: /user.slice/user-1000.slice/session-2.scope
       Unit: session-2.scope
       Slice: user-1000.slice
       Session: 2
       Owner UID: 1000 (uos)
       Boot ID: 2b483ce276ec48839e7fc00f28d1366f
       Machine ID: ef857b7d7139433aa39ce2aa7604d4d8
       Hostname: uos-PC
       Storage: /var/lib/systemd/coredump/core.simplebrowser.1000.2b483ce276ec48839e7fc00f28d1366f.27799.1606095410000000.lz4
       Message: Process 27799 (simplebrowser) of user 1000 dumped core.
       
       Stack trace of thread 27799:
       #0 0x0000007f8b3ceaf4 n/a (libwayland-client.so.0)
       #1 0x0000007f8b3cf398 n/a (libwayland-client.so.0)
       #2 0x0000007f8b3cd09c wl_proxy_marshal (libwayland-client.so.0)
       #3 0x0000007f88288b9c window_surface_delete (libEGL.so.1)
       #4 0x0000007f88288b9c window_surface_delete (libEGL.so.1)
       #5 0x0000007f90810448 _ZN17QOffscreenSurfaceD2Ev (libQt5Gui.so.5)
       #6 0x0000007f8fec3370 n/a (libQt5Core.so.5)
      GNU gdb (Debian 8.2.1-2+b1) 8.2.1
      Copyright (C) 2018 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      Type "show copying" and "show warranty" for details.
      This GDB was configured as "aarch64-linux-gnu".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>.
      Find the GDB manual and other documentation resources online at:
       <http://www.gnu.org/software/gdb/documentation/>.
      For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from /home/uos/Desktop/data/simplebrowser...(no debugging symbols found)...done.
      [New LWP 27799]
      [New LWP 27821]
      [New LWP 27828]
      [New LWP 27801]
      [New LWP 27803]
      [New LWP 27817]
      [New LWP 27849]
      [New LWP 27823]
      [New LWP 27847]
      [New LWP 27853]
      [New LWP 27826]
      [New LWP 27854]
      [New LWP 27850]
      [New LWP 27827]
      [New LWP 27851]
      [New LWP 27804]
      [New LWP 27818]
      [New LWP 27805]
      [New LWP 27852]
      [New LWP 27848]
      [New LWP 27806]
      [New LWP 27863]
      [New LWP 27807]
      [New LWP 27808]
      [New LWP 27814]
      [New LWP 27809]
      [New LWP 27800]
      [New LWP 27810]
      [New LWP 27811]
      [New LWP 27813]
      [New LWP 27822]
      [New LWP 27824]
      [New LWP 27825]
      [New LWP 27829]
      [New LWP 27833]
      [New LWP 27831]
      [New LWP 27830]
      [New LWP 27819]
      [New LWP 27812]
      bt 
      [Thread debugging using libthread_db enabled] 
      Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". 
      Core was generated by `./simplebrowser'. 
      Program terminated with signal SIGSEGV, Segmentation fault. 
      #0 get_next_argument (signature=0x0, details=details@entry=0x7feaa1db50) at ../src/connection.c:445
      445 ../src/connection.c: 没有那个文件或目录.
      [Current thread is 1 (Thread 0x7f8c069010 (LWP 27799))]
      (gdb) 
      (gdb) bt
      #0 0x0000007f8b3ceaf4 in get_next_argument (signature=0x0, details=details@entry=0x7feaa1db50) at ../src/connection.c:445
      #1 0x0000007f8b3cf398 in wl_argument_from_va_list (signature=<optimized out>, args=args@entry=0x7feaa1dbd8, count=count@entry=20, ap=...) at ../src/connection.c:508
      #2 0x0000007f8b3cd09c in wl_proxy_marshal (proxy=0x6252eb0, opcode=1) at ../src/wayland-client.c:780
      #3 0x0000007f88288b9c in window_surface_delete () at /lib/aarch64-linux-gnu/libEGL.so.1
      #4 0x0000007f8827f200 in eglp_window_surface_specific_deinitialization () at /lib/aarch64-linux-gnu/libEGL.so.1
      #5 0x0000007f88279760 in eglp_delete_surface () at /lib/aarch64-linux-gnu/libEGL.so.1
      #6 0x0000007f8827db50 in eglMakeCurrent () at /lib/aarch64-linux-gnu/libEGL.so.1
      #7 0x0000007f90846bd4 in QOpenGLContext::doneCurrent() () at /lib/aarch64-linux-gnu/libQt5Gui.so.5
      #8 0x0000007f90810448 in QOffscreenSurface::~QOffscreenSurface() () at /lib/aarch64-linux-gnu/libQt5Gui.so.5
      #9 0x0000007f9081046c in QOffscreenSurface::~QOffscreenSurface() () at /lib/aarch64-linux-gnu/libQt5Gui.so.5
      #10 0x0000007f8f454a04 in QQuickWidgetPrivate::destroyContext() (this=this@entry=0x5cd3150) at qquickwidget.cpp:940
      #11 0x0000007f8f456210 in QQuickWidgetPrivate::~QQuickWidgetPrivate() (this=0x5cd3150, __in_chrg=<optimized out>) at qquickwidget.cpp:236
      #12 0x0000007f8f456264 in QQuickWidgetPrivate::~QQuickWidgetPrivate() (this=0x5cd3150, __in_chrg=<optimized out>) at qquickwidget.cpp:220
      #13 0x0000007f8fc59018 in QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:52
      #14 0x0000007f8fc59018 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (this=0x9, __in_chrg=<optimized out>)
       at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
      #15 0x0000007f8fc59018 in QObject::~QObject() (this=0x1, __in_chrg=<optimized out>) at kernel/qobject.cpp:972
      #16 0x0000007f90ef7540 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #17 0x0000007f988932cc in QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::~RenderWidgetHostViewQtDelegateWidget() () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #18 0x0000007f9247a594 in QtWebEngineCore::RenderWidgetHostViewQt::~RenderWidgetHostViewQt() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #19 0x0000007f9247a84c in QtWebEngineCore::RenderWidgetHostViewQt::~RenderWidgetHostViewQt() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #20 0x0000007f9645032c in content::RenderWidgetHostImpl::Destroy(bool) () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #21 0x0000007f964438c4 in content::RenderViewHostImpl::~RenderViewHostImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #22 0x0000007f96443ba4 in content::RenderViewHostImpl::~RenderViewHostImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #23 0x0000007f96380280 in content::RenderFrameHostImpl::~RenderFrameHostImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #24 0x0000007f963804b4 in content::RenderFrameHostImpl::~RenderFrameHostImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #25 0x0000007f9638fcc0 in content::RenderFrameHostManager::~RenderFrameHostManager() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #26 0x0000007f96341734 in content::FrameTreeNode::~FrameTreeNode() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #27 0x0000007f9633d368 in content::FrameTree::~FrameTree() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #28 0x0000007f96519af4 in content::WebContentsImpl::~WebContentsImpl() [clone .part.1202] () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #29 0x0000007f96519e4c in content::WebContentsImpl::~WebContentsImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #30 0x0000007f924916f0 in QtWebEngineCore::WebContentsAdapter::~WebContentsAdapter() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #31 0x0000007f988887c4 in QWebEnginePagePrivate::~QWebEnginePagePrivate() () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #32 0x0000007f98888824 in QWebEnginePagePrivate::~QWebEnginePagePrivate() () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #33 0x0000007f98883e7c in QWebEnginePage::~QWebEnginePage() () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #34 0x000000000041fdf4 in WebPage::~WebPage() ()
      #35 0x0000007f8fc4f89c in QObjectPrivate::deleteChildren() (this=0x5fafa20) at kernel/qobject.cpp:2104
      #36 0x0000007f90ef74b0 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #37 0x00000000004204a4 in WebView::~WebView() ()
      #38 0x0000007f8fc52b5c in QObject::event(QEvent*) (this=<optimized out>, e=<optimized out>) at kernel/qobject.cpp:1301
      #39 0x0000007f90efb678 in QWidget::event(QEvent*) () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #40 0x0000007f98891ddc in QWebEngineView::event(QEvent*) () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #41 0x0000007f90ebb3ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #42 0x0000007f90ec2424 in QApplication::notify(QObject*, QEvent*) () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #43 0x0000007f8fc22084 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x60d6250, event=0x64807f0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
      #44 0x0000007f8fc222bc in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x60d6250, event=event@entry=0x64807f0) at kernel/qcoreapplication.cpp:1458
      #45 0x0000007f8fc24f10 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=0, event_type@entry=-1183461450, data=0x54f7180)
      --Type <RET> for more, q to quit, c to continue without paging--
       at kernel/qcoreapplication.cpp:1817
      #46 0x0000007f8fc25434 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=-1183461450, event_type@entry=0) at kernel/qcoreapplication.cpp:1676
      #47 0x0000007f8fc807d8 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x553a800) at kernel/qeventdispatcher_glib.cpp:277
      #48 0x0000007f8e163674 in g_main_dispatch (context=0x7f84004fc0) at ../../../glib/gmain.c:3182
      #49 0x0000007f8e163674 in g_main_context_dispatch (context=context@entry=0x7f84004fc0) at ../../../glib/gmain.c:3847
      #50 0x0000007f8e1638e8 in g_main_context_iterate (context=context@entry=0x7f84004fc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
      #51 0x0000007f8e163984 in g_main_context_iteration (context=0x7f84004fc0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3981
      #52 0x0000007f8fc7fca4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5538bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
      #53 0x0000007f8fc207f4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7feaa1edf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
      #54 0x0000007f8fc295d0 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
      #55 0x000000000040cfb0 in main ()
      (gdb)
      

       

       

       

      2.alter qtdeclarative code and simplebrowser code,now fix crash

      change surface and buffer deleted order, close simplebrowser tab will not crash,but application exit will

      so,  i try to add code to application closeEvent and  some code in qtdeclarative QQuickWidgetPrivate::invalidateRenderControl:

      then everything is ok.but we need to alter  code in qtdeclarative 

      commit detail:

      https://github.com/imaiguo/qtdeclarative/commit/c32904a6a4f2e2351268eac5e57c626ac3ba2b83

      then now another crash left: simplebrowser crash when close application windows

      if  i add blow code in application closeEvent,and estimate  currentContext() is nullpter in then return in  QQuickWidgetPrivate::invalidateRenderControl ,everything is ok: no crash happen.

       if (QOpenGLContext *context = QOpenGLContext::currentContext())
       {
              context->doneCurrent();
       }

       

      commit detail:

      https://github.com/imaiguo/simplebrowser/commit/db3b5cec59c889d7c1b3c8ed99b368bfeaee3367https://github.com/imaiguo/simplebrowser

      if not add QOpenGLContext::currentContext() doneCurrent() in closeEvent(),application exit crash

      crash  gdb bt detail below:

       

      klu-nj@klu-nj-PC:~/maaiguo/simplebrowser/build$ coredumpctl debug 20860
      Hint: You are currently not seeing messages from other users and the system.
            Users in groups 'adm', 'systemd-journal' can see all messages.
            Pass -q to turn off this notice.
                 PID: 20860 (simplebrowser)
                 UID: 1000 (klu-nj)
                 GID: 1000 (klu-nj)
              Signal: 11 (SEGV)
           Timestamp: Sat 2020-11-21 16:55:59 CST (14min ago)
        Command Line: ./simplebrowser
          Executable: /home/klu-nj/maaiguo/simplebrowser/build/simplebrowser
       Control Group: /user.slice/user-1000.slice/session-9.scope
                Unit: session-9.scope
               Slice: user-1000.slice
             Session: 9
           Owner UID: 1000 (klu-nj)
             Boot ID: dedca10c4e2f4c90a32776d6ccd5ba34
          Machine ID: 28a5e89f70564da48bf45c879640bd12
            Hostname: klu-nj-PC
             Storage: /var/lib/systemd/coredump/core.simplebrowser.1000.dedca10c4e2f4c90a32776d6ccd5ba34.20860.1605948959000000.lz4
             Message: Process 20860 (simplebrowser) of user 1000 dumped core.
                      
                      Stack trace of thread 20860:
                      #0  0x0000007f9cdf8af4 n/a (libwayland-client.so.0)
                      #1  0x0000007f9cdf9398 n/a (libwayland-client.so.0)
                      #2  0x0000007f9cdf709c wl_proxy_marshal (libwayland-client.so.0)
                      #3  0x0000007f9edfbb9c window_surface_delete (libGLESv2.so.2)
                      #4  0x0000007f9edfbb9c window_surface_delete (libGLESv2.so.2)
                      #5  0x0000007fa2807cb0 _ZN14QOpenGLContext11makeCurrentEP8QSurface (libQt5Gui.so.5)
                      #6  0x0000007fa1e833e0 _ZL18_q_ObjectMutexPool (libQt5Core.so.5)GNU gdb (Debian 8.2.1-2+b1) 8.2.1
      Copyright (C) 2018 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      Type "show copying" and "show warranty" for details.
      This GDB was configured as "aarch64-linux-gnu".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>.
      Find the GDB manual and other documentation resources online at:
          <http://www.gnu.org/software/gdb/documentation/>.For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from /home/klu-nj/maaiguo/simplebrowser/build/simplebrowser...(no debugging symbols found)...done.
      [New LWP 20860]
      [New LWP 20871]
      [New LWP 20872]
      [New LWP 20861]
      [New LWP 20864]
      [New LWP 20865]
      [New LWP 20866]
      [New LWP 20890]
      [New LWP 20891]
      [New LWP 20892]
      [New LWP 20893]
      [New LWP 20894]
      [New LWP 20875]
      [New LWP 20881]
      [New LWP 20880]
      [New LWP 20882]
      [New LWP 20867]
      [New LWP 20868]
      [New LWP 20869]
      [New LWP 20870]
      [New LWP 20883]
      [New LWP 20873]
      [New LWP 20884]
      [New LWP 20885]
      [New LWP 20886]
      [New LWP 20874]
      [New LWP 20887]
      [New LWP 20888]
      [New LWP 20895]
      [New LWP 20889]
      [New LWP 20897]
      [New LWP 20911]
      [New LWP 20912]
      [New LWP 20913]
      [New LWP 20914]
      [New LWP 20915]
      [New LWP 20916]
      [New LWP 20917]
      [New LWP 20918]
      [New LWP 20930]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
      Core was generated by `./simplebrowser'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  get_next_argument (signature=0x72001c1f97df32b2 <error: Cannot access memory at address 0x72001c1f97df32b2>, details=details@entry=0x7fdeb41730) at ../src/connection.c:445
      445     ../src/connection.c: 没有那个文件或目录.
      [Current thread is 1 (Thread 0x7f9cc55c00 (LWP 20860))]
      (gdb) bt
      #0  0x0000007f9cdf8af4 in get_next_argument (signature=0x72001c1f97df32b2 <error: Cannot access memory at address 0x72001c1f97df32b2>, details=details@entry=0x7fdeb41730)
          at ../src/connection.c:445
      #1  0x0000007f9cdf9398 in wl_argument_from_va_list (signature=<optimized out>, args=args@entry=0x7fdeb417b8, count=count@entry=20, ap=...) at ../src/connection.c:508
      #2  0x0000007f9cdf709c in wl_proxy_marshal (proxy=0x385a3fe0, opcode=1) at ../src/wayland-client.c:780
      #3  0x0000007f9edfbb9c in window_surface_delete () at /lib/aarch64-linux-gnu/libGLESv2.so.2
      #4  0x0000007f9edf2200 in eglp_window_surface_specific_deinitialization () at /lib/aarch64-linux-gnu/libGLESv2.so.2
      #5  0x0000007f9edec760 in eglp_delete_surface () at /lib/aarch64-linux-gnu/libGLESv2.so.2
      #6  0x0000007f9edf0e6c in eglMakeCurrent () at /lib/aarch64-linux-gnu/libGLESv2.so.2
      #7  0x0000007faa85e580 in QtWaylandClient::QWaylandGLContext::makeCurrent(QPlatformSurface*) (this=0x386c6db0, surface=<optimized out>)
          at ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:415
      #8  0x0000007fa2807cb0 in QOpenGLContext::makeCurrent(QSurface*) () at /lib/aarch64-linux-gnu/libQt5Gui.so.5
      #9  0x0000007fa141456c in QQuickWidgetPrivate::invalidateRenderControl() () at /lib/aarch64-linux-gnu/libQt5QuickWidgets.so.5
      #10 0x0000007fa1416ca4 in QQuickWidgetPrivate::~QQuickWidgetPrivate() () at /lib/aarch64-linux-gnu/libQt5QuickWidgets.so.5
      #11 0x0000007fa1416e14 in QQuickWidgetPrivate::~QQuickWidgetPrivate() () at /lib/aarch64-linux-gnu/libQt5QuickWidgets.so.5
      #12 0x0000007fa1c19018 in QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*) (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:52
      #13 0x0000007fa1c19018 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::~QScopedPointer() (this=0x8, __in_chrg=<optimized out>)
          at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:107
      #14 0x0000007fa1c19018 in QObject::~QObject() (this=0x0, __in_chrg=<optimized out>) at kernel/qobject.cpp:972
      #15 0x0000007fa2eb7590 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #16 0x0000007faa832754 in QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::~RenderWidgetHostViewQtDelegateWidget() () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #17 0x0000007fa44323ac in QtWebEngineCore::RenderWidgetHostViewQt::~RenderWidgetHostViewQt() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #18 0x0000007fa4432664 in QtWebEngineCore::RenderWidgetHostViewQt::~RenderWidgetHostViewQt() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #19 0x0000007fa8400aac in content::RenderWidgetHostImpl::Destroy(bool) () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #20 0x0000007fa83f4044 in content::RenderViewHostImpl::~RenderViewHostImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #21 0x0000007fa83f4324 in content::RenderViewHostImpl::~RenderViewHostImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #22 0x0000007fa8330a00 in content::RenderFrameHostImpl::~RenderFrameHostImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #23 0x0000007fa8330c34 in content::RenderFrameHostImpl::~RenderFrameHostImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #24 0x0000007fa8340440 in content::RenderFrameHostManager::~RenderFrameHostManager() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #25 0x0000007fa82f0eb4 in content::FrameTreeNode::~FrameTreeNode() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #26 0x0000007fa82ecae8 in content::FrameTree::~FrameTree() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #27 0x0000007fa84ca274 in content::WebContentsImpl::~WebContentsImpl() [clone .part.1202] () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #28 0x0000007fa84ca5cc in content::WebContentsImpl::~WebContentsImpl() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #29 0x0000007fa4448788 in QtWebEngineCore::WebContentsAdapter::~WebContentsAdapter() () at /lib/aarch64-linux-gnu/libQt5WebEngineCore.so.5
      #30 0x0000007faa828534 in QWebEnginePagePrivate::~QWebEnginePagePrivate() () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #31 0x0000007faa828594 in QWebEnginePagePrivate::~QWebEnginePagePrivate() () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #32 0x0000007faa823f3c in QWebEnginePage::~QWebEnginePage() () at /lib/aarch64-linux-gnu/libQt5WebEngineWidgets.so.5
      #33 0x000000000041fdf4 in WebPage::~WebPage() ()
      #34 0x0000007fa1c0f89c in QObjectPrivate::deleteChildren() (this=0x385b8ce0) at kernel/qobject.cpp:2104
      #35 0x0000007fa2eb7500 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #36 0x00000000004204a4 in WebView::~WebView() ()
      #37 0x0000007fa1c0f89c in QObjectPrivate::deleteChildren() (this=0x3858cf40) at kernel/qobject.cpp:2104
      #38 0x0000007fa2eb7500 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      --Type <RET> for more, q to quit, c to continue without paging--
      #39 0x0000007fa301636c in QStackedWidget::~QStackedWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #40 0x0000007fa1c0f89c in QObjectPrivate::deleteChildren() (this=0x3845db60) at kernel/qobject.cpp:2104
      #41 0x0000007fa2eb7500 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #42 0x000000000041fa94 in TabWidget::~TabWidget() ()
      #43 0x0000007fa1c0f89c in QObjectPrivate::deleteChildren() (this=0x385a2540) at kernel/qobject.cpp:2104
      #44 0x0000007fa2eb7500 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #45 0x0000007fa2eb76e4 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #46 0x0000007fa1c0f89c in QObjectPrivate::deleteChildren() (this=0x385bafa0) at kernel/qobject.cpp:2104
      #47 0x0000007fa2eb7500 in QWidget::~QWidget() () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #48 0x000000000041ecc8 in BrowserWindow::~BrowserWindow() ()
      #49 0x0000007fa1c12b5c in QObject::event(QEvent*) (this=<optimized out>, e=<optimized out>) at kernel/qobject.cpp:1301
      #50 0x0000007fa2ebb6c8 in QWidget::event(QEvent*) () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #51 0x0000007fa2fbd560 in QMainWindow::event(QEvent*) () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #52 0x0000007fa2e7b3fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #53 0x0000007fa2e82474 in QApplication::notify(QObject*, QEvent*) () at /lib/aarch64-linux-gnu/libQt5Widgets.so.5
      #54 0x0000007fa1be2084 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x3859b580, event=0x7f800d33d0)
          at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
      #55 0x0000007fa1be22bc in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=receiver@entry=0x3859b580, event=event@entry=0x7f800d33d0) at kernel/qcoreapplication.cpp:1458
      #56 0x0000007fa1be4f10 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=0, event_type@entry=50695593, data=0x38334950)
          at kernel/qcoreapplication.cpp:1817
      #57 0x0000007fa1be5434 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=50695593, event_type@entry=0) at kernel/qcoreapplication.cpp:1676
      #58 0x0000007fa1c407d8 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x383a6c90) at kernel/qeventdispatcher_glib.cpp:277
      #59 0x0000007fa0124674 in g_main_dispatch (context=0x7f94004fc0) at ../../../glib/gmain.c:3182
      #60 0x0000007fa0124674 in g_main_context_dispatch (context=context@entry=0x7f94004fc0) at ../../../glib/gmain.c:3847
      #61 0x0000007fa01248e8 in g_main_context_iterate (context=context@entry=0x7f94004fc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
      #62 0x0000007fa0124984 in g_main_context_iteration (context=0x7f94004fc0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3981
      #63 0x0000007fa1c3fca4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x383a6be0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
      #64 0x0000007fa1be07f4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fdeb42df0, flags=..., flags@entry=...)
          at ../../include/QtCore/../../src/corelib/global/qflags.h:141
      #65 0x0000007fa1be95d0 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
      #66 0x000000000040cfb0 in main ()
      (gdb) 
      
      

       

      Attachments

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            imaiguo ma aiguo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: