Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
6.5.1
-
None
-
-
83dbd2e48 (dev), ccc2693bd (6.5)
Description
Our macOS app using QtWebEngine crashes when going to https://www.ag-grid.com/example/ and just clicking on a row in the table.
I managed to reproduce the error with the quicknanobrowser example project. No changes need to be made. Just start it, go to the ag-grid example and click on it.
Here's the stack trace from our app:
1 QAccessibleInterface::tableInterface() qaccessible.h 98 0x1191800f0 2 -[QMacAccessibilityElement initWithId:role:] qcocoaaccessibilityelement.mm 129 0x1191800f0 3 +[QMacAccessibilityElement elementWithId:] qcocoaaccessibilityelement.mm 160 0x1191801a8 4 QCocoaAccessibility::notifyAccessibilityUpdate(QAccessibleEvent *) qcocoaaccessibility.mm 32 0x11917e77c 5 ::FireBlinkEvent() browser_accessibility_manager_qt.cpp 105 0x12a302ce4 6 ::OnAccessibilityEvents() browser_accessibility_manager.cc 689 0x12ca2b7f8 7 SendAccessibilityEventsToManager render_frame_host_impl.cc 6442 0x12cf169cc 8 ::HandleAXEvents() render_frame_host_impl.cc 8153 0x12cf169b4 9 Invoke<void (content::RenderFrameHostImpl:: *)(const ui::AXTreeID &, mojo::StructPtr<blink::mojom::AXUpdatesAndEvents>, int), base::WeakPtr<content::RenderFrameHostImpl>, ui::AXTreeID, mojo::StructPtr<blink::mojom::AXUpdatesAndEvents>, int> bind_internal.h 647 0x12ca372c0 10 MakeItSo<void (content::RenderFrameHostImpl:: *)(const ui::AXTreeID &, mojo::StructPtr<blink::mojom::AXUpdatesAndEvents>, int), std::tuple<base::WeakPtr<content::RenderFrameHostImpl>, ui::AXTreeID, mojo::StructPtr<blink::mojom::AXUpdatesAndEvents>, int>> bind_internal.h 848 0x12ca37294 11 RunImpl<void (content::RenderFrameHostImpl:: *)(const ui::AXTreeID &, mojo::StructPtr<blink::mojom::AXUpdatesAndEvents>, int), std::tuple<base::WeakPtr<content::RenderFrameHostImpl>, ui::AXTreeID, mojo::StructPtr<blink::mojom::AXUpdatesAndEvents>, int>, 0UL, 1UL, 2UL, 3UL> bind_internal.h 920 0x12ca3726c 12 ::RunOnce() bind_internal.h 871 0x12ca3726c 13 Run callback.h 145 0x12e1efec0 14 ::RunTaskAndPostReply() post_task_and_reply_impl.cc 100 0x12e1efeac 15 Invoke<void ( *)(base::(anonymous namespace)::PostTaskAndReplyRelay), base::(anonymous namespace)::PostTaskAndReplyRelay> bind_internal.h 537 0x12e1f2c58 16 MakeItSo<void ( *)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>> bind_internal.h 826 0x12e1f2c2c 17 RunImpl<void ( *)(base::(anonymous namespace)::PostTaskAndReplyRelay), std::tuple<base::(anonymous namespace)::PostTaskAndReplyRelay>, 0UL> bind_internal.h 920 0x12e1f2c2c 18 ::RunOnce() bind_internal.h 871 0x12e1f2c2c 19 Run callback.h 145 0x12e1b5324 20 ::RunTaskImpl() task_annotator.cc 134 0x12e1b5310 21 RunTask<(lambda at ./../../../../../qtwebengine/src/3rdparty/chromium/base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:443:29)> task_annotator.h 72 0x12e1d0238 22 ::DoWorkImpl() thread_controller_with_message_pump_impl.cc 441 0x12e1d021c 23 ::DoWork() thread_controller_with_message_pump_impl.cc 297 0x12e1cfe04 24 ::handleScheduledWork() browser_main_parts_qt.cpp 196 0x12a303968 25 QObject::event(QEvent *) qobject.cpp 0x10db35cbc 26 QCoreApplicationPrivate::notify_helper(QObject *, QEvent *) qcoreapplication.cpp 1282 0x10daf4408 27 QCoreApplication::notifyInternal2(QObject *, QEvent *) qcoreapplication.cpp 1115 0x10daf3f88 28 QCoreApplication::sendEvent(QObject *, QEvent *) qcoreapplication.cpp 1533 0x10daf5238 29 QCoreApplicationPrivate::sendPostedEvents(QObject *, int, QThreadData *) qcoreapplication.cpp 1895 0x10daf5228 30 QCocoaEventDispatcherPrivate::processPostedEvents() qcocoaeventdispatcher.mm 880 0x119123268 31 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void *) qcocoaeventdispatcher.mm 902 0x119123d40 32 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x196eba63c 33 __CFRunLoopDoSource0 (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x196eba5d0 34 __CFRunLoopDoSources0 (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x196eba340 35 __CFRunLoopRun (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x196eb8f48 36 CFRunLoopRunSpecific (arm64e) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x196eb84b8 37 RunCurrentEventLoopInMode (arm64e) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x1a0702c40 38 ReceiveNextEventCommon (arm64e) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x1a0702a7c 39 _BlockUntilNextEventMatchingListInModeWithFilter (arm64e) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x1a07027d4 40 _DPSNextEvent (arm64e) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x19a0d9d44 41 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (arm64e) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x19a0d8ee0 42 -[NSApplication run] (arm64e) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x19a0cd344 43 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) qcocoaeventdispatcher.mm 404 0x119122644 44 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) qeventloop.cpp 100 0x10dafd8fc 45 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) qeventloop.cpp 182 0x10dafd8d8 46 QCoreApplication::exec() qcoreapplication.cpp 1436 0x10daf4614 47 main main.cpp 191 0x100009824 48 start (arm64e) /usr/lib/dyld 0x196a83f28
This started happening with 6.5.1. Before that we were using 6.4.2 and it worked fine.
For reference: I'm on a 2021 16" MacBook Pro with an M1 Max and macOS Ventura 13.4.1
Attachments
Issue Links
- duplicates
-
QTBUG-113859 [REG 6.4->6.5] Accessibility crash when clicking on a link in a list on macOS
- Closed