Closed Bug 286690 Opened 20 years ago Closed 15 years ago

ipcd is returning NS_BASE_STREAM_WOULD_BLOCK to nsNativeComponentLoader::GetFactory

Categories

(Core :: IPC, defect, P5)

x86
Windows XP
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: timeless, Unassigned)

Details

// send CLIENT_HELLO and wait for CLIENT_ID response...
  rv = MakeIPCMRequest(new ipcmMessageClientHello(), &msg);
	rv	0x80470007	unsigned int
  if (NS_FAILED(rv))
    return rv;

js> analyze(0x80470007)
nsresult([/*unsigned:*/2152136711, /*signed:*/-2142830585, /*hex:*/0x80470007])
Module: NS_ERROR_MODULE_BASE
Severity: 1
Code: 7
IsSuccessCode: false
Name: NS_BASE_STREAM_WOULD_BLOCK

>	ipcdc.dll!TryConnect()  Line 676	C++
 	ipcdc.dll!IPC_Init()  Line 703 + 0x5	C++
 	ipcdc.dll!ipcdclient_init(nsIModule * module=0x018f8600)  Line 182	C++
 	xpcom_core.dll!nsGenericModule::Initialize(nsIComponentManager *
compMgr=0x003ff9b8)  Line 277 + 0xa	C++
 	xpcom_core.dll!nsGenericModule::GetClassObject(nsIComponentManager *
aCompMgr=0x003ff9b8, const nsID & aClass={...}, const nsID & aIID={...}, void *
* r_classObj=0x0012f8a0)  Line 365 + 0xc	C++
 	xpcom_core.dll!nsNativeComponentLoader::GetFactoryFromModule(nsDll *
aDll=0x01191e40, const nsID & aCID={...}, nsIFactory * * aFactory=0x0012f8a0) 
Line 1066 + 0x2c	C++
 	xpcom_core.dll!nsNativeComponentLoader::GetFactory(const nsID & aCID={...},
const char * aLocation=0x010f9258, const char * aType=0x010b7268, nsIFactory * *
_retval=0x0012f8a0)  Line 145 + 0x14	C++
 	xpcom_core.dll!nsFactoryEntry::GetFactory(nsIFactory * * aFactory=0x0012f8a0,
nsComponentManagerImpl * mgr=0x003ff9b8)  Line 302 + 0x3a	C++
 	xpcom_core.dll!nsComponentManagerImpl::CreateInstanceByContractID(const char *
aContractID=0x013bc4ec, nsISupports * aDelegate=0x00000000, const nsID &
aIID={...}, void * * aResult=0x0012f900)  Line 1990 + 0x10	C++
 	xpcom_core.dll!nsComponentManagerImpl::GetServiceByContractID(const char *
aContractID=0x013bc4ec, const nsID & aIID={...}, void * * result=0x0012f968) 
Line 2422 + 0x32	C++
 	xpcom_core.dll!CallGetService(const char * aContractID=0x013bc4ec, const nsID
& aIID={...}, void * * aResult=0x0012f968)  Line 93	C++
 	xpcom_core.dll!nsGetServiceByContractIDWithError::operator()(const nsID &
aIID={...}, void * * aInstancePtr=0x0012f968)  Line 286 + 0x13	C++
 
xppref32.dll!nsCOMPtr<ipcITransactionService>::assign_from_gs_contractid_with_error(const
nsGetServiceByContractIDWithError & gs={...}, const nsID & aIID={...})  Line
1282 + 0x11	C++
 	xppref32.dll!nsCOMPtr<ipcITransactionService>::operator=(const
nsGetServiceByContractIDWithError & rhs={...})  Line 772	C++
 	xppref32.dll!nsSharedPrefHandler::EnsureTransactionService()  Line 273	C++
 	xppref32.dll!nsSharedPrefHandler::OnSavePrefs()  Line 144 + 0x8	C++
 	xppref32.dll!nsPrefService::SavePrefFile(nsIFile * aFile=0x00000000)  Line
244 + 0xb	C++
 	xppref32.dll!nsPref::SavePrefFile(nsIFile * aFile=0x00000000)  Line 79 + 0x22	C++
 	mfcembed.exe!CMfcEmbedApp::InitializePrefs()  Line 759 + 0x19	C++
 	mfcembed.exe!CMfcEmbedApp::Observe(nsISupports * aSubject=0x018f7ef0, const
char * aTopic=0x0292e388, const unsigned short * someData=0x0292e1e0)  Line 864	C++
 	xpcom_core.dll!nsObserverService::NotifyObservers(nsISupports *
aSubject=0x018f7ef0, const char * aTopic=0x0292e388, const unsigned short *
someData=0x0292e1e0)  Line 235	C++
 	profile.dll!nsProfile::SetCurrentProfile(const unsigned short *
aCurrentProfile=0x018ff200)  Line 1270	C++
 	mfcembed.exe!CProfileMgr::StartUp()  Line 108 + 0x1b	C++
 	mfcembed.exe!CMfcEmbedApp::InitializeProfiles()  Line 714	C++
 	mfcembed.exe!CMfcEmbedApp::InitInstance()  Line 461 + 0xb	C++
 	mfc71d.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpCmdLine=0x00142384, int nCmdShow=0x0000000a)
 Line 39 + 0xb	C++
 	mfcembed.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpCmdLine=0x00142384, int nCmdShow=0x0000000a)
 Line 25	C++
 	mfcembed.exe!WinMainCRTStartup()  Line 390 + 0x39	C
 	kernel32.dll!_BaseProcessStart@4()  + 0x23
ok, what did you do to reproduce this problem?
i ran mfcembed, i attached w/ a debugger, i asked it to quit (it deadlocked
because postmessage fails somehow)
i ran mfcembed a couple of more times and each of them suffered from this (i had
not killed ipcd)
i got this annoying assertion dialog and eventually traced enough to see where
it came from
thanks.  those details help.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Assignee: darin → nobody
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
QA Contact: ipc
You need to log in before you can comment on or make changes to this bug.