Game crashing when deployed to android

I have a Samsung Galaxy S5 with cyanogen mod 13. Every time I deploy a template game such as first person or twin stick it works and crashes after a few seconds of me moving. I have no idea what causes this.

Dhav,

We do not support issues with 3rd party products being added to a device and not working with our engine, or 3rd party plugins being added in. You’d have to contact the Developer of those programs for additional assistance.

However, in hopes of trying to assist the issue, I’m going to need for you to provide me the logs from your mobile device.

  • Attach your phone to the computer
  • Go here: C:\android-sdk-windows\tools
  • Open up Monitor.bat
  • Launch the program and save the logs

If you cannot get Monitor.bat to open, please go to:

  • C:\android-sdk-windows\tools\lib\monitor-x86
  • Open up Monitor.exe
  • Follow the instructions above

Make sure that you highlight all of the logs, because they do not save unless they’re highlighted.

Thank you!

I have attached the log [link text][1]

(70.8 KB)

dhav,

According to your logs, it looks like there is an issue with your audio player. If you’ve added one to your project, please remove it and see if that fixes the issue you’re running in to.

09-30 15:56:19.056: W/AudioTrack(6760): AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz
09-30 15:56:19.060: D/audio_hw_primary(299): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
09-30 15:56:19.067: I/ActivityManager(687): Killing 5616:com.android.defcontainer/u0a7 (adj 15): empty #17
09-30 15:56:19.071: D/audio_hw_primary(299): start_output_stream: enter: stream(0xb2f5a000)usecase(1: low-latency-playback) devices(0x2)
09-30 15:56:19.071: D/audio_hw_primary(299): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
09-30 15:56:19.071: D/audio_hw_primary(299): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
09-30 15:56:19.071: W/msm8974_platform(299): Codec backend bitwidth 16, samplerate 48000
09-30 15:56:19.071: D/hardware_info(299): hw_info_append_hw_type : device_name = speaker
09-30 15:56:19.071: I/msm8974_platform(299): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> send_audio_cal, acdb_id = 15, path =  0
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> send_adm_topology
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> send_asm_topology
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> send_audtable
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
09-30 15:56:19.071: D/(299): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> AUDIO_SET_AUDPROC_CAL
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> send_audvoltable
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
09-30 15:56:19.071: D/(299): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> send_afe_cal
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
09-30 15:56:19.071: D/(299): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-30 15:56:19.071: D/ACDB-LOADER(299): ACDB -> AUDIO_SET_AFE_CAL
09-30 15:56:19.077: D/audio_hw_primary(299): select_devices: done
09-30 15:56:19.123: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:19.189: W/AudioTrack(6760): AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz
09-30 15:56:19.369: W/AudioTrack(6760): AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz
09-30 15:56:19.377: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:19.528: W/AudioTrack(6760): AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz
09-30 15:56:19.629: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:19.678: W/AudioTrack(6760): AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz
09-30 15:56:19.882: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:19.947: W/AudioTrack(6760): AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz
09-30 15:56:20.135: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:20.476: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:20.729: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:20.983: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:21.235: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:21.488: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:21.764: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:22.016: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:22.270: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:22.522: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:22.786: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:23.039: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:23.293: E/QCOM PowerHAL(687): Failed to acquire lock.
09-30 15:56:23.293: E/QCOM PowerHAL(687): --------- beginning of crash
09-30 15:56:23.319: A/libc(6760): Invalid address 0x8e946d80 passed to free: value not allocated
09-30 15:56:23.319: A/libc(6760): Fatal signal 6 (SIGABRT), code -6 in tid 6790 (Thread-967)
09-30 15:56:23.322: I/DEBUG(296): property debug.db.uid not set; NOT waiting for gdb.
09-30 15:56:23.322: I/DEBUG(296): HINT: adb shell setprop debug.db.uid 100000
09-30 15:56:23.322: I/DEBUG(296): HINT: adb forward tcp:5039 tcp:5039
09-30 15:56:23.380: A/DEBUG(296): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-30 15:56:23.380: A/DEBUG(296): CM Version: '13.0-20160928--klte'
09-30 15:56:23.380: A/DEBUG(296): Build fingerprint: 'samsung/kltetmo/kltetmo:6.0.1/MMB29M/G900TUVU1GPE1:/release-keys'
09-30 15:56:23.380: A/DEBUG(296): Revision: '0'
09-30 15:56:23.380: A/DEBUG(296): ABI: 'arm'
09-30 15:56:23.380: A/DEBUG(296): pid: 6760, tid: 6790, name: Thread-967  >>> com.YourCompany.MyProject2 <<<
09-30 15:56:23.380: A/DEBUG(296): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
09-30 15:56:23.424: A/DEBUG(296): Abort message: 'Invalid address 0x8e946d80 passed to free: value not allocated'
09-30 15:56:23.424: A/DEBUG(296):     r0 00000000  r1 00001a86  r2 00000006  r3 98718978
09-30 15:56:23.424: A/DEBUG(296):     r4 98718980  r5 98718930  r6 00000000  r7 0000010c
09-30 15:56:23.424: A/DEBUG(296):     r8 a9a71d08  r9 b6d51590  sl 00000001  fp 98713aa8
09-30 15:56:23.424: A/DEBUG(296):     ip 00000006  sp 98713938  lr b6d1b5b1  pc b6d1d9a0  cpsr 40000010

Thanks!