Closed Bug 1767824 Opened 3 years ago Closed 3 years ago

Hang in NS_ReadInputStreamToBuffer

Categories

(Core :: Networking, defect)

ARM64
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1767882

People

(Reporter: mgaudet, Unassigned)

Details

In Build 20220504093759 I have had two hangs in NS_ReadInputStreamToBuffer causing total lockup of the firefox window (though, a GIF did continue playing in content)

I grabbed a spindump each time, and here's the relevant portion:

1000  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CoreFoundation + 543836) [0x1add50c5c]
  1000  nsAppShell::ProcessGeckoEvents(void*) + 444 (XUL + 18587492) [0x117d01f64]
    1000  nsBaseAppShell::NativeEventCallback() + 140 (XUL + 18437824) [0x117cdd6c0]
      1000  NS_ProcessPendingEvents(nsIThread*, unsigned int) + 1148 (XUL + 4189284) [0x116f46c64]
        1000  mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> const&) + 3396 (XUL + 4137748) [0x116f3a314]
          1000  mozilla::detail::RunnableFunction<mozilla::ipc::DataPipeReceiver::AsyncWait(nsIInputStreamCallback*, unsigned int, unsigned int, nsIEventTarget*)::$_7>::Run() + 68 (XUL + 53955076) [0x119ebca04]
            1000  nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) + 1152 (XUL + 4848700) [0x116fe7c3c]
              1000  mozilla::net::HttpChannelParent::OnDataAvailable(nsIRequest*, nsIInputStream*, unsigned long long, unsigned int) + 244 (XUL + 5989008) [0x1170fe290]
                1000  NS_ReadInputStreamToString(nsIInputStream*, nsTSubstring<char>&, long long, unsigned long long*) + 164 (XUL + 4877020) [0x116feeadc]
                  1000  NS_ReadInputStreamToBuffer(nsIInputStream*, void**, long long, unsigned long long*) + 1100 (XUL + 4876556) [0x116fee90c]
                    1000  mozilla::detail::ConditionVariableImpl::wait(mozilla::detail::MutexImpl&) + 12 (libmozglue.dylib + 392460) [0x101247d0c]
                      1000  __psynch_cvwait + 8 (libsystem_kernel.dylib + 20672) [0x1adc4d0c0]
                       *1000  psynch_cvcontinue + 0 (pthread + 18048) [0xfffffe000a541640]

Both times I force quit, and appear to have not submitted a crash.

I'm not sure what was the root cause of the first one, however, the second failed while trying to load a large (3mb) gif in slack.

Could you probably provide more information, maybe STR?
Thanks.

Flags: needinfo?(mgaudet)

Sorry: Not much in the way of reliable STR. Three occurrences now, and not a single (seeming) commonality between them other than... it's my main profile?

Flags: needinfo?(mgaudet)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.