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

Flaky NavigationViewOrientationTest #1209

Closed
Guardiola31337 opened this issue Aug 13, 2018 · 6 comments · Fixed by #1548
Closed

Flaky NavigationViewOrientationTest #1209

Guardiola31337 opened this issue Aug 13, 2018 · 6 comments · Fixed by #1548
Labels
bug Defect to be fixed.

Comments

@Guardiola31337
Copy link
Contributor

Guardiola31337 commented Aug 13, 2018

Re-edited:

Original issue is still reproducible 👀 #1209 (comment)

✅ Addressed in #1247

Found 👇 during CI Instrumentation Tests

com.mapbox.mapboxsdk.style.sources.CannotAddSourceException: Source mapbox-location-source already exists
at com.mapbox.mapboxsdk.maps.NativeMapView.nativeAddSource(Native Method)
at com.mapbox.mapboxsdk.maps.NativeMapView.addSource(NativeMapView.java:772)
at com.mapbox.mapboxsdk.maps.MapboxMap.addSource(MapboxMap.java:419)
at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayer.addLocationSource(LocationLayer.java:323)
at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayer.initializeComponents(LocationLayer.java:108)
at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayer.<init>(LocationLayer.java:103)
at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin.initialize(LocationLayerPlugin.java:687)
at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin.<init>(LocationLayerPlugin.java:184)
at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin.<init>(LocationLayerPlugin.java:164)
at com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap.initializeLocationLayer(NavigationMapboxMap.java:179)
at com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap.<init>(NavigationMapboxMap.java:71)
at com.mapbox.services.android.navigation.ui.v5.NavigationView.initializeNavigationMap(NavigationView.java:258)
at com.mapbox.services.android.navigation.ui.v5.NavigationView.onMapReady(NavigationView.java:202)
at com.mapbox.mapboxsdk.maps.MapView.getMapAsync(MapView.java:665)
at com.mapbox.services.android.navigation.ui.v5.NavigationView.initialize(NavigationView.java:376)
at testapp.utils.OnNavigationReadyIdlingResource.onResponse(OnNavigationReadyIdlingResource.java:74)
at com.mapbox.api.directions.v5.MapboxDirections$1.onResponse(MapboxDirections.java:169)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:70)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.support.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:148)
at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:462)
at android.support.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:384)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:268)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:265)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6938)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

It seems that we're suffering from an occasional race condition in OnNavigationReadyIdlingResource when fetching the route and initializing NavigationView in TestNavigationActivity and navigationView.initialize is called twice somehow causing the CannotAddSourceException crash.

Noting that I saw the error coming from both tests in NavigationViewOrientationTest (onOrientationLandscape_navigationContinuesRunning and onOrientationPortrait_navigationContinuesRunning) and only in Firebase Test Lab.

For context, these tests were introduced in #1179

@Guardiola31337 Guardiola31337 added bug Defect to be fixed. tests labels Aug 13, 2018
@Guardiola31337
Copy link
Contributor Author

Run into the following SocketTimeoutException during CI Instrumentation Tests - thrown because there was a failure when requesting Mapbox Directions API

java.lang.RuntimeException: java.net.SocketTimeoutException: timeout
at testapp.utils.OnNavigationReadyIdlingResource.onFailure(OnNavigationReadyIdlingResource.java:79)
at com.mapbox.api.directions.v5.MapboxDirections$1.onFailure(MapboxDirections.java:176)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$2.run(ExecutorCallAdapterFactory.java:79)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.support.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:148)
at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:462)
at android.support.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:384)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:268)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:265)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: java.net.SocketTimeoutException: timeout
at okio.Okio$4.newTimeoutException(Okio.java:232)
at okio.AsyncTimeout.exit(AsyncTimeout.java:275)
at okio.AsyncTimeout$2.read(AsyncTimeout.java:243)
at okio.RealBufferedSource.indexOf(RealBufferedSource.java:355)
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:227)
at okhttp3.internal.http1.Http1Codec.readHeaderLine(Http1Codec.java:215)
at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:147)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)

@Guardiola31337
Copy link
Contributor Author

Run into a new crash when requesting Mapbox Directions API during CI Instrumentation Tests

java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: Handshake failed
at testapp.utils.OnNavigationReadyIdlingResource.onFailure(OnNavigationReadyIdlingResource.java:79)
at com.mapbox.api.directions.v5.MapboxDirections$1.onFailure(MapboxDirections.java:176)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$2.run(ExecutorCallAdapterFactory.java:79)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.support.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:148)
at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:462)
at android.support.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:384)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:268)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:265)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
Caused by: javax.net.ssl.SSLHandshakeException: Handshake failed
at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:423)
at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:318)
at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:282)
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:167)
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257)
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135)
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:147)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x780dcf1200: Failure in SSL library, usually a protocol error
error:100000df:SSL routines:OPENSSL_internal:UNEXPECTED_MESSAGE (external/boringssl/src/ssl/handshake_client.c:1185 0x781a5b464b:0x00000000)
at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:351)
... 23 more

@Guardiola31337
Copy link
Contributor Author

Run into a new crash during CI Instrumentation Tests

java.lang.RuntimeException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
Root{application-window-token=android.view.ViewRootImpl$W@8b55910, window-token=android.view.ViewRootImpl$W@8b55910, has-window-focus=false, layout-params-type=1, layout-params-string=WM.LayoutParams{(0,0)(fillxfill) sim=#100 ty=1 fl=#81810100 pfl=0x20000 wanim=0x1030465 needsMenuKey=2 naviIconColor=0}, decor-view-string=DecorView{id=-1, visibility=VISIBLE, width=1920, height=1080, has-focus=true, has-focusable=true, has-window-focus=false, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=WM.LayoutParams{(0,0)(fillxfill) sim=#100 ty=1 fl=#81810100 pfl=0x20000 wanim=0x1030465 needsMenuKey=2 naviIconColor=0}, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2}}
at android.support.test.espresso.base.RootViewPicker.waitForRootToBeReady(RootViewPicker.java:105)
at android.support.test.espresso.base.RootViewPicker.pickRootView(RootViewPicker.java:142)
at android.support.test.espresso.base.RootViewPicker.get(RootViewPicker.java:86)
at android.support.test.espresso.ViewInteractionModule.provideRootView(ViewInteractionModule.java:77)
at android.support.test.espresso.ViewInteractionModule_ProvideRootViewFactory.proxyProvideRootView(ViewInteractionModule_ProvideRootViewFactory.java:35)
at android.support.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:24)
at android.support.test.espresso.ViewInteractionModule_ProvideRootViewFactory.get(ViewInteractionModule_ProvideRootViewFactory.java:10)
at android.support.test.espresso.base.ViewFinderImpl.getView(ViewFinderImpl.java:62)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:273)
at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:265)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6692)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)

@danesfeder
Copy link
Contributor

@Guardiola31337 would it make sense to store a "backup" route JSON to be used in cases where the Directions API fails for whatever reason?

@Guardiola31337
Copy link
Contributor Author

@danesfeder

would it make sense to store a "backup" route JSON to be used in cases where the Directions API fails for whatever reason?

That's a great idea and would solve the issue but have we considered using always a TestDouble here? Ultimately, the Instrumentation Tests are not meant for testing the integration with a server side API because that translates to tests that have a large scope and are prone to failure / non-deterministic / flaky (👀 FIRST concretely the Repeatable principle although this also affects the Fast one because making the request to the network is obviously slower). In general, when writing tests we need to constantly consider / be careful with their scope i.e. how much code we're exercising in a single test that's why I believe this change would make these tests more robust and improve their overall quality greatly. What do you think?

BTW we should definitely add a different test suite for testing API integrations (using MockWebServer for example) although that's another discussion.

@Guardiola31337
Copy link
Contributor Author

Cross posting from #1241 (comment)

Run into 👇 during CI Instrumentation Tests

09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): Exception in MapView.OnMapChangedListener
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): com.mapbox.mapboxsdk.style.sources.CannotAddSourceException: Source mapbox-location-source already exists
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.maps.NativeMapView.nativeAddSource(Native Method)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.maps.NativeMapView.addSource(NativeMapView.java:782)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.maps.MapboxMap.addSource(MapboxMap.java:428)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayer.addLocationSource(LocationLayer.java:246)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayer.initializeComponents(LocationLayer.java:86)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayer.<init>(LocationLayer.java:81)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin.initialize(LocationLayerPlugin.java:770)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin.<init>(LocationLayerPlugin.java:226)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin.<init>(LocationLayerPlugin.java:206)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap.initializeLocationLayer(NavigationMapboxMap.java:408)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.services.android.navigation.ui.v5.map.NavigationMapboxMap.<init>(NavigationMapboxMap.java:92)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.services.android.navigation.ui.v5.NavigationView.initializeNavigationMap(NavigationView.java:265)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.services.android.navigation.ui.v5.NavigationView.onMapReady(NavigationView.java:208)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.maps.MapView$MapCallback.onMapReady(MapView.java:1235)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.maps.MapView$MapCallback.onMapChanged(MapView.java:1220)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.mapbox.mapboxsdk.maps.NativeMapView.onMapChanged(NativeMapView.java:911)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.os.MessageQueue.nativePollOnce(Native Method)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.os.MessageQueue.next(MessageQueue.java:325)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at java.lang.reflect.Method.invoke(Native Method)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.support.test.espresso.base.Interrogator.getNextMessage(Interrogator.java:199)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.support.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:140)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:462)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.support.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:384)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:268)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.support.test.espresso.ViewInteraction$2.call(ViewInteraction.java:265)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.os.Handler.handleCallback(Handler.java:789)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.os.Handler.dispatchMessage(Handler.java:98)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.os.Looper.loop(Looper.java:164)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at android.app.ActivityThread.main(ActivityThread.java:6541)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at java.lang.reflect.Method.invoke(Native Method)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
09-10 00:19:55.808: E/Mbgl-NativeMapView(9685): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
09-10 00:19:55.820: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:55.821: I/chatty(9130): uid=10040(u0_a40) AsyncTask #1 identical 1 line
09-10 00:19:55.822: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:55.841: I/TTS(10225): Creating Google TTS service, version 3.14.12
09-10 00:19:55.848: I/TTS(10225): Loading library tts_android_neon
09-10 00:19:55.853: I/Icing(8925): Post-init done
09-10 00:19:55.907: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:55.918: I/dex2oat(10248): /system/bin/dex2oat --dex-file=/data/data/com.google.android.googlequicksearchbox/files/velour/verified_jars/JxbdCNCcyvM5PJutYFWEdDQ_1.jar --output-vdex-fd=89 --oat-fd=90 --oat-location=/data/data/com.google.android.googlequicksearchbox/files/velour/verified_jars/oat/arm64/JxbdCNCcyvM5PJutYFWEdDQ_1.odex --compiler-filter=quicken
09-10 00:19:55.918: I/dex2oat(10248): --------- beginning of crash
09-10 00:19:55.925: A/libc(9685): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x6f66200c3e092f in tid 9685 (igation.testapp)
09-10 00:19:55.937: I/zygote64(8889): Compiler allocated 5MB to compile void blcl.a(java.lang.Object, bleo)
09-10 00:19:55.947: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:55.984: I/RequestAddCookies(9130): Cookie store not available in HTTP context
09-10 00:19:56.023: I/crash_dump64(10295): obtaining output fd from tombstoned
09-10 00:19:56.024: I//system/bin/tombstoned(690): received crash request for pid 9685
09-10 00:19:56.024: I/crash_dump64(10295): performing dump of process 9685 (target tid = 9685)
09-10 00:19:56.025: A/DEBUG(10295): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-10 00:19:56.025: A/DEBUG(10295): Build fingerprint: 'google/sailfish/sailfish:8.0.0/OPR3.170623.013/4397526:user/release-keys'
09-10 00:19:56.025: A/DEBUG(10295): Revision: '0'
09-10 00:19:56.025: A/DEBUG(10295): ABI: 'arm64'
09-10 00:19:56.025: A/DEBUG(10295): pid: 9685, tid: 9685, name: igation.testapp  >>> com.mapbox.services.android.navigation.testapp <<<
09-10 00:19:56.025: A/DEBUG(10295): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6f66200c3e092f
09-10 00:19:56.025: A/DEBUG(10295):     x0   0000000000000000  x1   00000070a4ad5900  x2   0000000000000000  x3   00000070a490f41a
09-10 00:19:56.025: A/DEBUG(10295):     x4   0000007ff19d53a0  x5   00000070a4a0d688  x6   0000007088740400  x7   00000070a4ae65a0
09-10 00:19:56.025: A/DEBUG(10295):     x8   000000708bf79380  x9   726f66200c3e0927  x10  00000070a4ad5900  x11  0000000000000005
09-10 00:19:56.025: A/DEBUG(10295):     x12  27bc47bf3fe516d3  x13  0000007088856aa0  x14  00000000ffffffff  x15  0000000000056a80
09-10 00:19:56.025: A/DEBUG(10295):     x16  000000708b9eb768  x17  00000070a7fc8d1c  x18  0000000000000000  x19  000000708899f530
09-10 00:19:56.025: A/DEBUG(10295):     x20  00000070a9256a48  x21  00000070a9256a48  x22  00000070888ce1e0  x23  000000708849258c
09-10 00:19:56.025: A/DEBUG(10295):     x24  00000070a9256a48  x25  0000000000000000  x26  0000000000000000  x27  0000000000000001
09-10 00:19:56.025: A/DEBUG(10295):     x28  0000000000000026  x29  0000007ff19d5530  x30  000000708b659f5c
09-10 00:19:56.025: A/DEBUG(10295):     sp   0000007ff19d5460  pc   000000708b659f64  pstate 0000000060000000
09-10 00:19:56.026: D/VoldConnector(874): SND -> {20 volume mkdirs /storage/emulated/0/Android/data/com.google.android.tts/files/download_cache/}
09-10 00:19:56.028: D/VoldConnector(874): RCV <- {200 20 Command succeeded}
09-10 00:19:56.037: I/ResponseProcessCookies(9130): Cookie store not available in HTTP context
09-10 00:19:56.075: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:56.075: I/chatty(9130): uid=10040(u0_a40) AsyncTask #1 identical 1 line
09-10 00:19:56.077: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:56.090: I/TTS(10225): Voice download for es-us-x-sfb-lstm-embedded dispatched
09-10 00:19:56.090: W/TTS(10225): There is no local voice that can handle this request.
09-10 00:19:56.091: W/TTS(10225): Could not find voice for es
09-10 00:19:56.100: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:56.102: D/DownloadManager(8681): [59] Starting
09-10 00:19:56.120: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:56.217: I/chatty(9130): uid=10040(u0_a40) AsyncTask #1 identical 13 lines
09-10 00:19:56.217: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:56.219: D/NetworkSecurityConfig(8681): No Network Security Config specified, using platform default
09-10 00:19:56.295: W/ProxyAndroidLoggerBackend(9130): Too many Flogger logs received before configuration. Dropping old logs.
09-10 00:19:56.301: A/DEBUG(10295): backtrace:
09-10 00:19:56.301: A/DEBUG(10295):     #00 pc 000000000017df64  /data/app/com.mapbox.services.android.navigation.testapp--OoIvEZudEkUF068uedRmg==/lib/arm64/libmapbox-gl.so
09-10 00:19:56.301: A/DEBUG(10295):     #01 pc 000000000017eb6c  /data/app/com.mapbox.services.android.navigation.testapp--OoIvEZudEkUF068uedRmg==/lib/arm64/libmapbox-gl.so
09-10 00:19:56.301: A/DEBUG(10295):     #02 pc 000000000009f278  /data/app/com.mapbox.services.android.navigation.testapp--OoIvEZudEkUF068uedRmg==/lib/arm64/libmapbox-gl.so
09-10 00:19:56.301: A/DEBUG(10295):     #03 pc 000000000004730c  /data/app/com.mapbox.services.android.navigation.testapp--OoIvEZudEkUF068uedRmg==/lib/arm64/libmapbox-gl.so
09-10 00:19:56.301: A/DEBUG(10295):     #04 pc 00000000000474b8  /data/app/com.mapbox.services.android.navigation.testapp--OoIvEZudEkUF068uedRmg==/lib/arm64/libmapbox-gl.so
09-10 00:19:56.301: A/DEBUG(10295):     #05 pc 0000000000044b28  /data/app/com.mapbox.services.android.navigation.testapp--OoIvEZudEkUF068uedRmg==/lib/arm64/libmapbox-gl.so
09-10 00:19:56.301: A/DEBUG(10295):     #06 pc 0000000000015f1c  /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+808)
09-10 00:19:56.301: A/DEBUG(10295):     #07 pc 0000000000015b6c  /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+108)
09-10 00:19:56.301: A/DEBUG(10295):     #08 pc 0000000000110e6c  /system/lib64/libandroid_runtime.so (_ZN7androidL38android_os_MessageQueue_nativePollOnceEP7_JNIEnvP8_jobjectli+44)
09-10 00:19:56.301: A/DEBUG(10295):     #09 pc 00000000007ce3ac  /system/framework/arm64/boot-framework.oat (offset 0x5ea000) (android.app.NativeActivity.onWindowFocusChangedNative [DEDUPED]+140)
09-10 00:19:56.301: A/DEBUG(10295):     #10 pc 000000000002c598  /dev/ashmem/dalvik-jit-code-cache (deleted)

It seems that #1247 didn't solve OP. We should keep 🕵️

Going to re-edit OP to reflect ☝️

cc @danesfeder

Guardiola31337 added a commit that referenced this issue Sep 27, 2018
Guardiola31337 added a commit that referenced this issue Sep 27, 2018
… of their flakiness (#1209) and make them more robust
Guardiola31337 added a commit that referenced this issue Sep 27, 2018
… of their flakiness (#1209) and make them more robust (#1331)
Guardiola31337 added a commit that referenced this issue Sep 27, 2018
… of their flakiness (#1209) and make them more robust (#1331)
Guardiola31337 added a commit that referenced this issue Sep 27, 2018
… of their flakiness (#1209) and make them more robust (#1331) (#1332)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defect to be fixed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants