angie: Multiple angie crashes in ngx_quic_frame_sendto

Hi Team,

Noticed mutiple angie crashes

angie -V

root@ubuntu:~# angie -V
Angie version: Angie/1.9.0
nginx version: nginx/1.27.4
built on Fri, 09 May 2025 20:58:06 GMT
built by gcc 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
built with OpenSSL 3.0.3 3 May 2022
TLS SNI support enabled
configure arguments: --prefix=/etc/angie --conf-path=/etc/angie/angie.conf --error-log-path=/var/log/angie/error.log --http-log-path=/var/log/angie/access.log --lock-path=/run/angie.lock --modules-path=/usr/lib/angie/modules --pid-path=/run/angie.pid --sbin-path=/usr/sbin/angie --http-acme-client-path=/var/lib/angie/acme --http-client-body-temp-path=/var/cache/angie/client_temp --http-fastcgi-temp-path=/var/cache/angie/fastcgi_temp --http-proxy-temp-path=/var/cache/angie/proxy_temp --http-scgi-temp-path=/var/cache/angie/scgi_temp --http-uwsgi-temp-path=/var/cache/angie/uwsgi_temp --user=angie --group=angie --with-file-aio --with-http_acme_module --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-mail --with-mail_ssl_module --with-stream --with-stream_mqtt_preread_module --with-stream_rdp_preread_module --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-ld-opt='-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now' --with-openssl=/root/Tongsuo --with-openssl-opt=enable-ntls --with-ntls --with-debug
root@ubuntu:~#

No OOM


root@ubuntu:~# dmesg | grep angie
[230071.960081] [3396786]     0 3396786     5622      568    61440        0             0 angie
[230071.960085] [3396787]     0 3396787     6029     1664    73728        0             0 angie
[230071.960089] [3396788]     0 3396788     5964     1138    73728        0             0 angie
[230071.960093] [3396789]     0 3396789     6620     2061    77824        0             0 angie
[230071.960098] [3396790]     0 3396790     5996     1642    73728        0             0 angie
[230071.960102] [3396791]     0 3396791     6171     1570    73728        0             0 angie
[230071.960106] [3396792]     0 3396792     6031     1388    73728        0             0 angie
[230071.960109] [3396793]     0 3396793     6065     1474    73728        0             0 angie
[230071.960113] [3396794]     0 3396794     5996     1391    73728        0             0 angie
[230071.960129] [3396818]     0 3396818     6777     2201    77824        0             0 angie
[230071.960133] [3396819]     0 3396819     6065     1740    73728        0             0 angie
[230071.960166] [3396863]     0 3396863     6792     2226    77824        0             0 angie
[230071.960170] [3396864]     0 3396864     5929     1028    73728        0             0 angie
[230071.960173] [3396871]     0 3396871     5964     1000    73728        0             0 angie
[230071.960175] [3396872]     0 3396872     5997     1219    73728        0             0 angie
[230071.960179] [3396873]     0 3396873     6446     1785    77824        0             0 angie
[230071.960185] [3396882]     0 3396882     6828     2370    81920        0             0 angie
[230093.226332] [3396786]     0 3396786     5622      555    61440        0             0 angie
[230093.226335] [3396787]     0 3396787    11515     6227   118784        0             0 angie
[230093.226338] [3396788]     0 3396788     7694     2824    86016        0             0 angie
[230093.226341] [3396789]     0 3396789     8131     3166    90112        0             0 angie
[230093.226345] [3396790]     0 3396790     8763     3894    94208        0             0 angie
[230093.226348] [3396791]     0 3396791     7421     2627    86016        0             0 angie
[230093.226351] [3396792]     0 3396792     9016     4025    98304        0             0 angie
[230093.226354] [3396793]     0 3396793     6547     1758    77824        0             0 angie
[230093.226357] [3396794]     0 3396794     7603     2718    86016        0             0 angie
[230093.226369] [3396818]     0 3396818     9107     4133    98304        0             0 angie
[230093.226372] [3396819]     0 3396819     7859     2888    90112        0             0 angie
[230093.226403] [3396863]     0 3396863     9437     4432   102400        0             0 angie
[230093.226406] [3396864]     0 3396864     8402     3497    94208        0             0 angie
[230093.226409] [3396871]     0 3396871     6865     2026    81920        0             0 angie
[230093.226412] [3396872]     0 3396872     6732     1919    77824        0             0 angie
[230093.226415] [3396873]     0 3396873     8184     3231    90112        0             0 angie
[230093.226420] [3396882]     0 3396882     8278     3368    90112        0             0 angie
root@ubuntu:~#

Backtrace

(gdb) bt
#0  ngx_quic_frame_sendto (c=c@entry=0x7fe824793ae0, frame=frame@entry=0x5576b36717e0, min=min@entry=0, path=0x0)
    at src/event/quic/ngx_event_quic_output.c:1250
#1  0x00005576a32d1564 in ngx_quic_send_cc (c=c@entry=0x7fe824793ae0) at src/event/quic/ngx_event_quic_output.c:921
#2  0x00005576a32ba59b in ngx_quic_close_connection (c=c@entry=0x7fe824793ae0, rc=rc@entry=-1) at src/event/quic/ngx_event_quic.c:1045
#3  0x00005576a32bc969 in ngx_quic_client_input_handler (rev=0x7fe82470c650) at src/event/quic/ngx_event_quic.c:856
#4  0x00005576a328944e in ngx_drain_connections (cycle=0x5576ac23b8f0) at src/core/ngx_connection.c:1409
#5  ngx_get_connection (s=s@entry=892, log=<optimized out>) at src/core/ngx_connection.c:1191
#6  0x00005576a329e17b in ngx_event_connect (pc=pc@entry=0x5576b366f2b8, data=<optimized out>) at src/event/ngx_event_connect.c:67
#7  0x00005576a329e9da in ngx_event_connect_peer (pc=pc@entry=0x5576b366f2b8) at src/event/ngx_event_connect.c:35
#8  0x00005576a32fe10e in ngx_http_upstream_connect (r=r@entry=0x5576b0b30110, u=u@entry=0x5576b366f2a8)
    at src/http/ngx_http_upstream.c:1662
#9  0x00005576a32ff593 in ngx_http_upstream_init_request (r=r@entry=0x5576b0b30110) at src/http/ngx_http_upstream.c:889
#10 0x00005576a32ff94d in ngx_http_upstream_init (r=0x5576b0b30110) at src/http/ngx_http_upstream.c:591
#11 0x00005576a32ee3d4 in ngx_http_read_client_request_body (r=r@entry=0x5576b0b30110,
    post_handler=0x5576a32ff87b <ngx_http_upstream_init>) at src/http/ngx_http_request_body.c:84
#12 0x00005576a3353016 in ngx_http_proxy_handler (r=0x5576b0b30110) at src/http/modules/ngx_http_proxy_module.c:1326
#13 0x00005576a32de553 in ngx_http_core_content_phase (r=0x5576b0b30110, ph=<optimized out>) at src/http/ngx_http_core_module.c:1367
#14 0x00005576a32d7ac4 in ngx_http_core_run_phases (r=r@entry=0x5576b0b30110) at src/http/ngx_http_core_module.c:970
#15 0x00005576a32d7b6b in ngx_http_handler (r=r@entry=0x5576b0b30110) at src/http/ngx_http_core_module.c:953
#16 0x00005576a32e4f32 in ngx_http_process_request (r=r@entry=0x5576b0b30110) at src/http/ngx_http_request.c:2404
#17 0x00005576a3335bba in ngx_http_v3_process_request (rev=rev@entry=0x7fe82470c710) at src/http/v3/ngx_http_v3_request.c:624
#18 0x00005576a33362a3 in ngx_http_v3_wait_request_handler (rev=0x7fe82470c710) at src/http/v3/ngx_http_v3_request.c:427
#19 0x00005576a3336533 in ngx_http_v3_init_request_stream (c=0x7fe824793cd0) at src/http/v3/ngx_http_v3_request.c:281
#20 ngx_http_v3_init_stream (c=c@entry=0x7fe824793cd0) at src/http/v3/ngx_http_v3_request.c:118
#21 0x00005576a32e1f4b in ngx_http_init_connection (c=0x7fe824793cd0) at src/http/ngx_http_request.c:526
#22 0x00005576a32c85ac in ngx_quic_init_stream_handler (ev=<optimized out>) at src/event/quic/ngx_event_quic_streams.c:595
#23 0x00005576a329c69c in ngx_event_process_posted (cycle=cycle@entry=0x5576ac23b8f0, posted=0x5576a38016d0 <ngx_posted_events>)
    at src/event/ngx_event_posted.c:34
#24 0x00005576a329c12a in ngx_process_events_and_timers (cycle=cycle@entry=0x5576ac23b8f0) at src/event/ngx_event.c:264
#25 0x00005576a32a6414 in ngx_worker_process_cycle (cycle=0x5576ac23b8f0, data=<optimized out>) at src/os/unix/ngx_process_cycle.c:751
#26 0x00005576a32a44a0 in ngx_spawn_process (cycle=cycle@entry=0x5576ac23b8f0,
    proc=proc@entry=0x5576a32a62e1 <ngx_worker_process_cycle>, data=data@entry=0x7, name=name@entry=0x5576a365d58c "worker process",
    respawn=respawn@entry=-3) at src/os/unix/ngx_process.c:200
#27 0x00005576a32a5b46 in ngx_start_worker_processes (cycle=cycle@entry=0x5576ac23b8f0, n=16, type=type@entry=-3)
    at src/os/unix/ngx_process_cycle.c:371
#28 0x00005576a32a6dca in ngx_master_process_cycle (cycle=cycle@entry=0x5576ac23b8f0) at src/os/unix/ngx_process_cycle.c:104
#29 0x00005576a3277093 in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:419
(gdb)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 54 (22 by maintainers)

Commits related to this issue

Most upvoted comments

@VBart Actually I have few cores from last run But I not able to upload here

Image