- 浏览: 2552684 次
- 性别:
- 来自: 成都
文章分类
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
Dive into Nginx Segmentation fault
For Nginx 1.14.0
Switch to ROOT user
> sudo -s
> gdb sbin/nginx
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/local/nginx-1.14.0/sbin/nginx...done.
> (gdb) run -c conf/nginx.conf
Starting program: /usr/local/nginx-1.14.0/sbin/nginx -c conf/nginx.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4e49c13 in ?? () from /opt/dynatrace/oneagent/agent/lib64/liboneagentnginx.so
Trace the logging
> (gdb) bt
#0 0x00007ffff4e49c13 in ?? () from /opt/dynatrace/oneagent/agent/lib64/liboneagentnginx.so
#1 0x00007ffff4e4be6f in ?? () from /opt/dynatrace/oneagent/agent/lib64/liboneagentnginx.so
#2 0x00000000004400c2 in ngx_http_block (cf=0x7fffffffe160, cmd=<optimized out>, conf=<optimized out>)
at src/http/ngx_http.c:308
#3 0x00000000004240fa in ngx_conf_handler (last=1, cf=0x7fffffffe160) at src/core/ngx_conf_file.c:463
#4 ngx_conf_parse (cf=0x7fffffffe160, filename=0x717cc0) at src/core/ngx_conf_file.c:319
#5 0x000000000042189e in ngx_init_cycle (old_cycle=0x7fffffffe310) at src/core/ngx_cycle.c:275
#6 0x0000000000411001 in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:291
> wget https://nginx.org/download/nginx-1.14.0.tar.gz
> tar -xzf nginx-1.14.0.tar.gz
> ./configure --prefix=/home/superuser/tool/nginx-1.14.0 --with-http_ssl_module
> make
> make install
Check ubuntu version
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Work
nginx-1.1.19
nginx-1.9.9
nginx-1.11.0
nginx-1.11.6
nginx-1.11.8
nginx-1.11.9
Not Work
nginx-1.14.0
nginx-1.13.6
nginx-1.12.0
nginx-1.11.13
nginx-1.11.10
It is wired that 1.11.9 works, but 1.11.10 have the issue.
Changes with nginx 1.11.10 14 Feb 2017
*) Change: cache header format has been changed, previously cached
responses will be invalidated.
*) Feature: support of "stale-while-revalidate" and "stale-if-error"
extensions in the "Cache-Control" backend response header line.
*) Feature: the "proxy_cache_background_update",
"fastcgi_cache_background_update", "scgi_cache_background_update",
and "uwsgi_cache_background_update" directives.
*) Feature: nginx is now able to cache responses with the "Vary" header
line up to 128 characters long (instead of 42 characters in previous
versions).
*) Feature: the "build" parameter of the "server_tokens" directive.
Thanks to Tom Thorogood.
*) Bugfix: "[crit] SSL_write() failed" messages might appear in logs
when handling requests with the "Expect: 100-continue" request header
line.
*) Bugfix: the ngx_http_slice_module did not work in named locations.
*) Bugfix: a segmentation fault might occur in a worker process when
using AIO after an "X-Accel-Redirect" redirection.
*) Bugfix: reduced memory consumption for long-lived requests using
gzipping.
Changes with nginx 1.11.9 24 Jan 2017
*) Bugfix: nginx might hog CPU when using the stream module; the bug had
appeared in 1.11.5.
*) Bugfix: EXTERNAL authentication mechanism in mail proxy was accepted
even if it was not enabled in the configuration.
*) Bugfix: a segmentation fault might occur in a worker process if the
"ssl_verify_client" directive of the stream module was used.
*) Bugfix: the "ssl_verify_client" directive of the stream module might
not work.
*) Bugfix: closing keepalive connections due to no free worker
connections might be too aggressive.
Thanks to Joel Cunningham.
*) Bugfix: an incorrect response might be returned when using the
"sendfile" directive on FreeBSD and macOS; the bug had appeared in
1.7.8.
*) Bugfix: a truncated response might be stored in cache when using the
"aio_write" directive.
*) Bugfix: a socket leak might occur when using the "aio_write"
directive.
References:
http://www.rebol.com/docs/unpack-tar-gz.html
https://askubuntu.com/questions/686239/how-do-i-check-the-version-of-ubuntu-i-am-running
For Nginx 1.14.0
Switch to ROOT user
> sudo -s
> gdb sbin/nginx
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/local/nginx-1.14.0/sbin/nginx...done.
> (gdb) run -c conf/nginx.conf
Starting program: /usr/local/nginx-1.14.0/sbin/nginx -c conf/nginx.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4e49c13 in ?? () from /opt/dynatrace/oneagent/agent/lib64/liboneagentnginx.so
Trace the logging
> (gdb) bt
#0 0x00007ffff4e49c13 in ?? () from /opt/dynatrace/oneagent/agent/lib64/liboneagentnginx.so
#1 0x00007ffff4e4be6f in ?? () from /opt/dynatrace/oneagent/agent/lib64/liboneagentnginx.so
#2 0x00000000004400c2 in ngx_http_block (cf=0x7fffffffe160, cmd=<optimized out>, conf=<optimized out>)
at src/http/ngx_http.c:308
#3 0x00000000004240fa in ngx_conf_handler (last=1, cf=0x7fffffffe160) at src/core/ngx_conf_file.c:463
#4 ngx_conf_parse (cf=0x7fffffffe160, filename=0x717cc0) at src/core/ngx_conf_file.c:319
#5 0x000000000042189e in ngx_init_cycle (old_cycle=0x7fffffffe310) at src/core/ngx_cycle.c:275
#6 0x0000000000411001 in main (argc=<optimized out>, argv=<optimized out>) at src/core/nginx.c:291
> wget https://nginx.org/download/nginx-1.14.0.tar.gz
> tar -xzf nginx-1.14.0.tar.gz
> ./configure --prefix=/home/superuser/tool/nginx-1.14.0 --with-http_ssl_module
> make
> make install
Check ubuntu version
> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Work
nginx-1.1.19
nginx-1.9.9
nginx-1.11.0
nginx-1.11.6
nginx-1.11.8
nginx-1.11.9
Not Work
nginx-1.14.0
nginx-1.13.6
nginx-1.12.0
nginx-1.11.13
nginx-1.11.10
It is wired that 1.11.9 works, but 1.11.10 have the issue.
Changes with nginx 1.11.10 14 Feb 2017
*) Change: cache header format has been changed, previously cached
responses will be invalidated.
*) Feature: support of "stale-while-revalidate" and "stale-if-error"
extensions in the "Cache-Control" backend response header line.
*) Feature: the "proxy_cache_background_update",
"fastcgi_cache_background_update", "scgi_cache_background_update",
and "uwsgi_cache_background_update" directives.
*) Feature: nginx is now able to cache responses with the "Vary" header
line up to 128 characters long (instead of 42 characters in previous
versions).
*) Feature: the "build" parameter of the "server_tokens" directive.
Thanks to Tom Thorogood.
*) Bugfix: "[crit] SSL_write() failed" messages might appear in logs
when handling requests with the "Expect: 100-continue" request header
line.
*) Bugfix: the ngx_http_slice_module did not work in named locations.
*) Bugfix: a segmentation fault might occur in a worker process when
using AIO after an "X-Accel-Redirect" redirection.
*) Bugfix: reduced memory consumption for long-lived requests using
gzipping.
Changes with nginx 1.11.9 24 Jan 2017
*) Bugfix: nginx might hog CPU when using the stream module; the bug had
appeared in 1.11.5.
*) Bugfix: EXTERNAL authentication mechanism in mail proxy was accepted
even if it was not enabled in the configuration.
*) Bugfix: a segmentation fault might occur in a worker process if the
"ssl_verify_client" directive of the stream module was used.
*) Bugfix: the "ssl_verify_client" directive of the stream module might
not work.
*) Bugfix: closing keepalive connections due to no free worker
connections might be too aggressive.
Thanks to Joel Cunningham.
*) Bugfix: an incorrect response might be returned when using the
"sendfile" directive on FreeBSD and macOS; the bug had appeared in
1.7.8.
*) Bugfix: a truncated response might be stored in cache when using the
"aio_write" directive.
*) Bugfix: a socket leak might occur when using the "aio_write"
directive.
References:
http://www.rebol.com/docs/unpack-tar-gz.html
https://askubuntu.com/questions/686239/how-do-i-check-the-version-of-ubuntu-i-am-running
发表评论
-
Stop Update Here
2020-04-28 09:00 316I will stop update here, and mo ... -
NodeJS12 and Zlib
2020-04-01 07:44 476NodeJS12 and Zlib It works as ... -
Docker Swarm 2020(2)Docker Swarm and Portainer
2020-03-31 23:18 369Docker Swarm 2020(2)Docker Swar ... -
Docker Swarm 2020(1)Simply Install and Use Swarm
2020-03-31 07:58 370Docker Swarm 2020(1)Simply Inst ... -
Traefik 2020(1)Introduction and Installation
2020-03-29 13:52 337Traefik 2020(1)Introduction and ... -
Portainer 2020(4)Deploy Nginx and Others
2020-03-20 12:06 431Portainer 2020(4)Deploy Nginx a ... -
Private Registry 2020(1)No auth in registry Nginx AUTH for UI
2020-03-18 00:56 436Private Registry 2020(1)No auth ... -
Docker Compose 2020(1)Installation and Basic
2020-03-15 08:10 374Docker Compose 2020(1)Installat ... -
VPN Server 2020(2)Docker on CentOS in Ubuntu
2020-03-02 08:04 456VPN Server 2020(2)Docker on Cen ... -
Buffer in NodeJS 12 and NodeJS 8
2020-02-25 06:43 385Buffer in NodeJS 12 and NodeJS ... -
NodeJS ENV Similar to JENV and PyENV
2020-02-25 05:14 479NodeJS ENV Similar to JENV and ... -
Prometheus HA 2020(3)AlertManager Cluster
2020-02-24 01:47 424Prometheus HA 2020(3)AlertManag ... -
Serverless with NodeJS and TencentCloud 2020(5)CRON and Settings
2020-02-24 01:46 337Serverless with NodeJS and Tenc ... -
GraphQL 2019(3)Connect to MySQL
2020-02-24 01:48 248GraphQL 2019(3)Connect to MySQL ... -
GraphQL 2019(2)GraphQL and Deploy to Tencent Cloud
2020-02-24 01:48 452GraphQL 2019(2)GraphQL and Depl ... -
GraphQL 2019(1)Apollo Basic
2020-02-19 01:36 328GraphQL 2019(1)Apollo Basic Cl ... -
Serverless with NodeJS and TencentCloud 2020(4)Multiple Handlers and Running wit
2020-02-19 01:19 314Serverless with NodeJS and Tenc ... -
Serverless with NodeJS and TencentCloud 2020(3)Build Tree and Traverse Tree
2020-02-19 01:19 319Serverless with NodeJS and Tenc ... -
Serverless with NodeJS and TencentCloud 2020(2)Trigger SCF in SCF
2020-02-19 01:18 294Serverless with NodeJS and Tenc ... -
Serverless with NodeJS and TencentCloud 2020(1)Running with Component
2020-02-19 01:17 312Serverless with NodeJS and Tenc ...
相关推荐
《Dive Into Python 3中文版》是一本深入学习Python 3编程语言的教程,适合初学者和有一定编程基础的开发者。这本书详细介绍了Python 3的各种特性,包括语法、数据结构、函数、类、模块、异常处理、输入/输出、网络...
Dive Into HTML5 中文版 Dive Into HTML5 中文版 Dive Into HTML5 中文版
Python是一种广泛使用的高级编程语言,以其简洁明了的语法和强大的功能而闻名。《深入Python3(中文版)》是一本系统介绍Python 3的书籍,旨在帮助读者深入学习Python 3的基本知识与应用。本文将根据给定文件的信息...
《Dive into Python3》是一本专为Python 3编程语言设计的教程,旨在帮助初学者和有一定经验的程序员深入理解Python 3的核心概念和技术。这本书由Mark Pilgrim撰写,以其详细、实践性强的特点深受读者喜爱。尽管描述...
deep learning has taken the world by surprise, driving rapid progress in fields as diverse as computer vision, natural language processing, automatic speech recognition, reinforcement ...
《Dive Into Python》是一本深受程序员喜爱的Python编程教程,中文译文版的发布为中文读者提供了便利,尤其对于初学者来说,是学习Python语言的一份宝贵资源。该资源包含两个部分:PDF版本的译文和帮助文档,以及...
《Dive Into Python》是一本深受编程初学者和有经验开发者喜爱的Python编程教程。这本书以其深入浅出的讲解方式,让学习者能够快速掌握Python编程语言的核心概念和实际应用,特别是对于想要涉足Web开发领域的读者,...
《2015-Dive into Python》是一本深入学习Python编程语言的经典著作,中文版的出版使得更多中文读者能够方便地获取和理解Python的核心概念和技术。这本书是针对有一定编程基础,希望深入理解Python的读者而设计的,...
### Dive Into Python(中文版)知识点详述 #### 标题与描述概述 - **标题**: "Dive Into Python(中文版)" 明确指出了这是一本关于Python编程语言的教程,且针对中文读者群体进行了本地化翻译。 - **描述**: "Dive ...
《深入Python 3》是一本全面且深入介绍Python 3编程语言的电子书籍,旨在帮助读者从...压缩包中的文件“diveintomark-diveintopython3-793871b”很可能是该书的源代码或HTML文件,可以配合阅读,加深对书中示例的理解。
dive into python英文原版,Dive Into Python 3 covers Python 3 and its differences from Python 2. Compared to Dive Into Python, it’s about 20% revised and 80% new material. The book is now complete, ...
《Dive Into Python3》和《深入Python3》是两本深受Python爱好者欢迎的书籍,分别提供了英文和中文的学习资源,旨在帮助读者全面理解和掌握Python3编程语言。这两本书覆盖了Python3的基础语法、高级特性以及实际应用...
Android是一个广泛使用的开源操作系统,用于智能手机和平板电脑等移动设备。它由Google领导开发,并且基于Linux内核。在Android系统中,各种应用程序和系统服务之间进行交互和通信的方式,称为进程间通信(IPC)。...
设计模式(Design pattern)代表了最佳的实践,通常被有经验的面向对象的软件开发人员所采用。设计模式是软件开发人员在软件开发过程中面临的一般问题的解决方案。这些解决方案是众多软件开发人员经过相当长的一段...
Dive Into Python 3 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
Didyoureadtheoriginal“DiveIntoPython”?Didyoubuyit onpaper?(Ifso,thanks!)AreyoureadytotaketheplungeintoPython3?…Ifso,readon.(Ifnoneofthat istrue,you’dbebetteroffstartingatthebeginning.) Python3...
《Dive Into Python 2 中文版》是一本深度探讨Python编程语言的教程,适合已经有一定编程基础,希望深入理解Python特性和应用的读者。这本书以其详尽的解释和丰富的实例,为Python初学者和进阶者提供了全面的学习...
深入python,深入Python (Dive Into Python) 译者序 by limodou 主页(http://phprecord.126.com) Python论坛 本书英文名字为《Dive Into Python》,其发布遵守 GNU 的自由文档许可证(Free Document Lience)的...