Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 2.2 compatibility issues with new NDK toolchain (Samsung Galaxy Gio) #3749

Closed
onedollarcube opened this issue Sep 12, 2013 · 19 comments

Comments

@onedollarcube
Copy link

From version 0.9.1 4 ** the emulator on Armv6 ceased to be launched. Existence of necessary libraries doesn't help. Application doesn't work. I ask to correct though it and outdated architecture, the power of our devices in the future shall suffice for normal operation of the emulator.


This LOG:

I/dalvikvm( 377): Jit: resizing JitTable from 1024 to 2048
I/ActivityManager( 263): Starting: Intent { act=android.intent.action.MAIN cat=
[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.ppsspp.ppsspp/.PpssppA
ctivity } from pid 377
I/ActivityManager( 263): Start proc org.ppsspp.ppsspp for activity org.ppsspp.p
psspp/.PpssppActivity: pid=905 uid=10045 gids={1015, 3003}
I/WindowManager( 263): Setting rotation to 1, animFlags=1
I/ActivityManager( 263): Config changed: { scale=1.0 imsi=250/20 loc=ru_RU touc
h=3 keys=1/1/2 nav=1/1 orien=2 layout=18 uiMode=17 seq=31 themeResource=null}
I/PowerWidget( 354): Clearing any old widget stuffs
I/PowerWidget( 354): Setting up widget
I/PowerWidget( 354): Default buttons being loaded
I/PowerWidget( 354): Button list: toggleWifi|toggleBluetooth|toggleGPS|toggleSo
und
I/PowerWidget( 354): Setting up button: toggleWifi
I/PowerWidget( 354): Setting up button: toggleBluetooth
I/PowerWidget( 354): Setting up button: toggleGPS
I/dalvikvm( 905): Could not find method android.media.AudioManager.getProperty,
referenced from method com.henrikrydgard.libnative.NativeActivity.detectOptimal
AudioSettings
I/PowerWidget( 354): Setting up button: toggleSound
W/dalvikvm( 905): VFY: unable to resolve virtual method 36: Landroid/media/Audi
oManager;.getProperty (Ljava/lang/String;)Ljava/lang/String;
D/dalvikvm( 905): VFY: replacing opcode 0x6e at 0x000a
D/dalvikvm( 905): VFY: dead code 0x000d-001f in Lcom/henrikrydgard/libnative/Na
tiveActivity;.detectOptimalAudioSettings ()V
I/dalvikvm( 905): Could not find method android.view.InputDevice.getDescriptor,
referenced from method com.henrikrydgard.libnative.NativeActivity.getInputDesc
W/dalvikvm( 905): VFY: unable to resolve virtual method 65: Landroid/view/Input
Device;.getDescriptor ()Ljava/lang/String;
D/dalvikvm( 905): VFY: replacing opcode 0x6e at 0x0006
I/dalvikvm( 905): Could not find method android.view.InputDevice.getMotionRange
s, referenced from method com.henrikrydgard.libnative.NativeActivity.getInputDes
c
W/dalvikvm( 905): VFY: unable to resolve virtual method 66: Landroid/view/Input
Device;.getMotionRanges ()Ljava/util/List;
D/dalvikvm( 905): VFY: replacing opcode 0x6e at 0x000b
D/dalvikvm( 905): VFY: dead code 0x0009-000a in Lcom/henrikrydgard/libnative/Na
tiveActivity;.getInputDesc (Landroid/view/InputDevice;)Ljava/lang/String;
D/dalvikvm( 905): VFY: dead code 0x000e-0036 in Lcom/henrikrydgard/libnative/Na
tiveActivity;.getInputDesc (Landroid/view/InputDevice;)Ljava/lang/String;
I/dalvikvm( 905): Could not find method android.view.Display.getSize, reference
d from method com.henrikrydgard.libnative.NativeActivity.GetScreenSizeHC
W/dalvikvm( 905): VFY: unable to resolve virtual method 58: Landroid/view/Displ
ay;.getSize (Landroid/graphics/Point;)V
D/dalvikvm( 905): VFY: replacing opcode 0x6e at 0x0008
D/dalvikvm( 905): VFY: dead code 0x000b-000b in Lcom/henrikrydgard/libnative/Na
tiveActivity;.GetScreenSizeHC (Landroid/graphics/Point;)V
I/dalvikvm( 905): Could not find method android.opengl.GLSurfaceView.setSystemU
iVisibility, referenced from method com.henrikrydgard.libnative.NativeActivity.d
arkenOnScreenButtons
W/dalvikvm( 905): VFY: unable to resolve virtual method 48: Landroid/opengl/GLS
urfaceView;.setSystemUiVisibility (I)V
D/dalvikvm( 905): VFY: replacing opcode 0x6e at 0x0003
D/dalvikvm( 905): VFY: dead code 0x0006-0006 in Lcom/henrikrydgard/libnative/Na
tiveActivity;.darkenOnScreenButtons ()V
I/dalvikvm( 905): Could not find method android.app.Activity.onGenericMotionEve
nt, referenced from method com.henrikrydgard.libnative.NativeActivity.onGenericM
otionEvent
W/dalvikvm( 905): VFY: unable to resolve virtual method 7: Landroid/app/Activit
y;.onGenericMotionEvent (Landroid/view/MotionEvent;)Z
D/dalvikvm( 905): VFY: replacing opcode 0x6f at 0x001e
I/dalvikvm( 905): Could not find method android.app.Activity.onGenericMotionEve
nt, referenced from method com.henrikrydgard.libnative.NativeActivity.onGenericM
otionEvent
W/dalvikvm( 905): VFY: unable to resolve virtual method 7: Landroid/app/Activit
y;.onGenericMotionEvent (Landroid/view/MotionEvent;)Z
D/dalvikvm( 905): VFY: replacing opcode 0x6f at 0x0036
D/dalvikvm( 905): VFY: dead code 0x0021-0021 in Lcom/henrikrydgard/libnative/Na
tiveActivity;.onGenericMotionEvent (Landroid/view/MotionEvent;)Z
D/dalvikvm( 905): VFY: dead code 0x0039-003a in Lcom/henrikrydgard/libnative/Na
tiveActivity;.onGenericMotionEvent (Landroid/view/MotionEvent;)Z
D/dalvikvm( 905): Trying to load lib /data/data/org.ppsspp.ppsspp/lib/libppsspp
_jni.so 0x40517ef0
I/DEBUG ( 174): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 174): Build fingerprint: 'samsung/GT-S5660/GT-S5660:2.3.5/GINGERBRE
AD/XXKS2:user/test-keys'
I/DEBUG ( 174): pid: 905, tid: 905 >>> org.ppsspp.ppsspp <<<
I/DEBUG ( 174): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaa
d
I/DEBUG ( 174): r0 deadbaad r1 0000000c r2 00000027 r3 00000000
I/DEBUG ( 174): r4 00000080 r5 afd47688 r6 00000004 r7 00000000
I/DEBUG ( 174): r8 aca12240 r9 0000ce68 10 431efc10 fp beb6d430
I/DEBUG ( 174): ip ffffffff sp beb6cf98 lr afd197e9 pc afd16394 cpsr 000
00030
I/DEBUG ( 174): d0 3f8000003f800000 d1 3ff0000043200000
I/DEBUG ( 174): d2 4d8224e542462b01 d3 00540ff04a2695a0
I/DEBUG ( 174): d4 3fbc71c70029a568 d5 3fcef049fb9094d1
I/DEBUG ( 174): d6 401c000000000000 d7 4018000000000000
I/DEBUG ( 174): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 174): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 174): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 174): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 174): scr 60000010
I/DEBUG ( 174):
I/DEBUG ( 174): #00 pc 00016394 /system/lib/libc.so (_libc_androi
d_abort)
I/DEBUG ( 174): #1 lr afd197e9 /system/lib/libc.so
I/DEBUG ( 174):
I/DEBUG ( 174): code around pc:
I/DEBUG ( 174): afd16374 68241c23 d1fb2c00 68dae027 d0042a00
I/DEBUG ( 174): afd16384 20014d18 6028447d 48174790 24802227
I/DEBUG ( 174): afd16394 f7f57002 2106ea24 eba0f7f6 0563aa01
I/DEBUG ( 174): afd163a4 60932100 91016051 1c112006 eef6f7f5
I/DEBUG ( 174): afd163b4 2200a905 f7f52002 f7f5ef02 2106ea10
I/DEBUG ( 174):
I/DEBUG ( 174): code around lr:
I/DEBUG ( 174): afd197c8 447b4a0d 589cb083 90012600 686768a5
I/DEBUG ( 174): afd197d8 220ce008 2b005eab 1c28d003 47889901
I/DEBUG ( 174): afd197e8 35544306 d5f43f01 2c006824 b003d1ee
I/DEBUG ( 174): afd197f8 bdf01c30 00028d56 ffffff88 1c0fb5f0
I/DEBUG ( 174): afd19808 b0871c3d a9044355 1c16ac01 604d9004
I/DEBUG ( 174):
I/DEBUG ( 174): stack:
I/DEBUG ( 174): beb6cf58 00000015
I/DEBUG ( 174): beb6cf5c afd18883 /system/lib/libc.so
I/DEBUG ( 174): beb6cf60 afd4372c
I/DEBUG ( 174): beb6cf64 afd436d8
I/DEBUG ( 174): beb6cf68 00000000
I/DEBUG ( 174): beb6cf6c afd197e9 /system/lib/libc.so
I/DEBUG ( 174): beb6cf70 ffffffff
I/DEBUG ( 174): beb6cf74 afd18855 /system/lib/libc.so
I/DEBUG ( 174): beb6cf78 ffffffff
I/DEBUG ( 174): beb6cf7c 00000000
I/DEBUG ( 174): beb6cf80 afd47688
I/DEBUG ( 174): beb6cf84 00000004
I/DEBUG ( 174): beb6cf88 00000000
I/DEBUG ( 174): beb6cf8c afd18af3 /system/lib/libc.so
I/DEBUG ( 174): beb6cf90 df002777
I/DEBUG ( 174): beb6cf94 e3a070ad
I/DEBUG ( 174): #00 beb6cf98 00000000
I/DEBUG ( 174): beb6cf9c afd1ce63 /system/lib/libc.so
I/DEBUG ( 174): beb6cfa0 00000002
I/DEBUG ( 174): beb6cfa4 00000004
I/DEBUG ( 174): beb6cfa8 00000000
I/DEBUG ( 174): beb6cfac fffffbdf
I/DEBUG ( 174): beb6cfb0 0000ce68
I/DEBUG ( 174): beb6cfb4 81738df0
I/DEBUG ( 174): beb6cfb8 00000002
I/DEBUG ( 174): beb6cfbc 8129b4b0 /data/data/org.ppsspp.ppsspp/lib/libp
psspp_jni.so
I/DEBUG ( 174): beb6cfc0 81738df0
I/DEBUG ( 174): beb6cfc4 8129b4b0 /data/data/org.ppsspp.ppsspp/lib/libp
psspp_jni.so
I/DEBUG ( 174): beb6cfc8 00000000
I/DEBUG ( 174): beb6cfcc 656e2041
I/DEBUG ( 174): beb6cfd0 20726577
I/DEBUG ( 174): beb6cfd4 6e72656b
I/DEBUG ( 174): beb6cfd8 69206c65
I/DEBUG ( 174): beb6cfdc 65722073
I/BootReceiver( 263): Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM

TOMBSTONE)
D/Zygote ( 176): Process 905 terminated by signal (11)
I/ActivityManager( 263): Process org.ppsspp.ppsspp (pid 905) has died.
W/SurfaceComposerClient( 263): Destroying surface while a transaction is open.
Client 0xf31d0: destroying surface 28, mTransactionOpen=1
D/dalvikvm( 263): GC_CONCURRENT freed 549K, 54% free 5100K/11015K, external 842
K/1130K, paused 5ms+19ms
D/dalvikvm( 377): GC_EXTERNAL_ALLOC freed 78K, 49% free 3217K/6215K, external 3
061K/3070K, paused 43ms
D/dalvikvm( 377): GC_EXTERNAL_ALLOC freed 38K, 48% free 3247K/6215K, external 3
656K/3676K, paused 44ms
D/ViewConsistency( 377): AbsListView org.adw.launcher.AllAppsGridView@4055cd80
enabled= true
D/ViewConsistency( 377): AbsListView org.adw.launcher.AllAppsGridView@4055cd80
enabled= true
D/dalvikvm( 861): GC_CONCURRENT freed 429K, 52% free 3845K/7943K, external 337K
/849K, paused 3ms+110ms
D/dalvikvm( 263): GC_EXPLICIT freed 238K, 56% free 4877K/11015K, external 618K/
1130K, paused 111ms
I/dalvikvm( 861): Jit: resizing JitTable from 2048 to 4096
D/dalvikvm( 861): GC_CONCURRENT freed 424K, 52% free 3824K/7943K, external 337K
/849K, paused 6ms+7ms

@hrydgard
Copy link
Owner

What device do you have? I haven't heard any other reports that Armv6 got broken.

(I don't have any Armv6 devices to try on)

@onedollarcube
Copy link
Author

I have samsung galaxy gio

@bhavin192
Copy link
Contributor

Is armv6 code for symbian and android is same ?
If yes armv6 is working

@hrydgard
Copy link
Owner

Yes it is, so this is likely some other issue entirely. Really no idea what it would be though...

@onedollarcube
Copy link
Author

hrydgard , I understand, you work, but I too want that for me worked as new phone I can't buy (

@mrcmunir
Copy link
Contributor

EnderFox copy log with Logcat Extreme app maybe useful to debug because why crashes

@onedollarcube
Copy link
Author

The log is higher!

@unknownbrackets
Copy link
Collaborator

Just to point out, I'm pretty sure the code around pc is not code. Not sure why it's in garbage land.

-[Unknown]

@hrydgard
Copy link
Owner

Do you know which is the very last version that does work on Armv6?

@onedollarcube
Copy link
Author

Yes, about 300, precisely I don't know

@unknownbrackets
Copy link
Collaborator

"300"? You said before "0.9.1 4" didn't work. Neither of those are really very clear versions.

If you want this to be fixed, the best way is to try to tell us as much about it as possible. If you could find the first build that did not work, and the last build that did work, e.g. v0.8.1-545-g415afa9 and v0.9.1-535-gd69d33b for example, then there's probably at least an 85% chance of this issue getting fixed relatively quickly.

The more vague the range, the lower the chance. I guess by 300 you mean 0.8.1-300-something, which is a huge range. Expect maybe a 10% chance of this issue being fixed with that level of detail (and much of that 10% is someone else coming along and providing better information.)

-[Unknown]

@onedollarcube
Copy link
Author

unknownbrackets, Ceased to work approximately from v0.9.1-289-g20de318. Further no assembly is launched. I don't know what to do. Sorry, bad english

@unknownbrackets
Copy link
Collaborator

And you've tried deleting the app and reinstalling it, and also disabling jit? Does anything affect the crash?

-[Unknown]

@onedollarcube
Copy link
Author

unknownbrackets, I set even on a new firmware, all the same the emulator isn't launched. I disable jit in the cyanogenmod settings, doesn't help

@xsacha
Copy link
Collaborator

xsacha commented Oct 14, 2013

Can you identify exactly which revision this stopped working in? That would help greatly. I noticed you said from v0.9.1.4?

@hrydgard
Copy link
Owner

I am getting a Galaxy Y shortly in order to investigate Armv6-on-Android issues, should arrive in day or two hopefully.

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

"Ceased to work approximately from v0.9.1-289.."

v0.9.1-292: 349718a
ARMv6 was broken in this revision temporarily.
It was fixed in v0.9.1-304: 855fe05

The only other relevant change is that it was switched to gcc 4.8 in that revision as well.

ARMv6 was temporarily broken a month later for the same reason and fixed the same day, possibly coinciding with the OPs reply.

The NDK change in v0.9.1-304 was reverted 19 days ago (probably because of this issue) and haven't heard from OP since.

It seems that @hrydgard knows the issue is actually Android 2.2 compatibility judging by cb3544c
So I'll fix the issue name. Any issue with ARMv6 was temporary.

@onedollarcube
Copy link
Author

Thanks for the answer. I hope, what not everything is so bad

@unknownbrackets
Copy link
Collaborator

I'm going to close this as a duplicate of #4798, since I think the current issue is worked around and that's the discussion for dropping support for Android 2.2 (Froyo.) If I'm mistaken please reopen/comment.

-[Unknown]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants