Closed Bug 1765132 Opened 3 years ago Closed 3 years ago

IPV6 issue: a number of sites become partialy corrupt and unusable

Categories

(Core :: Networking, defect, P2)

Firefox 99
x86_64
Windows 10
defect

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: def1985, Assigned: kershaw)

Details

(Whiteboard: [necko-triaged])

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0

Steps to reproduce:

Open this exact sites:

  1. https://www.avito.ru/profile
  2. https://www.banki.ru/
  3. https://volgograd.dom.ru/user/login

Actual results:

  1. (Registration required.) No page displayed at all. Convulsing TLS-handshake attempts show at statusbar. Other than that this site is working fine.
  2. Dropdown menus on top of the page do not dropdown. Comments on the news do not open up.
  3. Can't select login type (no reaction). Password window is not masked. Login button doesn't react at all.

Expected results:

Things already done: adblock disabled and then uninstalled, cookies/cache wiped, user profile wiped, entire Firefox reinstalled: no effect at all. But wait, ther's more. Two completely different pcs with the same Firefox version show exactly the same symptoms.
No other sites are affected. Not even monstrously complicated like youtube.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Password Manager' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Password Manager
Product: Firefox → Toolkit
Component: Password Manager → General
Product: Toolkit → Firefox

Update. This bug has nothing to do with Password Manager. I don't use it anyway.
The problem vanishes once I disable ipv6. Everything start working as it should.
Reenabling ipv6 brings the problem back.

OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64

(In reply to David from comment #2)

Update. This bug has nothing to do with Password Manager. I don't use it anyway.
The problem vanishes once I disable ipv6. Everything start working as it should.
Reenabling ipv6 brings the problem back.

Thanks for this! I'll move this to networking so the networking folks can take a look - they'll probably have more questions...

Component: General → Networking
Product: Firefox → Core
Summary: A nubmer of sites are partialy corrupt and unusable → A number of sites are partialy corrupt and unusable

Hi Reporter,

Are you still able to reproduce this?
If yes, could you try to capture a http log?

Thanks.

Flags: needinfo?(def1985)

(In reply to Kershaw Chang [:kershaw] from comment #4)

Hi Reporter,

Are you still able to reproduce this?
If yes, could you try to capture a http log?

Thanks.

Yep, still perfectly reproducible. Could it be becouse my isp doesn't have a dns6 server? I doubt it's the reason though. Ironicaly the third link is theirs account login page.

Anyway I made these logs for avito and banki. Surprisingly huge. Hope it helps.

Flags: needinfo?(def1985)
Attached file avito.7z

Log 1

Attached file bankiru.7z

Log 2

Summary: A number of sites are partialy corrupt and unusable → IPV6 issue: a number of sites become partialy corrupt and unusable

Interesting detail. Brave browser on an android smarphone shows exactly the same issue.
But Firefox on the Astra Linux (Debian based) machine works fine (I doublechecked that ipv6 is enabled). This all is very confusing.

Thanks for the log. I can confirm this is related to IPV6.
From the log, I can see Firefox tried to connect to this address 2a03:90c0:9999::9999.

2022-05-10 04:28:54.021000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport nsSocketTransportService::AttachSocket [handler=1a9fba13c00]
2022-05-10 04:28:54.021000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport   advancing to STATE_CONNECTING
2022-05-10 04:28:54.021000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport   trying address: 2a03:90c0:9999::9999

We successfully connected to the server.

2022-05-10 04:28:54.051000 UTC - [Parent 72: Socket Thread]: E/nsSocketTransport nsSocketTransport::OnSocketReady [this=1a9fba13c00 outFlags=2]
2022-05-10 04:28:54.051000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport   advancing to STATE_TRANSFERRING

However, when we tried to send HTTP request, the socket was reset by server.

2022-05-10 04:28:54.071000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport nsSocketOutputStream::Write [this=1a9fba13eb8 count=1980]
2022-05-10 04:28:54.071000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport   calling PR_Write [count=1980]
2022-05-10 04:28:54.071000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport   PR_Write returned [n=-1]
2022-05-10 04:28:54.071000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport ErrorAccordingToNSPR [in=-5961 out=804b0014]

Then, we tried to connect again with the same IPV6 address.

2022-05-10 04:28:54.071000 UTC - [Parent 72: Socket Thread]: V/nsHttp nsHttpTransaction::Close [this=1a9fdc22c00 reason=804b0014]
2022-05-10 04:28:54.071000 UTC - [Parent 72: Socket Thread]: V/nsHttp restarting transaction @1a9fdc22c00

The new socket was reset by server again.

2022-05-10 04:28:54.122000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport nsSocketOutputStream::Write [this=1a9fba18ab8 count=1980]
2022-05-10 04:28:54.122000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport   calling PR_Write [count=1980]
2022-05-10 04:28:54.122000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport   PR_Write returned [n=-1]
2022-05-10 04:28:54.122000 UTC - [Parent 72: Socket Thread]: D/nsSocketTransport ErrorAccordingToNSPR [in=-5961 out=804b0014]

In the end, we reached the retry limit.

2022-05-10 04:28:59.467000 UTC - [Parent 72: Socket Thread]: V/nsHttp reached max request attempts, failing transaction @1a9fdc22c00

Maybe this is a server side issue, since the socket is rest by server and this also happened on the other browser.
However, there might be one thing we can do: when restarting a transaction, don't use the same IP address to connect.

So... correct me if I'm wrong... There's an attempt to connect to 2a03:90c0:9999::9999 that is a DNS6 server and it fails.
As I said my ISP doesn't have it's own DNS6 server so this one that refuses connection is located elsewhere. Doesn't surprise me that it refuses.
But why not just fallback to DNS4 server after a failed attempt with DNS6?

(In reply to David from comment #10)

So... correct me if I'm wrong... There's an attempt to connect to 2a03:90c0:9999::9999 that is a DNS6 server and it fails.
As I said my ISP doesn't have it's own DNS6 server so this one that refuses connection is located elsewhere. Doesn't surprise me that it refuses.
But why not just fallback to DNS4 server after a failed attempt with DNS6?

We do have a fallback mechanism to IPv4, but that mechanism only works when the socket is in CONNECTING state.
In this case, the socket is already in TRANSFERING state.

I'll try to fix this.

Assignee: nobody → kershaw
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

Any updates?

Flags: needinfo?(kershaw)

(In reply to David from comment #12)

Any updates?

Sorry, no cycle for this for now.
I'll put this in our team's review queue to get this fixed soon.

Assignee: kershaw → nobody
Flags: needinfo?(kershaw)
Whiteboard: [necko-triaged] → [necko-triaged][necko-priority-review]
Whiteboard: [necko-triaged][necko-priority-review] → [necko-triaged][necko-priority-queue]
Assignee: nobody → kershaw
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a51561d5d7a9 Make it possible to retry different IP family address when restarting a transaction, r=necko-reviewers,dragana

Backed out for causing ThreadSanitizer data race failures on nsSocketTransport2.cpp.

Push with failures

Failure log

Backout link

[task 2022-09-20T19:11:46.549Z] 19:11:46     INFO -  TEST-START | toolkit/components/downloads/test/unit/test_DownloadLegacy.js
[task 2022-09-20T19:11:51.953Z] 19:11:51  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | xpcshell return code: -6
[task 2022-09-20T19:11:51.953Z] 19:11:51     INFO -  TEST-INFO took 5402ms
[task 2022-09-20T19:11:51.953Z] 19:11:51     INFO -  >>>>>>>
[task 2022-09-20T19:11:51.953Z] 19:11:51     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-09-20T19:11:51.953Z] 19:11:51     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-09-20T19:11:51.953Z] 19:11:51     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-09-20T19:11:51.953Z] 19:11:51     INFO -  running event loop
[task 2022-09-20T19:11:51.962Z] 19:11:51     INFO -  toolkit/components/downloads/test/unit/test_DownloadLegacy.js | Starting setup test_common_initialize
[task 2022-09-20T19:11:51.962Z] 19:11:51     INFO -  (xpcshell/head.js) | test test_common_initialize pending (2)
[task 2022-09-20T19:11:51.963Z] 19:11:51     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2022-09-20T19:11:51.964Z] 19:11:51     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2022-09-20T19:11:51.964Z] 19:11:51     INFO -  (xpcshell/head.js) | test test_common_initialize finished (2)
[task 2022-09-20T19:11:51.964Z] 19:11:51     INFO -  "CONSOLE_MESSAGE: (info) No chrome package registered for chrome://branding/locale/brand.properties"
[task 2022-09-20T19:11:51.964Z] 19:11:51     INFO -  toolkit/components/downloads/test/unit/test_DownloadLegacy.js | Starting test_basic
[task 2022-09-20T19:11:51.964Z] 19:11:51     INFO -  (xpcshell/head.js) | test test_basic pending (2)
[task 2022-09-20T19:11:51.964Z] 19:11:51     INFO -  TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | test_basic - [test_basic : 55] Sanity check the temporary file doesn't exist. - true == true
<...>
[task 2022-09-20T19:11:52.282Z] 19:11:52     INFO -  PID 25616 |   Thread T4 'Socket Thread' (tid=25621, running) created by main thread at:
[task 2022-09-20T19:11:52.283Z] 19:11:52     INFO -  PID 25616 |     #0 pthread_create /builds/worker/fetches/llvm-project/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:1022:3 (xpcshell+0x5ef8d) (BuildId: abae72a738d3e39b34d906cdc290a346381742a5)
[task 2022-09-20T19:11:52.283Z] 19:11:52     INFO -  PID 25616 |     #1 _PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:458:14 (libnspr4.so+0x3d1b5) (BuildId: ba017d6bb7040701e4d330ef3897619538d6a72a)
[task 2022-09-20T19:11:52.283Z] 19:11:52     INFO -  PID 25616 |     #2 PR_CreateThread /builds/worker/checkouts/gecko/nsprpub/pr/src/pthreads/ptthread.c:533:12 (libnspr4.so+0x322a5) (BuildId: ba017d6bb7040701e4d330ef3897619538d6a72a)
[task 2022-09-20T19:11:52.284Z] 19:11:52     INFO -  PID 25616 |     #3 nsThread::Init(nsTSubstring<char> const&) /builds/worker/checkouts/gecko/xpcom/threads/nsThread.cpp:618:18 (libxul.so+0x11e2625) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.285Z] 19:11:52     INFO -  PID 25616 |     #4 nsThreadManager::NewNamedThread(nsTSubstring<char> const&, unsigned int, nsIThread**) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadManager.cpp:534:12 (libxul.so+0x11eaac4) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.285Z] 19:11:52     INFO -  PID 25616 |     #5 NS_NewNamedThread(nsTSubstring<char> const&, nsIThread**, already_AddRefed<nsIRunnable>, unsigned int) /builds/worker/checkouts/gecko/xpcom/threads/nsThreadUtils.cpp:161:57 (libxul.so+0x11f2cd4) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.285Z] 19:11:52     INFO -  PID 25616 |     #6 NS_NewNamedThread<14UL> /builds/worker/workspace/obj-build/dist/include/nsThreadUtils.h:85:10 (libxul.so+0x14018de) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.285Z] 19:11:52     INFO -  PID 25616 |     #7 mozilla::net::nsSocketTransportService::Init() /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransportService2.cpp:776:9 (libxul.so+0x14018de)
[task 2022-09-20T19:11:52.286Z] 19:11:52     INFO -  PID 25616 |     #8 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:11085:7 (libxul.so+0x11a2a7b) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.286Z] 19:11:52     INFO -  PID 25616 |     #9 mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:12732:10 (libxul.so+0x11ab0e7) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.287Z] 19:11:52     INFO -  PID 25616 |     #10 CreateInstance /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:184:46 (libxul.so+0x11b5bdd) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.287Z] 19:11:52     INFO -  PID 25616 |     #11 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor> >&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:975:17 (libxul.so+0x11b5bdd)
[task 2022-09-20T19:11:52.287Z] 19:11:52     INFO -  PID 25616 |     #12 nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:1164:10 (libxul.so+0x11b689f) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.287Z] 19:11:52     INFO -  PID 25616 |     #13 CallGetService /builds/worker/checkouts/gecko/xpcom/components/nsComponentManagerUtils.cpp:61:43 (libxul.so+0x11b980d) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.288Z] 19:11:52     INFO -  PID 25616 |     #14 nsGetServiceByContractIDWithError::operator()(nsID const&, void**) const /builds/worker/checkouts/gecko/xpcom/components/nsComponentManagerUtils.cpp:250:21 (libxul.so+0x11b980d)
[task 2022-09-20T19:11:52.288Z] 19:11:52     INFO -  PID 25616 |     #15 nsCOMPtr_base::assign_from_gs_contractid_with_error(nsGetServiceByContractIDWithError const&, nsID const&) /builds/worker/checkouts/gecko/xpcom/base/nsCOMPtr.cpp:91:7 (libxul.so+0x10e4e67) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.288Z] 19:11:52     INFO -  PID 25616 |     #16 operator= /builds/worker/workspace/obj-build/dist/include/nsCOMPtr.h:774:5 (libxul.so+0x13a4ee1) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.288Z] 19:11:52     INFO -  PID 25616 |     #17 InitializeSocketTransportService /builds/worker/checkouts/gecko/netwerk/base/nsIOService.cpp:437:29 (libxul.so+0x13a4ee1)
[task 2022-09-20T19:11:52.289Z] 19:11:52     INFO -  PID 25616 |     #18 mozilla::net::nsIOService::SetOfflineInternal(bool, bool) /builds/worker/checkouts/gecko/netwerk/base/nsIOService.cpp:1340:7 (libxul.so+0x13a4ee1)
[task 2022-09-20T19:11:52.290Z] 19:11:52     INFO -  PID 25616 |     #19 SetOffline /builds/worker/checkouts/gecko/netwerk/base/nsIOService.cpp:1279:48 (libxul.so+0x139dc56) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.290Z] 19:11:52     INFO -  PID 25616 |     #20 mozilla::net::nsIOService::Init() /builds/worker/checkouts/gecko/netwerk/base/nsIOService.cpp:316:3 (libxul.so+0x139dc56)
[task 2022-09-20T19:11:52.290Z] 19:11:52     INFO -  PID 25616 |     #21 mozilla::net::nsIOService::GetInstance() /builds/worker/checkouts/gecko/netwerk/base/nsIOService.cpp:494:9 (libxul.so+0x139f5d1) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.291Z] 19:11:52     INFO -  PID 25616 |     #22 mozilla::xpcom::CreateInstanceImpl(mozilla::xpcom::ModuleID, nsID const&, void**) /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:11787:48 (libxul.so+0x11a36b8) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.291Z] 19:11:52     INFO -  PID 25616 |     #23 mozilla::xpcom::StaticModule::CreateInstance(nsID const&, void**) const /builds/worker/workspace/obj-build/xpcom/components/StaticComponents.cpp:12732:10 (libxul.so+0x11ab0e7) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.291Z] 19:11:52     INFO -  PID 25616 |     #24 CreateInstance /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:184:46 (libxul.so+0x11b5bdd) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.292Z] 19:11:52     INFO -  PID 25616 |     #25 nsComponentManagerImpl::GetServiceLocked(mozilla::Maybe<mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor> >&, (anonymous namespace)::EntryWrapper&, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:975:17 (libxul.so+0x11b5bdd)
[task 2022-09-20T19:11:52.292Z] 19:11:52     INFO -  PID 25616 |     #26 nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:1164:10 (libxul.so+0x11b689f) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.293Z] 19:11:52     INFO -  PID 25616 |     #27 CallGetService(char const*, nsID const&, void**) /builds/worker/checkouts/gecko/xpcom/components/nsComponentManagerUtils.cpp:61:43 (libxul.so+0x11b916d) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.293Z] 19:11:52     INFO -  PID 25616 |     #28 CallGetService<nsIIOService> /builds/worker/workspace/obj-build/dist/include/nsServiceManagerUtils.h:52:10 (libxul.so+0x214fd5a) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.293Z] 19:11:52     INFO -  PID 25616 |     #29 nsScriptSecurityManager::Init() /builds/worker/checkouts/gecko/caps/nsScriptSecurityManager.cpp:1551:17 (libxul.so+0x214fd5a)
[task 2022-09-20T19:11:52.294Z] 19:11:52     INFO -  PID 25616 |     #30 nsScriptSecurityManager::InitStatics() /builds/worker/checkouts/gecko/caps/nsScriptSecurityManager.cpp:1612:28 (libxul.so+0x2150341) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.294Z] 19:11:52     INFO -  PID 25616 |     #31 nsXPConnect::InitStatics() /builds/worker/checkouts/gecko/js/xpconnect/src/nsXPConnect.cpp:161:3 (libxul.so+0x1ff45c3) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.294Z] 19:11:52     INFO -  PID 25616 |     #32 xpcModuleCtor() /builds/worker/checkouts/gecko/js/xpconnect/src/XPCModule.cpp:11:3 (libxul.so+0x1fc0e22) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.295Z] 19:11:52     INFO -  PID 25616 |     #33 nsLayoutModuleInitialize() /builds/worker/checkouts/gecko/layout/build/nsLayoutModule.cpp:100:7 (libxul.so+0x64f264b) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.295Z] 19:11:52     INFO -  PID 25616 |     #34 nsComponentManagerImpl::Init() /builds/worker/checkouts/gecko/xpcom/components/nsComponentManager.cpp:371:5 (libxul.so+0x11b2fd4) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.295Z] 19:11:52     INFO -  PID 25616 |     #35 NS_InitXPCOM /builds/worker/checkouts/gecko/xpcom/build/XPCOMInit.cpp:430:51 (libxul.so+0x1228ed3) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.296Z] 19:11:52     INFO -  PID 25616 |     #36 XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/js/xpconnect/src/XPCShellImpl.cpp:1232:10 (libxul.so+0x1fd4172) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.296Z] 19:11:52     INFO -  PID 25616 |     #37 mozilla::BootstrapImpl::XRE_XPCShellMain(int, char**, char**, XREShellData const*) /builds/worker/checkouts/gecko/toolkit/xre/Bootstrap.cpp:54:12 (libxul.so+0x8676bae) (BuildId: 257c38c0781f6399e1a3387362b5fc2a2a3beb54)
[task 2022-09-20T19:11:52.297Z] 19:11:52     INFO -  PID 25616 |     #38 main /builds/worker/checkouts/gecko/js/xpconnect/shell/xpcshell.cpp:81:27 (xpcshell+0xdfa8d) (BuildId: abae72a738d3e39b34d906cdc290a346381742a5)
[task 2022-09-20T19:11:52.297Z] 19:11:52     INFO -  PID 25616 | SUMMARY: ThreadSanitizer: data race /builds/worker/checkouts/gecko/netwerk/base/nsSocketTransport2.cpp:2393:7 in mozilla::net::nsSocketTransport::Close(nsresult)
[task 2022-09-20T19:11:52.297Z] 19:11:52     INFO -  PID 25616 | ==================
[task 2022-09-20T19:11:52.298Z] 19:11:52     INFO -  <<<<<<<
[task 2022-09-20T19:11:52.298Z] 19:11:52     INFO -  TEST-START | toolkit/components/terminator/tests/xpcshell/test_terminator_record.js
Flags: needinfo?(kershaw)

I've updated my patch to fix the racing issue.

Flags: needinfo?(kershaw)
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/051feae2ec65 Make it possible to retry different IP family address when restarting a transaction, r=necko-reviewers,dragana
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Whiteboard: [necko-triaged][necko-priority-queue] → [necko-triaged]
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch

This seems to fix a serious problem for the users affected but I don't know if many users are affected and if this could be a safe uplift to beta, kershaw what do you think about it?

Flags: needinfo?(kershaw)

(In reply to Pascal Chevrel:pascalc from comment #20)

This seems to fix a serious problem for the users affected but I don't know if many users are affected and if this could be a safe uplift to beta, kershaw what do you think about it?

I don't think many users are affected by this, since this issue is only happened with a specific networking environment.
I am also not sure if my patch really works, since I can't write a test for this case.
So, let me ask the reporter to verify first and we can decide whether to uplift.

Hi David,
Could you download the latest Firefox nightly and see if this issue is fixed?
Thanks.

Flags: needinfo?(kershaw) → needinfo?(def1985)

(In reply to Kershaw Chang [:kershaw] from comment #21)

Hi David,
Could you download the latest Firefox nightly and see if this issue is fixed?
Thanks.
Hello. I certainly can. But the problem vanished on its own ~ a month ago. I'm using IPV6 flawlessly ever since.
If you still need something tested I'm willing to help, just provide me a step by step guide on the procedure.

Flags: needinfo?(def1985)

Hello. I certainly can. But the problem vanished on its own ~ a month ago. I'm using IPV6 flawlessly ever since.
If you still need something tested I'm willing to help, just provide me a step by step guide on the procedure.

Thanks. I think it's no need to do further tests.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: