Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] Chrome crashes in debugger tests #86919

Closed
hoyosjs opened this issue May 30, 2023 · 6 comments
Closed

[wasm] Chrome crashes in debugger tests #86919

hoyosjs opened this issue May 30, 2023 · 6 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Debugger-mono Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@hoyosjs
Copy link
Member

hoyosjs commented May 30, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=289991
Build error leg or test failing: chrome-DebuggerTests.SetVariableValueTests.WorkItemExecution
Pull request: #86899

Error Message

Fill the error message using known issues guidance.

{
  "ErrorPattern": "launch-host-and-connect failed with System.Net.Http.HttpRequestException: Connection refused (127.0.0.1|browser-stderr Received signal 11 SEGV_MAPERR",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@hoyosjs hoyosjs added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels May 30, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 30, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 30, 2023
@hoyosjs
Copy link
Member Author

hoyosjs commented May 30, 2023

cc: @lewing @thaystg @radical

@radical
Copy link
Member

radical commented May 30, 2023

browser-stderr Inconsistency detected by ld.so: ../elf/dl-tls.c: 481: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!

We have been seeing a few of these recently.

@ghost
Copy link

ghost commented May 31, 2023

Tagging subscribers to this area: @thaystg
See info in area-owners.md if you want to be subscribed.

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=289991
Build error leg or test failing: chrome-DebuggerTests.SetVariableValueTests.WorkItemExecution
Pull request: #86899

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "launch-host-and-connect failed with System.Net.Http.HttpRequestException: Connection refused (127.0.0.1",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
Author: hoyosjs
Assignees: -
Labels:

blocking-clean-ci, untriaged, area-Debugger-mono, Known Build Error, needs-area-label

Milestone: -

@radical radical added this to the 8.0.0 milestone May 31, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label May 31, 2023
@radical radical added the arch-wasm WebAssembly architecture label May 31, 2023
@ghost
Copy link

ghost commented May 31, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=289991
Build error leg or test failing: chrome-DebuggerTests.SetVariableValueTests.WorkItemExecution
Pull request: #86899

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "launch-host-and-connect failed with System.Net.Http.HttpRequestException: Connection refused (127.0.0.1",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
Author: hoyosjs
Assignees: -
Labels:

arch-wasm, blocking-clean-ci, area-Debugger-mono, Known Build Error, needs-area-label

Milestone: 8.0.0

@radical radical removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 31, 2023
@radical radical changed the title WASM debugger connection flakiness [wasm] Chrome crashes in debugger tests May 31, 2023
@radical
Copy link
Member

radical commented May 31, 2023

Failing log:

[95] Starting /root/helix/work/correlation/chrome-linux/chrome with --no-sandbox --headless --disable-gpu --lang=en-US --incognito --remote-debugging-port=0 about:blank
browser-stderr 
browser-stderr DevTools listening on ws://127.0.0.1:36491/devtools/browser/a7570bc6-bce8-4623-969c-3b7d23392f7d
browser-stderr Received signal 11 SEGV_MAPERR 000000000000
browser-stderr #0 0x563d43ad1922 base::debug::CollectStackTrace()
browser-stderr #1 0x563d43abe233 [0531/160304.661784:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
browser-stderr base::debug::StackTrace::StackTrace()
browser-stderr #2 0x563d43ad13b1 base::debug::(anonymous namespace)::StackDumpSignalHandler()
browser-stderr #3 0x7f0ccc898980 (/lib/x86_64-linux-gnu/libpthread-2.27.so+0x1297f)
browser-stderr #4 0x563d43fd4abd net::internal::AddressTrackerLinux::SetDiffCallback()
browser-stderr #5 0x563d41dbe2cb content::NetworkServiceClient::OnNetworkServiceInitialized()
browser-stderr #6 0x563d41dc0140 content::GetNetworkService()
browser-stderr #7 0x563d49ba564e headless::HeadlessRequestContextManager::HeadlessRequestContextManager()
browser-stderr #8 0x563d49ba0a24 headless::HeadlessBrowserContextImpl::HeadlessBrowserContextImpl()
browser-stderr #9 0x563d49ba10ce headless::HeadlessBrowserContextImpl::Create()
browser-stderr #10 0x563d49ba2892 headless::HeadlessBrowserImpl::CreateBrowserContext()
browser-stderr #11 0x563d43536c6a headless::(anonymous namespace)::HeadlessShell::OnBrowserStart()
browser-stderr #12 0x563d49ba286d headless::HeadlessBrowserImpl::RunOnStartCallback()
browser-stderr #13 0x563d49ba397d headless::HeadlessBrowserMainParts::PreMainMessageLoopRun()
browser-stderr #14 0x563d41a769f8 content::BrowserMainLoop::PreMainMessageLoopRun()
browser-stderr #15 0x563d420eaa9b content::StartupTaskRunner::RunAllTasksNow()
browser-stderr #16 0x563d41a76647 content::BrowserMainLoop::CreateStartupTasks()
browser-stderr #17 0x563d41a78fbe content::BrowserMainRunnerImpl::Initialize()
browser-stderr #18 0x563d49ba9ddb headless::HeadlessContentMainDelegate::RunProcess()
browser-stderr #19 0x563d42f55c32 content::RunBrowserProcessMain()
browser-stderr #20 0x563d42f57574 content::ContentMainRunnerImpl::RunBrowser()
browser-stderr #21 0x563d42f57365 content::ContentMainRunnerImpl::Run()
browser-stderr #22 0x563d42f54a9c content::RunContentProcess()
browser-stderr #23 0x563d42f54c06 content::ContentMain()
browser-stderr #24 0x563d43536a7a headless::HeadlessShellMain()
browser-stderr #25 0x563d3f635265 ChromeMain
browser-stderr #26 0x7f0cc802ec87 __libc_start_main
browser-stderr #27 0x563d3f63502a _start
browser-stderr   r8: 0000032c003ceb40  r9: 00007fff840d5a9f r10: 0000563d4a471d80 r11: 0000000000000020
browser-stderr  r12: 0000032c003ceb40 r13: 00007fff840d5ef0 r14: 0000032c00369000 r15: 0000032c00369000
browser-stderr   di: 0000000000000000  si: 0000032c003ceb40  bp: 00007fff840d5eb0  bx: 0000032c002c3800
browser-stderr   dx: 0000563d41dbee40  ax: 0000563d41dbe320  cx: 0000563d3d7eb900  sp: 00007fff840d5e40
browser-stderr   ip: 0000563d43fd4abd efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000004
browser-stderr  trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000000
browser-stderr [end of stack trace]

.. seen on PRs, and rolling builds.

These are with chrome version 114.0.5735.90.

And the earlier crash was with 113.0.5672.126:

browser-stderr Inconsistency detected by ld.so: ../elf/dl-tls.c: 481: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!

@radical radical self-assigned this May 31, 2023
radical added a commit to radical/runtime that referenced this issue May 31, 2023
.. because of crashes being hit on linux.

Issue: dotnet#86919
radical added a commit that referenced this issue May 31, 2023
…6968)

.. because of crashes being hit on linux.

Issue: #86919
@radical
Copy link
Member

radical commented Jul 4, 2023

PR #87565 adds automatic helix retries for this. It hasn't been hit since.

@radical radical closed this as completed Jul 4, 2023
@radical radical removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Jul 4, 2023
radical added a commit to radical/runtime that referenced this issue Jul 10, 2023
This was fixed to a specific version (`113.0.5672.63`) because of
dotnet#86919 . But trying to use
latest again now.
radical added a commit that referenced this issue Jul 14, 2023
This was fixed to a specific version (`113.0.5672.63`) because of
#86919 . But trying to use
latest again now.
@ghost ghost locked as resolved and limited conversation to collaborators Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Debugger-mono Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

2 participants