[Scummvm-tracker] [ScummVM :: Bugs] #13067: [ANDROID] Crash in startup (or drop 4.1.x support)
ScummVM :: Bugs
trac at scummvm.org
Mon Nov 8 12:39:49 UTC 2021
#13067: [ANDROID] Crash in startup (or drop 4.1.x support)
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
LukasThyWalls |
Type: defect | Status: new
Priority: normal | Component: Port: Android
Version: | Keywords: 4.1.x, compatibility, crash,
Game: | startup,
-------------------------+-------------------------------------------------
Hello.
I use ScummVM with an old tablet i sometimes use to play some games, until
it is unsupported, but with 2.5.0 i still see it has compatibility with
the tablet and i can install it via Google Play or directly APK file
(ARMv7a).
The tablet is an Arnova AN10DG3 with Android 4.1.1/Uberdroid 1.3.5, with a
usb keyboard attached. It works fine when is not connected to internet,
only when it tries to update it goes slooowww (planned obsolescence kick-
in). It has a 1024x600 display, and maybe is important for what i explain
below.
I have some issues before, i normally used 2.1.0 because it looks nicer in
the tablet (screenshot below), but with 2.2.0 i have some crasher like
this one. However, i was using 2.3.0pre without issues (but it looks a bit
uglier than with 2.1.0), so i was thinking the issue was fixed.
But now i tested again with 2.5.0 and it crash again in startup. Then i
went back to 2.2.0 and with surprise now 2.2.0 works, i don't know why,
but looks like when i was using the 2.3.0pre builds (screenshot below). I
also tested master build d88333e9 from yesterday with the same result and
log output.
I could test again some 2.3.0pre builds to look when it began to crash,
but i don't know where i can find any of that old builds again.
Below is the log for the crash in startup (Created with aLogcat Root,
filter with keyword "scummvm"). The only thing that ScummVM shows is the
"ScummVM" logo and it crashs:
{{{
I/ActivityManager( 293): START {act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=org.scummvm.scummvm/.SplashActivity bnds=[634,18][762,104] u=0} from
pid 2871
I/ActivityManager( 293): Start proc org.scummvm.scummvm for activity
org.scummvm.scummvm/.SplashActivity: pid=5870 uid=10071 gids={1015, 1028,
3003}
V/ActivityManager( 293): ensureActivitiesVisible behind
ActivityRecord{4160bac0 org.scummvm.scummvm/.SplashActivity}
configChanges=0x0
I/dalvikvm( 5870): Could not find method
org.scummvm.scummvm.SplashActivity.checkSelfPermission, referenced from
method org.scummvm.scummvm.SplashActivity.onCreate
W/dalvikvm( 5870): VFY: unable to resolve virtual method 16012:
Lorg/scummvm/scummvm/SplashActivity;.checkSelfPermission
(Ljava/lang/String;)I
I/ActivityManager( 293): START {cmp=org.scummvm.scummvm/.ScummVMActivity
u=0} from pid 5870
V/ActivityManager( 293): ensureActivitiesVisible behind
ActivityRecord{416104c0 org.scummvm.scummvm/.ScummVMActivity}
configChanges=0x0
I/dalvikvm( 5870): Could not find method
android.os.Environment.getExternalStorageState, referenced from method
org.scummvm.scummvm.ScummVMActivity.seekAndInitScummvmConfiguration
I/dalvikvm( 5870): Could not find method
android.content.ContentResolver.releasePersistableUriPermission,
referenced from method
org.scummvm.scummvm.ScummVMActivity.clearStorageAccessFrameworkTreeUri
I/dalvikvm( 5870): Could not find method
android.content.ContentResolver.takePersistableUriPermission, referenced
from method org.scummvm.scummvm.ScummVMActivity.onActivityResult
I/dalvikvm( 5870): Could not find method
android.widget.FrameLayout$LayoutParams.setMarginEnd, referenced from
method org.scummvm.scummvm.ScummVMActivity.onCreate
I/dalvikvm( 5870): Could not find method
org.scummvm.scummvm.EditableSurfaceView.setPointerIcon, referenced from
method org.scummvm.scummvm.EditableSurfaceView.showSystemMouseCursor
W/dalvikvm( 5870): VFY: unable to resolve virtual method 15677:
Lorg/scummvm/scummvm/EditableSurfaceView;.setPointerIcon
(Landroid/view/PointerIcon;)V
E/AndroidRuntime( 5870): at
org.scummvm.scummvm.ScummVMActivity.onCreate(ScummVMActivity.java:949)
W/ActivityManager( 293): Force finishing activity
org.scummvm.scummvm/.ScummVMActivity
W/ActivityManager( 293): Activity pause timeout for
ActivityRecord{416104c0 org.scummvm.scummvm/.ScummVMActivity}
I/ActivityManager( 293): Process org.scummvm.scummvm (pid 5870) has died.
W/ActivityManager( 293): Activity destroy timeout for
ActivityRecord{4160bac0 org.scummvm.scummvm/.SplashActivity}
W/ActivityManager( 293): Activity destroy timeout for
ActivityRecord{416104c0 org.scummvm.scummvm/.ScummVMActivity}
}}}
So the point here is:
- If it is a easy fix, if it can be fixed so good.
- If not, and if it's related to that, drop compatibility with 4.1.x and
go higher because in 4.1.1 doesn't work for me at least.
Thanks!
--
Ticket URL: <https://bugs.scummvm.org/ticket/13067>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list