Closed
Bug 3576
Opened 26 years ago
Closed 25 years ago
Bad function parameter loading library
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
VERIFIED
FIXED
M6
People
(Reporter: bruce, Assigned: dp)
Details
Pull from evening of March 9, 1999, NSPR build from March 8, 1999. Solaris 2.6,
gcc 2.7.2.3, purify. Happens during apprunner startup.
PAR: Bad function parameter:
* This is occurring while in:
DLOpEN [rtlib.o]
PR_LoadLibrary [prlink.c:700]
nsDll::Load() [xcDll.cpp:150]
nsComponentManagerImpl::LoadFactory(nsFactoryEntry*,nsIFactory**)
[nsComponentManager.cpp:797]
nsComponentManagerImpl::FindFactory(const nsID&,nsIFactory**)
[nsComponentManager.cpp:903]
nsComponentManagerImpl::CreateInstance(const nsID&,nsISupports*,const
nsID&,void**) [nsComponentManager.cpp:1061]
nsComponentManager::CreateInstance(const nsID&,nsISupports*,const
nsID&,void**) [nsRepository.cpp:67]
nsServiceManagerImpl::GetService(const nsID&,const
nsID&,nsISupports**,nsIShutdownListener*) [nsServiceManager.cpp:229]
nsServiceManager::GetService(const nsID&,const
nsID&,nsISupports**,nsIShutdownListener*) [nsServiceManager.cpp:391]
nsWebShell::CreatePluginHost(int) [nsWebShell.cpp:406]
nsWebShell::Init(void*,int,int,int,int,nsScrollPreference,int,int)
[nsWebShell.cpp:727]
nsWebShellWindow::Initialize(nsIWidget*,nsIAppShell*,nsIURL*,nsString&,nsIStream
Observer*,nsIXULWindowCallbacks*,int,int) [nsWebShellWindow.cpp:227]
nsAppShellService::CreateTopLevelWindow(nsIWidget*,nsIURL*,nsString&,nsIWidget*&
,nsIStreamObserver*,nsIXULWindowCallbacks*,int,int) [nsAppShellService.cpp:233]
main [nsAppRunner.cpp:275]
_start [crt1.o]
* dlopen("raptorplugin.so", 257) file (arg #1) not found.
Updated•26 years ago
|
Assignee: wtc → srinivas
Comment 1•26 years ago
|
||
New bugs should be assigned to module
owners.
The PR_LoadLibrary funtion passes the input argument (the dll name), unmodified,
to the dlopen() function; the purify output says that the dll
"raptorplugin.so" doesn't exist.
This isn't due to a bug in nspr.
Reporter | ||
Updated•26 years ago
|
Assignee: srinivas → dp
Component: NSPR → XPCOM Registry
Reporter | ||
Comment 3•26 years ago
|
||
Re-assigning to XPCOM Registry since that is the code that calls this code.
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•26 years ago
|
Target Milestone: M5
Assignee | ||
Comment 4•26 years ago
|
||
I dont understand this. The function parameter is bad.
Bruce do you still see this. Marking M5 since there doesn't seem to be any
effect of this yet.
Reporter | ||
Comment 5•26 years ago
|
||
This was happening because we were trying to load some libraries that didn't
exist. Since this particular library load was fixed to load the
libraptorplugin, it is fine. More worrisome were the 2 invalid pointer errors
that happened after this one. Purify outputs this error here because it has to
trap dlopen() calls and instrument libraries if necessary. The related bug
report is bug #3577. With all of this in mind, I'd be tempted to flag this bug
as Resolved/Invalid and spend time figuring out bug #3577.
Updated•25 years ago
|
Target Milestone: M5 → M6
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•25 years ago
|
||
What did I miss? When did this get fixed? I still see these errors I think.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 8•25 years ago
|
||
amazing but true. these finally seem to have stopped.
You need to log in
before you can comment on or make changes to this bug.
Description
•