Skip to content

Compile failed and core dumped when compile with nginx 1.23.1 #98

@lystormenvoy

Description

@lystormenvoy

Since nginx change the number of argument in ngx_http_variable_unknown_header function
It print this error when compile :
image

I add the argument r before &v and then it can finish compiling.

But it core dumped when client try to play flv stream.
Backtrace:

#0  ngx_http_destination_charset (name=0x7ffea4a2bb40, r=0x317f370) at src/http/modules/ngx_http_charset_filter_module.c:330
#1  ngx_http_charset_header_filter (r=0x317f370) at src/http/modules/ngx_http_charset_filter_module.c:225
#2  0x00000000004d0ae7 in ngx_http_sub_header_filter (r=0x317f370) at src/http/modules/ngx_http_sub_filter_module.c:186
#3  0x00000000004d107e in ngx_http_addition_header_filter (r=<optimized out>) at src/http/modules/ngx_http_addition_filter_module.c:108
#4  0x00000000004d1974 in ngx_http_userid_filter (r=<optimized out>) at src/http/modules/ngx_http_userid_filter_module.c:239
#5  0x00000000004d2c47 in ngx_http_headers_filter (r=<optimized out>) at src/http/modules/ngx_http_headers_filter_module.c:243
#6  0x000000000052598f in ngx_http_broadcast_header_filter (r=0x317f370) at ../nginx-multiport-module/ngx_http_broadcast_module.c:182
#7  0x0000000000525e17 in ngx_http_inner_proxy_header_filter (r=<optimized out>) at ../nginx-multiport-module/ngx_http_inner_proxy_module.c:134
#8  0x00000000004d35a4 in ngx_http_not_modified_header_filter (r=<optimized out>) at src/http/modules/ngx_http_not_modified_filter_module.c:108
#9  0x00000000004d3846 in ngx_http_slice_header_filter (r=0x317f370) at src/http/modules/ngx_http_slice_filter_module.c:113
#10 0x000000000049ea8c in ngx_http_send_header (r=r@entry=0x317f370) at src/http/ngx_http_core_module.c:1852
#11 0x0000000000568554 in ngx_http_flv_live_send_header (r=0x317f370) at ../nginx-rtmp-module/http/ngx_http_flv_live_module.c:137
#12 ngx_http_flv_live_write_handler (r=0x317f370) at ../nginx-rtmp-module/http/ngx_http_flv_live_module.c:362
#13 0x00000000004a2e24 in ngx_http_request_handler (ev=0x7f101e34f250) at src/http/ngx_http_request.c:2386
#14 0x000000000048105f in ngx_event_process_posted (cycle=cycle@entry=0x317a350, posted=0x23dd630 <ngx_posted_events>) at src/event/ngx_event_posted.c:34
#15 0x0000000000480b7e in ngx_process_events_and_timers (cycle=cycle@entry=0x317a350) at src/event/ngx_event.c:263
#16 0x000000000048929e in ngx_worker_process_cycle (cycle=cycle@entry=0x317a350, data=data@entry=0x0) at src/os/unix/ngx_process_cycle.c:721
#17 0x000000000048795d in ngx_spawn_process (cycle=cycle@entry=0x317a350, proc=0x48920b <ngx_worker_process_cycle>, data=0x0, name=0x769f3e "worker process", 
    respawn=respawn@entry=0) at src/os/unix/ngx_process.c:199
#18 0x0000000000489f53 in ngx_reap_children (cycle=0x317a350) at src/os/unix/ngx_process_cycle.c:598
#19 ngx_master_process_cycle (cycle=cycle@entry=0x317a350) at src/os/unix/ngx_process_cycle.c:174
#20 0x0000000000460ab1 in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:383

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions