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

Firefox crash on Android (arm7hf) due to "CompositorBridgeChild receives IPC close" #2152

Open
dr1408 opened this issue Jan 18, 2024 · 12 comments

Comments

@dr1408
Copy link

dr1408 commented Jan 18, 2024

Im using tool to enter whatsapp through web whatsapp .. im using termux with gecko 0.33 selenium 4.9.1 and xfce to export display to vncviewer

Whenever i try to enter any conversation in firefox it crash immediately here is the gecko log :

Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=80.6358) Exiting due to channel error.
Exiting due to channel error.
1705551185835 geckodriver INFO Listening on 127.0.0.1:39869
1705551195254 mozrunner::runner INFO Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" MOZ_NO_REMOTE="1" "/dat ... 46607" "--remote-allow-hosts" "localhost" "-no-remote" "-profile" "/data/data/com.termux/files/>
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
console.warn: services.settings: Ignoring preference override of remote settings server
console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
Read port: 39865
1705551197478 Marionette INFO Marionette enabled
Read port: 39865
Read port: 39865
1705551197732 Marionette INFO Listening on port 36577
Read port: 36577
WebDriver BiDi listening on ws://127.0.0.1:46607
1705551198233 RemoteAgent WARN TLS certificate errors will be ignored for this session
console.error: ({})
console.error: "Translations: SIMD not supported" (new CompileError("at offset 15: bad type", "chrome://global/content/translations/simd-detect-worker.js", 14))
DevTools listening on ws://127.0.0.1:46607/devtools/browser/a45657dd-1c54-44ff-ba84-056b9b8dd960
JavaScript warning: https://web.whatsapp.com/main.0cf917fc9b3d8f353e54.js, line 5: unreachable code after return statement
JavaScript warning: https://web.whatsapp.com/main.0cf917fc9b3d8f353e54.js, line 5: unreachable code after return statement
JavaScript error: resource://gre/modules/PromiseWorker.sys.mjs, line 102: Error: Could not get children of file(/data/data/com.termux/files/usr/tmp/rust_mozprofileSvOYg0/thumbnails) because it does not exist
Exiting due to channel error.
Exiting due to channel error.

@whimboo
Copy link
Collaborator

whimboo commented Jan 18, 2024

Can you please follow the step on https://firefox-source-docs.mozilla.org/testing/geckodriver/CrashReports.html to retrieve the crash report? Thanks.

@dr1408
Copy link
Author

dr1408 commented Jan 18, 2024

Im begginer i dont know how to do that but i forgot to mention its ARM7hf phone .. i see people posting issues with java script error too

@whimboo
Copy link
Collaborator

whimboo commented Jan 19, 2024

Ok, so for running that code on Android you could add a env capability under moz:firefoxOptions which should list the mentioned environment variable name. It's value should point to a folder on the Android phone that is write-able by any process eg. the download folder. When you ran the test check that folder if there is a minidump file located. If yes, proceed as described in the documentation.

@whimboo whimboo changed the title Firefox crash Firefox crash on Android (arm7hf) due to "CompositorBridgeChild receives IPC close" Jan 19, 2024
@dr1408
Copy link
Author

dr1408 commented Jan 19, 2024

Can it be port related cause the port I use in the tool that I'm running is different than the port used to connect to the vnc ?

@whimboo
Copy link
Collaborator

whimboo commented Jan 19, 2024

Lets try to get the crash report here. I really cannot say what might cause it, sorry.

@dr1408
Copy link
Author

dr1408 commented Jan 19, 2024

Ok i will try to grab the reports sir appreciate your help

@dr1408
Copy link
Author

dr1408 commented Jan 19, 2024

So when i run test to it shows no test ran and collected items =0

@dr1408
Copy link
Author

dr1408 commented Jan 19, 2024

Ahould the port i use in the tool match the port that geckodriver listen on ? Is the geckodriver from tur-repo compatible with arm7 ?

@dr1408
Copy link
Author

dr1408 commented Jan 21, 2024

Any help sir or can you send me inbox message i been in this issue for 3 weeks with no fix

@whimboo
Copy link
Collaborator

whimboo commented Jan 22, 2024

@dr1408 I don't know what the tur-repo repository is. But it feels that we getting away from the real problem this issue is about. If you have a problem with geckodriver as well maybe you could check the build for geckodriver 0.33.0 from https://github.com/jamesmortensen/geckodriver-arm-binaries/releases? Does that one work better?

@whimboo
Copy link
Collaborator

whimboo commented Jan 30, 2024

@dr1408 do you have an update for us? Thanks.

@whimboo
Copy link
Collaborator

whimboo commented Feb 12, 2024

Closing issue for now due to lack of response from reporter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants