Nginx 1.10, DrMemory report
Maxim Dounin
mdounin at mdounin.ru
Thu Jun 9 12:42:00 UTC 2016
Hello!
On Thu, Jun 09, 2016 at 12:11:40PM +0000, Ranier VF wrote:
> C:\nginx>nginx -Vnginx version: nginx/1.10.1built by cl 16.00.30319.01 for 80x86configure arguments: --with-cc=cl --builddir=objs --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre-8.38 --with-zlib=objs/lib/zlib-1.2.8 --with-select_module
>
> Dr. Memory version 1.10.0 build 2 built on Mar 7 2016 23:05:56Dr. Memory results for pid 2052: "nginx.exe"Application cmdline: "nginx.exe"Recorded 117 suppression(s) from default c:\DrMemory\bin\suppress-default.txt
> Error #1: UNINITIALIZED READ: reading 0x0012fbb4-0x0012fbbb 7 byte(s) within 0x0012fb78-0x0012fbbb# 0 system call NtCreateFile parameter #9# 1 ntdll.dll!ZwCreateFile +0xb (0x7c90d09c <ntdll.dll+0xd09c>)# 2 MSWSOCK.dll!? +0x0 (0x71a149c0 <MSWSOCK.dll+0x49c0>)# 3 WS2_32.dll!WSASocketW +0x9c (0x71a740eb <WS2_32.dll+0x40eb>)# 4 ngx_open_listening_sockets [c:\msys\1.0\nginx-1.10\src\core\ngx_connection.c:448]# 5 ngx_init_cycle [c:\msys\1.0\nginx-1.10\src\core\ngx_cycle.c:609]# 6 main [c:\msys\1.0\nginx-1.10\src\core\nginx.c:276]Note: @0:00:02.985 in thread 2160
This doesn't looks like an nginx problem. Rather, a problem in
Windows or in the tool you are using.
> Error #2: POSSIBLE LEAK 768 direct bytes 0x021d2898-0x021d2b98 + 0 indirect bytes# 0 replace_calloc [d:\drmemory_package\common\alloc_replace.c:2616]# 1 _calloc_crt [f:\dd\vctools\crt_bld\self_x86\crt\src\crtheap.c:61]# 2 __init_ctype [f:\dd\vctools\crt_bld\self_x86\crt\src\initctyp.c:98]# 3 _setlocale_set_cat [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:842]# 4 _setlocale_nolock [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:694]# 5 setlocale [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:579]# 6 ngx_os_init [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_win32_init.c:128]# 7 main [c:\msys\1.0\nginx-1.10\src\core\nginx.c:256]
Same here.
> Error #3: POSSIBLE LEAK 384 direct bytes 0x021d2bb8-0x021d2d38 + 0 indirect bytes# 0 replace_calloc [d:\drmemory_package\common\alloc_replace.c:2616]# 1 _calloc_crt [f:\dd\vctools\crt_bld\self_x86\crt\src\crtheap.c:61]# 2 __init_ctype [f:\dd\vctools\crt_bld\self_x86\crt\src\initctyp.c:100]# 3 _setlocale_set_cat [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:842]# 4 _setlocale_nolock [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:694]# 5 setlocale [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:579]# 6 ngx_os_init [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_win32_init.c:128]# 7 main [c:\msys\1.0\nginx-1.10\src\core\nginx.c:256]
Same here.
> Error #4: POSSIBLE LEAK 384 direct bytes 0x021d2d58-0x021d2ed8 + 0 indirect bytes# 0 replace_calloc [d:\drmemory_package\common\alloc_replace.c:2616]# 1 _calloc_crt [f:\dd\vctools\crt_bld\self_x86\crt\src\crtheap.c:61]# 2 __init_ctype [f:\dd\vctools\crt_bld\self_x86\crt\src\initctyp.c:102]# 3 _setlocale_set_cat [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:842]# 4 _setlocale_nolock [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:694]# 5 setlocale [f:\dd\vctools\crt_bld\self_x86\crt\src\setlocal.c:579]# 6 ngx_os_init [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_win32_init.c:128]# 7 main [c:\msys\1.0\nginx-1.10\src\core\nginx.c:256]
Same here.
> Error #5: POSSIBLE LEAK 96 direct bytes 0x021d4958-0x021d49b8 + 0 indirect bytes# 0 replace_malloc [d:\drmemory_package\common\alloc_replace.c:2576]# 1 ngx_alloc [c:\msys\1.0\nginx-1.10\src\os\win32\ngx_alloc.c:21]# 2 ngx_crc32_table_init [c:\msys\1.0\nginx-1.10\src\core\ngx_crc32.c:117]# 3 main [c:\msys\1.0\nginx-1.10\src\core\nginx.c:264]
This behaviour is intentional.
As previously suggested, please avoid posting HTML to the list.
Thank you.
--
Maxim Dounin
http://nginx.org/
More information about the nginx-devel
mailing list