[quic] ngx_quic_input_handler Segmentation fault because c->udp->dgram is null

Gao,Yan(媒体云) gaoyan09 at baidu.com
Tue Jan 25 09:20:25 UTC 2022


    Program terminated with signal SIGSEGV, Segmentation fault.
    #0  0x00000000004bc3f9 in ngx_quic_input_handler (rev=0x2a119170) at src/event/quic/ngx_event_quic.c:497
    497	src/event/quic/ngx_event_quic.c: No such file or directory.
    (gdb) bt
    #0  0x00000000004bc3f9 in ngx_quic_input_handler (rev=0x2a119170) at src/event/quic/ngx_event_quic.c:497
    #1  0x00000000004b011e in ngx_epoll_process_events (cycle=0x17011ab0, timer=<optimized out>, flags=<optimized out>) at src/event/modules/ngx_epoll_module.c:928
    #2  0x00000000004a6ab1 in ngx_process_events_and_timers (cycle=cycle at entry=0x17011ab0) at src/event/ngx_event.c:262
    #3  0x00000000004ae487 in ngx_worker_process_cycle (cycle=0x17011ab0, data=<optimized out>) at src/os/unix/ngx_process_cycle.c:727
    #4  0x00000000004acc01 in ngx_spawn_process (cycle=cycle at entry=0x17011ab0, proc=proc at entry=0x4ae397 <ngx_worker_process_cycle>, data=data at entry=0x3, name=name at entry=0x9386ee "worker process",
        respawn=respawn at entry=-4) at src/os/unix/ngx_process.c:199
    #5  0x00000000004ad723 in ngx_start_worker_processes (cycle=cycle at entry=0x17011ab0, n=16, type=type at entry=-4) at src/os/unix/ngx_process_cycle.c:350
    #6  0x00000000004aefc0 in ngx_master_process_cycle (cycle=0x17011ab0, cycle at entry=0x289e7a0) at src/os/unix/ngx_process_cycle.c:235
    #7  0x00000000004878e8 in main (argc=3, argv=<optimized out>) at src/core/nginx.c:397
    (gdb) p c->udp->dgram
    $1 = (ngx_udp_dgram_t *) 0x0

    Gao,Yan(ACG VCP) 







More information about the nginx-devel mailing list