About Store Forum Documentation Contact



Post Reply 
[Android] Bug Kindle Fire
Author Message
cmontiel Offline
Member

Post: #16
RE: [Android] Bug Kindle Fire
The crash is because application stops responding.

Quote:06-05 23:25:56.023: D/dalvikvm(4150): GC_CONCURRENT freed 385K, 51% free 2900K/5895K, external 847K/1181K, paused 2ms+1ms
06-05 23:26:13.976: D/dalvikvm(1387): GC_CONCURRENT freed 1997K, 63% free 5939K/15751K, external 5695K/7112K, paused 2ms+4ms
06-05 23:26:15.187: D/dalvikvm(4150): GC_CONCURRENT freed 384K, 51% free 2900K/5895K, external 847K/1181K, paused 2ms+1ms
06-05 23:26:17.695: D/Omap4ALSA(7544): open called for devices 00000002 in mode 0 channels 00000000...
06-05 23:26:17.734: I/Omap4ALSA(7544): Using ping-pong!
06-05 23:26:17.734: I/Omap4ALSA(7544): Buffer size: 4096
06-05 23:26:17.734: I/Omap4ALSA(7544): Latency: 92879
06-05 23:26:17.789: I/Omap4ALSA(7544): Initialized ALSA PLAYBACK device 'plughw:0,0'
06-05 23:26:17.789: E/AudioHardwareALSA(7544): RE-OPEN AFTER STANDBY:: took 98 msecs
06-05 23:26:20.875: E/Omap4ALSA(7544): called drain&close
06-05 23:26:21.890: V/DeviceStorageMonitorService(1387): mTotalMemory is 11734999
06-05 23:26:25.062: D/Omap4ALSA(7544): open called for devices 00000002 in mode 0 channels 00000000...
06-05 23:26:25.078: I/Omap4ALSA(7544): Using ping-pong!
06-05 23:26:25.078: I/Omap4ALSA(7544): Buffer size: 4096
06-05 23:26:25.078: I/Omap4ALSA(7544): Latency: 92879
06-05 23:26:25.148: I/Omap4ALSA(7544): Initialized ALSA PLAYBACK device 'plughw:0,0'
06-05 23:26:25.148: E/AudioHardwareALSA(7544): RE-OPEN AFTER STANDBY:: took 79 msecs
06-05 23:26:26.632: D/AudioResampler(7544): forcing AudioResampler quality to 2
06-05 23:26:28.164: D/AudioResampler(7544): forcing AudioResampler quality to 2
06-05 23:26:29.234: D/AudioResampler(7544): forcing AudioResampler quality to 2
06-05 23:26:29.796: D/dalvikvm(4150): GC_CONCURRENT freed 384K, 51% free 2900K/5895K, external 847K/1181K, paused 2ms+2ms
06-05 23:26:30.437: D/AudioResampler(7544): forcing AudioResampler quality to 2
06-05 23:26:31.554: D/AudioResampler(7544): forcing AudioResampler quality to 2
06-05 23:26:31.835: D/AudioResampler(7544): forcing AudioResampler quality to 2
06-05 23:26:32.859: D/AudioResampler(7544): forcing AudioResampler quality to 2
06-05 23:26:36.031: E/Omap4ALSA(7544): called drain&close
06-05 23:26:38.078: I/InputDispatcher(1387): Application is not responding: Window{409e46c0 com.esenthel.prisonsurvival/com.esenthel.prisonsurvival.PrisonSurvivalActivity paused=false}. 5010.1ms since event, 5001.0ms since wait started
06-05 23:26:38.078: I/Process(1387): Sending signal. PID: 4150 SIG: 3
06-05 23:26:38.078: I/dalvikvm(4150): threadid=4: reacting to signal 3
06-05 23:26:38.078: I/WindowManager(1387): Input event dispatching timed out sending to com.esenthel.prisonsurvival/com.esenthel.prisonsurvival.PrisonSurvivalActivity
06-05 23:26:38.085: I/dalvikvm(4150): Wrote stack traces to '/data/anr/traces.txt'
06-05 23:26:38.085: I/Process(1387): Sending signal. PID: 1387 SIG: 3
06-05 23:26:38.085: I/dalvikvm(1387): threadid=4: reacting to signal 3
06-05 23:26:38.132: I/dalvikvm(1387): Wrote stack traces to '/data/anr/traces.txt'
06-05 23:26:38.132: I/Process(1387): Sending signal. PID: 1449 SIG: 3
06-05 23:26:38.132: I/dalvikvm(1449): threadid=4: reacting to signal 3
06-05 23:26:38.132: I/dalvikvm(1449): Wrote stack traces to '/data/anr/traces.txt'
06-05 23:26:38.289: D/dalvikvm(1387): GC_EXPLICIT freed 1693K, 61% free 6165K/15751K, external 5695K/7112K, paused 64ms
06-05 23:26:38.820: D/InputDispatcher(1387): channel '409e46c0 com.esenthel.prisonsurvival/com.esenthel.prisonsurvival.PrisonSurvivalActivity (server)' ~ Synthesized 1 cancelation events to bring channel back in sync with reality: application not responding, options=0.
06-05 23:26:38.820: I/InputDispatcher(1387): Dropping event because the pointer is not down.
06-05 23:26:38.820: I/InputDispatcher(1387): Dropping event because the pointer is not down.
06-05 23:26:38.820: I/InputDispatcher(1387): Dropping event because the pointer is not down.
06-05 23:26:38.820: E/ActivityManager(1387): ANR in com.esenthel.prisonsurvival (com.esenthel.prisonsurvival/.PrisonSurvivalActivity)
06-05 23:26:38.820: E/ActivityManager(1387): Reason: keyDispatchingTimedOut
06-05 23:26:38.820: E/ActivityManager(1387): Load: 0.36 / 0.39 / 0.21
06-05 23:26:38.820: E/ActivityManager(1387): CPU usage from 6221ms to 1196ms ago:
06-05 23:26:38.820: E/ActivityManager(1387): 4.9% 3/ksoftirqd/0: 0% user + 4.9% kernel
06-05 23:26:38.820: E/ActivityManager(1387): 4.5% 4150/com.esenthel.prisonsurvival: 3.7% user + 0.7% kernel / faults: 11 minor
06-05 23:26:38.820: E/ActivityManager(1387): 2.1% 1387/system_server: 0.9% user + 1.1% kernel / faults: 8 minor
06-05 23:26:38.820: E/ActivityManager(1387): 1.1% 1468/com.amazon.kindle.otter: 1.1% user + 0% kernel / faults: 1 minor
06-05 23:26:38.820: E/ActivityManager(1387): 0.7% 7/events/0: 0% user + 0.7% kernel
06-05 23:26:38.820: E/ActivityManager(1387): 0.7% 7544/mediaserver: 0.5% user + 0.1% kernel / faults: 9 minor
06-05 23:26:38.820: E/ActivityManager(1387): 0% 679/ilitek_i2c_irq_: 0% user + 0% kernel
06-05 23:26:38.820: E/ActivityManager(1387): 0% 1302/adbd: 0% user + 0% kernel / faults: 24 minor
06-05 23:26:38.820: E/ActivityManager(1387): 0.1% 1317/pvr_workqueue: 0% user + 0.1% kernel
06-05 23:26:38.820: E/ActivityManager(1387): 0.1% 1399/pvr_display_syn: 0% user + 0.1% kernel
06-05 23:26:38.820: E/ActivityManager(1387): 0% 1440/tiwlan_wq: 0% user + 0% kernel
06-05 23:26:38.820: E/ActivityManager(1387): 8.4% TOTAL: 3.2% user + 4.5% kernel + 0.6% softirq
06-05 23:26:38.820: E/ActivityManager(1387): CPU usage from 211ms to 727ms later:
06-05 23:26:38.820: E/ActivityManager(1387): 1.9% 1387/system_server: 0% user + 1.9% kernel
06-05 23:26:38.820: E/ActivityManager(1387): 3.8% 1423/InputDispatcher: 1.9% user + 1.9% kernel
06-05 23:26:38.820: E/ActivityManager(1387): 17% TOTAL: 1% user + 1% kernel + 15% iowait
06-05 23:26:40.023: D/dalvikvm(1387): GC_FOR_MALLOC freed 1512K, 59% free 6504K/15751K, external 5914K/7112K, paused 71ms
06-05 23:26:45.179: D/dalvikvm(1387): GC_CONCURRENT freed 2551K, 62% free 5997K/15751K, external 5910K/7112K, paused 2ms+4ms
06-05 23:26:45.320: D/dalvikvm(1387): GC_CONCURRENT freed 1998K, 62% free 6031K/15751K, external 5910K/7112K, paused 2ms+4ms
06-05 23:26:45.460: D/dalvikvm(1387): GC_CONCURRENT freed 2022K, 62% free 6056K/15751K, external 5910K/7112K, paused 2ms+4ms
06-05 23:26:45.742: D/dalvikvm(1387): GC_CONCURRENT freed 2053K, 62% free 6050K/15751K, external 5910K/7112K, paused 3ms+4ms
06-05 23:26:45.914: D/dalvikvm(1387): GC_CONCURRENT freed 2079K, 62% free 6017K/15751K, external 5910K/7112K, paused 2ms+4ms
06-05 23:26:46.062: D/dalvikvm(1387): GC_CONCURRENT freed 2032K, 62% free 6028K/15751K, external 5910K/7112K, paused 2ms+4ms
06-05 23:26:46.195: D/dalvikvm(1387): GC_CONCURRENT freed 2046K, 62% free 6015K/15751K, external 5910K/7112K, paused 3ms+4ms
06-05 23:26:46.289: D/dalvikvm(1387): GC_CONCURRENT freed 2009K, 62% free 6038K/15751K, external 5910K/7112K, paused 3ms+4ms
06-05 23:26:46.875: W/ActivityManager(1387): Force finishing activity com.esenthel.prisonsurvival/.PrisonSurvivalActivity
06-05 23:26:46.882: I/Process(1387): Sending signal. PID: 4150 SIG: 9
06-05 23:26:46.882: I/ActivityManager(1387): Killing com.esenthel.prisonsurvival (pid=4150): user's request
06-05 23:26:46.953: I/ActivityManager(1387): Process com.esenthel.prisonsurvival (pid 4150) has died.
06-05 23:26:46.960: E/InputDispatcher(1387): channel '409e46c0 com.esenthel.prisonsurvival/com.esenthel.prisonsurvival.PrisonSurvivalActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
06-05 23:26:46.960: E/InputDispatcher(1387): channel '409e46c0 com.esenthel.prisonsurvival/com.esenthel.prisonsurvival.PrisonSurvivalActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-05 23:26:46.968: I/WindowManager(1387): WINDOW DIED Window{409e46c0 com.esenthel.prisonsurvival/com.esenthel.prisonsurvival.PrisonSurvivalActivity paused=true}
06-05 23:26:46.968: I/WindowManager(1387): WIN DEATH: Window{409e46c0 com.esenthel.prisonsurvival/com.esenthel.prisonsurvival.PrisonSurvivalActivity paused=true}
06-05 23:26:47.085: W/ActivityManager(1387): Unable to start service Intent { act=appStartup }: not found
06-05 23:26:47.226: W/InputManagerService(1387): Got RemoteException sending setActive(false) notification to pid 4150 uid 10032
06-05 23:26:47.367: I/LAB126(1449): StatusBarService hears intent. action: com.lab126.intent.TOP_WINDOW_CHANGED
06-05 23:26:47.367: I/LAB126(1449): window changed
06-05 23:27:07.031: D/dalvikvm(29644): GC_EXPLICIT freed 3K, 48% free 2800K/5379K, external 847K/1181K, paused 32ms
06-05 23:27:21.890: V/DeviceStorageMonitorService(1387): mTotalMemory is 11734999
06-05 23:27:46.484: D/dalvikvm(1387): GC_CONCURRENT freed 2061K, 62% free 6024K/15751K, external 5910K/7112K, paused 2ms+5ms
06-05 23:27:46.609: D/dalvikvm(1387): GC_CONCURRENT freed 2081K, 62% free 5990K/15751K, external 5695K/7112K, paused 2ms+4ms
06-05 23:27:46.757: D/dalvikvm(1387): GC_CONCURRENT freed 2053K, 62% free 5985K/15751K, external 5695K/7112K, paused 2ms+3ms
06-05 23:27:46.914: D/dalvikvm(1387): GC_CONCURRENT freed 2028K, 62% free 5987K/15751K, external 5695K/7112K, paused 2ms+3ms
06-05 23:27:47.085: D/dalvikvm(1387): GC_CONCURRENT freed 2052K, 63% free 5982K/15751K, external 5695K/7112K, paused 2ms+4ms
06-05 23:27:47.218: D/dalvikvm(1387): GC_CONCURRENT freed 2054K, 63% free 5973K/15751K, external 5695K/7112K, paused 2ms+3ms
06-05 23:27:47.351: D/dalvikvm(1387): GC_CONCURRENT freed 2012K, 62% free 6002K/15751K, external 5695K/7112K, paused 2ms+3ms
06-05-2013 10:30 PM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #17
RE: [Android] Bug Kindle Fire
Up.
06-25-2013 01:42 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #18
RE: [Android] Bug Kindle Fire
Hello,

