Open svlobanov opened 2 weeks ago
@svlobanov This is unexpected. However, we cannot fix the problem without a reproduction, unfortunately. Could you please share a repro?
It happens from time to time (~ 1 of 20 runs), I don't know how to reproduce it exactly. I can share playwright project, but not sure if it helps without the tested system. The tested system is not published to the Internet that's why I'm thinking sharing playwright project will not help. Maybe it's possible to increase log level, make some dumps, etc?
@svlobanov You can try running with DEBUG=pw:test,pw:api npx playwright test
, maybe we'll see something interesting in the logs. However, most likely we'll have to debug the issue, and for that we need a reproduction.
I experience the same issue with playwright v1.43.1 in watch mode - when running playwright test --ui
, there's no trace, video and screenshot if the test fail. It looks like there are no artifacts in test-results
.
Configuration:
System:
OS: macOS 14.5
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 1.67 GB / 32.00 GB
Binaries:
Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
pnpm: 9.1.2 - ~/.nvm/versions/node/v20.11.1/bin/pnpm
IDEs:
VSCode: 1.90.1 - /usr/local/bin/code
Languages:
Bash: 3.2.57 - /bin/bash
npmPackages:
@playwright/test: ^1.43.1 => 1.44.0
@OrRosenblatt can you reproduce it with 100% reproducibility?
@OrRosenblatt can you reproduce it with 100% reproducibility?
Unfortunately not :(
I do see correlation with the following error:
Tearing down "context" exceeded the test timeout of 30000ms.
Error: Test ended.
Error: ENOENT: no such file or directory, open '/Users/or.rosenblatt/code/[private-repo-name]/apps/[app-name]/test-results/.playwright-artifacts-4/b73a922a95ebe94b4fa339861b881063.zip'
I don't know if it helps or not, but when running pnpm exec playwright show-report
, the following error message is shown:
@dgozman after enabling browser debug, I can see in the log that browser is killed by SIGSEGV signal (crashed?)
[38;5;33;1mpw:channel [0mSEND> {"id":15,"guid":"frame@3ea0f1a86e9d946c09ed5d82f7b942c9","method":"fill","params":{"selector":"id=login","strict":true,"value":"SuperAdmin"}} [38;5;33m+2ms[0m
[38;5;33;1mpw:channel [0mSEND> {"id":16,"guid":"localUtils","method":"addStackToTracingNoReply","params":{"callData":{"id":15,"stack":[{"file":"/builds/vision_ott/qa/e2e/tests/utils/login.ts","line":13,"column":36,"function":"login"},{"file":"/builds/vision_ott/qa/e2e/tests/test-1-smoke.spec.ts","line":18,"column":5}]}}} [38;5;33m+0ms[0m
[38;5;33;1mpw:channel [0m<RECV {"id":16} [38;5;33m+1ms[0m
[30;1mpw:browser [0m[pid=170][err] Exiting due to channel error. [30m+2s[0m
[30;1mpw:browser [0m[pid=170][err] Exiting due to channel error. [30m+0ms[0m
[38;5;33;1mpw:channel [0m<EVENT {"guid":"page@1fd7d62db781013246bb964baabda681","method":"close"} [38;5;33m+273ms[0m
[38;5;33;1mpw:channel [0m<EVENT {"guid":"page@1fd7d62db781013246bb964baabda681","method":"__dispose__","params":{}} [38;5;33m+0ms[0m
[38;5;33;1mpw:channel [0m<EVENT {"guid":"browser-context@cd47dfc221cd387b61cea42bb3c4d396","method":"close"} [38;5;33m+0ms[0m
[38;5;33;1mpw:channel [0m<EVENT {"guid":"browser-context@cd47dfc221cd387b61cea42bb3c4d396","method":"__dispose__","params":{}} [38;5;33m+0ms[0m
[38;5;33;1mpw:channel [0m<EVENT {"guid":"browser@5430daa7af55e4ae1a3738bd0f68d798","method":"close"} [38;5;33m+0ms[0m
[38;5;33;1mpw:channel [0m<EVENT {"guid":"browser@5430daa7af55e4ae1a3738bd0f68d798","method":"__dispose__","params":{}} [38;5;33m+1ms[0m
[38;5;33;1mpw:channel [0m<RECV {"id":15} [38;5;33m+0ms[0m
[38;5;33;1mpw:channel [0mSEND> {"id":17,"guid":"frame@3ea0f1a86e9d946c09ed5d82f7b942c9","method":"fill","params":{"selector":"id=password","strict":true,"value":"password"}} [38;5;33m+1ms[0m
[38;5;33;1mpw:channel [0m<RECV {"id":17,"error":{"error":{"message":"Target page, context or browser has been closed","stack":"TargetClosedError: Target page, context or browser has been closed\n at DispatcherConnection.dispatch (/builds/vision_ott/qa/e2e/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js:273:44)\n at Immediate._onImmediate (/builds/vision_ott/qa/e2e/node_modules/playwright-core/lib/inProcessFactory.js:50:83)\n at processImmediate (node:internal/timers:478:21)\n at process.callbackTrampoline (node:internal/async_hooks:130:17)","name":"TargetClosedError"}}} [38;5;33m+1ms[0m
[32;1mpw:test [0mfinished stage "run function" [32m+4s[0m
[32;1mpw:test [0mfinished stage "beforeEach hook" [32m+1ms[0m
[32;1mpw:test [0mfinished stage "Before Hooks" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "setup and test" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "After Hooks" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "on-test-function-finish" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "on-test-function-finish" [32m+1ms[0m
[32;1mpw:test [0mstarted stage "fixture: page" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: page" [32m+1ms[0m
[32;1mpw:test [0mstarted stage "fixture: context" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: context" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: _contextFactory" [32m+0ms[0m
[38;5;33;1mpw:channel [0mSEND> {"id":18,"guid":"tracing@906e0b17b364cd6cf3124901ba8fcda2","method":"tracingStopChunk","params":{"mode":"entries"}} [38;5;33m+5ms[0m
[30;1mpw:browser [0m[pid=170] <process did exit: exitCode=null, signal=SIGSEGV> [30m+9ms[0m
[30;1mpw:browser [0m[pid=170] starting temporary directories cleanup [30m+0ms[0m
[38;5;33;1mpw:channel [0m<RECV {"id":18,"error":{"error":{"message":"Target page, context or browser has been closed","stack":"TargetClosedError: Target page, context or browser has been closed\n at DispatcherConnection.dispatch (/builds/vision_ott/qa/e2e/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js:273:44)\n at Immediate._onImmediate (/builds/vision_ott/qa/e2e/node_modules/playwright-core/lib/inProcessFactory.js:50:83)\n at processImmediate (node:internal/timers:478:21)\n at process.callbackTrampoline (node:internal/async_hooks:130:17)","name":"TargetClosedError"}}} [38;5;33m+2ms[0m
[32;1mpw:test [0mfinished stage "fixture: _contextFactory" [32m+4ms[0m
[32;1mpw:test [0mstarted stage "fixture: _setupArtifacts" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: _setupArtifacts" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: _setupContextOptions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: _setupContextOptions" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: testIdAttribute" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: testIdAttribute" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: navigationTimeout" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: navigationTimeout" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: actionTimeout" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: actionTimeout" [32m+1ms[0m
[32;1mpw:test [0mstarted stage "fixture: _combinedContextOptions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: _combinedContextOptions" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: serviceWorkers" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: serviceWorkers" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: baseURL" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: baseURL" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: userAgent" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: userAgent" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: timezoneId" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: timezoneId" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: viewport" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: viewport" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: storageState" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: storageState" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: proxy" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: proxy" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: permissions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: permissions" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: offline" [32m+1ms[0m
[32;1mpw:test [0mfinished stage "fixture: offline" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: locale" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: locale" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: javaScriptEnabled" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: javaScriptEnabled" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: isMobile" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: isMobile" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: ignoreHTTPSErrors" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: ignoreHTTPSErrors" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: httpCredentials" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: httpCredentials" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: geolocation" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: geolocation" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: hasTouch" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: hasTouch" [32m+1ms[0m
[32;1mpw:test [0mstarted stage "fixture: extraHTTPHeaders" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: extraHTTPHeaders" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: deviceScaleFactor" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: deviceScaleFactor" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: colorScheme" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: colorScheme" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: bypassCSP" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: bypassCSP" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: acceptDownloads" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: acceptDownloads" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: contextOptions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: contextOptions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "After Hooks" [32m+1ms[0m
[32;1mpw:test [0mstarted stage "Worker Cleanup" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: browser" [32m+0ms[0m
[38;5;33;1mpw:channel [0mSEND> {"id":19,"guid":"browser@5430daa7af55e4ae1a3738bd0f68d798","method":"close","params":{"reason":"Test ended."}} [38;5;33m+6ms[0m
[38;5;33;1mpw:channel [0m<RECV {"id":19,"error":{"error":{"message":"Target page, context or browser has been closed","stack":"TargetClosedError: Target page, context or browser has been closed\n at DispatcherConnection.dispatch (/builds/vision_ott/qa/e2e/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js:273:44)\n at Immediate._onImmediate (/builds/vision_ott/qa/e2e/node_modules/playwright-core/lib/inProcessFactory.js:50:83)\n at processImmediate (node:internal/timers:478:21)\n at process.callbackTrampoline (node:internal/async_hooks:130:17)","name":"TargetClosedError"}}} [38;5;33m+1ms[0m
[32;1mpw:test [0mfinished stage "fixture: browser" [32m+3ms[0m
[32;1mpw:test [0mstarted stage "fixture: _reuseContext" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: _reuseContext" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: _optionContextReuseMode" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: _optionContextReuseMode" [32m+1ms[0m
[32;1mpw:test [0mstarted stage "fixture: video" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: video" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: connectOptions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: connectOptions" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: _optionConnectOptions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: _optionConnectOptions" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: browserName" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: browserName" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: defaultBrowserType" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: defaultBrowserType" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: screenshot" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: screenshot" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: _browserOptions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: _browserOptions" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: channel" [32m+1ms[0m
[32;1mpw:test [0mfinished stage "fixture: channel" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: headless" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: headless" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: launchOptions" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: launchOptions" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "fixture: playwright" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "fixture: playwright" [32m+0ms[0m
[32;1mpw:test [0mfinished stage "Worker Cleanup" [32m+0ms[0m
[32;1mpw:test [0mstarted stage "stop tracing" [32m+0ms[0m
[30;1mpw:browser [0m[pid=170] finished temporary directories cleanup [30m+49ms[0m
[32;1mpw:test [0mfinished stage "stop tracing" [32m+44ms[0m
1) [firefox] › test-1-smoke.spec.ts:22:1 › smoke-ip-signal ───────────────────────────────────────
Error: locator.fill: Target page, context or browser has been closed
at utils/login.ts:14
12 | // On login page we have to use ids due to language is unknown
13 | await page.locator("id=login").fill(login);
> 14 | await page.locator("id=password").fill(password);
| ^
15 | await page.locator("id=password").press("Enter");
16 | await expect(page).toHaveURL(/probes/);
17 |
at login (/builds/vision_ott/qa/e2e/tests/utils/login.ts:14:39)
at /builds/vision_ott/qa/e2e/tests/test-1-smoke.spec.ts:18:5
Error: Target page, context or browser has been closed
Error: ENOENT: no such file or directory, open '/builds/vision_ott/qa/e2e/test-results/.playwright-artifacts-0/5a7b0e39a5c5b8ccc77086dfe00a9fa0.zip'
@svlobanov Yes, this looks like the browser has crashed. I'd recommend running with DEBUG=pw:browser
- perhaps we can gather some information and file an upstream issue.
@dgozman @OrRosenblatt I found how to reproduce the issue regarding to trace & video loss
git clone https://github.com/svlobanov/playwright-bug-31358
cd playwright-bug-31358
npm ci
npx playwright test
# wait for 5 sec
# from another terminal, run `killall -9 Chromium` (maybe `killall -9 chromium` on linux, I use macos 14.1 arm64 locally)
after chromium is killed, playwright stops but trace and video are not present
@svlobanov Yes, this looks like the browser has crashed. I'd recommend running with
DEBUG=pw:browser
- perhaps we can gather some information and file an upstream issue.
I have already enabled DEBUG=pw:browser
, no more logs than I already provided, I will check how to extract crash-related logs/dumps from docker
after chromium is killed, playwright stops but trace and video are not present
@svlobanov Thank you for the repro. This is the expected behavior. Playwright assumes that browser crash is an exceptional situation and does not guarantee trace, video or screenshot.
We'd really like to fix the crash though, so any help with getting a repro and/or stack trace of the crash would be great!
@dgozman finally, I have coredump for crashed firefox, but it's hard to say anything without debug symbols
I use mcr.microsoft.com/playwright/v1.44.1-jammy to run tests and collect core dumps
I can share coredump with you privately if you provide me instructions how to do it.
root@13ab4bd56442:/# gdb /ms-playwright/firefox-1449/firefox/firefox /vol/core
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
--Type <RET> for more, q to quit, c to continue without paging--
Core was generated by `/ms-playwright/firefox-1449/firefox/firefox -no-remote -headless -profile /tmp/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=140650504496704) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
[Current thread is 1 (Thread 0x7febbf5ba640 (LWP 213))]
(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=140650504496704) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=11, threadid=140650504496704) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140650504496704, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
#3 0x00007febd5544476 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#4 0x00007febcf9e1811 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#5 0x00007febd043c97b in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#6 <signal handler called>
#7 0x00007febcf2c7987 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#8 0x00007febcf222ba0 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#9 0x00007febcf24a038 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#10 0x00007febcc5fd42d in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#11 0x00007febcfa2b26d in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#12 0x00007febce86c194 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#13 0x00007febce86bed0 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#14 0x00007febce86e714 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#15 0x00007febcbc88b26 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#16 0x00007febcbc9578b in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#17 0x00007febcbc94d5c in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#18 0x00007febcbc9d1a4 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#19 0x00007febcbca09fa in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#20 0x00007febcc332627 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#21 0x00007febcc2e5357 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#22 0x00007febcbc9ac62 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
#23 0x00007febd54f4ea6 in ?? () from /ms-playwright/firefox-1449/firefox/libnspr4.so
#24 0x00007febd5596ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#25 0x00007febd5628850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) bt full
#0 __pthread_kill_implementation (no_tid=0, signo=11, threadid=140650504496704) at ./nptl/pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = 0x7febbf5ba640
old_mask = {__val = {140650816776844, 140650815707584, 140650872821512, 140650175528960, 140650175897600, 90, 32768, 8, 8,
94735885058853, 1, 32768, 140650870734848, 2160, 11, 32768}}
ret = <optimized out>
pd = <optimized out>
old_mask = <optimized out>
ret = <optimized out>
tid = <optimized out>
ret = <optimized out>
resultvar = <optimized out>
resultvar = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
__futex = <optimized out>
resultvar = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
__futex = <optimized out>
__private = <optimized out>
__oldval = <optimized out>
result = <optimized out>
#1 __pthread_kill_internal (signo=11, threadid=140650504496704) at ./nptl/pthread_kill.c:78
No locals.
#2 __GI___pthread_kill (threadid=140650504496704, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
No locals.
#3 0x00007febd5544476 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#4 0x00007febcf9e1811 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
--Type <RET> for more, q to quit, c to continue without paging--
No symbol table info available.
#5 0x00007febd043c97b in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#6 <signal handler called>
No locals.
#7 0x00007febcf2c7987 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#8 0x00007febcf222ba0 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#9 0x00007febcf24a038 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#10 0x00007febcc5fd42d in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#11 0x00007febcfa2b26d in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#12 0x00007febce86c194 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#13 0x00007febce86bed0 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#14 0x00007febce86e714 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#15 0x00007febcbc88b26 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#16 0x00007febcbc9578b in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#17 0x00007febcbc94d5c in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#18 0x00007febcbc9d1a4 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#19 0x00007febcbca09fa in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#20 0x00007febcc332627 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#21 0x00007febcc2e5357 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#22 0x00007febcbc9ac62 in ?? () from /ms-playwright/firefox-1449/firefox/libxul.so
No symbol table info available.
#23 0x00007febd54f4ea6 in ?? () from /ms-playwright/firefox-1449/firefox/libnspr4.so
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--
#24 0x00007febd5596ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
ret = <optimized out>
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140733612146528, 5363107476043250929, 140650504496704, 22, 140650873448400,
140733612146880, -5351706398393844495, -5351895493678023439}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#25 0x00007febd5628850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No locals.
(gdb)
Update: this issue happens only in firefox. I use Google Chrome and firefox because I need h264 video-codec support. In Google Chrome everything works fine. After I disabled firefox in the configuration, I don't see crashes.
If there is no debug symbols for playwright-firefox and no ideas how to debug this floating issue, then let's close the issue.
@svlobanov Thank you for the core dump. Unfortunately, we do not have a symbolized firefox build right now, but we might be able to symbolize it later.
That said, we decided to try and collect traces for situations like a browser crash, so I'll assign this to the next release and we'll see what we can do.
great, I can try version from git when it's committed
I've had a similar issue happen to me while setup up playwright in a new project. When running npx playwright test --ui --headed
the traces appear correctly as the test runs but after it fails the screenshots disappear (along with all information in the timeline). Additionally some commands seem to be missing and instead show a previous step in the trace 🤔
Downgrading to 1.44 resolved the issue for me.
Here's how it looks like in 1.44:
And here's 1.45:
Version
1.44.1
Steps to reproduce
This is a floating issue, I don't know how to reproduce
I have two issues:
Expected behavior
Trace, video and screenshot are present in case of failed test.
Actual behavior
No trace, no video, no screenshot.
Additional context
I run tests under gitlab CI, using official docker image mcr.microsoft.com/playwright:v1.44.1-jammy
playwright config:
Environment