Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on an initialized instance of a MojoShell on the embedder breaks iOS #1516

Closed
sethladd opened this issue Feb 2, 2016 · 11 comments
Labels
c: crash Stack traces logged to the console platform-ios iOS applications specifically

Comments

@sethladd
Copy link
Contributor

sethladd commented Feb 2, 2016

Just tried the latest game with the latest flutter engine. Got this error right after the game attempted to start. All I see on my ipod touch is a white screen.

screen shot 2016-02-01 at 4 45 36 pm

~/Code/game[master] $ flutter --version
Flutter from git@github.com:flutter/flutter.git (on master)
flutter revision: 3094348ad436fa4b7323a8afb4022867ad7fbe62 (37 minutes ago)
engine revision : 7bce54b79ef9ee57999cc8e258d664a88723d56d
@sethladd sethladd added c: crash Stack traces logged to the console platform-ios iOS applications specifically customer: game labels Feb 2, 2016
@sethladd
Copy link
Contributor Author

sethladd commented Feb 2, 2016

cc @vlidholt

@chinmaygarde
Copy link
Member

What does flutter logs say right before it crashes?

@sethladd
Copy link
Contributor Author

sethladd commented Feb 2, 2016

I'm running the game via xcode with the "play" button. Where can I see the logs? Or, should I also run flutter logs right after I press "play" ?

@eseidelGoogle
Copy link
Contributor

Would be useful if we had flutter version or some command dump more information about the attached devices. @devoncarew. In this case, I'm asking myself what version of iPod Touch this is, and is it 32-bit, for example. Filed #1519

@eseidelGoogle
Copy link
Contributor

I wonder if we should distribute Debug versions of the engine. It should be trivial to do that (particularly on our sparkely-new, totally-vaporware-but-definitely-not-overhyped infrastructure. :p) from a bot perspective, would just require some plumbing on the flutter tool side.

@chinmaygarde
Copy link
Member

I wonder if we should distribute Debug versions of the engine. It should be trivial to do that (particularly on our sparkely-new, totally-vaporware-but-definitely-not-overhyped infrastructure. :p) from a bot perspective, would just require some plumbing on the flutter tool side.

I will stop stripping the release the binary so we can get better stack traces for now

@sethladd
Copy link
Contributor Author

sethladd commented Feb 2, 2016

This was an engine/mojo issue, yes? From another email:

"The recent Mojo SDK roll seems to have added a dependency on an initialized instance of a MojoShell on the embedder. The MojoShell is only available on Android."

@sethladd sethladd changed the title Game fails to run on ipod touch Dependency on an initialized instance of a MojoShell on the embedder breaks iOS Feb 2, 2016
@chinmaygarde
Copy link
Member

Yes. I am investigating this now

@chinmaygarde
Copy link
Member

@sethladd
Copy link
Contributor Author

sethladd commented Feb 3, 2016

Thanks!!

TahaTesser pushed a commit to NevercodeHQ/flutter that referenced this issue Aug 13, 2020
* Modify loadUrl to allow headers

* Add test for headers

* pubspec and changelog

* fix analyze errors

* Add a test for webview headers

* analyze errors

* Add print to debug tests

* fix test
@github-actions
Copy link

github-actions bot commented Sep 6, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console platform-ios iOS applications specifically
Projects
None yet
Development

No branches or pull requests

3 participants