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

当手指频繁缩放画布时经常出现闪退。 #10

Open
1649201921 opened this issue Dec 26, 2017 · 0 comments
Open

当手指频繁缩放画布时经常出现闪退。 #10

1649201921 opened this issue Dec 26, 2017 · 0 comments

Comments

@1649201921
Copy link

1649201921 commented Dec 26, 2017

当打开画布,尤其是无任何绘制的情况下,频繁缩放画布,会出现

A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 586 (ese.sample.main)

这个错误。

我用ndk-stack跟踪错误信息后报如下错误:

********** Crash dump: **********
Build fingerprint: 'Qpad_X5/full_teft6752_lwt_l/teft6752_lwt_l:5.0.1/LRX21M/1463464561:user/release-keys'
pid: 586, tid: 586, name: ese.sample.main >>> com.pekingese.sample.main <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Stack frame #00 pc 002b7dbc /system/lib/libskia.so (S32A_Opaque_BlitRow32_neon_src_alpha(unsigned int*, unsigned int const*, int, unsigned int)+156)
Stack frame #1 pc 001438e0 /system/lib/libskia.so
Stack frame #2 pc 0013d244 /system/lib/libskia.so (SkScan::FillIRect(SkIRect const&, SkRegion const*, SkBlitter*)+368)
Stack frame #3 pc 0013d390 /system/lib/libskia.so (SkScan::FillIRect(SkIRect const&, SkRasterClip const&, SkBlitter*)+68)
Stack frame #4 pc 000fe3e8 /system/lib/libskia.so (SkDraw::drawBitmap(SkBitmap const&, SkMatrix const&, SkPaint const&) const+640)
Stack frame #5 pc 000ec2ec /system/lib/libskia.so
Stack frame #6 pc 000ec4b8 /system/lib/libskia.so (SkCanvas::drawBitmap(SkBitmap const&, float, float, SkPaint const*)+228)
Stack frame #7 pc 0008b8ef /system/lib/libandroid_runtime.so
Stack frame #8 pc 00eee677 /data/dalvik-cache/arm/system@[email protected]

另外这个操作偶尔也会导致StdGraphView.java中出现:使用了已被回收的bitmap

错误1
代码:
错误2

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

1 participant