On 06/11/2015 09:42 PM, 심현용 wrote: > Dear Stephen & Nick > > I always thanks to you. > > I found another issue about when running pcre_exec. > At every booting time, I know that PackageManagerService do restorecon > to data/app/pakagename. > > about restorecon name in turn > /data/app/com.lge.artui-1/lib > /data/app/com.lge.art-1/lib > /data/app/com.lge.art-1/lib/arm --> maybe this file isn't operate > restorecon at pcre lib. > > But in case of these names's restorecon, less frequently occure fatal > error during label_file.c to pcre_exec. > > 06-11 06:47:28.608 1993 2307 F libc : Fatal signal 11 (SIGSEGV), > code 1, fault addr 0x61642f65 in tid 2307 (pool-5-thread-2) > 06-11 06:47:28.708 304 304 I DEBUG : [2015-06-11 06:47:28.724] > 06-11 06:47:28.708 304 304 I DEBUG : *** *** *** *** *** *** *** > *** *** *** *** *** *** *** *** *** > 06-11 06:47:28.708 304 304 I DEBUG : Build fingerprint: > 'lge/g3_vzw/g3:5.1.1/LMY47V/151621639dfce:userdebug/test-keys' > 06-11 06:47:28.708 304 304 I DEBUG : Revision: '10' > 06-11 06:47:28.708 304 304 I DEBUG : ABI: 'arm' > 06-11 06:47:28.708 304 304 I DEBUG : pid: 1993, tid: 2307, name: > pool-5-thread-2 >>> system_server <<< > 06-11 06:47:28.708 304 304 I DEBUG : signal 11 (SIGSEGV), code 1 > (SEGV_MAPERR), fault addr 0x61642f65 > 06-11 06:47:28.728 304 304 I DEBUG : r0 00000014 r1 00000280 > r2 00000014 r3 00000000 > 06-11 06:47:28.728 304 304 I DEBUG : r4 a641dec0 r5 959420a0 > r6 aecf1d30 r7 00000014 > 06-11 06:47:28.728 304 304 I DEBUG : r8 61642f61 r9 00000000 > sl 00000000 fp a641dee2 > 06-11 06:47:28.728 304 304 I DEBUG : ip 00000000 sp 9b636368 > lr b61c3849 pc b5bc5e02 cpsr 200f0030 > 06-11 06:47:28.728 304 304 I DEBUG : > 06-11 06:47:28.728 304 304 I DEBUG : backtrace: > 06-11 06:47:28.728 304 304 I DEBUG : #00 pc 0000be02 > /system/lib/libpcre.so (pcre_exec+1337) > 06-11 06:47:28.728 304 304 I DEBUG : #01 pc 00007845 > /system/lib/libselinux.so > 06-11 06:47:28.728 304 304 I DEBUG : #02 pc 00007103 > /system/lib/libselinux.so (selabel_lookup+10) > 06-11 06:47:28.728 304 304 I DEBUG : #03 pc 000092a9 > /system/lib/libselinux.so > 06-11 06:47:28.728 304 304 I DEBUG : #04 pc 00009563 > /system/lib/libselinux.so > 06-11 06:47:28.728 304 304 I DEBUG : #05 pc 00080a89 > /system/lib/libandroid_runtime.so > 06-11 06:47:28.728 304 304 I DEBUG : #06 pc 0008276d > /data/dalvik-cache/arm/system@framew...@boot.oat > > > *I think that the special character "-" in the restorecon does not seem > to work.* > > Please let me know how to fix this issue.
I don't see any obvious reason why that would be failing. Can you debug a bit further and get the actual arguments that were passed to the failing pcre_exec() call, as well as the string representation of the regex (in spec_arr[i].regex_str)? _______________________________________________ Seandroid-list mailing list Seandroid-list@tycho.nsa.gov To unsubscribe, send email to seandroid-list-le...@tycho.nsa.gov. To get help, send an email containing "help" to seandroid-list-requ...@tycho.nsa.gov.