Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4383

Hang in "jsonsl_feed" of libbson

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Summary

      I have a customer who reported a hang in the "jsonsl_feed" function in jsonsl.c file of libbson library. As the customer is not willing to give actual data, I tried to reproduce with dummy data but failed to do so. 

      Stack trace of library is 

        address: 0x00007FF5278A5630 ; dladdress: 0x00007FF527896000 ; offset in lib: 0x000000000000F630 ;

        address: 0x00007FF520B36AE4 ; dladdress: 0x00007FF518775000 ; offset in lib: 0x00000000083C1AE4 ;

        0x00007FF520B39A22 jsonsl_feed + 0x0112  (jsonsl.c line number 223)

        0x00007FF520B36354 bson_json_reader_read + 0x01b4

        0x00007FF520B36A7F bson_init_from_json + 0x00ff

        address: 0x00007FF52086BE5B ; dladdress: 0x00007FF518775000 ; offset in lib: 0x00000000080F6E5B ;

      Is there any possible reason for this to happen?
      Help is much appreciated.

      Environment

      Please provide the version of the C / CXX driver - 1.6.3

      Please provide the host OS, version, and architecture (example: Windows 10 64-bit x86)  - SUSE Linux 11.4

      Please provide the C / CXX compiler and version - gcc (SUSE Linux) 4.3.4

       

            Assignee:
            colby.pike@mongodb.com Colby Pike
            Reporter:
            gopukrishnas@gmail.com Gopu Krishna S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: