Worker process core dumped

Maxim Dounin mdounin at mdounin.ru
Wed Sep 9 13:01:55 UTC 2020


Hello!

On Tue, Sep 08, 2020 at 10:49:44PM -0400, allenhe wrote:

> I found most times using "r" after ngx_http_free_request() won't have any
> problem. the core dump would happen once for a while in the high load.

That's because use-after-free errors not always result in 
segmentation faults as long as the memory isn't yet returned to 
the OS by the memory allocator.  To get consistent errors, consider using 
AddressSanitizer (https://en.wikipedia.org/wiki/AddressSanitizer).

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx mailing list