Welcome! Log In Create A New Profile

Advanced

Re: 回复: Segmentation fault sometimes

Sergey A. Osokin
November 17, 2022 09:12AM
Hi,

On Fri, Nov 11, 2022 at 09:04:44AM +0000, 王 静凯 wrote:
> Hi,
> Sorry I forget the mail I send before.
> Now the core file generate by nginx 1.22.0.
> It is meaningless to run nginx without third-party modules.
> I want to know if it crash when calling functions in nginx ( not in
> third-party module ) , it is not the problem relate to third-party
> modules? Or it also be likely to cause by third-party modules?
>
> The print in gdb with ‘bt’ and ‘info local’:
> ````
> Core was generated by `nginx: worker process '.
> Program terminated with signal 11, Segmentation fault.
> #0 0x0000000000464af6 in ngx_log_error_core (level=8, log=0x3f05518, err=<optimized out>, fmt=0x7ffdf20c6124 "") at src/core/ngx_log.c:168
>
> warning: Source file is more recent than executable.
> 168 log->writer(log, level, errstr, p - errstr);
> Missing separate debuginfos, use: debuginfo-install glibc-2.17-317.el7.x86_64 nss-softokn-freebl-3.34.0-2.el7.x86_64 sssd-client-1.16.0-19.el7.x86_64
> (gdb) bt
> #0 0x0000000000464af6 in ngx_log_error_core (level=8, log=0x3f05518, err=<optimized out>, fmt=0x7ffdf20c6124 "") at src/core/ngx_log.c:168
> #1 0x00000000004873d7 in ngx_memalign (alignment=16, size=4096, log=0x3f05518) at src/os/unix/ngx_alloc.c:65
> #2 0x000000000046508f in ngx_palloc_block (pool=0x4028770, size=72) at src/core/ngx_palloc.c:186
> #3 0x000000000046527f in ngx_palloc_small (align=1, size=<optimized out>, pool=<optimized out>) at src/core/ngx_palloc.c:173
> #4 ngx_palloc (pool=<optimized out>, size=<optimized out>) at src/core/ngx_palloc.c:127
> #5 0x0000000000465342 in ngx_pcalloc (pool=<optimized out>, size=72) at src/core/ngx_palloc.c:302
> #6 0x0000000000554834 in ngx_rtmp_shared_alloc_frame (size=4096, cl=0x402e830, mandatory=0) at ../nginx-rtmp-module/ngx_rtmp_shared_module.c:229
> #7 0x000000000053c134 in ngx_rtmp_live_av (s=0x47d6eb0, h=0x47cee70, in=0x402e830) at ../nginx-rtmp-module/ngx_rtmp_live_module.c:773
> #8 0x000000000053124a in ngx_rtmp_receive_message (s=0x47d6eb0, h=0x47cee70, in=0x402e830) at ../nginx-rtmp-module/ngx_rtmp_handler.c:875
> #9 0x000000000053200e in ngx_rtmp_recv (rev=<optimized out>) at ../nginx-rtmp-module/ngx_rtmp_handler.c:486

It seems like the third-party rtmp module is still there, right?
Is there any chance to switch it off and reproduce the issue?
BTW what's the version of the rtmp module there?

--
Sergey A. Osokin
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Server mp4 file larger than 2GB on 32bit system

王 静凯 June 05, 2021 04:36AM

Re: Server mp4 file larger than 2GB on 32bit system

Maxim Dounin June 06, 2021 12:12PM

回复: Server mp4 file larger than 2GB on 32bit system

王 静凯 June 06, 2021 10:46PM

Re: 回复: Server mp4 file larger than 2GB on 32bit system

Maxim Dounin June 07, 2021 08:22AM

Server mp4 file larger than 2GB on 32bit system

王 静凯 June 08, 2021 10:56PM

Re: Server mp4 file larger than 2GB on 32bit system

Maxim Dounin June 09, 2021 10:26AM

Segmentation fault sometimes

王 静凯 August 24, 2021 04:38AM

RE: Segmentation fault sometimes

Ali Ghanbari August 29, 2021 04:00AM

Re: Segmentation fault sometimes

Sergey A. Osokin August 30, 2021 06:32PM

回复: Segmentation fault sometimes

王 静凯 November 11, 2022 04:06AM

Re: 回复: Segmentation fault sometimes

Sergey A. Osokin November 17, 2022 09:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready