Crashes on Android 6.0.1 when starting any game.

Subforum for discussion and help with ScummVM's Android port

Moderator: ScummVM Team

Post Reply
Nazo
Posts: 11
Joined: Sun Sep 01, 2013 8:38 am

Crashes on Android 6.0.1 when starting any game.

Post by Nazo »

So I've been trying several versions of ScummVM on my tablet and my smartphone. The Tablet is a Nexus 7 2013 edition running CyanogenMod 13 (Android 6.0.1) and the smartphone is a Sony Z3 Compact running the official 6.0.1 release (build number 23.5.A.0.570 -- basically the last beta except they promoted it to being an official release and I just didn't bother switching from CyanogenMod 12.1 to the SONY ROM until it became official. I switched to stock because as nearly as I can determine the Z3c has been basically abandoned by the CM maintainers.) Now I never had trouble with ScummVM on these same devices running CyanogenMod 12.1 (Android 5.1.1 I believe was the last OS version.) This is new to each after updating. In fact, I have an HTC M7 still running CM12.1 (also abandoned basically by everyone, so while I can get the automatic nightly builds for security updates that's probably it) and all of the ScummVM versions I tried on the tablet and Z3c phone work just fine.

Now, as the title says, it doesn't really matter which game I try to run. I've mostly been wanting to get one game working more than the others, but I've tried a bunch of different games from different engines ranging from kyra to sci. All have the same result. As soon as I start the game, I end up on the home screen with a system message popup stating that ScummVM has stopped working and just an OK button to close it. I've tried playing around with a few settings (such as the fullscreen option,) but nothing seems to make any difference -- it just seems to crash no matter what I do really.

I don't know if a dmesg output would help any. I did dmesg -c right before running ScummVM so hopefully there's not much that's unrelated to this in there:
Z3C:

Code: Select all

[ 9532.143775] tfa98xx_codec_put_speaker_amp_control 0
[ 9532.143801] stereo_speaker_off
[ 9532.244620] set_speaker_amp_control_enable speaker_amp disable
[ 9532.244916] tfa98xx_codec_get_speaker_channel_control
[ 9532.245080] tfa98xx_codec_put_speaker_channel_control -1
[ 9532.245231] tfa98xx_codec_get_speaker_type_control
[ 9532.245378] tfa98xx_codec_put_speaker_type_control -1
[ 9532.263880] msm8974_mi2s_shutdown: free mi2s resources
[ 9532.924390] tfa98xx_codec_get_speaker_type_control
[ 9532.924433] tfa98xx_codec_put_speaker_type_control 0
[ 9532.924472] tfa98xx_codec_get_speaker_channel_control
[ 9532.924513] tfa98xx_codec_put_speaker_channel_control 2
[ 9532.924554] tfa98xx_codec_put_speaker_amp_control 1
[ 9532.925926] msm8974_mi2s_startup: dai name msm-dai-q6-mi2s.3 f1c25608
[ 9532.925930] msm8974_mi2s_startup: acquire mi2s resources
[ 9532.925944] msm8974_configure_quat_mi2s_gpio: gpio = 58, gpio name = QUAT_MI2S_SCK, rtn = 0
[ 9532.925954] msm8974_configure_quat_mi2s_gpio: gpio = 59, gpio name = QUAT_MI2S_WS, rtn = 0
[ 9532.925963] msm8974_configure_quat_mi2s_gpio: gpio = 60, gpio name = QUAT_MI2S_DATA0, rtn = 0
[ 9532.925972] msm8974_configure_quat_mi2s_gpio: gpio = 61, gpio name = QUAT_MI2S_DATA1, rtn = 0
[ 9532.926980] tfa98xx-codec tfa98xx-codec.1: set format for codec dai failed
[ 9532.954317] speaker_amp_control_enable:1 speaker_amp_control_on:0
[ 9532.954322] tfa98xx_enable type:Playback channel:Both lr:Normal
[ 9532.954746] config_ptr = AMP_Normal
[ 9532.954747] warm start 025d 025d param_change 0
[ 9532.954750] stereo_speaker_warm_on
[ 9533.333833] type=1400 audit(1462240742.973:413): avc: denied { getattr } for pid=26521 comm="ScummVM" path="/data/tombstones" dev="mmcblk0p25" ino=309473 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:tombstone_data_file:s0 tclass=dir permissive=1 ppid=574 pcomm="main" tgid=26480 tgcomm="scummvm.scummvm"
[ 9533.699884] IRQ40 no longer affine to CPU2
[ 9536.100313] tfa98xx_codec_put_speaker_amp_control 0
[ 9536.100335] stereo_speaker_off
[ 9536.195830] set_speaker_amp_control_enable speaker_amp disable
[ 9536.196166] tfa98xx_codec_get_speaker_channel_control
[ 9536.196316] tfa98xx_codec_put_speaker_channel_control -1
[ 9536.196464] tfa98xx_codec_get_speaker_type_control
[ 9536.196607] tfa98xx_codec_put_speaker_type_control -1
[ 9536.215075] msm8974_mi2s_shutdown: free mi2s resources
[ 9539.186155] IRQ40 no longer affine to CPU2
[ 9539.641414] tfa98xx_codec_get_speaker_type_control
[ 9539.641459] tfa98xx_codec_put_speaker_type_control 0
[ 9539.641499] tfa98xx_codec_get_speaker_channel_control
[ 9539.641539] tfa98xx_codec_put_speaker_channel_control 2
[ 9539.641582] tfa98xx_codec_put_speaker_amp_control 1
[ 9539.642488] msm8974_mi2s_startup: dai name msm-dai-q6-mi2s.3 f1c25608
[ 9539.642494] msm8974_mi2s_startup: acquire mi2s resources
[ 9539.642505] msm8974_configure_quat_mi2s_gpio: gpio = 58, gpio name = QUAT_MI2S_SCK, rtn = 0
[ 9539.642516] msm8974_configure_quat_mi2s_gpio: gpio = 59, gpio name = QUAT_MI2S_WS, rtn = 0
[ 9539.642527] msm8974_configure_quat_mi2s_gpio: gpio = 60, gpio name = QUAT_MI2S_DATA0, rtn = 0
[ 9539.642536] msm8974_configure_quat_mi2s_gpio: gpio = 61, gpio name = QUAT_MI2S_DATA1, rtn = 0
[ 9539.643565] tfa98xx-codec tfa98xx-codec.1: set format for codec dai failed
[ 9539.671676] speaker_amp_control_enable:1 speaker_amp_control_on:0
[ 9539.671690] tfa98xx_enable type:Playback channel:Both lr:Normal
[ 9539.672325] config_ptr = AMP_Normal
[ 9539.672327] warm start 025d 025d param_change 0
[ 9539.672333] stereo_speaker_warm_on
Nexus 7:

Code: Select all

[  113.826171] setting pm_qos in msm_pcm_playback_copy with 1000
[  113.826385] done setting pm_qos in msm_pcm_playback_copy
[  114.536529] type=1400 audit(1462239674.189:213): avc: denied { getattr } for pid=2967 comm="ScummVM" path="/data/tombstones" dev="mmcblk0p30" ino=950279 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:tombstone_data_file:s0 tclass=dir permissive=0
[  116.979034] updating pm_qos value to default msm_pcm_playback_close
[  116.979309] done updating pm_qos value to default msm_pcm_playback_close
[  117.006256] SLIM_CL: skip reconfig sequence
[  119.747985] binder: undelivered transaction 75350
[  119.846557] binder: 1416:1416 transaction failed 29189, size 132-4
[  121.625122] setting pm_qos in msm_pcm_playback_copy with 1000
[  121.625244] done setting pm_qos in msm_pcm_playback_copy

My bet is on that line that both basically have: type=1400 audit(1462240742.973:413): avc: denied { getattr } for pid=26521 comm="ScummVM" path="/data/tombstones" dev="mmcblk0p25" ino=309473 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:tombstone_data_file:s0 tclass=dir permissive=1 ppid=574 pcomm="main" tgid=26480 tgcomm="scummvm.scummvm"
But I'll admit I don't really know what that really means or what if anything can be done on my end.
Post Reply