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

Look up ICU symbols based on the path to libflutter.so as a fallback #8139

Merged
merged 1 commit into from
Mar 13, 2019

Conversation

jason-simmons
Copy link
Member

The ICU data is packaged within libflutter.so, and the engine uses
dlsym(RTLD_DEFAULT) to look up the ICU data symbols in the libraries
loaded by the process.

This approach apparently fails on some Xiaomi devices. If RTLD_DEFAULT
can not find the symbols, then the platform will pass the path to the
libflutter.so library so the engine can use that to resolve the symbols.

Fixes flutter/flutter#28208

The ICU data is packaged within libflutter.so, and the engine uses
dlsym(RTLD_DEFAULT) to look up the ICU data symbols in the libraries
loaded by the process.

This approach apparently fails on some Xiaomi devices.  If RTLD_DEFAULT
can not find the symbols, then the platform will pass the path to the
libflutter.so library so the engine can use that to resolve the symbols.

Fixes flutter/flutter#28208
@jason-simmons jason-simmons merged commit 9f50dae into flutter:master Mar 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 13, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 13, 2019
willlarche pushed a commit to flutter/flutter that referenced this pull request Mar 13, 2019
* 59715b7 Disable build_ios task due to lack of credits. (flutter/engine#8150)

* 9f50dae Look up ICU symbols based on the path to libflutter.so as a fallback (flutter/engine#8139)

* 8b1a299 [Skia] Rollback Skia to 29d5dec9a0783a033b921dc483fb98d565d684f6 (flutter/engine#8151)

* 8be2aca Roll src/third_party/dart 1bd36d694d..674fd0e060 (48 commits) #8152

* 2e42703 Revert "Disable build_ios task due to lack of credits. (#8150)" (flutter/engine#8153)

* 2daebeb Fix text.dart height docs (flutter/engine#8079)

* b1b388f Encode scroll motion events in the Android touch processor (flutter/engine#8149)
GaryQian added a commit to flutter/flutter that referenced this pull request Mar 14, 2019
…stead. (#29330)

* Revert "Roll engine 31b289f..b1b388f (7 commits) (#29323)"

This reverts commit 58ac128.

Also rolls:
8b1a299 [Skia] Rollback Skia to 29d5dec9a0783a033b921dc483fb98d565d684f6 (flutter/engine#8151)
9f50dae Look up ICU symbols based on the path to libflutter.so as a fallback (flutter/engine#8139)
59715b7 Disable build_ios task due to lack of credits. (flutter/engine#8150)
RBogie pushed a commit to RBogie/flutter-engine that referenced this pull request Apr 8, 2019
…lutter#8139)

The ICU data is packaged within libflutter.so, and the engine uses
dlsym(RTLD_DEFAULT) to look up the ICU data symbols in the libraries
loaded by the process.

This approach apparently fails on some Xiaomi devices.  If RTLD_DEFAULT
can not find the symbols, then the platform will pass the path to the
libflutter.so library so the engine can use that to resolve the symbols.

Fixes flutter/flutter#28208
RBogie added a commit to RBogie/flutter-engine that referenced this pull request Apr 8, 2019
RBogie added a commit to RBogie/flutter-engine that referenced this pull request Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dev1.2.1,part of miui mobile crashed
3 participants