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

Do not work with old NDK. #38

Open
isabsent opened this issue May 20, 2019 · 0 comments
Open

Do not work with old NDK. #38

isabsent opened this issue May 20, 2019 · 0 comments

Comments

@isabsent
Copy link

isabsent commented May 20, 2019

I have tried to catch a native exception under NDK r9d on Android 7.0 device with an error generated by the code

    char str[10];
    for( int i = 0; i < 1000; i++ )
    str[i] = 'X';

This is my logcat:

2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0x9e449a00 allocspace main rosalloc space live-bitmap 3[begin=0x12c00000,end=0x22c00000]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0x9e449a20 allocspace main rosalloc space mark-bitmap 3[begin=0x12c00000,end=0x22c00000]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8b340 SpaceTypeImageSpace begin=0x6f6ca000,end=0x6fae6340,size=4MB,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5980 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 0[begin=0x6f6ca000,end=0x6fae6400]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5980 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 0[begin=0x6f6ca000,end=0x6fae6400]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8b400 SpaceTypeImageSpace begin=0x6fc1a000,end=0x6fc5cc28,size=267KB,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc59c0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 1[begin=0x6fc1a000,end=0x6fc5cd00]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc59c0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 1[begin=0x6fc1a000,end=0x6fc5cd00]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8b540 SpaceTypeImageSpace begin=0x6fcfd000,end=0x6fd05220,size=32KB,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5ae0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 2[begin=0x6fcfd000,end=0x6fd05300]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5ae0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 2[begin=0x6fcfd000,end=0x6fd05300]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8b580 SpaceTypeImageSpace begin=0x6fd18000,end=0x6fd23090,size=44KB,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5b00 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 3[begin=0x6fd18000,end=0x6fd23100]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5b00 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 3[begin=0x6fd18000,end=0x6fd23100]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8b5c0 SpaceTypeImageSpace begin=0x6fd3d000,end=0x6fd3d110,size=272B,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5b20 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 4[begin=0x6fd3d000,end=0x6fd3d200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5b20 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 4[begin=0x6fd3d000,end=0x6fd3d200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8b700 SpaceTypeImageSpace begin=0x6fd3e000,end=0x6fd46c08,size=35KB,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5cc0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 5[begin=0x6fd3e000,end=0x6fd46d00]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5cc0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 5[begin=0x6fd3e000,end=0x6fd46d00]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8b840 SpaceTypeImageSpace begin=0x6fd62000,end=0x6fd65408,size=13KB,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5d00 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 6[begin=0x6fd62000,end=0x6fd65500]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5d00 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 6[begin=0x6fd62000,end=0x6fd65500]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8b980 SpaceTypeImageSpace begin=0x6fd7f000,end=0x6fe80250,size=1028KB,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5d40 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 7[begin=0x6fd7f000,end=0x6fe80300]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5d40 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 7[begin=0x6fd7f000,end=0x6fe80300]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8bac0 SpaceTypeImageSpace begin=0x70205000,end=0x70205110,size=272B,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5de0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 8[begin=0x70205000,end=0x70205200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5de0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 8[begin=0x70205000,end=0x70205200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8bf40 SpaceTypeImageSpace begin=0x7025d000,end=0x7025d110,size=272B,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5c20 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 9[begin=0x7025d000,end=0x7025d200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5c20 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 9[begin=0x7025d000,end=0x7025d200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8bf80 SpaceTypeImageSpace begin=0x70261000,end=0x70261110,size=272B,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5c60 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 10[begin=0x70261000,end=0x70261200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5c60 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 10[begin=0x70261000,end=0x70261200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c8bfc0 SpaceTypeImageSpace begin=0x70265000,end=0x70265110,size=272B,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5ca0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 11[begin=0x70265000,end=0x70265200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5ca0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 11[begin=0x70265000,end=0x70265200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4ce4000 SpaceTypeImageSpace begin=0x7027d000,end=0x7027f400,size=9KB,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5ea0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 12[begin=0x7027d000,end=0x7027f400]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5ea0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 12[begin=0x7027d000,end=0x7027f400]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4ce4140 SpaceTypeImageSpace begin=0x7028e000,end=0x7028e110,size=272B,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5ee0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 13[begin=0x7028e000,end=0x7028e200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5ee0 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 13[begin=0x7028e000,end=0x7028e200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4ce43c0 SpaceTypeImageSpace begin=0x7029c000,end=0x7029c110,size=272B,name="/data/dalvik-cache/arm/system@[email protected]"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5f20 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 14[begin=0x7029c000,end=0x7029c200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5f20 imagespace /data/dalvik-cache/arm/system@[email protected] live-bitmap 14[begin=0x7029c000,end=0x7029c200]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4c9cb50 SpaceTypeZygoteSpace begin=0x74a1a000,end=0x74bac000,size=1608KB,name="Zygote space"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5960 allocspace zygote / non moving space live-bitmap 0[begin=0x74a1a000,end=0x74bac000]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4cc5940 allocspace zygote / non moving space mark-bitmap 0[begin=0x74a1a000,end=0x74bac000]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0x9e420e00 SpaceTypeMallocSpace begin=0x74bac000,end=0x74bde000,limit=0x78a1a000,size=200KB,capacity=62MB,non_growth_limit_capacity=62MB,name="non moving space"]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0x9510aea0 allocspace non moving space live-bitmap 4[begin=0x74bac000,end=0x78a1a000]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0x95133c20 allocspace non moving space mark-bitmap 4[begin=0x74bac000,end=0x78a1a000]
2019-05-20 17:20:40.339 19308-19445/com.xxx.yyy E/art: 0xa4ccda00 mem map large object space:GcRetentionPolicyAlwaysCollect
2019-05-20 17:20:40.341 19308-19445/com.xxx.yyy A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x58585864 in tid 19445 (AsyncTask #4)

No too informative... Why?

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