playwright: [BUG] Aw Snap status_breakpoint When using selectOption on chrome
System info
- Playwright Version: [1.38.0 + 1.38.1 + 1.39.0-alpha-oct-2-2023]
- Operating System: [Windows 11,Windows 10]
- Browser: [ Chromium]
- Other info:
Aw Snap status_breakpoint when using selectOption on chrome
as a continuation from bug : https://github.com/microsoft/playwright/issues/27363
DEBUG=pw:browser
` “C:\Program Files\nodejs\npm.cmd” run test:eksstg
e2e-automation@1.0.0 test:eksstg set DEBUG=pw:browser && cross-env NODE_ENV=eksstg npx playwright test ***.spec.ts
Running 1 test using 1 worker
… ****
pw:browser <launching> C:\Users\MichaelBehnam\AppData\Local\ms-playwright\chromium_with_symbols-1080\chrome-win\chrome.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkSer
viceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-
pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowse
rClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ip
c-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --user-data-dir=C:\Users\MICHAE~1\AppData\Local\Temp\playwright_chromiumdev_profile-JgRDij --remote-debugging-pipe --no-startup-window +0ms
pw:browser <launched> pid=31108 +6ms
pw:browser [pid=31108][err] [31108:16044:1003/140606.303:ERROR:policy_logger.cc(154)] :components\enterprise\browser\controller\chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled. +253ms
pw:browser [pid=31108][err] [31108:12236:1003/140609.969:ERROR:cert_issuer_source_aia.cc(36)] Error parsing cert retrieved from AIA (as DER): +4s
pw:browser [pid=31108][err] ERROR: Couldn’t read tbsCertificate as SEQUENCE +1ms
pw:browser [pid=31108][err] ERROR: Failed parsing Certificate +0ms
pw:browser [pid=31108][err] +0ms
Test name: FULL_KILL_CHAIN_SCENARIOS_05 run email with link attack on Service @Apt101_team_sanity @sanityForAllModules @aptScenarios @jenkins_aptScenarios @jenkins_Attacks @smokeTestAgent
pw:browser [pid=31108][err] [31108:12236:1003/140621.221:ERROR:cert_issuer_source_aia.cc(36)] Error parsing cert retrieved from AIA (as DER): +11s
pw:browser [pid=31108][err] ERROR: Couldn’t read tbsCertificate as SEQUENCE +0ms
pw:browser [pid=31108][err] ERROR: Failed parsing Certificate +1ms
pw:browser [pid=31108][err] +0ms
pw:browser [pid=31108][err] [31108:16044:1003/140630.706:ERROR:device_event_log_impl.cc(225)] [14:06:30.705] USB: usb_service_win.cc:415 Could not read device interface GUIDs: The system cannot find the file specified. (0x2) +9s
pw:browser [pid=31108][err] [31108:16044:1003/140630.710:ERROR:usb_descriptors.cc(141)] Failed to read length for configuration 1. +4ms
pw:browser [pid=31108][err] [31108:16044:1003/140630.710:ERROR:usb_descriptors.cc(100)] Failed to read all configuration descriptors. Expected 2, got 1. +0ms
pw:browser [pid=31108][err] [31108:16044:1003/140630.710:ERROR:device_event_log_impl.cc(225)] [14:06:30.710] USB: usb_device_win.cc:95 Failed to read descriptors from \?\usb#vid_0bda&pid_8153#001000001#{a5dcbf10-6530-11d2-901f-00c04fb951ed}. +1ms
pw:browser [pid=31108][err] +42s
pw:browser [pid=31108][err] +0ms
pw:browser [pid=31108][err] # +0ms
pw:browser [pid=31108][err] # Fatal error in , line 0 +0ms
pw:browser [pid=31108][err] # Check failed: handler. +0ms
pw:browser [pid=31108][err] # +0ms
pw:browser [pid=31108][err] # +2ms
pw:browser [pid=31108][err] # +0ms
pw:browser [pid=31108][err] #FailureMessage Object: 00000036CF3FC800 IsSandboxedProcess [0x00007FFEA812BB02+1122690] +15ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA81359D2+1163346] +0ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA8A14C57+10466007] +1ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA88AE70D+8998285] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA61838AF+355103] +0ms
pw:browser [pid=31108][err] sqlite3_dbdata_init [0x00007FFEAE298D85+78741077] +0ms
pw:browser [pid=31108][err] sqlite3_dbdata_init [0x00007FFEAE39D0B0+79806848] +0ms
pw:browser [pid=31108][err] sqlite3_dbdata_init [0x00007FFEAE2C2594+78911076] +0ms
pw:browser [pid=31108][err] sqlite3_dbdata_init [0x00007FFEAE294C1B+78724331] +0ms
pw:browser [pid=31108][err] ChromeMain [0x00007FFEA59F3F43+20197027] +0ms
pw:browser [pid=31108][err] ChromeMain [0x00007FFEA59F4B85+20200165] +0ms
pw:browser [pid=31108][err] ChromeMain [0x00007FFEA59F4DE3+20200771] +0ms
pw:browser [pid=31108][err] ChromeMain [0x00007FFEA5A20D51+20380849] +0ms
pw:browser [pid=31108][err] ChromeMain [0x00007FFEA5A20B93+20380403] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA61CC6EC+653660] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA61CBE6A+651482] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA6173913+289667] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA61E882B+768667] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA61C39E0+617552] +0ms
pw:browser [pid=31108][err] sqlite3_dbdata_init [0x00007FFEAAB4E76B+20764731] +1ms
pw:browser [pid=31108][err] sqlite3_dbdata_init [0x00007FFEAAB4E5C6+20764310] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA76BF4E5+22619989] +0ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA83BAACE+3805518] +0ms
pw:browser [pid=31108][err] GetHandleVerifier [0x00007FFEA929D8D2+1759362] +0ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA83BC189+3811337] +0ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA84B86CD+4844877] +0ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA83BDAD8+3817816] +0ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA81598D0+1310544] +0ms
pw:browser [pid=31108][err] GetHandleVerifier [0x00007FFEA910C6AB+116315] +0ms
pw:browser [pid=31108][err] GetHandleVerifier [0x00007FFEA910C034+114660] +0ms
pw:browser [pid=31108][err] GetHandleVerifier [0x00007FFEA911D295+184901] +0ms
pw:browser [pid=31108][err] GetHandleVerifier [0x00007FFEA910D1B4+119140] +0ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA8178D6B+1438699] +0ms
pw:browser [pid=31108][err] IsSandboxedProcess [0x00007FFEA8EC7252+15390930] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA7A24BA5+26181141] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA7A25905+26184565] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA7A24159+26178505] +0ms
pw:browser [pid=31108][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFEA7A243F4+26179172] +0ms
pw:browser [pid=31108][err] ChromeMain [0x00007FFEA46B137E+734] +0ms
pw:browser [pid=31108][err] GetPakFileHashes [0x00007FF69D402993+6547] +4ms
pw:browser [pid=31108][err] GetPakFileHashes [0x00007FF69D401A83+2691] +0ms
pw:browser [pid=31108][err] GetHandleVerifier [0x00007FF69D57BB12+964962] +0ms
pw:browser [pid=31108][err] BaseThreadInitThunk [0x00007FFF9AE7257D+29] +6ms
pw:browser [pid=31108][err] RtlUserThreadStart [0x00007FFF9C0EAA68+40] +12ms
pw:browser [pid=31108] <gracefully close start> +14s
pw:browser [pid=31108] <process did exit: exitCode=0, signal=null> +124ms
pw:browser [pid=31108] starting temporary directories cleanup +0ms
pw:browser [pid=31108] finished temporary directories cleanup +23ms
pw:browser [pid=31108] <gracefully close end> +0ms
Error: locator.selectOption: Target crashed
=========================== logs ===========================
waiting for locator('xpath=//option[text()=\'Select Target\']/parent::select')
locator resolved to <select class="form-control attack-select-box apt">…</select>
selecting specified option(s)
element was detached from the DOM, retrying
============================================================
Process finished with exit code 1
`
The same code works in firefox
Config file
// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
projects: [
{
name: "e2e_automation",
use: {
channel: "chromium-with-symbols",
...devices["Desktop Chrome"],
acceptDownloads: true,
viewport: {width: 1920, height: 937},
launchOptions: {
chromiumSandbox: true,
devtools: false
}
}
}
]
});
Test file (self-contained)
await mainSelect.selectOption({index: i});```
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Reactions: 9
- Comments: 15 (4 by maintainers)
Could you please verify that things work fine with:
channel: "chrome-beta"?You might need to run
npx playwright install chrome-beta.The issue was fixed on Aug 7th Chrome crash stack
Related bugs: crbug.com/1470645, crbug.com/1482564 V8 fix: https://chromium-review.googlesource.com/c/v8/v8/+/4753431
Same issue for me. Trace file attached. 2c7c7cce5abfb74be3d2ef570db1ec8b0c206b8c.zip
TimeoutError: locator.selectOption: Timeout 30000ms exceeded. =========================== logs =========================== waiting for locator(‘select[name=territory]’) locator resolved to <select name=“territory” class="SelectInput_select__1_-u…>…</select> selecting specified option(s) ============================================================
This was a bug in Chrome, that got fixed in Chrome Beta and in the Chromium that Playwright uses. Please use chrome-beta until the next stable is available to work around the issue.
Hi @pavelfeldman with chrome beta every thing work perfectly. Thanks a lot for your help.
Also ran into this issue lately