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

Crash in Android-6.0.1 #547

Closed
liuyx opened this issue May 15, 2018 · 9 comments
Closed

Crash in Android-6.0.1 #547

liuyx opened this issue May 15, 2018 · 9 comments
Labels

Comments

@liuyx
Copy link

liuyx commented May 15, 2018

hi, I encounter a crash in android-6.0.1 from Java call
synchronized long renderFrame(Bitmap frameBuffer) {
return renderFrame(this.gifInfoPtr, frameBuffer);
}
renderFrame is a native call, the Native crash stack is below:
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 97427de4
r0 97427de4 r1 ffffffff r2 00003f03 r3 0000ac50
r4 825afe80 r5 00000000 r6 8f35900c r7 8f358370
r8 00003033 r9 82a29ef0 10 00003f03 fp 97427de4
ip 0000007d sp 8f358340 lr 970c8b91 pc 970cb85c cpsr 20070010
#00 pc 0000585c /data/app/com.alibaba.android.rimet-1/lib/arm/libpl_droidsonroids_gif.so
#1 lr 00002b91 /data/app/com.alibaba.android.rimet-1/lib/arm/libpl_droidsonroids_gif.so
--- --- ---
00 pc 0000585c /data/app/com.alibaba.android.rimet-1/lib/arm/libpl_droidsonroids_gif.so

After disassembly the so, I find out that the real crash method is in
MEMSET_ARGB

It may be the stack:
MEMSET_ARGB
disposeFrameIfNeeded
drawNextBitmap
getBitmaps
Java_pl_droidsonroids_gif_GifInfoHandle_renderFrame

@koral-- koral-- added the bug label May 15, 2018
@koral--
Copy link
Owner

koral-- commented May 21, 2018

Thanks for the report I'll check that.

@liuyx
Copy link
Author

liuyx commented May 22, 2018

It crashed at NEON instructions.

@koral--
Copy link
Owner

koral-- commented May 22, 2018

Was it on device without NEON support?

@liuyx
Copy link
Author

liuyx commented May 22, 2018

It's not like that. All the crashed devices is just below:
android 7.1.1 6 phones
6.0.1 1 phone
5.1 1 phone
5.1.1 1 phone
7.1.2 1 phone

@koral--
Copy link
Owner

koral-- commented May 22, 2018

OK, thanks.

@koral--
Copy link
Owner

koral-- commented Jul 9, 2018

Sorry for the long delay.
Do you know steps to reproduce?

@liuyx
Copy link
Author

liuyx commented Jul 12, 2018

I don't know how to reproduce it either, it's reported at online monitor.

@koral--
Copy link
Owner

koral-- commented Aug 13, 2018

Which library version have you used?

@koral--
Copy link
Owner

koral-- commented Aug 26, 2018

Currently there is no NEON instructions: d675ccc

Not sure if that was a reason, however I could not reproduce this issue. So I'm closing this ticket. It can be reopened if more info is provided.

@koral-- koral-- closed this as completed Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants