Closed
Bug 277923
Opened 20 years ago
Closed 20 years ago
Crash on scroll during page load.
Categories
(Core Graveyard :: Widget: Mac, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.8beta2
People
(Reporter: camino, Assigned: sfraser_bugs)
References
Details
(Keywords: fixed1.7.7)
Attachments
(4 files)
22.20 KB,
text/plain
|
Details | |
18.88 KB,
application/rtf
|
Details | |
668 bytes,
text/html
|
Details | |
4.92 KB,
patch
|
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
Sometimes (very rarely, and not reproducable) Camino will crash when you try to
scroll while a webpage is loading. I have yet to find a way the reproduce it 100%.
I will attach a crash log asap.
Updated•20 years ago
|
Target Milestone: --- → Camino0.9
*** Bug 279886 has been marked as a duplicate of this bug. ***
Comment 3•20 years ago
|
||
Frequent crash on scrolling certain pages with certain content. Repeatable crash
on scrolling certain pages (must be code related to content - no flash, nothing
extra) on imdb.com; morningstar.com and etc.
Just a thought that crossed my mind...
Could this be a problem with the tab scroll positioning fix that smfr put in
maybe a week ago?
Assignee | ||
Comment 5•20 years ago
|
||
I checked in the tab resize stuff on Saturday (1/29), and it only affected
background tabs.
Comment 6•20 years ago
|
||
I've seen this happening as well. I will examine a few console logs over the
next few days to see if I can lend any further insight.
Otherwise, I'll shut up. Shutting up...
Comment 7•20 years ago
|
||
Pretty much the same as Jasper's log, but posting because of subtle differences
in 10.3.8 compared to 10.3.6.
*** Bug 280425 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 9•20 years ago
|
||
The scrollbar must be being blown away in the middle of the scroll. Maybe we
need to keep a ref around?
Comment 10•20 years ago
|
||
Yeah, this happens to me as well.
Assignee | ||
Comment 11•20 years ago
|
||
Comment 12•20 years ago
|
||
0 <<00000000>> 0x224e534c 0 + 0x224e534c
1 libwidget_mac.dylib 0x02cade24 -[NativeScrollbarView scroll:] + 0x3c
These are the top two lines of the stack trace. When you initialize a
NativeScrollBarView, it sets itself to receive events with this code:
539 // make ourselves the target of the scroll and set the action message
540 [self setTarget:self];
541 [self setAction:@selector(scroll:)];
The reason we get <<00000000>> for a function address is probably that events
are calling scroll: but the object is already gone and the selector never
resolves... I don't know much more about what is going on at the moment, but I
wanted to point out the code that is probably responsible for the slightly
confusing stack trace.
It seems the reason the testcase works is that when you hold onto the scrollbar
and start sending a chain of events to it, the scrollbar is getting wiped out
from underneath you when the page refreshes. The events can no longer resolves
the target function, and we crash...
Assignee | ||
Comment 13•20 years ago
|
||
As I suspected, the problem here is that the gecko nsNativeScrollbar is blown
away while we're in the middle of a [NSScroller trackKnob:] tracking loop.
Assignee: pinkerton → sfraser_bugs
Assignee | ||
Comment 14•20 years ago
|
||
Hrm, we might have to implement trackKnob: ourselves. I can't find a way to tell
NSScroller to kill the tracking loop (unless I fake a mouseup event or something).
Status: NEW → ASSIGNED
Assignee | ||
Comment 15•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #179668 -
Flags: superreview?(pinkerton)
Attachment #179668 -
Flags: review?(joshmoz)
Comment 16•20 years ago
|
||
Comment on attachment 179668 [details] [diff] [review]
Patch to break out of the tracking loop by posting a fake mouse up event
r=pink
Attachment #179668 -
Flags: review?(joshmoz) → review+
Updated•20 years ago
|
Attachment #179668 -
Flags: superreview?(pinkerton)
Attachment #179668 -
Flags: superreview+
Attachment #179668 -
Flags: review?(joshmoz)
Attachment #179668 -
Flags: review+
Assignee | ||
Comment 17•20 years ago
|
||
Throwing this over to cocoa widget to get approval (since it's outside
mozilla/camino)
Component: General → Widget: Mac
Flags: review?(joshmoz)
Product: Camino → Core
Target Milestone: Camino0.9 → mozilla1.8beta2
Version: unspecified → Trunk
Assignee | ||
Updated•20 years ago
|
Flags: blocking1.8b2?
Assignee | ||
Comment 18•20 years ago
|
||
I went ahead and checked this in, since it's Camino-only.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Flags: blocking1.8b2?
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•