Skip to content

Instantly share code, notes, and snippets.

@amalgamatedclyde
Created November 11, 2013 18:07
Show Gist options
  • Save amalgamatedclyde/7417537 to your computer and use it in GitHub Desktop.
Save amalgamatedclyde/7417537 to your computer and use it in GitHub Desktop.
why is the window dying
I/python (10499): Android kivy bootstrap done. __name__ is __main__
I/python (10499): Run user program, change dir and execute main.py
I/python (10499): [INFO ] Kivy v1.8.0-dev
I/python (10499): [INFO ] [Logger ] Record log in /data/data/org.test.myapp/files/.kivy/logs/kivy_13-11-11_4.txt
I/python (10499): [INFO ] [Factory ] 156 symbols loaded
I/python (10499): [DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s
I/python (10499): [DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones
I/python (10499): /data/data/org.test.myapp/files/lib/python2.7/site-packages/kivy/core/image/img_pygame.py:12: RuntimeWarning: import cdrom: No module named cdrom
I/python (10499): (ImportError: No module named cdrom)
I/python (10499): [INFO ] [Image ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif
I/python (10499): [DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s
I/python (10499): [DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s
I/python (10499): [DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones
I/python (10499): [INFO ] [Text ] Provider: pygame
I/python (10499): [DEBUG ] [Cache ] register <kv.loader> with limit=500, timeout=60s
I/python (10499): [INFO ] [Loader ] using a thread pool of 2 workers
I/python (10499): [DEBUG ] [Cache ] register <textinput.label> with limit=None, timeout=60.0s
I/python (10499): [DEBUG ] [Cache ] register <textinput.width> with limit=None, timeout=60.0s
I/python (10499): [DEBUG ] [Window ] Ignored <egl_rpi> (import error)
I/python (10499): [INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored)
I/python (10499): [DEBUG ] [WinPygame ] Set window to fullscreen mode
I/libSDL (10499): SDL_SetVideoMode(): application requested mode 1920x1104
I/python (10499): [DEBUG ] [Window ] Display driver android
I/python (10499): [DEBUG ] [Window ] Actual window size: 1920x1104
I/python (10499): [INFO ] [GL ] OpenGL version <OpenGL ES 3.0 [email protected] AU@ (CL@)>
I/python (10499): [INFO ] [GL ] OpenGL vendor <Qualcomm>
I/python (10499): [INFO ] [GL ] OpenGL renderer <Adreno (TM) 320>
I/python (10499): [INFO ] [GL ] OpenGL parsed version: 3, 0
I/python (10499): [INFO ] [GL ] Texture max size <4096>
I/python (10499): [INFO ] [GL ] Texture max units <16>
I/python (10499): [DEBUG ] [Shader ] Fragment compiled successfully
I/python (10499): [DEBUG ] [Shader ] Vertex compiled successfully
I/python (10499): [DEBUG ] [ImagePygame ] Load </data/data/org.test.myapp/files/lib/python2.7/site-packages/kivy/data/glsl/default.png>
I/python (10499): [INFO ] [Support ] Android install hooks
I/python (10499): [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
I/python (10499): [DEBUG ] [Atlas ] Load </data/data/org.test.myapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme.atlas>
I/python (10499): [DEBUG ] [Atlas ] Need to load 1 images
I/python (10499): [DEBUG ] [Atlas ] Load </data/data/org.test.myapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python (10499): [DEBUG ] [ImagePygame ] Load </data/data/org.test.myapp/files/lib/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>
I/python (10499): [DEBUG ] [App ] Loading kv <./main.kv>
I/python (10499): [DEBUG ] [App ] kv <./main.kv> not found
I/python (10499): [DEBUG ] [ImagePygame ] Load <kids/765-default-avatar.png>
I/python (10499): [INFO ] [GL ] NPOT texture support is available
I/python (10499): [INFO ] [OSC ] using <thread> for socket
I/python (10499): [DEBUG ] [Base ] Create provider from android
I/python (10499): [INFO ] [Base ] Start application main loop
I/python (10499): [INFO ] [Android ] found 17 joystick
I/python (10499): [INFO ] [Android ] create joystick <0>
I/python (10499): [INFO ] [Android ] discard joystick <0> cause no button
I/python (10499): [INFO ] [Android ] create joystick <1>
I/python (10499): [INFO ] [Android ] create joystick <2>
I/python (10499): [INFO ] [Android ] create joystick <3>
I/python (10499): [INFO ] [Android ] create joystick <4>
I/python (10499): [INFO ] [Android ] create joystick <5>
I/python (10499): [INFO ] [Android ] create joystick <6>
I/python (10499): [INFO ] [Android ] create joystick <7>
I/python (10499): [INFO ] [Android ] create joystick <8>
I/python (10499): [INFO ] [Android ] create joystick <9>
I/python (10499): [INFO ] [Android ] create joystick <10>
I/python (10499): [INFO ] [Android ] create joystick <11>
I/python (10499): [INFO ] [Android ] create joystick <12>
I/python (10499): [INFO ] [Android ] create joystick <13>
I/python (10499): [INFO ] [Android ] create joystick <14>
I/python (10499): [INFO ] [Android ] create joystick <15>
I/python (10499): [INFO ] [Android ] create joystick <16>
W/Adreno200-ES20(10499): <core_glTexSubImage2D:572>: GL_INVALID_OPERATION
I/python (10499): [DEBUG ] [ImagePygame ] Load <button1.png>
I/python (10499): [DEBUG ] [ImagePygame ] Load <report-icon.png>
D/audio_hw_primary( 179): out_standby: enter: usecase(1: low-latency-playback)
D/audio_hw_primary( 179): stop_output_stream: enter: usecase(1: low-latency-playback)
D/audio_hw_primary( 179): disable_audio_route: reset mixer path: low-latency-playback
D/audio_hw_primary( 179): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary( 179): stop_output_stream: exit: status(0)
D/audio_hw_primary( 179): out_standby: exit
W/SubtypeSwitcher(30897): Can't find Emoji subtype
W/SubtypeSwitcher(30897): No input method subtype found; return dummy subtype: android.view.inputmethod.InputMethodSubtype@d78b2ed0
W/ViewPager(30897): Requested offscreen page limit 0 too small; defaulting to 1
D/dalvikvm(30897): GC_FOR_ALLOC freed 5094K, 26% free 11250K/15124K, paused 30ms, total 30ms
I/dalvikvm-heap(30897): Grow heap (frag case) to 15.657MB for 4861456-byte allocation
D/dalvikvm(30897): GC_FOR_ALLOC freed 7K, 20% free 15990K/19872K, paused 28ms, total 28ms
D/dalvikvm(30897): GC_CONCURRENT freed 21K, 20% free 15968K/19872K, paused 3ms+4ms, total 42ms
D/audio_hw_primary( 179): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
D/audio_hw_primary( 179): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/audio_hw_primary( 179): enable_snd_device: sending audio calibration for snd_device(2) acdb_id(14)
D/ACDB-LOADER( 179): ACDB -> send_afe_cal
D/audio_hw_primary( 179): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary( 179): enable_audio_route: apply mixer path: low-latency-playback
D/audio_hw_primary( 179): start_output_stream: exit
D/dalvikvm(30897): GC_FOR_ALLOC freed 5449K, 30% free 10693K/15124K, paused 18ms, total 18ms
I/dalvikvm-heap(30897): Grow heap (frag case) to 15.113MB for 4861456-byte allocation
D/dalvikvm(30897): GC_FOR_ALLOC freed <1K, 23% free 15441K/19872K, paused 17ms, total 17ms
D/dalvikvm(30897): GC_CONCURRENT freed 40K, 23% free 15401K/19872K, paused 2ms+2ms, total 27ms
E/SpannableStringBuilder(10499): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
E/SpannableStringBuilder(10499): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
D/audio_hw_primary( 179): out_standby: enter: usecase(1: low-latency-playback)
D/audio_hw_primary( 179): stop_output_stream: enter: usecase(1: low-latency-playback)
D/audio_hw_primary( 179): disable_audio_route: reset mixer path: low-latency-playback
D/audio_hw_primary( 179): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary( 179): stop_output_stream: exit: status(0)
D/audio_hw_primary( 179): out_standby: exit
D/audio_hw_primary( 179): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
D/audio_hw_primary( 179): select_devices: out_snd_device(2: speaker) in_snd_device(0: none)
D/audio_hw_primary( 179): enable_snd_device: sending audio calibration for snd_device(2) acdb_id(14)
D/ACDB-LOADER( 179): ACDB -> send_afe_cal
D/audio_hw_primary( 179): enable_snd_device: snd_device(2: speaker)
D/audio_hw_primary( 179): enable_audio_route: apply mixer path: low-latency-playback
D/audio_hw_primary( 179): start_output_stream: exit
I/python (10499): [INFO ] [Base ] Leaving application in progress...
I/python (10499): Python for android ended.
I/AndroidRuntime(10499): VM exiting with result code 0, cleanup skipped.
I/ActivityManager( 509): Process org.test.myapp:python (pid 10499) has died.
I/WindowState( 509): WIN DEATH: Window{42cce230 u0 org.test.myapp/org.renpy.android.PythonActivity}
W/ActivityManager( 509): Force removing ActivityRecord{428398b8 u0 org.test.myapp/org.renpy.android.PythonActivity}: app died, no saved state
W/WindowManager( 509): Force-removing child win Window{43e90458 u0 SurfaceView} from container Window{42cce230 u0 org.test.myapp/org.renpy.android.PythonActivity}
W/WindowManager( 509): Failed looking up window
W/WindowManager( 509): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@42bf7d40 does not exist
W/WindowManager( 509): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7630)
W/WindowManager( 509): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7621)
W/WindowManager( 509): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1000)
W/WindowManager( 509): at android.os.BinderProxy.sendDeathNotice(Binder.java:470)
W/WindowManager( 509): at dalvik.system.NativeStart.run(Native Method)
I/WindowState( 509): WIN DEATH: null
W/InputMethodManagerService( 509): Got RemoteException sending setActive(false) notification to pid 10499 uid 10071
D/audio_hw_primary( 179): out_standby: enter: usecase(1: low-latency-playback)
D/audio_hw_primary( 179): stop_output_stream: enter: usecase(1: low-latency-playback)
D/audio_hw_primary( 179): disable_audio_route: reset mixer path: low-latency-playback
D/audio_hw_primary( 179): disable_snd_device: snd_device(2: speaker)
D/audio_hw_primary( 179): stop_output_stream: exit: status(0)
D/audio_hw_primary( 179): out_standby: exit
I/PowerManagerService( 509): Going to sleep due to screen timeout...
D/SurfaceFlinger( 176): Screen released, type=0 flinger=0xb701e478
D/dalvikvm( 509): GC_FOR_ALLOC freed 3161K, 36% free 27965K/43572K, paused 73ms, total 73ms
D/audio_hw_primary( 179): adev_set_parameters: enter: screen_state=off
D/audio_hw_primary( 179): adev_set_parameters: exit with code(-2)
D/SurfaceControl( 509): Excessive delay in blankDisplay() while turning screen off: 276ms
D/NfcService( 792): NFC-C OFF
V/KeyguardHostView( 509): hide transport, gen:14
V/KeyguardHostView( 509): music state changed: 0
D/PhoneStatusBar( 591): disable: < expand icons alerts ticker system_info back home RECENT* clock search >
V/TAG ( 509): bug 7643792: fitSystemWindows([0,50][0,0])
D/PhoneStatusBar( 591): disable: < expand icons alerts ticker system_info BACK* HOME* RECENT CLOCK* search >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment