-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./usr/bin/addon-pre-installer-finalizer to identify missing areas
[*] Emulating binary name: addon-pre-installer-finalizer in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract (1/2)
[*] Using CPU config:
--- SIGILL {si_signo=SIGILL, si_code=SI_KERNEL, si_pid=0, si_uid=0} ---
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
[*] Identification of missing filesytem areas.
[*] No missing areas found.
-----------------------------------------------------------------
-----------------------------------------------------------------
[*] Initial strace run with jchroot on the command ./bin/addon-pre-installer-finalizer to identify missing areas
[*] Emulating binary name: addon-pre-installer-finalizer in strace mode to identify missing areas (with jchroot)
[*] Emulator used: qemu-mipsel-static
[*] Chroot environment used: jchroot
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr (2/2)
[*] Using CPU config: 24KEc
1 brk(NULL) = 0x40013140
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d5c0) = 0
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/tls/libaddonmanager.so",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d354,512) = 512
1 prctl(46,1072813160,1072812884,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d210) = 0
1 mmap2(NULL,94640,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f7af000
1 mprotect(0x3f7b5000,65536,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgio-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d344,512) = 512
1 prctl(46,1072813176,1072812868,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d200) = 0
1 mmap2(NULL,1990784,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f5c8000
1 mprotect(0x3f798000,61440,PROT_NONE) = 0
1 mmap2(0x3f7a7000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1cf) = 0x3f7a7000
1 mmap2(0x3f7ad000,4224,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f7ad000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libgobject-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d334,512) = 512
1 prctl(46,1072813128,1072812852,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1f0) = 0
1 mmap2(NULL,446160,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f55b000
1 mprotect(0x3f5b6000,65536,PROT_NONE) = 0
1 mmap2(0x3f5c6000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x5b) = 0x3f5c6000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libglib-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d324,512) = 512
1 prctl(46,1072813144,1072812836,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1e0) = 0
1 mmap2(NULL,1257552,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f427000
1 mprotect(0x3f548000,61440,PROT_NONE) = 0
1 mmap2(0x3f557000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x120) = 0x3f557000
1 mmap2(0x3f55a000,80,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f55a000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d314,512) = 512
1 prctl(46,1072813224,1072812820,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d0e0,SEEK_SET) = 0
1 read(3,0x3ff1d110,32) = 32
1 fstat64(3,0x3ff1d1d0) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f3fa000
1 mprotect(0x3f414000,61440,PROT_NONE) = 0
1 mmap2(0x3f423000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f423000
1 mmap2(0x3f425000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f425000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813240,1072812804,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d0d8,SEEK_SET) = 0
1 read(3,0x3ff1d108,32) = 32
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f275000
1 mprotect(0x3f3e2000,61440,PROT_NONE) = 0
1 mmap2(0x3f3f1000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f3f1000
1 mmap2(0x3f3f8000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f3f8000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libgmodule-2.0.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d194,512) = 512
1 prctl(46,1072812712,1072812436,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d050) = 0
1 mmap2(NULL,78096,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f261000
1 mprotect(0x3f264000,61440,PROT_NONE) = 0
1 mmap2(0x3f273000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2) = 0x3f273000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d184,512) = 512
1 prctl(46,1072812728,1072812420,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d040) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f25f000
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f238000
1 mprotect(0x3f24d000,65536,PROT_NONE) = 0
1 mmap2(0x3f25d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f25d000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libresolv.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d174,512) = 512
1 prctl(46,1072812712,1072812404,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cf38,SEEK_SET) = 0
1 read(3,0x3ff1cf68,32) = 32
1 fstat64(3,0x3ff1d030) = 0
1 mmap2(NULL,149696,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f213000
1 mprotect(0x3f225000,61440,PROT_NONE) = 0
1 mmap2(0x3f234000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x11) = 0x3f234000
1 mmap2(0x3f236000,6336,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f236000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/libffi.so.7",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d164,512) = 512
1 prctl(46,1072812696,1072812388,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d020) = 0
1 mmap2(NULL,95072,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1fb000
1 mprotect(0x3f202000,61440,PROT_NONE) = 0
1 mmap2(0x3f211000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x6) = 0x3f211000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpcre.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d154,512) = 512
1 prctl(46,1072812648,1072812372,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d010) = 0
1 mmap2(NULL,545216,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f175000
1 mprotect(0x3f1ea000,61440,PROT_NONE) = 0
1 mmap2(0x3f1f9000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x74) = 0x3f1f9000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/../glib/tls/../glib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d144,512) = 512
1 prctl(46,1072812664,1072812356,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1cf00,SEEK_SET) = 0
1 read(3,0x3ff1cf30,32) = 32
1 fstat64(3,0x3ff1d000) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f162000
1 mprotect(0x3f164000,61440,PROT_NONE) = 0
1 mmap2(0x3f173000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f173000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f160000
1 set_thread_area(0x3f167750) = 0
1 mprotect(0x3f3f1000,16384,PROT_READ) = 0
1 mprotect(0x3f173000,4096,PROT_READ) = 0
1 mprotect(0x3f423000,4096,PROT_READ) = 0
1 mprotect(0x3f1f9000,4096,PROT_READ) = 0
1 mprotect(0x3f211000,4096,PROT_READ) = 0
1 mprotect(0x3f234000,4096,PROT_READ) = 0
1 mprotect(0x3f25d000,4096,PROT_READ) = 0
1 mprotect(0x3f557000,4096,PROT_READ) = 0
1 mprotect(0x3f273000,4096,PROT_READ) = 0
1 mprotect(0x3f5c6000,4096,PROT_READ) = 0
1 mprotect(0x3f7a7000,12288,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40012000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f160328) = 1
1 set_robust_list(0x3f160330,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dc10,NULL) = 0
1 rt_sigaction(33,0x3ff1dc10,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1dc58,NULL,16) = 0
1 getrlimit(3,0x3ff1dce0) = 0
1 brk(NULL) = 0x40013140
1 brk(0x40034140) = 0x40034140
1 brk(0x40035000) = 0x40035000
1 gettimeofday(0x3ff1dc18,NULL) = 0 ({tv_sec = 1689943050,tv_usec = 21503},NULL)
1 syscall(4238,1062575820,129,2147483647,0,0)1 futex(0x3f559ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,NULL,0) = 0
= 0
1 syscall(4238,1062575820,129,2147483647,0,1063025152)1 futex(0x3f559ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f5c7a00,1063025152) = 0
= 0
1 time(0,1072815148,1,0,0,0) = 1689943050
1 openat(AT_FDCWD,"/etc/localtime",O_RDONLY|O_CLOEXEC) = 3
1 fstat64(3,0x3ff1d9f8) = 0
1 fstat64(3,0x3ff1d898) = 0
1 read(3,0x4001b8b0,4096) = 148
1 _llseek(3,4294967295,4294967290,0x3ff1d8a8,SEEK_CUR) = 0
1 read(3,0x4001b8b0,4096) = 6
1 close(3) = 0
1 getpid() = 1
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3f3f84e0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 openat(AT_FDCWD,"/dev/console",O_WRONLY|O_NOCTTY) = 3
1 fstat64(3,0x3ff1d7f0) = 0
1 ioctl(3,TCGETS,0x3ff1d750) = 0 ({c_iflag = IGNBRK|IGNPAR,c_oflag = 0,c_cflag = B38400,CS8,CREAD,c_lflag = 0,c_cc = "",c_line = ' '})
1 _llseek(3,0,0,0x3ff1d8b8,SEEK_CUR) = -1 errno=29 (Illegal seek)
1 write(3,0x4001b758,72) = 72
1 close(3) = 0
1 pipe2(0x3ff1da90,0) = 0
1 clone(CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|0x12,child_stack=0x00000000,parent_tidptr=0x00000000,tls=0x00000000,child_tidptr=0x3f160328) = 3
1 close(4) = 0
1 read(3,0x3ff1da80,8) = 0
3 set_robust_list(0x3f160330,12) = -1 errno=89 (Function not implemented)
3 rt_sigaction(SIGCHLD,0x3ff1d8d0,0x3ff1d8b0) = 0
3 rt_sigaction(SIGINT,0x3ff1d8d0,0x3ff1d8b0) = 0
3 rt_sigaction(SIGTERM,0x3ff1d8d0,0x3ff1d8b0) = 0
3 rt_sigaction(SIGHUP,0x3ff1d8d0,0x3ff1d8b0) = 0
3 rt_sigaction(SIGPIPE,0x3ff1d8d0,0x3ff1d8b0) = 0
3 close(3) = 0
3 openat(AT_FDCWD,"/proc/self/fd",O_RDONLY|O_DIRECTORY|O_LARGEFILE) = 3
3 syscall(4219,3,1072810424,4096,1062601632,0)3 getdents64(3,0x3ff1c9b8,4096) = 168
= 168
3 fcntl64(4,F_SETFD,1) = 0
3 syscall(4219,3,1072810424,4096,1062601632,0)3 getdents64(3,0x3ff1c9b8,4096) = 0
= 0
3 close(3) = 0
3 openat(AT_FDCWD,"/dev/null",O_RDONLY|O_LARGEFILE) = 3
3 dup2(3,0) = 0
3 close(3) = 0
3 openat(AT_FDCWD,"/dev/null",O_WRONLY|O_LARGEFILE) = 3
3 dup2(3,1) = 1
3 close(3) = 0
3 openat(AT_FDCWD,"/dev/null",O_WRONLY|O_LARGEFILE) = 3
3 dup2(3,2) = 4
1 read(3,0x3ff1da84,4) = 4
1 syscall(4238,1062575820,129,2147483647,0,6)1 futex(0x3f559ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x00000006,6) = 0
= 0
1 syscall(4238,1062575820,129,2147483647,0,1072815292)1 futex(0x3f559ecc,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3ff1dcbc,1072815292) = 0
= 0
1 openat(AT_FDCWD,"lib/charset.alias",O_RDONLY|O_LARGEFILE) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/gconv/gconv-modules.cache",O_RDONLY) = 4
1 fstat64(4,0x3ff1d1e8) = 0
1 mmap2(NULL,26358,PROT_READ,MAP_SHARED,4,0) = 0x3f159000
1 close(4) = 0
1 futex(0x3f3f7460,FUTEX_PRIVATE_FLAG|FUTEX_WAKE,2147483647,NULL,0x3f42c020,1061339168) = 0
1 waitpid(3,(nil),0) = 3
1 close(3) = 0
1 time(0,1072815148,1,0,0,0) = 1689943050
1 getpid() = 1
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3f3f84e0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 openat(AT_FDCWD,"/dev/console",O_WRONLY|O_NOCTTY) = 3
1 fstat64(3,0x3ff1d7f0) = 0
1 ioctl(3,TCGETS,0x3ff1d750) = 0 ({c_iflag = IGNBRK|IGNPAR,c_oflag = 0,c_cflag = B38400,CS8,CREAD,c_lflag = 0,c_cc = "",c_line = ' '})
1 _llseek(3,0,0,0x3ff1d8b8,SEEK_CUR) = -1 errno=29 (Illegal seek)
1 write(3,0x40019648,121) = 121
1 write(3,0x40019648,2) = 2
1 close(3) = 0
1 unlink("/etc/addon/conf/finalize") = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/addon/conf/addonautostart",O_RDONLY) = -1 errno=2 (No such file or directory)
1 time(0,1072815028,1,0,0,0) = 1689943050
1 getpid() = 1
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3f3f84e0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 openat(AT_FDCWD,"/dev/console",O_WRONLY|O_NOCTTY) = 3
1 fstat64(3,0x3ff1d778) = 0
1 ioctl(3,TCGETS,0x3ff1d6d8) = 0 ({c_iflag = IGNBRK|IGNPAR,c_oflag = 0,c_cflag = B38400,CS8,CREAD,c_lflag = 0,c_cc = "",c_line = ' '})
1 _llseek(3,0,0,0x3ff1d840,SEEK_CUR) = -1 errno=29 (Illegal seek)
1 write(3,0x400195f0,41) = 41
1 close(3) = 0
1 unlink("/etc/addon/conf/addonautostart") = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/addon/conf/acapautostart",O_RDONLY) = -1 errno=2 (No such file or directory)
1 time(0,1072815028,1,0,0,0) = 1689943050
1 getpid() = 1
1 socket(PF_UNIX,SOCK_DGRAM|SOCK_CLOEXEC,IPPROTO_IP) = 3
1 connect(3,0x3f3f84e0,110) = -1 errno=2 (No such file or directory)
1 close(3) = 0
1 openat(AT_FDCWD,"/dev/console",O_WRONLY|O_NOCTTY) = 3
1 fstat64(3,0x3ff1d778) = 0
1 ioctl(3,TCGETS,0x3ff1d6d8) = 0 ({c_iflag = IGNBRK|IGNPAR,c_oflag = 0,c_cflag = B38400,CS8,CREAD,c_lflag = 0,c_cc = "",c_line = ' '})
1 _llseek(3,0,0,0x3ff1d840,SEEK_CUR) = -1 errno=29 (Illegal seek)
1 write(3,0x400195f0,39) = 39
1 close(3) = 0
1 unlink("/etc/addon/conf/acapautostart") = -1 errno=2 (No such file or directory)
1 exit_group(0)
[*] Identification of missing filesytem areas.
[*] Found missing area: /etc/addon/conf/acapautostart
[*] Trying to identify this missing file: acapautostart
[*] Creating directory /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/addon/conf
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/addon/conf/acapautostart
[*] Found missing area: /etc/addon/conf/addonautostart
[*] Trying to identify this missing file: addonautostart
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/addon/conf/addonautostart
[*] Found missing area: /etc/ld.so.cache
[*] Trying to identify this missing file: ld.so.cache
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/etc/ld.so.cache
[*] Found missing area: lib/charset.alias
[*] Trying to identify this missing file: charset.alias
[*] Missing file /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usrlib/charset.alias
-----------------------------------------------------------------