Closed Bug 2013373 Opened 9 months ago Closed 9 months ago

Assertion failure: NS_IsMainThread(), at /builds/worker/checkouts/gecko/security/manager/ssl/nsNTLMAuthModule.cpp:489

Categories

(Core :: Security: PSM, defect, P1)

defect

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox-esr115 --- wontfix
firefox-esr140 --- wontfix
firefox147 --- wontfix
firefox148 --- wontfix
firefox149 --- fixed

People

(Reporter: tsmith, Assigned: keeler)

References

(Blocks 1 open bug, )

Details

(Keywords: assertion, pernosco, Whiteboard: [psm-assigned])

Attachments

(1 external file)

Found with m-c 20260125-354c926233a2 (--enable-debug)

This was found by visiting a live website with a debug build.

STR:

  • Launch browser and visit site

This issue was triggered by visiting http://box.weg.net/. A Pernosco session is available here: https://pernos.co/debug/NcUFcIGvT8Yvb3iSfgrICA/index.html

Assertion failure: NS_IsMainThread(), at /builds/worker/checkouts/gecko/security/manager/ssl/nsNTLMAuthModule.cpp:489

23|0|libxul.so|nsNTLMAuthModule::GetNextToken(void const*, unsigned int, void**, unsigned int*)|git:github.com/mozilla-firefox/firefox:security/manager/ssl/nsNTLMAuthModule.cpp:69888f58354c8d44e854945761a9e8fa954512d1|921|0x10c8
23|1|libxul.so|nsHttpNegotiateAuth::GenerateCredentials(nsIHttpAuthenticableChannel*, nsTSubstring<char> const&, bool, nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, nsTSubstring<char16_t> const&, nsISupports**, nsISupports**, unsigned int*, nsTSubstring<char>&)|git:github.com/mozilla-firefox/firefox:extensions/auth/nsHttpNegotiateAuth.cpp:69888f58354c8d44e854945761a9e8fa954512d1|506|0x2cd
23|2|libxul.so|(anonymous namespace)::GetNextTokenRunnable::Run()|git:github.com/mozilla-firefox/firefox:extensions/auth/nsHttpNegotiateAuth.cpp:69888f58354c8d44e854945761a9e8fa954512d1|349|0x127
23|3|libxul.so|nsThreadPool::Run()|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadPool.cpp:69888f58354c8d44e854945761a9e8fa954512d1|446|0x7ee
23|4|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:69888f58354c8d44e854945761a9e8fa954512d1|1158|0x794
23|5|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.cpp:69888f58354c8d44e854945761a9e8fa954512d1|461|0x4f
23|6|libxul.so|mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:69888f58354c8d44e854945761a9e8fa954512d1|299|0xc6
23|7|libxul.so|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:69888f58354c8d44e854945761a9e8fa954512d1|343|0x61
23|8|libxul.so|nsThread::ThreadFunc(void*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:69888f58354c8d44e854945761a9e8fa954512d1|373|0x1be
23|9|libnspr4.so|_pt_root|git:github.com/mozilla-firefox/firefox:nsprpub/pr/src/pthreads/ptthread.c:69888f58354c8d44e854945761a9e8fa954512d1|191|0x18c
23|10|firefox-bin|set_alt_signal_stack_and_start(PthreadCreateParams*)|git:github.com/mozilla-firefox/firefox:mozglue/interposers/pthread_create_interposer.cpp:69888f58354c8d44e854945761a9e8fa954512d1|81|0x10c

It looks like that assertion is due to using the preferences API. We could switch to using a DataMutexString static pref pretty easily.

Assignee: nobody → dkeeler
Severity: -- → S3
Priority: -- → P1
Whiteboard: [psm-assigned]
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: