{"action":"opened","issue":{"url":"https://api.github.com/repos/slact/nchan/issues/235","repository_url":"https://api.github.com/repos/slact/nchan","labels_url":"https://api.github.com/repos/slact/nchan/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/slact/nchan/issues/235/comments","events_url":"https://api.github.com/repos/slact/nchan/issues/235/events","html_url":"https://github.com/slact/nchan/issues/235","id":173118400,"number":235,"title":"Nginx core dump with redis","user":{"login":"bymaximus","id":595991,"avatar_url":"https://avatars.githubusercontent.com/u/595991?v=3","gravatar_id":"","url":"https://api.github.com/users/bymaximus","html_url":"https://github.com/bymaximus","followers_url":"https://api.github.com/users/bymaximus/followers","following_url":"https://api.github.com/users/bymaximus/following{/other_user}","gists_url":"https://api.github.com/users/bymaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/bymaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bymaximus/subscriptions","organizations_url":"https://api.github.com/users/bymaximus/orgs","repos_url":"https://api.github.com/users/bymaximus/repos","events_url":"https://api.github.com/users/bymaximus/events{/privacy}","received_events_url":"https://api.github.com/users/bymaximus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-25T05:39:31Z","updated_at":"2016-08-25T05:39:31Z","closed_at":null,"body":"Hi my friend, any ideia? Running negam with redis and websocket subscribers, I can provide more data if needed.\r\n\r\n'''\r\nGNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1\r\nCopyright (C) 2014 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from /usr/sbin/nginx...done.\r\n[New LWP 16024]\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\nCore was generated by `nginx: worker process                           '.\r\nProgram terminated with signal SIGSEGV, Segmentation fault.\r\n#0  ngx_palloc (pool=0x0, size=80) at src/core/ngx_palloc.c:126\r\n126\t    if (size <= pool->max) {\r\n\r\nThread 1 (Thread 0x7f34c01de740 (LWP 16024)):\r\n#0  ngx_palloc (pool=0x0, size=80) at src/core/ngx_palloc.c:126\r\nNo locals.\r\n#1  0x0000556bb6c5dd3e in ngx_pcalloc (pool=<optimized out>, \r\n    size=size@entry=80) at src/core/ngx_palloc.c:302\r\n        p = <optimized out>\r\n#2  0x0000556bb6d5f64d in nchan_respond_string (r=0x556bb84b1a00, \r\n    status_code=200, \r\n    content_type=0x556bb7291850 <channel_info_content_type>, \r\n    body=body@entry=0x7ffdc426f820, finalize=0)\r\n    at /root/nchan/src/util/nchan_output.c:531\r\n        rc = 0\r\n        b = <optimized out>\r\n        chain = <optimized out>\r\n#3  0x0000556bb6d5f807 in nchan_respond_membuf (r=r@entry=0x556bb84b1a00, \r\n    status_code=status_code@entry=200, content_type=<optimized out>, \r\n    body=<optimized out>, finalize=finalize@entry=0)\r\n    at /root/nchan/src/util/nchan_output.c:338\r\n        str = {len = 85, \r\n          data = 0x556bb7291600 <channel_info_buf_str> \"{\\\"messages\\\": 0, \\\"requested\\\": 0, \\\"subscribers\\\": 2, \\\"last_message_id\\\": \\\"1472092167:1\\\" }\"}\r\n#4  0x0000556bb6d61751 in nchan_channel_info (r=r@entry=0x556bb84b1a00, \r\n    messages=<optimized out>, subscribers=<optimized out>, \r\n    last_seen=<optimized out>, msgid=<optimized out>)\r\n    at /root/nchan/src/util/nchan_channel_info.c:103\r\n        b = <optimized out>\r\n        content_type = 0x556bb7291850 <channel_info_content_type>\r\n        accept_header = <optimized out>\r\n#5  0x0000556bb6d6179b in nchan_response_channel_ptr_info (\r\n    channel=channel@entry=0x7ffdc426f890, r=r@entry=0x556bb84b1a00, \r\n    status_code=<optimized out>)\r\n    at /root/nchan/src/util/nchan_channel_info.c:126\r\n        CREATED_LINE = {len = 11, data = 0x556bb6d9fb93 \"201 Created\"}\r\n        ACCEPTED_LINE = {len = 12, data = 0x556bb6d9fb9f \"202 Accepted\"}\r\n        last_seen = <optimized out>\r\n        subscribers = <optimized out>\r\n        messages = <optimized out>\r\n        msgid = 0x7ffdc426f8c0\r\n#6  0x0000556bb6d93988 in publish_callback (status=<optimized out>, \r\n    rptr=0x7ffdc426f890, r=0x556bb84b1a00)\r\n    at /root/nchan/src/nchan_module.c:432\r\n        ch = <optimized out>\r\n        ctx = 0x556bb847f288\r\n        empty_msgid = {time = 0, tag = {fixed = {0, 0, 0, 0}, allocd = 0x0}, \r\n          tagactive = 0, tagcount = 0}\r\n#7  0x0000556bb6d873bd in receive_publish_message_reply (\r\n    sender=<optimized out>, d=0x7ffdc426f910)\r\n    at /root/nchan/src/store/memory/ipc-handlers.c:385\r\n        ch = {id = {len = 93921140507072, \r\n            data = 0x556bb8288900 \"\\360\\211(\\270kU\"}, messages = 0, \r\n          subscribers = 2, last_seen = 1472092167, expires = 93921116536493, \r\n          last_published_msg_id = {time = 1472092167, tag = {fixed = {1, \r\n                -18357, 21867, 0}, allocd = 0x556bb84b0001}, tagactive = 0, \r\n            tagcount = 1}}\r\n#8  0x0000556bb6d86a07 in ipc_read_handler (ev=0x556bb8377e60)\r\n    at /root/nchan/src/store/memory/ipc.c:449\r\n        alert = {\r\n          data = \"(#\\000\\000\\002\\000\\000\\000\\000\\000\\021\\270kU\\000\\000\\aX\\276W\\000\\000\\000\\000\\aX\\276W\\000\\000\\000\\000\\001\\000\\000\\000\\000\\000\\000\\000\\360\\070ٶkU\\000\\000\\000\\032K\\270kU\\000\", time_sent = 1472092167, src_slot = 3, \r\n          worker_generation = 0, code = 6 '\\006'}\r\n        c = 0x556bb8288090\r\n        ev = 0x556bb8377e60\r\n#9  0x0000556bb6c7aba3 in ngx_event_process_posted (\r\n    cycle=cycle@entry=0x556bb80c7170, \r\n    posted=0x556bb7285330 <ngx_posted_events>)\r\n    at src/event/ngx_event_posted.c:33\r\n        q = 0x556bb8377eb0\r\n        ev = 0x556bb8377e60\r\n#10 0x0000556bb6c7a65e in ngx_process_events_and_timers (\r\n    cycle=cycle@entry=0x556bb80c7170) at src/event/ngx_event.c:259\r\n        flags = <optimized out>\r\n        timer = <optimized out>\r\n        delta = <optimized out>\r\n#11 0x0000556bb6c82625 in ngx_worker_process_cycle (\r\n    cycle=cycle@entry=0x556bb80c7170, data=data@entry=0x2)\r\n    at src/os/unix/ngx_process_cycle.c:753\r\n        worker = 2\r\n#12 0x0000556bb6c8100a in ngx_spawn_process (\r\n    cycle=cycle@entry=0x556bb80c7170, \r\n    proc=proc@entry=0x556bb6c825d0 <ngx_worker_process_cycle>, \r\n    data=data@entry=0x2, name=name@entry=0x556bb6d98c02 \"worker process\", \r\n    respawn=respawn@entry=-3) at src/os/unix/ngx_process.c:198\r\n        on = 1\r\n        pid = 0\r\n        s = 2\r\n#13 0x0000556bb6c828d0 in ngx_start_worker_processes (\r\n    cycle=cycle@entry=0x556bb80c7170, n=4, type=type@entry=-3)\r\n    at src/os/unix/ngx_process_cycle.c:358\r\n        i = 2\r\n        ch = {command = 1, pid = 16023, slot = 1, fd = 25}\r\n#14 0x0000556bb6c836ef in ngx_master_process_cycle (cycle=0x556bb80c7170)\r\n    at src/os/unix/ngx_process_cycle.c:130\r\n        title = 0x556bb81c3e04 \"master process /usr/sbin/nginx -g daemon on; master_process on;\"\r\n        p = <optimized out>\r\n        size = <optimized out>\r\n        i = <optimized out>\r\n        n = <optimized out>\r\n        sigio = <optimized out>\r\n        set = {__val = {0 <repeats 16 times>}}\r\n        itv = {it_interval = {tv_sec = 0, tv_usec = 0}, it_value = {\r\n            tv_sec = 0, tv_usec = 0}}\r\n        live = <optimized out>\r\n        delay = <optimized out>\r\n        ls = <optimized out>\r\n        ccf = 0x556bb80c8f10\r\n#15 0x0000556bb6c5b081 in main (argc=<optimized out>, argv=<optimized out>)\r\n    at src/core/nginx.c:367\r\n        b = <optimized out>\r\n        log = <optimized out>\r\n        i = <optimized out>\r\n        cycle = 0x556bb80c7170\r\n        init_cycle = {conf_ctx = 0x0, pool = 0x556bb80c6b60, \r\n          log = 0x556bb701fd20 <ngx_log>, new_log = {log_level = 0, \r\n            file = 0x0, connection = 0, disk_full_time = 0, handler = 0x0, \r\n            data = 0x0, writer = 0x0, wdata = 0x0, action = 0x0, \r\n            next = 0x0}, log_use_stderr = 0, files = 0x0, \r\n          free_connections = 0x0, free_connection_n = 0, modules = 0x0, \r\n          modules_n = 0, modules_used = 0, reusable_connections_queue = {\r\n            prev = 0x0, next = 0x0}, listening = {elts = 0x0, nelts = 0, \r\n            size = 0, nalloc = 0, pool = 0x0}, paths = {elts = 0x0, \r\n            nelts = 0, size = 0, nalloc = 0, pool = 0x0}, config_dump = {\r\n            elts = 0x0, nelts = 0, size = 0, nalloc = 0, pool = 0x0}, \r\n          open_files = {last = 0x0, part = {elts = 0x0, nelts = 0, \r\n              next = 0x0}, size = 0, nalloc = 0, pool = 0x0}, \r\n          shared_memory = {last = 0x0, part = {elts = 0x0, nelts = 0, \r\n              next = 0x0}, size = 0, nalloc = 0, pool = 0x0}, \r\n          connection_n = 0, files_n = 0, connections = 0x0, \r\n          read_events = 0x0, write_events = 0x0, old_cycle = 0x0, \r\n          conf_file = {len = 21, \r\n            data = 0x556bb6d93dbc \"/etc/nginx/nginx.conf\"}, conf_param = {\r\n            len = 29, data = 0x7ffdc4270f53 \"ss\"}, conf_prefix = {len = 11, \r\n            data = 0x556bb6d93dbc \"/etc/nginx/nginx.conf\"}, prefix = {\r\n            len = 17, data = 0x556bb6d93daa \"/usr/share/nginx/\"}, \r\n          lock_file = {len = 0, data = 0x0}, hostname = {len = 0, \r\n            data = 0x0}}\r\n        cd = <optimized out>\r\n        ccf = 0x556bb80c8f10\r\n'''"}}
{"actor":{"display_login":"bymaximus"}}