{"action":"created","issue":{"url":"https://api.github.com/repos/openresty/ngx_openresty/issues/131","labels_url":"https://api.github.com/repos/openresty/ngx_openresty/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/openresty/ngx_openresty/issues/131/comments","events_url":"https://api.github.com/repos/openresty/ngx_openresty/issues/131/events","html_url":"https://github.com/openresty/ngx_openresty/issues/131","id":119319844,"number":131,"title":"OpenResty 1.7.10.2 (kernel aggregates) core dump on RBPI2 FreeBSD 11","user":{"login":"sparvu","id":821014,"avatar_url":"https://avatars.githubusercontent.com/u/821014?v=3","gravatar_id":"","url":"https://api.github.com/users/sparvu","html_url":"https://github.com/sparvu","followers_url":"https://api.github.com/users/sparvu/followers","following_url":"https://api.github.com/users/sparvu/following{/other_user}","gists_url":"https://api.github.com/users/sparvu/gists{/gist_id}","starred_url":"https://api.github.com/users/sparvu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparvu/subscriptions","organizations_url":"https://api.github.com/users/sparvu/orgs","repos_url":"https://api.github.com/users/sparvu/repos","events_url":"https://api.github.com/users/sparvu/events{/privacy}","received_events_url":"https://api.github.com/users/sparvu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-28T21:49:58Z","updated_at":"2015-11-29T03:13:57Z","closed_at":null,"body":"And here another stack trace from another NGINX instance. This is a totally different instance, different configuration file:\r\n\r\n```\r\nkrmx@rpi2:/opt/kronometrix/kernel/nginx/logs % gdb /opt/kronometrix/kernel/nginx/sbin/nginx nginx.core\r\nGNU gdb 6.1.1 [FreeBSD]\r\nCopyright 2004 Free Software Foundation, Inc.\r\nGDB is free software, covered by the GNU General Public License, and you are\r\nwelcome to change it and/or distribute copies of it under certain conditions.\r\nType \"show copying\" to see the conditions.\r\nThere is absolutely no warranty for GDB.  Type \"show warranty\" for details.\r\nThis GDB was configured as \"armv6-marcel-freebsd\"...\r\nCore was generated by `nginx'.\r\nProgram terminated with signal 11, Segmentation fault.\r\nReading symbols from /lib/libcrypt.so.5...done.\r\nLoaded symbols for /lib/libcrypt.so.5\r\nReading symbols from /lib/libm.so.5...done.\r\nLoaded symbols for /lib/libm.so.5\r\nReading symbols from /usr/local/lib/libpcre.so.1...done.\r\nLoaded symbols for /usr/local/lib/libpcre.so.1\r\nReading symbols from /usr/lib/libssl.so.7...done.\r\nLoaded symbols for /usr/lib/libssl.so.7\r\nReading symbols from /lib/libcrypto.so.7...done.\r\nLoaded symbols for /lib/libcrypto.so.7\r\nReading symbols from /lib/libz.so.6...done.\r\nLoaded symbols for /lib/libz.so.6\r\nReading symbols from /lib/libgcc_s.so.1...done.\r\nLoaded symbols for /lib/libgcc_s.so.1\r\nReading symbols from /lib/libc.so.7...done.\r\nLoaded symbols for /lib/libc.so.7\r\nReading symbols from /lib/libthr.so.3...done.\r\nLoaded symbols for /lib/libthr.so.3\r\nReading symbols from /opt/kronometrix/kernel/lualib/lfs.so...done.\r\nLoaded symbols for /opt/kronometrix/kernel/lualib/lfs.so\r\nReading symbols from /opt/kronometrix/kernel/lualib/cjson.so...done.\r\nLoaded symbols for /opt/kronometrix/kernel/lualib/cjson.so\r\nReading symbols from /libexec/ld-elf.so.1...done.\r\nLoaded symbols for /libexec/ld-elf.so.1\r\n#0  0x00000000 in ?? ()\r\n[New Thread 20a10000 (LWP 100176/<unknown>)]\r\n(gdb) bt full\r\n#0  0x00000000 in ?? ()\r\nNo symbol table info available.\r\n```\r\n\r\nIm not sure why here Im not able to see the stack trace. I think this is a strange case where I have seen as soon as I start the instance the crash.\r\n\r\nnginx.agg.conf:\r\n\r\n```\r\nworker_processes  1;\r\nerror_log logs/error.agg.log;\r\npid logs/nginx.agg.pid;\r\n\r\nevents {\r\n    use kqueue;\r\n    #worker_connections 256;\r\n}\r\n\r\nhttp {\r\n        include       mime.types;\r\n        default_type  application/octet-stream;\r\n\r\n        # access_log logs/access.agg.log.gz combined gzip flush=5m;\r\n        access_log off;\r\n\r\n        ## General Options\r\n        sendfile       on;\r\n        tcp_nopush     on;\r\n        tcp_nodelay    on;\r\n\r\n        keepalive_timeout 60;\r\n        reset_timedout_connection on;\r\n\r\n        gzip off;\r\n\r\n        lua_package_path \";;${prefix}../app/?.lua;\";\r\n        lua_code_cache on;\r\n\r\n        lua_shared_dict agg_locks 1m;\r\n        lua_shared_dict workers 1m;\r\n        init_by_lua_file \"../app/init_agg.lua\";\r\n        init_worker_by_lua_file \"../app/aggregates.lua\";\r\n\r\n        server {\r\n            listen 9003;\r\n            index index.html;\r\n            root ../static;\r\n        }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/openresty/ngx_openresty/issues/comments/160362827","html_url":"https://github.com/openresty/ngx_openresty/issues/131#issuecomment-160362827","issue_url":"https://api.github.com/repos/openresty/ngx_openresty/issues/131","id":160362827,"user":{"login":"agentzh","id":56241,"avatar_url":"https://avatars.githubusercontent.com/u/56241?v=3","gravatar_id":"","url":"https://api.github.com/users/agentzh","html_url":"https://github.com/agentzh","followers_url":"https://api.github.com/users/agentzh/followers","following_url":"https://api.github.com/users/agentzh/following{/other_user}","gists_url":"https://api.github.com/users/agentzh/gists{/gist_id}","starred_url":"https://api.github.com/users/agentzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agentzh/subscriptions","organizations_url":"https://api.github.com/users/agentzh/orgs","repos_url":"https://api.github.com/users/agentzh/repos","events_url":"https://api.github.com/users/agentzh/events{/privacy}","received_events_url":"https://api.github.com/users/agentzh/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T03:13:57Z","updated_at":"2015-11-29T03:13:57Z","body":"@sparvu As long as you can easily reproduce it, you can also try using valgrind (but you need to turn daemon and master_process off in your nginx.conf) and/or enabling the nginx debugging logs to get more details about the issue."}}