pelya / android-shmem

System V shared memory emulation on Android, using ashmem. That includes shmget, shmat, shmdt and shmctl functions.
BSD 3-Clause "New" or "Revised" License
200 stars 43 forks source link

Shmem, Tigervnc and Mate on ArchLinux AARCH64 issue #14

Open JanuszChmiel opened 4 years ago

JanuszChmiel commented 4 years ago

Why do you think, that this shared memory emulation library can not enable users to use Tigervnc and Mate at The same time, when both processes are using shared memory? I Am using Huavei 10 Mate lite phone. And I have found out, that when I only run standalone Mate and some of other apps, Shared memory library will not cause The crash. But when I use x11vnc or tigervnc with shared memory support, it crash. May be, that The main problem is, that Android developers have made Android 8 update which prevent The Linux secure disable code from functioning. Or it would had to be too complex to emulate shared memory for so complex interprocess communication. Or may be, that there is some relationship between The used Linux socket type and yours library. May be, that Tigervnc and x11vnc uses TCP/IP sockets instead of Unix sockets. I do not know how to explain The reason of random crashes.