Open ganl opened 1 year ago
$loop = Loop::get(); $loop->addTimer(5.0, function () use ($x, $loop) { …… }); $loop->run();
uname -r
5.10.0-60.86.0.110.oe2203.aarch64
PHP7.4, ext-uv 0.2.4, libuv 1.45/1.46
strace
[0000ffffbb307084] openat(AT_FDCWD, "……/default/application/vendor/react/event-loop/src/Timer/Timer.php", O_RDONLY) = 11 [0000ffffbb306920] newfstatat(11, "", {st_mode=S_IFREG|0600, st_size=1304, ...}, AT_EMPTY_PATH) = 0 [0000ffffbb307380] read(11, "<?php\n\nnamespace React\\EventLoop"..., 1304) = 1304 [0000ffffbb307bcc] close(11) = 0 [0000ffffbb307544] faccessat(AT_FDCWD, "……default/application/vendor/composer/../react/event-loop/src/TimerInterface.php", F_OK) = 0 [0000ffffbb306920] newfstatat(AT_FDCWD, "……default/application/vendor/composer/../react/event-loop/src/TimerInterface.php", {st_mode=S_IFREG|0600, st_size=492, ...}, AT_SYMLINK_NOFOLLOW) = 0 [0000ffffbb307084] openat(AT_FDCWD, "……default/application/vendor/react/event-loop/src/TimerInterface.php", O_RDONLY) = 11 [0000ffffbb315ec8] fstat(11, {st_mode=S_IFREG|0600, st_size=492, ...}) = 0 [0000ffffbb31138c] mmap(NULL, 492, PROT_READ, MAP_SHARED, 11, 0) = 0xffffbe767000 [0000ffffbb306920] newfstatat(AT_FDCWD, "……default/application/vendor/react/event-loop/src/TimerInterface.php", {st_mode=S_IFREG|0600, st_size=492, ...}, AT_SYMLINK_NOFOLLOW) = 0 [0000ffffbb31140c] munmap(0xffffbe767000, 492) = 0 [0000ffffbb307bcc] close(11) = 0 [0000ffffbb307084] openat(AT_FDCWD, "……/default/application/vendor/react/event-loop/src/TimerInterface.php", O_RDONLY) = 11 [0000ffffbb306920] newfstatat(11, "", {st_mode=S_IFREG|0600, st_size=492, ...}, AT_EMPTY_PATH) = 0 [0000ffffbb307380] read(11, "<?php\n\nnamespace React\\EventLoop"..., 492) = 492 [0000ffffbb307bcc] close(11) = 0 [0000ffffbb3111e8] io_uring_enter(5, 6, 6, IORING_ENTER_GETEVENTS, NULL, 0) = 6 [0000ffffbb3155a8] epoll_pwait(3, <unfinished ...>) = ? [????????????????] +++ killed by SIGSEGV (core dumped) +++ Segmentation fault (core dumped)
uname -r
5.10.0-60.86.0.110.oe2203.aarch64
PHP7.4, ext-uv 0.2.4, libuv 1.45/1.46
strace