Closed
Bug 132319
Opened 22 years ago
Closed 22 years ago
Browser crashes when machine is low on memory M1RC2 [@ imgContainer::FillWithColor]
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.0.1
People
(Reporter: jvr, Assigned: pavlov)
References
Details
(Keywords: crash, topcrash, Whiteboard: [Fixed on Trunk][adt 1 RTM] [Needs a=],custrtm-)
Crash Data
Attachments
(2 files, 1 obsolete file)
3.71 KB,
patch
|
pavlov
:
review+
pavlov
:
superreview+
jud
:
approval+
|
Details | Diff | Splinter Review |
1.85 KB,
text/plain
|
Details |
This happend to me few times. Each time I had a system warning message telling that the system was low on memory. Immediately after, browser crashes, even if it is just open, but not busy. Software version is Mozilla M0.9.9.
Comment 1•22 years ago
|
||
Do you have talkback ID?
Severity: normal → critical
Keywords: crash,
stackwanted
Reporter | ||
Comment 2•22 years ago
|
||
if this can help, here are Talkback Incident IDs related to the reported bug : TB4261389K, TB4253418E, TB4215708G Hope it helps.
Comment 3•22 years ago
|
||
Stephen, should I ask you for TB4261389K, TB4253418E, TB4215708G?
Keywords: stackwanted
imgContainer::FillWithColor [d:\builds\seamonkey\mozilla\modules\libpr0n\src\imgContainer.cpp, line 659] imgContainer::DoComposite [d:\builds\seamonkey\mozilla\modules\libpr0n\src\imgContainer.cpp, line 532] imgContainer::Notify [d:\builds\seamonkey\mozilla\modules\libpr0n\src\imgContainer.cpp, line 458] nsTimerImpl::Process [d:\builds\seamonkey\mozilla\xpcom\threads\nsTimerImpl.cpp, line 342] handleMyEvent [d:\builds\seamonkey\mozilla\xpcom\threads\nsTimerImpl.cpp, line 381] PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 591] PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 524] _md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1072]
Comment 5•22 years ago
|
||
Jeremie: Are you able to reproduce this bug with Mozilla Release Candidate 1? Any newer talkback? http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.0rc1/
Assignee: asa → Matti
QA Contact: doron → imajes-qa
Summary: Browser crashes when machine is low on memory → Browser crashes when machine is low on memory [@ imgContainer::FillWithColor]
Comment 6•22 years ago
|
||
why not reassign it to the correct component ? -> Imagelib (new based on the stack)
Assignee: Matti → pavlov
Status: UNCONFIRMED → NEW
Component: Browser-General → ImageLib
Ever confirmed: true
QA Contact: imajes-qa → tpreston
Assignee | ||
Updated•22 years ago
|
Target Milestone: --- → Future
Reporter | ||
Comment 7•22 years ago
|
||
I've installed Moz1.0rc1 (with talkback). I'll let you know if new crashes occur.
Reporter | ||
Comment 8•22 years ago
|
||
OK, I think I've got one. Have a look at talkback ID TB5633958K.
Comment 9•22 years ago
|
||
What a good opportunity to clean up FillWithColor() Changes in FillWithColor with this patch: - New memory allocation reduced to one row of image (bpr). FillWithColor used to allocate enough memory to hold the whole image, even though it only used one row of that memory. - Validation of memory allocation. If failed, function exits. - Check if R, G, & B are the same. If they are, do a memset and skip memory allocation alltogether. - Got rid of some duplicate variables.
Assignee | ||
Comment 10•22 years ago
|
||
tor can you sr=?
Assignee | ||
Comment 11•22 years ago
|
||
Comment on attachment 81547 [details] [diff] [review] Cleanup of imgContainer::FillWithColor r=pavlov. style nitpicks for libpr0n: + } + else + { should be: + } else {
Attachment #81547 -
Flags: review+
Comment 12•22 years ago
|
||
Comment on attachment 81547 [details] [diff] [review] Cleanup of imgContainer::FillWithColor sr=tor minor nit: rename "foo" to "tmpRow" or something else that indicates its purpose.
Attachment #81547 -
Flags: superreview+
Comment 13•22 years ago
|
||
changes as per reviews, plus I removed the trailing spaces.
Attachment #81547 -
Attachment is obsolete: true
Assignee | ||
Comment 14•22 years ago
|
||
Comment on attachment 81634 [details] [diff] [review] Cleanup of imgContainer::FillWithColor carrying over r= and sr=
Attachment #81634 -
Flags: superreview+
Attachment #81634 -
Flags: review+
Assignee | ||
Updated•22 years ago
|
Target Milestone: Future → mozilla1.0.1
Assignee | ||
Comment 15•22 years ago
|
||
checked in fix for paper@animecity.nu to the trunk.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 16•22 years ago
|
||
Pavlov, these crashes are still happening in the release candidates. This fix has benn on the Trunk for two weeks and has stopped the crshes there. We need to get this fix on the branch.
Comment 17•22 years ago
|
||
Terri, can you verify this on the trunk. Thx.
Comment 18•22 years ago
|
||
I have tried to crash this using win XP trunk build 2002052208, I followed several of the crash comments and this seems to be fixed
Comment 19•22 years ago
|
||
Seems like it has been verified on trunk. approving on adt behalf --paul really:)
Comment 20•22 years ago
|
||
Bug 143333 contains a patch for a regression this bug fix caused. It also has been checked into the trunk and confirmed fixed. You'll probably want it on the branch as well.
Comment 21•22 years ago
|
||
adt1.0.0+ (on ADT's behalf) for approval to checkin to the 1.0 branch, pending Drivers' approval and the checkin of the fix for Bug 143333. After, checking in, please add the fixed1.0 keyword.
Keywords: approval
Whiteboard: [Fixed on Trunk][adt 1] → [Fixed on Trunk][adt 1 RTM] [Needs a=]
Assignee | ||
Comment 22•22 years ago
|
||
i have both fixes in my branch tree ready to check in as soon as I get drivers approval for them
Comment 23•22 years ago
|
||
adding the adt1.0.0+ that Jaime mentioned in a previous comment.
Whiteboard: [Fixed on Trunk][adt 1 RTM] [Needs a=] → [Fixed on Trunk][adt 1 RTM] [Needs a=],custrtm-
Comment 24•22 years ago
|
||
changing to adt1.0.1+ for checkin to the 1.0 branch. Please get drivers approval before checking in.
Updated•22 years ago
|
Attachment #81634 -
Flags: approval+
Comment 26•22 years ago
|
||
please checkin to the 1.0.1 branch. once there, remove the "mozilla1.0.1+" keyword and add the "fixed1.0.1" keyword.
Keywords: mozilla1.0.1 → mozilla1.0.1+
Comment 27•22 years ago
|
||
has this been checked into branch?
Comment 29•22 years ago
|
||
Need Bug 143333 checked into branch. Otherwise Linux people won't be happy.
Comment 30•22 years ago
|
||
I will wait to verify for branch until 143333 is fixed (I just removed branch keyword 'cause the branch is not fixed for that bug)
Updated•13 years ago
|
Crash Signature: [@ imgContainer::FillWithColor]
You need to log in
before you can comment on or make changes to this bug.
Description
•