You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far this issue is in the develop branch and the changes that lead to that are not yet released (that's why i'm withholding new minor releases). So it should not be related to hschimpf/parallel-sdk#26
Running code that uses a reference to an element in an array in a thread segfaults with the following backtrace:
You can reproduce using https://github.com/realFlowControl/1brc/blob/main/calculateAverage.php, the
opline
points to line 71 (where the array is accessed). If I comment the entireif
-block, it segfaults in another line.It started with 32cd9c3 and the change that leads to this is this line:
parallel/src/copy.c
Line 191 in d8a0113
Setting this back to
2
will fix the segfault, but lead to ASAN tests failing ;-)I sadly have no idea what is going on :-(
Edit (2024-10-02): if OPcache is enabled, this works like a charm, without any issues. As soon as I disable OPcache, it crashes
The text was updated successfully, but these errors were encountered: