On Wed, Sep 07, 2016 at 08:29:04PM +0100, Matt Smith wrote: > On Sep 07 22:13, Slawa Olhovchenkov wrote: > >I am have strange issuse with nginx on FreeBSD11. > >I am have FreeBSD11 instaled over STABLE-10. > >nginx build for FreeBSD10 and run w/o recompile work fine.
sorry. also crashed. > >nginx build for FreeBSD11 crushed inside rbtree lookups: next node > >totaly craped. > > > >I am see next potential cause: > > > >1) clang 3.8 code generation issuse > >2) system library issuse > > > >may be i am miss something? > > > >How to find real cause? > > I am running stable/11 on amd64 and using the nginx-devel port with > libressl-devel and I have no issues at all. It works fine. Have you > rebuilt *all* ports since updating from stable/10? I am reinstall all from local poudriere. This is crash is not frequenced, need about 10M request before crash. #0 ngx_open_file_lookup (cache=0x80321ae08, name=0x7fffffffdf50, hash=4059963935) at src/core/ngx_open_file_cache.c:1199 1199 if (hash < node->key) { [New Thread 802218000 (LWP 102190/<unknown>)] (gdb) bt #0 ngx_open_file_lookup (cache=0x80321ae08, name=0x7fffffffdf50, hash=4059963935) at src/core/ngx_open_file_cache.c:1199 #1 0x00000000004483c7 in ngx_open_cached_file (cache=0x80321ae08, name=0x7fffffffdf50, of=0x7fffffffded8, pool=0x8109bd000) at src/core/ngx_open_file_cache.c:209 #2 0x000000000051aa52 in ngx_http_unite_handler (r=0x8109bd050) at /wrkdirs/usr/ports/www/nginx-devel/work/ngx_unite-1.2/ngx_unite_module.c:147 #3 0x0000000000474b77 in ngx_http_core_content_phase (r=0x8109bd050, ph=0x80325c7b0) at src/http/ngx_http_core_module.c:1375 #4 0x000000000047208f in ngx_http_core_run_phases (r=0x8109bd050) at src/http/ngx_http_core_module.c:845 #5 0x00000000004744aa in ngx_http_named_location (r=0x8109bd050, name=0x810a7e4e8) at src/http/ngx_http_core_module.c:2676 #6 0x000000080263f353 in ngx_http_lua_handle_exec (L=0x1378, r=0x8109bd050, ctx=0x810a7e3a0) at /wrkdirs/usr/ports/www/nginx-devel/work/lua-nginx-module-0.10.6rc1/src/ngx_http_lua_util.c:2157 #7 0x000000080263df09 in ngx_http_lua_run_thread (L=0x1378, r=0x8109bd050, ctx=0x810a7e3a0, nrets=0) at /wrkdirs/usr/ports/www/nginx-devel/work/lua-nginx-module-0.10.6rc1/src/ngx_http_lua_util.c:1056 #8 0x0000000802647114 in ngx_http_lua_access_by_chunk (L=0x1378, r=0x8109bd050) at /wrkdirs/usr/ports/www/nginx-devel/work/lua-nginx-module-0.10.6rc1/src/ngx_http_lua_accessby.c:332 #9 0x00000008026473e1 in ngx_http_lua_access_handler_file (r=0x8109bd050) at /wrkdirs/usr/ports/www/nginx-devel/work/lua-nginx-module-0.10.6rc1/src/ngx_http_lua_accessby.c:232 #10 0x0000000802646b75 in ngx_http_lua_access_handler (r=0x8109bd050) at /wrkdirs/usr/ports/www/nginx-devel/work/lua-nginx-module-0.10.6rc1/src/ngx_http_lua_accessby.c:163 #11 0x0000000000473163 in ngx_http_core_access_phase (r=0x8109bd050, ph=0x80325c780) at src/http/ngx_http_core_module.c:1071 #12 0x000000000047208f in ngx_http_core_run_phases (r=0x8109bd050) at src/http/ngx_http_core_module.c:845 #13 0x0000000000472007 in ngx_http_handler (r=0x8109bd050) at src/http/ngx_http_core_module.c:828 #14 0x0000000000484424 in ngx_http_process_request (r=0x8109bd050) at src/http/ngx_http_request.c:1914 #15 0x00000000004865c6 in ngx_http_process_request_headers (rev=0x808811168) at src/http/ngx_http_request.c:1346 #16 0x0000000000485bbd in ngx_http_process_request_line (rev=0x808811168) at src/http/ngx_http_request.c:1026 #17 0x00000000004880d2 in ngx_http_keepalive_handler (rev=0x808811168) at src/http/ngx_http_request.c:3191 #18 0x000000000045f703 in ngx_kqueue_process_events (cycle=0x8022c0050, timer=176, flags=1) at src/event/modules/ngx_kqueue_module.c:669 #19 0x000000000044e02a in ngx_process_events_and_timers (cycle=0x8022c0050) at src/event/ngx_event.c:242 #20 0x000000000045c54a in ngx_worker_process_cycle (cycle=0x8022c0050, data=0x2) at src/os/unix/ngx_process_cycle.c:753 #21 0x000000000045965d in ngx_spawn_process (cycle=0x8022c0050, proc=0x45c440 <ngx_worker_process_cycle>, data=0x2, name=0x51feba "worker process", respawn=-3) at src/os/unix/ngx_process.c:198 #22 0x000000000045b240 in ngx_start_worker_processes (cycle=0x8022c0050, n=6, type=-3) at src/os/unix/ngx_process_cycle.c:358 #23 0x000000000045ab08 in ngx_master_process_cycle (cycle=0x8022c0050) at src/os/unix/ngx_process_cycle.c:130 #24 0x00000000004129f2 in main (argc=1, argv=0x7fffffffeb20) at src/core/nginx.c:367 Current language: auto; currently minimal (gdb) p *cache $1 = {rbtree = {root = 0x83206f360, sentinel = 0x80321ae20, insert = 0x447ce0 <ngx_open_file_cache_rbtree_insert_value>}, sentinel = {key = 0, left = 0x0, right = 0x0, parent = 0x816dd4740, color = 0 '\0', data = 0 '\0'}, expire_queue = {prev = 0x8315a9208, next = 0x83ea77a48}, current = 3747, max = 80000, inactive = 20} (gdb) p *cache->rbtree->root $2 = {key = 2738298451, left = 0x841e8a340, right = 0x816dd12c0, parent = 0x0, color = 0 '\0', data = 188 '¼'} (gdb) p *cache->rbtree->root->right $3 = {key = 3543292973, left = 0x80c3f7200, right = 0x8195a8e60, parent = 0x83206f360, color = 0 '\0', data = 0 '\0'} (gdb) p *cache->rbtree->root->right->right $4 = {key = 3861835082, left = 0x844b3ade0, right = 0x817f11e20, parent = 0x816dd12c0, color = 1 '\001', data = 192 '�'} (gdb) p *cache->rbtree->root->right->right->right $5 = {key = 4119621663, left = 0x853f95060, right = 0x82e0a73c0, parent = 0x8195a8e60, color = 0 '\0', data = 110 'n'} (gdb) p *cache->rbtree->root->right->right->right->left $6 = {key = 3992439178, left = 0x83206e320, right = 0x83ea77d40, parent = 0x817f11e20, color = 1 '\001', data = 84 'T'} (gdb) p *cache->rbtree->root->right->right->right->left->right $7 = {key = 4051782159, left = 0x8340ca2a0, right = 0x81c3f8ce0, parent = 0x853f95060, color = 0 '\0', data = 130 '\202'} (gdb) p *cache->rbtree->root->right->right->right->left->right->right $8 = {key = 4075053937, left = 0x8022eb860, right = 0x83bf164a0, parent = 0x83ea77d40, color = 0 '\0', data = 0 '\0'} (gdb) p *cache->rbtree->root->right->right->right->left->right->right->left $9 = {key = 4062158113, left = 0x8590982c0, right = 0x83fe802c0, parent = 0x81c3f8ce0, color = 0 '\0', data = 0 '\0'} (gdb) p *cache->rbtree->root->right->right->right->left->right->right->left->left $10 = {key = 12612554420598986388, left = 0x2ae17f39d071447e, right = 0x124797f86cf9d723, parent = 0x4ceddf8788d08167, color = 79 'O', data = 146 '\222'} _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"