michalbednarski

Results 108 comments of michalbednarski

This disables [ASLR](https://en.wikipedia.org/wiki/Address_space_layout_randomization) for processes inside proot making memory layout always same, as some randomization causes memory region clash after emulated [`execve`](http://man7.org/linux/man-pages/man2/execve.2.html) call Clash is happening between two of those...

It looks like even strace has problems on that ROM, so probably there won't be much that could be fixed on my side as strace by default doesn't alter operation...

Based on your steps, appears to work here, although if by "Termux just crashes" you mean that you are taken back to launcher then you've probably just hit out-of-memory ```...

I'm not actually sure why is that, but it appears that prebuilt seamonkey from aarch64 archlinux is broken even when running in chroot on raspi (without proot), while seamonkey built...

Looks like error happened early in proot operation, most likely kernel in your ROM is buggy You can try running ``` PROOT_NO_SECCOMP=1 PROOT_ASSUME_NEW_SECCOMP=1 proot-distro install ubuntu ``` and see if...

> When I tried to use `syscall(SYS_shmat)` my application was killed by seccomp In that case you can detect that by registering signal handler for `SIGSYS` or checking in child...

`strace` shows: ``` mmap(NULL, 274877915136, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) ``` (On Pixel 6, on Raspberry Pi 4 same call has succeeded) Googling "274877915136 bytes"...

I've already fixed that issue but forgot to post comment about that (sorry) After updating (`pkg up` in Termux) you should be able to `yay -S ice-ssb-git` without this error

On devices I've tested described problem didn't occur (might be device-specific or something is missing from repro) When following instruction from first reply, only failure I've got: ``` Errors were...

I think you can use following as alternative to `shm_open`/`ashmem`: ```c int32_t shmfd = open(".", O_TMPFILE | O_RDWR | O_EXCL | O_CLOEXEC, 0); // Needs writeable directory int32_t shmfd =...