Can you confirm that you're playing the sounds on the tap of the button, and not every frame when the button is visually pushed? (does it work properly on Windows/Mac?)

Could you try testing some of the EE tutorials with sounds (like sound tuts from EE 2.0)?

Could you try using different sound files in your game? (wav/ogg/stereo/mono/different Hz Frequency files)

Thank you
06-29-2013 10:15 AM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #19
RE: [Android] Bug Kindle Fire
Can you confirm that you're playing the sounds on the tap of the button, and not every frame when the button is visually pushed? (does it work properly on Windows/Mac?)

Yes on tap (using function button.func = ...), not every frame. It works fine on Windows, iOS and Android, just crashing on this device.

Could you try testing some of the EE tutorials with sounds (like sound tuts from EE 2.0)?

Tutorial 09-Sound / Sound.

I've changed some lines of update method to work with touches. All working as expected.

But if I change metal.ogg by button_19.wav, here we have the crash, calling SoundPlay(...).

Looks there is a trouble with .wav and KF1, I've found many sites talking about KF1 and latency on sounds...


Attached File(s)
.zip  button_19.zip (Size: 22.16 KB / Downloads: 2)
06-29-2013 08:04 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #20
RE: [Android] Bug Kindle Fire
Thanks, I see that the file is 48k Hz stereo, could you try resampling the file and testing a few combinations like:
48 k Hz mono
44.100 k Hz stereo+mono
32 k Hz stereo+mono
22.050 k Hz stereo+mono

