summary refs log tree commit diff stats
path: root/results/scraper/box64/1429
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/box64/1429')
-rw-r--r--results/scraper/box64/142941
1 files changed, 41 insertions, 0 deletions
diff --git a/results/scraper/box64/1429 b/results/scraper/box64/1429
new file mode 100644
index 000000000..b09e29ccd
--- /dev/null
+++ b/results/scraper/box64/1429
@@ -0,0 +1,41 @@
+Infinite loop over "shm_semaphores_init: semctl init error: Invalid argument " (termux / proot)
+Hello,

+

+I try to run a program and after the initial loading step, it stays in a loop with error "shm_semaphores_init: semctl init error: Invalid argument "

+

+I'm in a proot environment in termux : proot was mentioned as a problem with that exact error in only one ticket : https://github.com/ptitSeb/box64/issues/754 but it seems completely unrelated.

+

+I've built my own box64 on android (proot in termux) with DYNAREC and BAD_SIGNAL. I've tried with a pre-built box64-android but same problem.

+

+I've got 2 questions:

+

+1/ Could you explain what this error means and what could the cause ?

+2/ Is there any way to circumvent it ?

+

+

+With debug level 2, I've got a bit more details:

+

+```

+0x3f0217d6f3: Calling semget(0x4D31727E, 0x8, 0x780, ...) => return 0x811001 

+0x3f0217d71a: Calling semctl(0x811001, 0x0, 0x11, ...) => return 0xFFFFFFFFFFFFFFFF 

+0x3f0217d729: Calling __errno_location(0x811001, 0x0, 0x11, ...) => return 0x7DC6E2CA10 

+0x3f0217d730: Calling strerror(0x16, 0x0, 0x11, ...) => return 0x7DC6DC0200 

+0x3f02190547: Calling vasprintf(0x7DC6B67FA8, 0x3F0223C60A, 0x7DC6B67FD8, ...) => return 0x47 

+0x3f021903cd: Calling vprintf(0x3F0223ED78, 0x7DC6B67EC8, 0x3F021B2196, ...) =>shm_semaphores_init: semctl init error: Invalid argument - trying again return 0x48 

+0x3f0219057d: Calling free(0x369E9EA0, 0x7DC6B67EC8, 0x3F021B2196, ...) => return 0x48 

+0x3f0217d763: Calling semctl(0x811001, 0x0, 0x0, ...) => return 0x0 

+0x3f0217d6f3: Calling semget(0x4D31727E, 0x8, 0x780, ...) => return 0x812001 

+0x3f0217d71a: Calling semctl(0x812001, 0x0, 0x11, ...) => return 0xFFFFFFFFFFFFFFFF 

+0x3f0217d729: Calling __errno_location(0x812001, 0x0, 0x11, ...) => return 0x7DC6E2CA10 

+0x3f0217d730: Calling strerror(0x16, 0x0, 0x11, ...) => return 0x7DC6DC0200 

+0x3f02190547: Calling vasprintf(0x7DC6B67FA8, 0x3F0223C60A, 0x7DC6B67FD8, ...) => return 0x47 

+0x3f021903cd: Calling vprintf(0x3F0223ED78, 0x7DC6B67EC8, 0x3F021B2196, ...) =>shm_semaphores_init: semctl init error: Invalid argument - trying again return 0x48 

+0x3f0219057d: Calling free(0x369E9F10, 0x7DC6B67EC8, 0x3F021B2196, ...) => return 0x48 

+0x3f0217d763: Calling semctl(0x812001, 0x0, 0x0, ...) => return 0x0 

+0x3f0217d6f3: Calling semget(0x4D31727E, 0x8, 0x780, ...) => return 0x813001 

+0x3f0217d71a: Calling semctl(0x813001, 0x0, 0x11, ...) => return 0xFFFFFFFFFFFFFFFF 

+0x3f0217d729: Calling __errno_location(0x813001, 0x0, 0x11, ...) => return 0x7DC6E2CA10 

+0x3f0217d730: Calling strerror(0x16, 0x0, 0x11, ...) => return 0x7DC6DC0200 

+0x3f02190547: Calling vasprintf(0x7DC6B67FA8, 0x3F0223C60A, 0x7DC6B67FD8, ...) => return 0x47 

+0x3f021903cd: Calling vprintf(0x3F0223ED78, 0x7DC6B67EC8, 0x3F021B2196, ...) =>shm_semap

+```
\ No newline at end of file