Closed
Bug 599101
Opened 15 years ago
Closed 15 years ago
Fix EGL crash: mEGLLibrary was not loaded on non-Windows, depending on uninitialized value
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b1+ | --- |
People
(Reporter: bjacob, Assigned: bjacob)
Details
Attachments
(1 file, 1 obsolete file)
750 bytes,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
Look at this code:
#ifdef XP_WIN
// .............
angleFile->Append(NS_LITERAL_STRING("libEGL.dll"));
angleFile->Load(&mEGLLibrary);
} while (false);
#endif
if (!mEGLLibrary) {
mEGLLibrary = PR_LoadLibrary(EGL_LIB);
if (!mEGLLibrary) {
NS_WARNING("Couldn't load EGL LIB.");
return PR_FALSE;
}
}
The problem there was that mEGLLibrary was uninitialized, so when it was accidentally non-null, we failed to load EGL, giving Brad a SIGILL.
Attachment #478041 -
Flags: review?(vladimir)
Assignee | ||
Comment 1•15 years ago
|
||
oops, typo
Attachment #478041 -
Attachment is obsolete: true
Attachment #478042 -
Flags: review?(vladimir)
Attachment #478041 -
Flags: review?(vladimir)
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → bjacob
Severity: normal → critical
OS: Linux → All
Hardware: x86_64 → All
Attachment #478042 -
Flags: review?(vladimir) → review+
Updated•15 years ago
|
tracking-fennec: --- → 2.0b2+
Updated•15 years ago
|
tracking-fennec: 2.0b2+ → 2.0b1+
Assignee | ||
Comment 2•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•