Nikita Popov

Results 517 comments of Nikita Popov

Probably AC_PROG_CC_C99 should be added to config.m4. You should be able to work around this by adding `-std=c99` to CFLAGS.

That's a dead lock... The first suspect would be whether an opcache restart might have taken place at the same time this occurred. Opcache may kill processes that fail to...

> How would such a opcache restart look like? It would result in "Attempting to kill locker" warnings in the opcache log.

@duritong I think it's necessary to set opcache.log_verbosity_level=2 (or higher) for these to show up.

I have tried to reproduce a deadlock under various conditions, but the only case where I was successful is if a process is terminated using SIGKILL. I have landed https://github.com/php/php-src/commit/8b7aaad7d65779b1d6497436b4e7da52f53d159c...

If you are making use of apcu_entry(), then this issue may be resolved in apcu 5.1.20. The opcache restart issue should also be addressed in PHP 7.4.16 / 8.0.3 (although...

@chrisddwrt Would it be possible to get a backtrace from gdb, to find out which lock is hanging? Something like `gdb -p 55317` and then run `backtrace` in the console.

Just to check, did you see any relevant log output around that time? Crashed process, opcache reset, or something like that?

Are you using apcu_entry anywhere? Wondering if this might be a side-effect from #246 that only manifests on a later apcu_store call.

I think it's quite likely that this has the same root cause as #259, though your symptoms are somewhat different.