Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7492

[32 bit platform]latest ep-engine master dumps core on i386 while trying to sprintf log message

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None

      Description

      I've spotted that ep-engine started to consistently dump core on my box. Investigation showed that uint64_t options are printed as %X. Which is 2 words on stack for i386 that are "consumed" by sprintf as one (because unsigned is one word).

      Patch is on the way.

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

        Activity

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - http://review.couchbase.org/23725
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ep-engine-2-0 #470 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/470/)
        MB-7492: print 64-bit value as long long (Revision 02cea305274ba20cc367c8958727102593f19c5c)

        Result = SUCCESS
        Aliaksey Kandratsenka :
        Files :

        • src/couch-kvstore/couch-kvstore.cc
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ep-engine-2-0 #470 (See http://qa.hq.northscale.net/job/github-ep-engine-2-0/470/ ) MB-7492 : print 64-bit value as long long (Revision 02cea305274ba20cc367c8958727102593f19c5c) Result = SUCCESS Aliaksey Kandratsenka : Files : src/couch-kvstore/couch-kvstore.cc
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Fix is merged

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Fix is merged

          People

          • Assignee:
            venu Venu Uppalapati (Inactive)
            Reporter:
            alkondratenko Aleksey Kondratenko (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes