Open degtyaryov opened 8 years ago
I recompiled nginx 1.10.0 with nginx-rtmp-module as static module. Now the same problem as nginx 1.9.12.
# nginx -v
nginx version: nginx/1.10.0
# nginx -t -c /etc/nginx/nginx-rtmp.conf
nginx: the configuration file /etc/nginx/nginx-rtmp.conf syntax is ok
nginx: configuration file /etc/nginx/nginx-rtmp.conf test is successful
# coredumpctl gdb 88252
Core was generated by `nginx: worker process '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 ngx_rtmp_auto_push_publish (s=0x557f83a89cd0, v=0x557f82278b80 <v>) at nginx-rtmp-module-1.1.7/ngx_rtmp_auto_push_module.c:477
477 ctx->push_evt.log = s->connection->log;
Missing separate debuginfos, use: dnf debuginfo-install bzip2-libs-1.0.6-19.fc23.x86_64 glibc-2.22-11.fc23.x86_64 krb5-libs-1.14.1-1.fc23.x86_64 libgcc-5.3.1-2.fc23.x86_64 libstdc++-5.3.1-2.fc23.x86_64 nss-softokn-freebl-3.22.2-1.0.fc23.x86_64 openssl-libs-1.0.2g-2.fc23.x86_64 sssd-client-1.13.3-5.fc23.x86_64
(gdb) backtrace
#0 ngx_rtmp_auto_push_publish (s=0x557f83a89cd0, v=0x557f82278b80 <v>) at nginx-rtmp-module-1.1.7/ngx_rtmp_auto_push_module.c:477
#1 0x0000557f81fc9f7a in ngx_rtmp_amf_message_handler (s=0x557f83a89cd0, h=0x557f83a8ad80, in=<optimized out>) at nginx-rtmp-module-1.1.7/ngx_rtmp_receive.c:437
#2 0x0000557f81fc5899 in ngx_rtmp_receive_message (s=s@entry=0x557f83a89cd0, h=h@entry=0x557f83a8ad80, in=in@entry=0x557f83a8bc80) at nginx-rtmp-module-1.1.7/ngx_rtmp_handler.c:799
#3 0x0000557f81fc5de1 in ngx_rtmp_recv (rev=<optimized out>) at nginx-rtmp-module-1.1.7/ngx_rtmp_handler.c:464
#4 0x0000557f81f21293 in ngx_event_process_posted (cycle=cycle@entry=0x557f83a70310, posted=0x557f829823e0 <ngx_posted_events>) at src/event/ngx_event_posted.c:33
#5 0x0000557f81f20d6f in ngx_process_events_and_timers (cycle=cycle@entry=0x557f83a70310) at src/event/ngx_event.c:259
#6 0x0000557f81f28c25 in ngx_worker_process_cycle (cycle=cycle@entry=0x557f83a70310, data=data@entry=0x0) at src/os/unix/ngx_process_cycle.c:753
#7 0x0000557f81f275ad in ngx_spawn_process (cycle=cycle@entry=0x557f83a70310, proc=0x557f81f28be0 <ngx_worker_process_cycle>, data=0x0, name=0x557f81ffd0a2 "worker process", respawn=respawn@entry=0) at src/os/unix/ngx_process.c:198
#8 0x0000557f81f2a2e8 in ngx_reap_children (cycle=0x557f83a70310) at src/os/unix/ngx_process_cycle.c:621
#9 ngx_master_process_cycle (cycle=0x557f83a70310) at src/os/unix/ngx_process_cycle.c:174
#10 0x0000557f81f01add in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:367
See this for explanation: https://github.com/sergey-dryabzhinsky/nginx-rtmp-module/issues/127
Hello.
Fedora 23 nginx-1.9.12 nginx-rtmp-module-1.1.7(git commit f62a0838064baf089ad9fe3c8f6f2ffe0775afb2): My config /etc/nginx/nginx-rtmp.conf:
nginx started, but segmentation fault when the client is connected:
Fedora 23 nginx-1.10.0 nginx-rtmp-module-1.1.7(git commit e08959247dc840bb42cdf3389b1f5edb5686825f): My config /etc/nginx/nginx-rtmp.conf:
Build: