GithubCopilotX commented on issue #11019:
URL: https://github.com/apache/apisix/issues/11019#issuecomment-1987666469

   This memory corruption causes nginx crash and can reproduce under 
"--with-no-pool-patch" build by running t/048-match-dfa.t TEST 9. The error 
only happens when there is consecutive regex calls and first call is 
traditional mode with captures and second call is DFA mode. Check the details 
in the test.
   test log:
   
   ok 1 - t/048-match-dfa.t TEST 9: multiple match calls with captures and DFA. 
- status code ok 
   ok 2 - t/048-match-dfa.t TEST 9: multiple match calls with captures and DFA. 
- response_body - response is expected (repeated req 0, req 0)
    t/048-match-dfa.t TEST 9: multiple match calls with captures and DFA. - 
Can't connect to 127.0.0.1:1984: Connection refused
        Retry connecting after 0.675 sec
   t/048-match-dfa.t TEST 9: multiple match calls with captures and DFA. - 
Can't connect to 127.0.0.1:1984: Connection refused
        Retry connecting after 0.825 sec
   error.log
   
   [notice] 1683757#0: using the "epoll" event method [notice] 1683757#0: 
openresty/1.25.3.1 (no pool)
   [notice] 1683757#0: built by gcc 13.2.1 20231011 (Red Hat 13.2.1-4) (GCC) 
[notice] 1683757#0: OS: Linux 6.7.4-100.fc38.x86_64 
   [notice] 1683757#0: getrlimit(RLIMIT_NOFILE): 1024:524288 
   free(): invalid next size (fast)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to