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

Trip search result activity freezes after returning from details view #669

Closed
ialokim opened this issue Mar 1, 2020 · 1 comment
Closed
Labels
bug 🐞 A functional defect or unexpected behavior. duplicate ➿ This ticket already exists.

Comments

@ialokim
Copy link
Collaborator

ialokim commented Mar 1, 2020

Describe the bug
On current master, the app freezes when returning from trip details view to search results. Happens with and without #664.

To Reproduce
Steps to reproduce the behavior:

  1. Search some trip
  2. Click on one of the results to see the journey details
  3. Return by tapping on the back button at the upper or lower left corner
  4. App freezes

adb logcat reports:

D/OpenGLRenderer( 3669): endAllStagingAnimators on 0x9fc41400 (RippleDrawable) with handle 0x9fd90850
I/InputDispatcher( 1541): Application is not responding: Window{dd65784 u0 de.grobox.liberario.debug/de.grobox.transportr.trips.search.DirectionsActivity}.  It has been 5005.8ms since event, 5005.5ms since wait started.  Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 49.  Wait queue head age: 5512.4ms.
I/WindowManager( 1541): Input event dispatching timed out sending to de.grobox.liberario.debug/de.grobox.transportr.trips.search.DirectionsActivity.  Reason: Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 49.  Wait queue head age: 5512.4ms.
I/Process ( 1541): Sending signal. PID: 3669 SIG: 3
I/art     ( 3669): Thread[3,tid=3676,WaitingInMainSignalCatcherLoop,Thread*=0xb3c26c00,peer=0x12c000a0,"Signal Catcher"]: reacting to signal 3
I/art     ( 3669): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1541): Sending signal. PID: 1541 SIG: 3
I/art     ( 1541): Thread[3,tid=1546,WaitingInMainSignalCatcherLoop,Thread*=0xb3c25c00,peer=0x12c020a0,"Signal Catcher"]: reacting to signal 3
I/art     ( 1541): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1541): Sending signal. PID: 1770 SIG: 3
I/art     ( 1770): Thread[3,tid=1779,WaitingInMainSignalCatcherLoop,Thread*=0xb3c26000,peer=0x12c000a0,"Signal Catcher"]: reacting to signal 3
I/art     ( 1770): Wrote stack traces to '/data/anr/traces.txt'
I/Process ( 1541): Sending signal. PID: 1670 SIG: 3
I/art     ( 1670): Thread[3,tid=1678,WaitingInMainSignalCatcherLoop,Thread*=0xb3c26000,peer=0x12c000a0,"Signal Catcher"]: reacting to signal 3
I/art     ( 1670): Wrote stack traces to '/data/anr/traces.txt'
W/AudioFlinger( 1160): write blocked for 41524 msecs, 4 delayed writes, thread 0xb58ac000
E/audio_hw_generic( 1160): Error opening input stream format 1, channel_mask 0010, sample_rate 16000
I/AudioFlinger( 1160): AudioFlinger's thread 0xb5938000 ready to run
W/AudioTrack( 1541): AUDIO_OUTPUT_FLAG_FAST denied by client
I/MicrophoneInputStream( 1979): mic_started gzi@55f44a
W/art     ( 1979): Long monitor contention event with owner method=int android.media.AudioRecord.native_setup(java.lang.Object, java.lang.Object, int, int, int, int, int[]) from AudioRecord.java:4294967294 waiters=0 for 879.313s
I/MicrophoneInputStream( 1979): mic_close gzi@55f44a
W/ConcurrentUtils( 1979): Task ThreadChanger: gwy.nE(String) took 879324ms, which is over the 300000ms threshold
I/HotwordRecognitionRnr( 1979): Hotword detection finished
I/HotwordRecognitionRnr( 1979): Stopping hotword detection.
E/ActivityManager( 1541): ANR in de.grobox.liberario.debug (de.grobox.liberario.debug/de.grobox.transportr.trips.search.DirectionsActivity)
E/ActivityManager( 1541): PID: 3669
E/ActivityManager( 1541): Reason: Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago.  Wait queue length: 49.  Wait queue head age: 5512.4ms.)
E/ActivityManager( 1541): Load: 0.24 / 0.19 / 0.31
E/ActivityManager( 1541): CPU usage from 3485ms to -1746ms ago:
E/ActivityManager( 1541):   7% 1541/system_server: 3.8% user + 3.2% kernel / faults: 3827 minor
E/ActivityManager( 1541):   0.3% 1156/debuggerd: 0% user + 0.2% kernel / faults: 863 minor
E/ActivityManager( 1541):   1.1% 1770/com.android.phone: 0% user + 1.1% kernel / faults: 1396 minor
E/ActivityManager( 1541):   0.7% 1670/com.android.systemui: 0.3% user + 0.3% kernel / faults: 883 minor
E/ActivityManager( 1541):   0.7% 3669/de.grobox.liberario.debug: 0.7% user + 0% kernel / faults: 1021 minor
E/ActivityManager( 1541):   0.1% 1154/adbd: 0% user + 0.1% kernel / faults: 84 minor
E/ActivityManager( 1541):   0.3% 3690/kworker/1:2: 0% user + 0.3% kernel
E/ActivityManager( 1541): 5.7% TOTAL: 2.7% user + 2.7% kernel + 0.2% iowait
E/ActivityManager( 1541): CPU usage from 1237ms to 1740ms later:
E/ActivityManager( 1541):   4% 1541/system_server: 4% user + 0% kernel / faults: 38 minor
E/ActivityManager( 1541):     4% 1554/GCDaemon: 4% user + 0% kernel
E/ActivityManager( 1541):     2% 1551/FinalizerDaemon: 0% user + 2% kernel
E/ActivityManager( 1541):     2% 1560/ActivityManager: 2% user + 0% kernel
E/ActivityManager( 1541): 1% TOTAL: 1% user + 0% kernel
I/OpenGLRenderer( 1541): Initialized EGL, version 1.4
D/EGL_emulation( 1541): eglCreateContext: 0xae62f160: maj 2 min 0 rcv 2
D/EGL_emulation( 1541): eglMakeCurrent: 0xae62f160: ver 2 0
D/EGL_emulation( 1541): eglMakeCurrent: 0xae62f160: ver 2 0
I/Choreographer( 1541): Skipped 31 frames!  The application may be doing too much work on its main thread.
W/ActivityManager( 1541): Activity destroy timeout for ActivityRecord{1348f833 u0 de.grobox.liberario.debug/de.grobox.transportr.trips.detail.TripDetailActivity t100 f}

Expected behavior
No app freeze.

Versions (please complete the following information):

  • Transportr Version: current master (does not happen on current published version 2.0.7)
  • Device: several emulators
  • Android Version: several (e.g. 5.1, 7.1.1)
@ialokim ialokim added the bug 🐞 A functional defect or unexpected behavior. label Mar 1, 2020
@ialokim
Copy link
Collaborator Author

ialokim commented Mar 1, 2020

Duplicate of #662 🙈

@ialokim ialokim closed this as completed Mar 1, 2020
@ialokim ialokim added the duplicate ➿ This ticket already exists. label Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 A functional defect or unexpected behavior. duplicate ➿ This ticket already exists.
Projects
None yet
Development

No branches or pull requests

1 participant