Crash in nsPromiseFlatCString::nsPromiseFlatCString

NEW
Unassigned

Status

()

Core
Networking
P3
critical
6 months ago
a month ago

People

(Reporter: baffclan, Unassigned)

Tracking

({crash})

54 Branch
x86
Windows 10
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [necko-backlog], crash signature)

(Reporter)

Description

6 months ago
This bug was filed from the Socorro interface and is 
report bp-bc60a0d1-a745-4135-b0a7-45c350170422.
       bp-c90ac628-0e9b-47ba-8e32-b30b70170422
=============================================================

Crashing Thread (11)
Frame 	Module 	Signature 	Source
0 	xul.dll 	nsPromiseFlatCString::nsPromiseFlatCString(nsACString_internal const&) 	obj-firefox/dist/include/nsTPromiseFlatString.h:90
1 	xul.dll 	mozilla::net::nsHttp::ResolveAtom(nsACString_internal const&) 	netwerk/protocol/http/nsHttp.h:135
2 	xul.dll 	mozilla::net::nsHttpHeaderArray::ParseHeaderLine(nsACString_internal const&, mozilla::net::nsHttpAtom*, nsACString_internal*) 	netwerk/protocol/http/nsHttpHeaderArray.cpp:347
3 	xul.dll 	mozilla::net::nsHttpResponseHead::ParseHeaderLine_locked(nsACString_internal const&, bool) 	netwerk/protocol/http/nsHttpResponseHead.cpp:572
4 	xul.dll 	mozilla::net::nsHttpResponseHead::ParseHeaderLine(nsACString_internal const&) 	netwerk/protocol/http/nsHttpResponseHead.cpp:563
5 	xul.dll 	mozilla::net::nsHttpTransaction::ParseLine(nsACString_internal&) 	netwerk/protocol/http/nsHttpTransaction.cpp:1254
6 	xul.dll 	mozilla::net::nsHttpTransaction::ParseLineSegment(char*, unsigned int) 	netwerk/protocol/http/nsHttpTransaction.cpp:1271
7 	xul.dll 	mozilla::net::nsHttpTransaction::ParseHead(char*, unsigned int, unsigned int*) 	netwerk/protocol/http/nsHttpTransaction.cpp:1394
8 	xul.dll 	mozilla::net::nsHttpTransaction::ProcessData(char*, unsigned int, unsigned int*) 	netwerk/protocol/http/nsHttpTransaction.cpp:1640
9 	xul.dll 	mozilla::net::nsHttpTransaction::WritePipeSegment(nsIOutputStream*, void*, char*, unsigned int, unsigned int, unsigned int*) 	netwerk/protocol/http/nsHttpTransaction.cpp:800
10 	xul.dll 	nsPipeOutputStream::WriteSegments(nsresult (*)(nsIOutputStream*, void*, char*, unsigned int, unsigned int, unsigned int*), void*, unsigned int, unsigned int*) 	xpcom/io/nsPipe3.cpp:1817
11 	xul.dll 	mozilla::net::nsHttpTransaction::WriteSegments(mozilla::net::nsAHttpSegmentWriter*, unsigned int, unsigned int*) 	netwerk/protocol/http/nsHttpTransaction.cpp:836
12 	xul.dll 	mozilla::net::nsHttpConnection::OnSocketReadable() 	netwerk/protocol/http/nsHttpConnection.cpp:1784
13 	xul.dll 	mozilla::net::nsHttpConnection::OnInputStreamReady(nsIAsyncInputStream*) 	netwerk/protocol/http/nsHttpConnection.cpp:2101
14 	xul.dll 	mozilla::net::nsSocketInputStream::OnSocketReady(nsresult) 	netwerk/base/nsSocketTransport2.cpp:293
15 	xul.dll 	mozilla::net::nsSocketTransport::OnSocketReady(PRFileDesc*, short) 	netwerk/base/nsSocketTransport2.cpp:1995
16 	xul.dll 	mozilla::net::nsSocketTransportService::DoPollIteration(mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>*) 	netwerk/base/nsSocketTransportService2.cpp:1157
17 	xul.dll 	mozilla::net::nsSocketTransportService::Run() 	netwerk/base/nsSocketTransportService2.cpp:909
18 	xul.dll 	nsThread::ProcessNextEvent(bool, bool*) 	xpcom/threads/nsThread.cpp:1264
19 	xul.dll 	NS_ProcessNextEvent(nsIThread*, bool) 	xpcom/threads/nsThreadUtils.cpp:389
20 	xul.dll 	mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) 	ipc/glue/MessagePump.cpp:338
21 	xul.dll 	MessageLoop::RunHandler() 	ipc/chromium/src/base/message_loop.cc:231
22 	xul.dll 	MessageLoop::Run() 	ipc/chromium/src/base/message_loop.cc:211
23 	xul.dll 	nsThread::ThreadFunc(void*) 	xpcom/threads/nsThread.cpp:495
24 	nss3.dll 	PR_NativeRunThread 	nsprpub/pr/src/threads/combined/pruthr.c:397
25 	nss3.dll 	pr_root 	nsprpub/pr/src/md/windows/w95thred.c:95
26 	ucrtbase.dll 	o__realloc_base 	
27 	kernel32.dll 	BaseThreadInitThunk 	
28 	ntdll.dll 	RtlUserThreadStart 	



Application Basics: 
Name: Firefox
Version: 54.0a2
Build ID: 20170418004027
Update Channel: aurora
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
OS: Windows_NT 10.0
Doesn't seem to be related to layout. Moving to networking.
Component: Layout → Networking
There are couple of crashes in nsPromiseFlatCString::nsPromiseFlatCString and the stack traces differ a lot. I don't think this is really a problem in necko. E.g. in this report a bad string cannot be passed down to nsPromiseFlatCString: https://crash-stats.mozilla.com/report/index/e0483f77-e269-4820-90a0-d27df0170514
Whiteboard: [necko-backlog]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.