Edit: Also, can you tell me your firmware version? Does it have latest version installed?

Edit2: I've found some suggestions on the internet related to audio, however to audio completely missing:
Quote:You have to switch off the "Dolby" setting in the symbol panel under Settings / Extended / Menu/ Sounds and Display and reboot the device. If this is not working, reset the device to factory defaults and perform the settings mentioned above afterwards.
Could you tell me if you have such options in the Android config, and if changing them affects the issue?

Edit3: Also it might be worth checking the minimum length of the sound file. I see that the sound is very short, you could try doing another set of tests where with the sound including some silence (added in some audio editing program) and re-saved to a different wav file.

Thanks
06-29-2013 08:23 PM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #21
RE: [Android] Bug Kindle Fire
48k Stereo => Crash.
48k Mono => Crash.

44100 Stereo => Crash.
44100 Mono => Crash.

32k Stereo => Ok.
32k Mono => Ok.

22050 Stereo => Ok.
22050 Mono => Ok.

Edit1 => It is the last version. 6.3.2_user_4110520

Edit2 => I don't see that options :(

Edit3 => I think that length is normal for a button sound (there are even shorter).

I've tested with 48k stereo + ~0.4 seconds (total ~0.6s), it crash, but was hard.


Attached File(s)
.zip  sounds.zip (Size: 135.12 KB / Downloads: 2)
(This post was last modified: 06-29-2013 09:50 PM by cmontiel.)
06-29-2013 09:21 PM
Find all posts by this user Quote this message in a reply
cmontiel Offline
Member

Post: #22
RE: [Android] Bug Kindle Fire
I should return the device soon. At moment, I will change my sounds to <32khz or to .ogg.
07-17-2013 12:08 AM
Find all posts by this user Quote this message in a reply
Post Reply