Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coredump on systems with kernels greater than 5.1, aarch64 , io_uring #110

Open
ganl opened this issue Oct 9, 2023 · 0 comments
Open

coredump on systems with kernels greater than 5.1, aarch64 , io_uring #110

ganl opened this issue Oct 9, 2023 · 0 comments

Comments

@ganl
Copy link

ganl commented Oct 9, 2023

$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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant