Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-570

Auth() function cause core dump in shared library - fcgi environment

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • legacy-1.0.0
    • API
    • RHEL6 x64

    Description

      Here's my case:
      I upgrade mongo server to 2.6 from 2.4, after that I upgrade user authorization data to 2.6 too.
      Then I build c++ legacy-1.0.0 driver on my system which has 2 RHEL6 machine (a 2 nodes replicaset).
      I write a c++ function to connect, authenticate, query again a collection.
      The function works well when I run it as standalone c++ application. Then I build a shared library and call this function from fcgi application (using dlopen), my fcgi dump at driver's auth api.
      I attach the function below.
      I can't debug or explain that, just don't know how it happened, please help me.
      Thank in advance!

      Attachments

        Activity

          People

            Unassigned Unassigned
            franky Fanky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: