Closed Bug 596059 Opened 14 years ago Closed 14 years ago

e10s: Trying to initialize PSM/NSS in a non-chrome process!

Categories

(Core :: Networking, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 575950

People

(Reporter: crowderbt, Unassigned)

Details

Sorry if this is filed against the wrong component, just wanted to record it.

###!!! ASSERTION: Trying to initialize PSM/NSS in a non-chrome process!: 'Error', file /home/crowder/mobilla/security/manager/ssl/src/nsNSSComponent.cpp, line 292


#0  nsBinaryInputStream::ReadObject (this=0xb0ec10c0, aIsStrongRef=1, aObject=0xb087d1ec) at /home/crowder/mobilla/xpcom/io/nsBinaryStream.cpp:763
#1  0x0131ee24 in NS_DeserializeObject (str=..., obj=0xb087d1ec) at /home/crowder/mobilla/netwerk/base/src/nsSerializationHelper.cpp:106
#2  0x013dfb3c in mozilla::net::HttpChannelChild::OnStartRequest (this=0xb087d0c0, responseHead=..., useResponseHead=@0xbff5ada8, isFromCache=@0xbff5ad60,
    cacheEntryAvailable=@0xbff5ad8c, cacheExpirationTime=@0xbff5ad58, cachedCharset=..., securityInfoSerialization=...)
    at /home/crowder/mobilla/netwerk/protocol/http/HttpChannelChild.cpp:285
#3  0x013dfa4f in mozilla::net::HttpChannelChild::RecvOnStartRequest (this=0xb087d0c0, responseHead=..., useResponseHead=@0xbff5ada8, isFromCache=@0xbff5ad60,
    cacheEntryAvailable=@0xbff5ad8c, cacheExpirationTime=@0xbff5ad58, cachedCharset=..., securityInfoSerialization=...)
    at /home/crowder/mobilla/netwerk/protocol/http/HttpChannelChild.cpp:264
#4  0x027ff797 in mozilla::net::PHttpChannelChild::OnMessageReceived (this=0xb087d0c0, __msg=...) at PHttpChannelChild.cpp:384
#5  0x0279f2fb in mozilla::dom::PContentChild::OnMessageReceived (this=0xb762e198, __msg=...) at PContentChild.cpp:912
#6  0x0269c085 in mozilla::ipc::AsyncChannel::OnDispatchMessage (this=0xb762e1a0, msg=...) at /home/crowder/mobilla/ipc/glue/AsyncChannel.cpp:262
#7  0x026a43e7 in mozilla::ipc::RPCChannel::OnMaybeDequeueOne (this=0xb762e1a0) at /home/crowder/mobilla/ipc/glue/RPCChannel.cpp:438
#8  0x026a9e4d in void DispatchToMethod<mozilla::ipc::RPCChannel, bool (mozilla::ipc::RPCChannel::*)()>(mozilla::ipc::RPCChannel*, bool (mozilla::ipc::RPCChannel::*)(), Tuple0 const&) () from /home/crowder/mobilla/objdir-lnx-dbg/dist/fennec/libxul.so
#9  0x026a9dd9 in RunnableMethod<mozilla::ipc::RPCChannel, bool (mozilla::ipc::RPCChannel::*)(), Tuple0>::Run() ()
   from /home/crowder/mobilla/objdir-lnx-dbg/dist/fennec/libxul.so
#10 0x026a5ba2 in mozilla::ipc::RPCChannel::RefCountedTask::Run() () from /home/crowder/mobilla/objdir-lnx-dbg/dist/fennec/libxul.so
#11 0x026a5c9a in mozilla::ipc::RPCChannel::DequeueTask::Run() () from /home/crowder/mobilla/objdir-lnx-dbg/dist/fennec/libxul.so
#12 0x028ef10e in MessageLoop::RunTask (this=0xbff5bd94, task=0xae946580) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:343
#13 0x028ef177 in MessageLoop::DeferOrRunPendingTask (this=0xbff5bd94, pending_task=...) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:351
#14 0x028ef54d in MessageLoop::DoWork (this=0xbff5bd94) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:451
#15 0x026a17a1 in mozilla::ipc::DoWorkRunnable::Run (this=0xb76017e0) at /home/crowder/mobilla/ipc/glue/MessagePump.cpp:70
#16 0x0288a46e in nsThread::ProcessNextEvent (this=0xb762d1a0, mayWait=1, result=0xbff5b14c) at /home/crowder/mobilla/xpcom/threads/nsThread.cpp:547
#17 0x02815f7d in NS_ProcessNextEvent_P (thread=0xb762d1a0, mayWait=1) at nsThreadUtils.cpp:250
#18 0x026a1c05 in mozilla::ipc::MessagePump::Run (this=0xb7613130, aDelegate=0xbff5bd94) at /home/crowder/mobilla/ipc/glue/MessagePump.cpp:134
#19 0x026a201e in mozilla::ipc::MessagePumpForChildProcess::Run (this=0xb7613130, aDelegate=0xbff5bd94) at /home/crowder/mobilla/ipc/glue/MessagePump.cpp:229
#20 0x028eec6b in MessageLoop::RunInternal (this=0xbff5bd94) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:219
#21 0x028eebeb in MessageLoop::RunHandler (this=0xbff5bd94) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:202
#22 0x028eeb8f in MessageLoop::Run (this=0xbff5bd94) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:176
#23 0x02546f9c in nsBaseAppShell::Run (this=0xb54931f0) at /home/crowder/mobilla/widget/src/xpwidgets/nsBaseAppShell.cpp:180
#24 0x012a0ea1 in XRE_RunAppShell () at /home/crowder/mobilla/toolkit/xre/nsEmbedFunctions.cpp:629
#25 0x026a1f3e in mozilla::ipc::MessagePumpForChildProcess::Run (this=0xb7613130, aDelegate=0xbff5bd94) at /home/crowder/mobilla/ipc/glue/MessagePump.cpp:215
#26 0x028eec6b in MessageLoop::RunInternal (this=0xbff5bd94) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:219
#27 0x028eebeb in MessageLoop::RunHandler (this=0xbff5bd94) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:202
#28 0x028eeb8f in MessageLoop::Run (this=0xbff5bd94) at /home/crowder/mobilla/ipc/chromium/src/base/message_loop.cc:176
#29 0x012a08f8 in XRE_InitChildProcess (aArgc=1, aArgv=0xbff5bfc4, aProcess=GeckoProcessType_Content)
    at /home/crowder/mobilla/toolkit/xre/nsEmbedFunctions.cpp:506
#30 0x080491ee in main (argc=3, argv=0xbff5bfc4) at /home/crowder/mobilla/ipc/app/MozillaRuntimeMain.cpp:67
Honza, is this known or a dup?
crowder,

You said the patch for honza's x509 serialization stuff did *not* fix this, right?
It didn't seem to, but I haven't had a lot of time to debug thoroughly.
The work on this bug is made in bug 575950.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.