Closed Bug 980886 Opened 10 years ago Closed 7 years ago

Assertion failure: "MIR instruction returned value with unexpected type" when starting Firefox with soundcloud.com as pinned

Categories

(Core :: JavaScript Engine: JIT, defect, P3)

30 Branch
defect
Points:
8

Tracking

()

RESOLVED WORKSFORME
Tracking Status
platform-rel --- ?

People

(Reporter: ale160382, Unassigned)

Details

(Whiteboard: [platform-rel-Soundcloud])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140306030201

Steps to reproduce:

when starting up firefox with soundcloud pinned tab i get a strange behaviour see pic in order to use soundcloud i have to refresh page every time not  abig deal but very annoying!!!!!!!!!!!!!!!
screenshot : https://copy.com/xAmbcrMp09z4
i tried in safe mode same odd behaviour!!!!!!!!!!!!!
Group: core-security
Component: General → Untriaged
Product: Core → Firefox
Confirmed in nightly 30.0a1 (2014-03-09), Win 7 x64 if starting Firefox with soundcloud.com as pinned.
Status: UNCONFIRMED → NEW
Component: Untriaged → Tabbed Browser
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86 → All
Summary: starnge behavoiur on firefox startup → Error if starting Firefox with soundcloud.com as pinned
Flags: firefox-backlog+
Summary: Error if starting Firefox with soundcloud.com as pinned → Investigation - Error if starting Firefox with soundcloud.com as pinned
Whiteboard: p=8
Having https://soundcloud.com/explore open in an app tab, I can get Nightly to hang and crash shortly after startup. Will retry with a debug build and crash reporter.
Can't reproduce in debug builds, maybe they're too slow. Got a crash report with an opt/crashreporter build that doesn't help at all. Rebuilding with debug symbols.
Shortly before crashing I see:

Assertion failure: MIR instruction returned value with unexpected type, at js/src/jit/IonMacroAssembler.cpp:1274

Maybe that's the reason I can't get a proper stack trace.
Component: Tabbed Browser → JavaScript Engine: JIT
Product: Firefox → Core
Summary: Investigation - Error if starting Firefox with soundcloud.com as pinned → Assertion failure: "MIR instruction returned value with unexpected type" when starting Firefox with soundcloud.com as pinned
Hannes, can you look at this? It's not like soundcloud is only used by a handful of people, after all ...
Flags: needinfo?(hv1989)
Created bug 992535 for the GGC crash that started to show up at in Firefox 31 since two weeks ago.

Now I'll try to reproduce the "Assertion failure: MIR instruction returned value with unexpected type" one. Which is apparently already present since Firefox 30.
Flags: needinfo?(hv1989)
Over the weekend I tried to reproduce this issue but failed.

I got the builds from 9 March (since comment 0 and comment 1):
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-03-09-mozilla-central-debug/

I tried:
- linux 32bit (noflash)
- linux 64bit (with flash installed)

I just pinned the soundcloud.com/explore. Close the browser and started again. But no crash?

@Pauly, can you give me more information about the crash. Which version/platform you tested and what the steps are to reproduce. (Please also try if disabling flash interferes with this issue). Thanks
Flags: needinfo?(paul.silaghi)
(In reply to Hannes Verschore [:h4writer] from comment #7)
> I got the builds from 9 March (since comment 0 and comment 1):
> http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-03-09-mozilla-
> central-debug/

I could reproduce this on OS X opt builds, I couldn't with debug builds.
(In reply to Tim Taubert [:ttaubert] from comment #8)
> (In reply to Hannes Verschore [:h4writer] from comment #7)
> > I got the builds from 9 March (since comment 0 and comment 1):
> > http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-03-09-mozilla-
> > central-debug/
> 
> I could reproduce this on OS X opt builds, I couldn't with debug builds.

So you saw "Assertion failure: MIR instruction returned value with unexpected type" with a opt build? That would be very strange, since these assertions are only enabled on debug/debug+optimize builds. Can you still reproduce with a nightly from 2014-03-09 ?
Oh, it might have also been a debug+optimize build, I played around with a couple of build configs trying to get a stack trace. I can try doing the same again locally.
(In reply to Tim Taubert [:ttaubert] from comment #10)
> Oh, it might have also been a debug+optimize build, I played around with a
> couple of build configs trying to get a stack trace. I can try doing the
> same again locally.

A stacktrace won't give more information in this case. The assertion is throw in JIT-code, so nothing comprehensible will be on the stack to help to fix this.

I'm still trying to get to reproduce this.
1) Can you test if "disabling flash" makes a difference?
2) Is this a 32bit or a 64bit build
3) What are the steps to reproduce? Any more steps than pin http://soundcloud.com/explore. Close and re-open the browser? Any small step can make a difference. If you could just explain the exact steps you did?
(In reply to Hannes Verschore [:h4writer] from comment #11)
> A stacktrace won't give more information in this case. The assertion is
> throw in JIT-code, so nothing comprehensible will be on the stack to help to
> fix this.

Yeah, but I didn't know that it's a JIT-code assertion before I was digging deeper :)

> I'm still trying to get to reproduce this.
> 1) Can you test if "disabling flash" makes a difference?
> 2) Is this a 32bit or a 64bit build
> 3) What are the steps to reproduce? Any more steps than pin
> http://soundcloud.com/explore. Close and re-open the browser? Any small step
> can make a difference. If you could just explain the exact steps you did?

I will re-test all of that and report back.
I could just reproduce it again with a debug+opt build on OS X 64bit. Disabling Flash made no difference. I have a single window with three tabs:

1) soundcloud.com/explore (pinned)
2) golem.de (normal)
3) some image from imgur (normal, selected)

The session is automatically restored, i.e. "When Nightly starts: Show my windows and tabs from last time". I quit Firefox and then start it again and it crashes about every second time.

If there is anything I can do from here to debug this we can also team up on IRC if you like!
I can also reproduce it with only the pinned tab and about:home, so it doesn't seem to be caused by the non-soundcloud tabs.
(In reply to Hannes Verschore [:h4writer] from comment #7)
> @Pauly, can you give me more information about the crash. Which
> version/platform you tested and what the steps are to reproduce.
It seems I can no longer reproduce the issue, both on 30.0a1 (2014-03-09) and 31.0a1 (2014-04-06) normal builds, Win 7 x64.
Flags: needinfo?(paul.silaghi)
Ok I can reproduce also \0/ Thanks for the help and details about when it crashes!

The only strange part is that I can only let it crash with GGC builds. Which is strange, since the first report is on a non-ggc build.
Points: --- → 8
Whiteboard: p=8
I'd be surprised if this still reproduces, but we should check.
Priority: -- → P3
platform-rel: --- → ?
Whiteboard: [platform-rel-Soundcloud]
This does not reproduce for me. It is likely fixed in the years since it was reported.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: