Closed Bug 1290419 Opened 8 years ago Closed 8 years ago

Increase in AMD-related bugs in 48.0b99 vs 48.0b10

Categories

(Core :: JavaScript Engine, defect)

48 Branch
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
platform-rel --- ?

People

(Reporter: marco, Unassigned)

References

Details

(Whiteboard: [platform-rel-AMD])

Attachments

(2 files)

Attached image Correlations (deleted) —
There's a higher percentage of crashes with AMD CPUs in Firefox 48.0b99 compared to 48.0b10 (see the attached image).

Mostly due to the signatures:
- js::FrameIter::functionDisplayAtom (bug 1290388);
- js::jit::EnterBaselineMethod (bug 1034706);
- nsGlobalWindow::SetTimeoutOrInterval (bug 1290418).
(In reply to Marco Castelluccio [:marco] (PTO until August 9) from comment #0)
> - js::jit::EnterBaselineMethod (bug 1034706);

Jan made a patch in Bug 1281759 to prevent us from generating too many branches in the same code sequence, if we are on AMD cpu.  Maybe we could backport this patch, and see if this fixes this issue.

(In reply to Marco Castelluccio [:marco] (PTO until August 9) from comment #0)
> - js::FrameIter::functionDisplayAtom (bug 1290388);
> - nsGlobalWindow::SetTimeoutOrInterval (bug 1290418).

If these are correlated with AMD cpu, then these are likely MSVC issues, and if I recall correctly, we are already compiling multiple times firefox binaries to avoid this AMD cpu issues by luck.

Maybe we have not done so for 48.0b99, or some code patterns are triggering this issue.
platform-rel: --- → ?
Whiteboard: [platform-rel-AMD]
Marco, are we still seeing this issue on 49 and newer?
Flags: needinfo?(mcastelluccio)
(In reply to Nicolas B. Pierron [:nbp] from comment #4)
> Marco, are we still seeing this issue on 49 and newer?

Unfortunately this is happening in specific builds, so it's hard to tell. I guess we can close it for now and reopen it if we see the pattern again (or just open a new bug when we see the pattern again).

(In reply to Nicolas B. Pierron [:nbp] from comment #3)
> If these are correlated with AMD cpu, then these are likely MSVC issues, and
> if I recall correctly, we are already compiling multiple times firefox
> binaries to avoid this AMD cpu issues by luck.

I asked around and it looks like we're not doing this. It might be worth to consider though. Something like this might also be useful for the Intel crashes that we've been seeing lately (bug 1296630).
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(mcastelluccio)
Resolution: --- → WONTFIX
(In reply to Marco Castelluccio [:marco] from comment #5)
> (In reply to Nicolas B. Pierron [:nbp] from comment #3)
> > If these are correlated with AMD cpu, then these are likely MSVC issues, and
> > if I recall correctly, we are already compiling multiple times firefox
> > binaries to avoid this AMD cpu issues by luck.
> 
> I asked around and it looks like we're not doing this. It might be worth to
> consider though. Something like this might also be useful for the Intel
> crashes that we've been seeing lately (bug 1296630).

From #jsapi http://logs.glob.uno/?c=mozilla%23jsapi#c802937:
> 
> nbp> RyanVM: I recall that we were compiling multiple versions of our release builds, in order to 
>      work-around CPU bugs produced by MSVC.
> 
> RyanVM> "sorta"
> RyanVM> yes, it wasn't unheard of to do a respin if we had a "bad" build
> RyanVM> we did that for the AMD crashers too for awhile
> RyanVM> i mean, it was basically "Ship an RC build, see if the crash is present on the Beta channel, > respin if yes"
> RyanVM> that was before the days of release promotion
(In reply to Nicolas B. Pierron [:nbp] from comment #6)
> (In reply to Marco Castelluccio [:marco] from comment #5)
> > (In reply to Nicolas B. Pierron [:nbp] from comment #3)
> > > If these are correlated with AMD cpu, then these are likely MSVC issues, and
> > > if I recall correctly, we are already compiling multiple times firefox
> > > binaries to avoid this AMD cpu issues by luck.
> > 
> > I asked around and it looks like we're not doing this. It might be worth to
> > consider though. Something like this might also be useful for the Intel
> > crashes that we've been seeing lately (bug 1296630).
> 
> From #jsapi http://logs.glob.uno/?c=mozilla%23jsapi#c802937:
> > 
> > nbp> RyanVM: I recall that we were compiling multiple versions of our release builds, in order to 
> >      work-around CPU bugs produced by MSVC.
> > 
> > RyanVM> "sorta"
> > RyanVM> yes, it wasn't unheard of to do a respin if we had a "bad" build
> > RyanVM> we did that for the AMD crashers too for awhile
> > RyanVM> i mean, it was basically "Ship an RC build, see if the crash is present on the Beta channel, > respin if yes"
> > RyanVM> that was before the days of release promotion

Yes, this is what we always do for any crash / problem, but we don't have an automated way to check if a build is affected by the AMD bug.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: