ngx_quic_create_stream segfault

Jeffrey Walton noloader at gmail.com
Thu Dec 21 15:02:24 UTC 2023


On Thu, Dec 21, 2023 at 7:35 AM Clima Gabriel
<clima.gabrielphoto at gmail.com> wrote:
>
> Hello everyone,
>
> My Nginx worker process has frequent segfaults on this codepath. (ngx_quic_create_stream)
> Here are some observations I have made so far.
> 1. The faults happen with tcmalloc and malloc so this is not the issue.
> 2. master_process is on
> 3. 1 worker is enough
> 4. HTTP3 requests need to come in fairly frequently, at least 2 per second
> 5. At least one http1 or http2 request needs to be received as well, regardless of what port
>
> I would really appreciate any suggestions on where do I continue investigating this.
>
> #0  0x00007ffb0b01876a in (anonymous namespace)::do_memalign(unsigned long, unsigned long) () from /lib64/libtcmalloc.so.4
> #1  0x00007ffb0b037010 in tc_posix_memalign () from /lib64/libtcmalloc.so.4
> [...]

It's good you have debug symbols available.

A 'bt full' may be more helpful so parameter values are available in
the stack trace.

Jeff


More information about the nginx mailing list