Uploaded image for project: 'Couchbase nginx Module'
  1. Couchbase nginx Module
  2. NGXCBM-6

Seg fault in ngx_http_run_posted_requests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 0.3
    • core
    • None

    Description

      Sergey, I'm double-checking with the customer to confirm that they are using the latest patches that you sent me, but also wanted to capture this in case it's new:

      ab -c 100 -n 10000 "http://localhost:8061/cb?cmd=set&key=foo&val=bar"

      I get following:

      Program terminated with signal 11, Segmentation fault.
      #0 0x08077953 in ngx_http_run_posted_requests (c=0x9ea2df8) at
      src/http/ngx_http_request.c:1893
      1893 pr = r->main->posted_requests;
      (gdb) bt
      #0 0x08077953 in ngx_http_run_posted_requests (c=0x9ea2df8) at
      src/http/ngx_http_request.c:1893
      #1 0x080b30a3 in ngx_lcb_finalize_request (r=0x9e81090, rc=<optimized
      out>) at
      ../nginx-couchbase-module-0.2.0-6-g9d6c0d3/src/ngx_lcb_callbacks.c:85
      #2 0x080b33eb in ngx_lcb_store_callback (instance=0x9d3c188,
      cookie=0x9e81090, operation=LCB_SET, error=LCB_SUCCESS, item=0xbfbdb948)
      at
      ../nginx-couchbase-module-0.2.0-6-g9d6c0d3/src/ngx_lcb_callbacks.c:229
      #3 0xb76df957 in store_response_handler (server=0x9e74008,
      packet=0x9ea0100, res=0x9e83080) at src/handler.c:512
      #4 0xb76e045c in lcb_dispatch_response (serv=0x9e74008, pkt=0x9ea0100,
      res=0x9e83080) at src/handler.c:960
      #5 0xb76dd355 in parse_single (c=0x9e74008, stop=1369943658990891000)
      at src/event.c:142
      #6 0xb76dd51b in do_read_data (c=0x9e74008, allow_read=0) at
      src/event.c:208
      #7 0xb76dd73a in lcb_server_event_handler (sock=165931668, which=4,
      arg=0x9e74008) at src/event.c:283
      #8 0x080b2395 in ngx_lcb_handler_thunk (ev=0x9d6ec38) at
      ../nginx-couchbase-module-0.2.0-6-g9d6c0d3/src/ngx_lcb_plugin.c:127
      #9 0x0806a858 in ngx_epoll_process_events (cycle=0x9d36978, timer=2500,
      flags=1) at src/event/modules/ngx_epoll_module.c:714
      #10 0x080615c2 in ngx_process_events_and_timers (cycle=0x9d36978) at
      src/event/ngx_event.c:247
      #11 0x08069fb9 in ngx_single_process_cycle (cycle=0x9d36978) at
      src/os/unix/ngx_process_cycle.c:316
      #12 0x0804b8ae in main (argc=1, argv=0xbfbdbd64) at src/core/nginx.c:407

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty