App crash on first install sdk 2.6.1
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- Over a week
- Newbie friendliness
- 18/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- mobile-dev
Research direction
The crash comes from EGL surface creation in the encoder library: start at SurfaceManager.eglSetup in the encoder module and GlStreamInterface.start, the calls the stack trace shows. Reproducing needs an Android device or emulator where the app is installed fresh and the stream is started, which the reporter's app code does not show. Done would mean a first-install start that no longer throws eglCreateWindowSurface error 12296, confirmed on a device.
Written by the indexing model from the issue text.
Description
Describe the bug
When we install app first time then calling start stream app crashed
error logs -
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=12223, result=-1, data=Intent { (has extras) }} to activity {com.abc.zyx/com.abc.zyx.RecorderEventActivity}: java.lang.RuntimeException: eglCreateWindowSurface. EGL error: 12296
at android.app.ActivityThread.deliverResults(ActivityThread.java:5009)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5050)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7660)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.RuntimeException: eglCreateWindowSurface. EGL error: 12296
at com.pedro.encoder.utils.gl.GlUtil.checkEglError(GlUtil.java:139)
at com.pedro.encoder.input.gl.SurfaceManager.eglSetup(SurfaceManager.java:161)
at com.pedro.encoder.input.gl.SurfaceManager.eglSetup(SurfaceManager.java:171)
at com.pedro.library.view.GlStreamInterface.start(GlStreamInterface.kt:177)
at com.pedro.library.base.StreamBase.startSources(StreamBase.kt:474)
at com.pedro.library.base.StreamBase.startStream(StreamBase.kt:188)
at com.abc.zyx.CustomMultiStream.startStream(CustomMultiStream.kt:149)
at com.abc.zyx.DisplayService.startStreamRtp(DisplayService.kt:282)
Code line -- if (shouldStarEncoder) super.startStream("")
- Dominant language
- Kotlin
- Stars
- 3k
- Forks
- 946
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 9
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pedroSG94/RootEncoder
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
pedroSG94/RootEncoder#2213 ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
pedroSG94/RootEncoder#2207 · 1 reaction ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pedroSG94/RootEncoder#2203 ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
pedroSG94/RootEncoder#2192 · 2 comments ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pedroSG94/RootEncoder#2177 · 44 comments ·
Maintainers usually reply within 2 days
All issues in pedroSG94/RootEncoder
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
rustyrazorblade/easy-db-lab#1017 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
callstack/react-native-brownfield#492 · 1 comment ·
Maintainers usually reply within 4 days
-
fix: retain the best partial noise-correction solutionPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
world-federation-of-advertisers/cross-media-measurement#4653 ·
Maintainers usually reply within 1 day